googleapis / google-cloud-cpp

C++ Client Libraries for Google Cloud Services
https://cloud.google.com/
Apache License 2.0
554 stars 373 forks source link

`BucketIntegrationTest.RpoPatch` fails intermittently #9514

Closed coryan closed 2 years ago

coryan commented 2 years ago

This may be related to all the recent changes. I could not repro on the first attempt, but it has happened at least in one CI and a couple of PR builds. It seems to happen with the RestClient, but I am not certain of that bit.

[ RUN      ] BucketIntegrationTest.RpoPatch
/workspace/google/cloud/storage/tests/bucket_integration_test.cc:482: Failure
Value of: insert_meta
Expected: code is equal to OK and message is anything
  Actual: 904-byte object <B0-91 C9-01 00-00 00-00 00-FF FF-FF FF-FF FF-FF 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 BF-4C 2E-73 1D-7F 00-00 80-A4 C7-01 00-00 00-00 E0-B1 2A-73 1D-7F 00-00 13-E3 76-72 1D-7F 00-00 ... 01-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 80-3F 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 20-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00>, whose status is INVALID_ARGUMENT: Permanent error in CreateBucket: Received HTTP status code: 400, with a code that isn't equal to OK, but a message that is anything
coryan commented 2 years ago

Up to 200 repeats on my workstation, no repro. I may need to move the test to a GCE instance.

coryan commented 2 years ago

I was not able to repro, and it is not repeating. I have asked the GCS team to check their side, but there is nothing actionable at this time. Not planning to continue work on this until it repeats.

coryan commented 2 years ago

It has been 90d without repeats, closing.