Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix TestS3WrongRegionPicked.testS3WrongRegionSelection failure #14568

Closed
ebyhr opened this issue Oct 11, 2022 · 7 comments · Fixed by #14615
Closed

Fix TestS3WrongRegionPicked.testS3WrongRegionSelection failure #14568

ebyhr opened this issue Oct 11, 2022 · 7 comments · Fixed by #14615
Assignees
Labels

Comments

@ebyhr
Copy link
Member

ebyhr commented Oct 11, 2022

https://github.com/trinodb/trino/actions/runs/3225581789/jobs/5279732052

Error:    TestS3WrongRegionPicked.testS3WrongRegionSelection:38 
Expecting throwable message:
  <"Unable to load AWS credentials from any provider in the chain: [EnvironmentVariableCredentialsProvider: Unable to load AWS credentials from environment variables (AWS_ACCESS_KEY_ID (or AWS_ACCESS_KEY) and AWS_SECRET_KEY (or AWS_SECRET_ACCESS_KEY)), SystemPropertiesCredentialsProvider: Unable to load AWS credentials from Java system properties (aws.accessKeyId and aws.secretKey), WebIdentityTokenCredentialsProvider: You must specify a value for roleArn and roleSessionName, com.amazonaws.auth.profile.ProfileCredentialsProvider@1f0cfc50: profile file cannot be null, com.amazonaws.auth.EC2ContainerCredentialsProviderWrapper@3028863b: The requested metadata is not found at http://169.254.169.254/latest/meta-data/iam/security-credentials/]">
to contain:
  <"Status Code: 400">
but did not.
@Praveen2112
Copy link
Member

Is this flaky or ?

@ebyhr
Copy link
Member Author

ebyhr commented Oct 11, 2022

I guess the test is broken though I couldn't reproduce it in IDE. Another failure in master https://github.com/trinodb/trino/actions/runs/3225323789/jobs/5279663309

@Praveen2112
Copy link
Member

In the PR the test ran successfully.

@Praveen2112
Copy link
Member

Runner version changed 2.297.0 to 2.298.2 and it has a different secret source.

@Praveen2112 Praveen2112 self-assigned this Oct 11, 2022
@Praveen2112
Copy link
Member

But it was running fine here - https://github.com/trinodb/trino/actions/runs/3226169506/jobs/5280387673.

@ebyhr
Copy link
Member Author

ebyhr commented Oct 12, 2022

@skrzypo987
Copy link
Member

That is absolutely the fastest flakiness I've introduced in my professional career. I'll take care of this right away

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging a pull request may close this issue.

3 participants