Repository navigation
Revert "Bump aws from 1.11.771 to 1.11.907" - #125030
Conversation
|
@groeneai open revert of this PR with the fix of the issue |
|
Acknowledged. I am opening a PR that brings back the AWS SDK 1.11.907 bump together with a fix for the |
|
Opened #125080. It re-lands #124678 unchanged and bumps |
|
@groenai investigate why this error wasn't catched in PR. Is it because of targeted integration tests? Suggest solutions to not introduce such problems in the future |
|
Yes, it is the targeted selection.
Suggestions:
#125080 has the same diff shape, so its PR CI is blind in the same way; its local TSan A/B is in the description. I can send the PR for (1) if that direction is fine. |
Resolve the conflict in `src/IO/S3/PocoHTTPClient.cpp` with the master change that reads the error response a server sends before reading the whole request body. The branch writes the body through `HTTPRequestBodyWriteBuffer` instead of `std::ostream`, so the early response is now read with the new `receiveEarlyHTTPResponse` (built on `HTTPClientSession::receiveEarlyResponse`), and the body is finalized inside the `try` block so that the failure of the last write is handled the same way. When the early response is used, the request body is left unfinalized and the connection is not reused. The merge also brings the revert of the `aws` bump (#125030), which caused the TSan data race on `cpuid_state` that failed the stress test. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Targeted integration jobs select tests by the coverage of the changed lines, and third-party code is built without coverage, so a submodule bump selects no test while a data race in the bumped library is visible only under TSan. Related: ClickHouse#125030 Related: ClickHouse#124678
Include the upstream rollback of the AWS SDK upgrade associated with the `aws_common_private_has_avx2` TSan reports. Preserve the count-projection fixes and reduced regression-test workload. Related: ClickHouse#125030 Related: ClickHouse#78271 CI report: https://s3.amazonaws.com/clickhouse-test-reports/praktika.html?PR=78271&sha=6bdd5ab22238a2d8ae0e11967860d3e3297ff2a5&name_0=PR&name_1=Integration%20tests%20%28amd_tsan%2C%20targeted%29
This reverts ClickHouse#125030 (merge 18b5a99), re-applying ClickHouse#124678 unchanged. The `ThreadSanitizer` race it exposed is fixed by the next commit. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Reverts #124678
This pull request was reverted automatically by the
Revert CI regressionsjob, which found that itintroduced a failure that keeps happening on
master, and merged this revert without waitingfor checks so that
masteris usable again.Failure: test
test_s3_plain_rewritable_crash_recovery/test.py::test_existing_look_alike_directory_stays_usableinIntegration tests (amd_tsan, 6/6)Seen 2 times on 2
mastercommits in the last24 hours, between 2026-10-10 00:32:45 and 2026-10-10 01:02:36 UTC.
Most recent report: https://s3.amazonaws.com/clickhouse-test-reports/praktika.html?REF=master&sha=0d2ade0236287ba0cda1894d23046f57c59abea1&name_0=MasterCI&name_1=Integration%20tests%20%28amd_tsan%2C%206%2F6%29&name_1=Integration%20tests%20%28amd_tsan%2C%206%2F6%29
Why this pull request:
In
Integration tests (amd_tsan, 6/6), this test was still passing ond3f757c00025533deef343087af15d517c244029at2026-10-10 00:07:01UTC and then failed on the very next testedmastercommit, merge commit96aa0525f240299456ef0358bcbd17a3b7111a97(Merge pull request #124678/bump-aws-1.11.907), at2026-10-10 00:23:23UTC;git log --first-parent d3f757c00025533deef343087af15d517c244029..96aa0525f240299456ef0358bcbd17a3b7111a97contains only that merge. The failing stack is aThreadSanitizerdata race in the AWS S3 request-building path (aws_common_private_has_avx2->Aws::Crt::Base64Encode->Aws::Client::AWSClient::AddContentBodyToRequest->DB::S3::Client::BuildHttpRequest), and#124678is exactly the PR that bumps the AWS SDK submodules (contrib/aws,contrib/aws-c-common,contrib/aws-crt-cpp,contrib/aws-c-s3, etc.), which matches the failure mechanism. The sametsanfailure then repeats on latermastercommits4915e63c4bc867f6e30b56c0742e63dc333e32f3and0d2ade0236287ba0cda1894d23046f57c59abea1, and I do not see a later non-skippedamd_tsanpass or a merged fix. There was one older, isolatedasanConnection refusedfailure on2026-10-08in a different check, but it was surrounded by passes and did not include thisThreadSanitizerrace, so it does not change the attribution of the current regression.A draft pull request reintroducing the change is opened right after this one is merged, so the change
can come back through normal CI once the failure is fixed. Every investigation this job makes,
including the ones that revert nothing, is recorded in the
checks_investigatedtable of the CIdatabase.
If this revert is wrong, say so here and bring the change back: the job errs towards reverting
because a broken
masterblocks everybody, not because its judgement beats yours.Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
Workflow [PR]
Sync PR [sync-upstream/pr/125030]
Version info
26.10.1.2003-master(included in26.10and later)