trinodb / trino

Official repository of Trino, the distributed SQL query engine for big data, formerly known as PrestoSQL (https://trino.io)
https://trino.io
Apache License 2.0
10.47k stars 3.01k forks source link

Flaky TestAzureFileSystemOAuthGen2Flat.testPreSignedUris #23537

Open ebyhr opened 1 month ago

ebyhr commented 1 month ago

https://github.com/trinodb/trino/actions/runs/11005419985/job/30558354477?pr=22632

Error:  io.trino.filesystem.azure.TestAzureFileSystemOAuthGen2Flat.testPreSignedUris -- Time elapsed: 3.457 s <<< ERROR!
java.io.IOException: 
Failed to retrieve, got response code: 403, body: <?xml version="1.0" encoding="utf-8"?><Error><Code>AuthenticationFailed</Code><Message>Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.
RequestId:f7ae768d-801e-0022-5c26-0ecbd1000000
Time:2024-09-24T02:09:00.5820573Z</Message><AuthenticationErrorDetail>Signature not valid in the specified time frame: Start [Tue, 24 Sep 2024 02:08:57 GMT] - Expiry [Tue, 24 Sep 2024 02:09:00 GMT] - Current [Tue, 24 Sep 2024 02:09:00 GMT]</AuthenticationErrorDetail></Error>
    at io.trino.filesystem.AbstractTestTrinoFileSystem.retrieveUri(AbstractTestTrinoFileSystem.java:1040)
    at io.trino.filesystem.AbstractTestTrinoFileSystem.testPreSignedUris(AbstractTestTrinoFileSystem.java:1018)
    at java.base/java.lang.reflect.Method.invoke(Method.java:580)
    at java.base/java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:194)
    at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:507)
    at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1458)
    at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:2034)
    at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:189)
wendigo commented 1 month ago

TTL was too short and it seems that test executed pretty slowly. I'll monitor it