Repository navigation
Description
Affected module
CI (Java integration-test lanes and SonarCloud job on the 1.13 release branch)
Describe the bug
Pull-request checks run under pull_request_target, so every PR that targets 1.13 executes the workflow files from main against a 1.13 source tree. Two pieces of main's CI machinery have no counterpart on 1.13, and together they make almost every 1.13 backport red for reasons unrelated to the PR:
-
The integration-test lane matrix is inert.
main's IT workflows callmvn verify -DintegrationTests.lane=<parallel|global-state|multi-node|retry-queue>, but theintegration-lane-*profiles (Fixes 30119: Stabilize integration-test CI #30120) never reached1.13'sopenmetadata-integration-tests/pom.xml. The property is ignored, so each of the four lanes runs both failsafe executions, that is the full suite. Measured on Backport #32181 to 1.13: stop pipeline alerts firing for historical and re-ingested executions #32590: all four lanes reported exactly the same count per db/search combo (mysql-elasticsearch 12746, postgres-opensearch 12762, postgres-elasticsearch-redis 12768), and theparallellane log shows bothsequential-tests(143) andparallel-tests(12519) ran. Onmainthe same lanes partition into 169 / 20 / 15703 / 35 tests. A1.13push therefore executes the full parallel suite 12 times instead of 3, and a single flaky test in any of the 12 fails a required check. Over five pushes and attempts on Backport #32181 to 1.13: stop pipeline alerts firing for historical and re-ingested executions #32590 the failing test was different every time (glossary reviewer race,UserMetricsResourceIT,ListEntityHistoryByTimestampPaginationTesttwice, a container timeout), while the same commit was green on2.0. -
maven-sonarcloud-cifails in about 45 seconds on every1.13PR withCan't find 'action.yml' ... under '.github/actions/cache-ui-dist'.main'smaven-sonar-build.ymluses that composite action (perf(ui-build): cache openmetadata-ui dist across workflows #30700); the action directory does not exist on1.13, and the job checks out the PR head.Build with Mavenis skipped, so nothing is compiled or analysed. Reproduces on Backport #32350 to 1.13: emit ChangeEvents for bulk entity updates #32536, Fixes #25847: Include bot user in bot list responses [1.13] #32522, Backport #32181 to 1.13: stop pipeline alerts firing for historical and re-ingested executions #32590.
To Reproduce
- Open any PR with a Java change against
1.13and addsafe to test. - Compare the
Integration Test Report (mysql-elasticsearch, <lane>)check titles: all four lanes show the same "N tests run". - Open the
maven-sonarcloud-cijob: it fails atRestore openmetadata-ui dist cachebefore building.
Expected behavior
A 1.13 PR should run each integration test once per db/search combo, partitioned by lane exactly as on main, and the SonarCloud job should reach the Maven build.
Version
1.13 branch (1.13.6-SNAPSHOT), any PR since the lane matrix landed on main in #30120.
Activity
Fixes #32760: partition the 1.13 integration-test lanes so each test …