Repository navigation
Fix the double slash in the integration test runner play URL on 25.8 - #113317
Conversation
CLICKHOUSE_PLAY_URL already ends with a slash, and the query URL appended another one, so every request went to https://play.clickhouse.com//?... The HTTP handler answers "There is no handle //?..." with 404, so all three retries in get_tests_execution_time were guaranteed to fail. The failure was silent rather than fatal: the caller catches the exception and falls back to grouping tests by count instead of by historical duration, so integration jobs kept running with unbalanced batches. This affects the 25.8 branch only. ci/jobs/scripts/integration_tests_runner.py does not exist on master or on any newer release branch, where the duration query was replaced by the static table in integration_tests_configs.py, so there is nothing to fix forward and no backport route. Verified by driving the real get_tests_execution_time against play: the pre-fix method exhausts all three retries with 404, the fixed method returns durations for 1061 test modules. Co-Authored-By: Claude Fable 5 <[email protected]>
|
Workflow [BackportPR], commit [fcecfdb] |
CI finish ledger - fcecfdbEvery failure below has an owner: a fixing PR (mine or external), or a full-effort fix task
Not PR-caused. This diff is one file, Session id: cron:our-pr-ci-monitor:20260804-160000 |
|
Fixing PR for the s3_queue integration failure on my CI finish ledger: #113728 |
|
Update on that ledger row: the fixing PR was closed unmerged by @PedroTadim, who asked me not to be concerned about the 25.8 branch for now. So this red is resolved by owner decision rather than by a fix. The test is only red on 25.8 (16 FAIL / 22 OK in the 60 days to now, against 0 FAIL / 9213 OK on master and 0 on 26.7, 26.6, 26.5 and 26.3), and the setting the fix pinned is inert on master, so nothing is outstanding on this branch. |
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
...
Description
Related: #113160 (where @alexey-milovidov asked me to investigate the job error and send the fix separately)
ci/jobs/scripts/integration_tests_runner.py:30already ends the base URL with a slash, and line 822 appended a second one, so the CIDB query went tohttps://play.clickhouse.com//?....//is not a valid handle, so the server answersThere is no handle //?...with HTTP 404 and all three retries inget_tests_execution_timewere guaranteed to fail.The effect was silent rather than fatal: the caller catches the exception and falls back to grouping tests by count instead of by historical duration (
integration_tests_runner.py:1030-1035), so integration jobs kept running with unbalanced batches. Seen inIntegration tests (amd_tsan, 5/6)on the BackportPR run above, where the shard took 1:02:24.Verified by driving the real
get_tests_execution_timeagainst play, once from the unmodified25.8file and once from the fixed one: the pre-fix method exhausts all three retries with 404, the fixed method returns durations for 1061 test modules.Why this targets a release branch directly.
ci/jobs/scripts/integration_tests_runner.pyexists only on25.8. It is absent frommaster,26.7,26.6,26.5and26.3, where the duration query was replaced by the static table inci/jobs/scripts/integration_tests_configs.py. There is therefore nothing to fix forward and no master PR that av25.8-must-backportlabel could be applied to, so the usual label route does not exist here. If you would rather this were handled differently, say so and I will follow that instead.