-
Notifications
You must be signed in to change notification settings - Fork 231
CI tests failing for @aws-sdk/client-s3 on main branch #3311
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
Comments
Should be able to test locally with:
That sounds right. |
From the https://github.com/elastic/apm-agent-nodejs/actions/runs/4871077219/jobs/8687612181 failure log:
The reason the actual exception isn't printed is because diff --git a/test/instrumentation/modules/@aws-sdk/fixtures/use-client-s3.js b/test/instrumentation/modules/@aws-sdk/fixtures/use-client-s3.js
index 1d93f3df..bd90ea79 100644
--- a/test/instrumentation/modules/@aws-sdk/fixtures/use-client-s3.js
+++ b/test/instrumentation/modules/@aws-sdk/fixtures/use-client-s3.js
@@ -46,6 +46,7 @@ const apm = require('../../../../..').start({
centralConfig: false,
metricsInterval: 0,
cloudProvider: 'none',
+ logUncaughtExceptions: true,
stackTraceLimit: 4, // get it smaller for reviewing output
logLevel: 'info'
}) |
Nope, I'm wrong. This isn't an uncaught exception. By dumping the intake events sent to the mock APM server we can see the reported error:
|
* fix resolution of docker compose file for CI tests of client-s3 * bump min supported @aws-sdk/client-s3 to v3.15.0 * Fix an issue in the tests sorting APM intake events to be tested. Fixes: #3311 Co-authored-by: Trent Mick <[email protected]>
* fix resolution of docker compose file for CI tests of client-s3 * bump min supported @aws-sdk/client-s3 to v3.15.0 * Fix an issue in the tests sorting APM intake events to be tested. Fixes: #3311 Co-authored-by: Trent Mick <[email protected]>
* fix resolution of docker compose file for CI tests of client-s3 * bump min supported @aws-sdk/client-s3 to v3.15.0 * Fix an issue in the tests sorting APM intake events to be tested. Fixes: elastic#3311 Co-authored-by: Trent Mick <[email protected]>
This problem is originated by the merge of PR #3287 . The CI tests on PR worked fine but now they're failing on main branch. the logs show we are using the default docker compose file for node.
We should use the same compose file we're using to test earlier versions of aws-sdk which os located at
.ci/docker/docker-compose-localstack.yml
. I think we should add a new entry in this switch statementThe text was updated successfully, but these errors were encountered: