Skip to content

Maintenance: Fix TracingE2E test to avoid occasional timeouts #1846

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

Open
1 of 2 tasks
phipag opened this issue May 16, 2025 · 1 comment · Fixed by #1847
Open
1 of 2 tasks

Maintenance: Fix TracingE2E test to avoid occasional timeouts #1846

phipag opened this issue May 16, 2025 · 1 comment · Fixed by #1847
Assignees
Labels
bug Something isn't working governance maintenance triage v2 Version 2

Comments

@phipag
Copy link
Contributor

phipag commented May 16, 2025

Summary

In the v2 branch GitHub workflows we see regular timeouts caused by the TracingE2E test retrying longer that the STS role expiration date. It seems that sometimes the traces generated by the E2E test cannot be retrieved.

Example of failing test: https://github.com/aws-powertools/powertools-lambda-java/actions/runs/15049118451/attempts/1

Why is this needed?

This is needed to achieve reliable E2E tests e.g. during release workflows.

Which area does this relate to?

No response

Solution

There might be a problem in the TraceFetcher: https://github.com/aws-powertools/powertools-lambda-java/blob/v2/powertools-e2e-tests/src/test/java/software/amazon/lambda/powertools/testutils/tracing/TraceFetcher.java

The retry strategy is also too long.

Acknowledgment

@phipag
Copy link
Contributor Author

phipag commented May 16, 2025

Created PR #1847 to disable the offending test temporarily.

@phipag phipag linked a pull request May 16, 2025 that will close this issue
4 tasks
@phipag phipag moved this from Backlog to Working on it in Powertools for AWS Lambda (Java) May 27, 2025
@phipag phipag moved this from Working on it to On hold in Powertools for AWS Lambda (Java) May 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working governance maintenance triage v2 Version 2
Projects
Status: On hold
1 participant