Skip to content

wip: legacy mode for v4 #1517

wip: legacy mode for v4

wip: legacy mode for v4 #1517

Triggered via push February 19, 2026 17:58
Status Failure
Total duration 1m 44s
Artifacts
Matrix: smoke
Fit to window
Zoom out
Zoom in

Annotations

17 errors and 1 notice
smoke (22.x)
Process completed with exit code 1.
drops full trace if attributes.include is disabled by LASP: test/smoke/agent/lasp-send-trace.test.js#L106
AssertionError [ERR_ASSERTION]: connected without error at /home/runner/work/node-newrelic/node-newrelic/test/smoke/agent/lasp-send-trace.test.js:106:14 at /home/runner/work/node-newrelic/node-newrelic/lib/agent.js:369:9 at HealthReporter.stop (/home/runner/work/node-newrelic/node-newrelic/lib/health-reporter.js:229:15) at onNextTick (/home/runner/work/node-newrelic/node-newrelic/lib/agent.js:368:28) at process.processTicksAndRejections (node:internal/process/task_queues:85:11) { generatedMessage: false, code: 'ERR_ASSERTION', actual: false, expected: true, operator: '==', diff: 'simple' }
drops full trace if custom attributes are disabled by LASP: test/smoke/agent/lasp-send-trace.test.js#L70
AssertionError [ERR_ASSERTION]: connected without error at /home/runner/work/node-newrelic/node-newrelic/test/smoke/agent/lasp-send-trace.test.js:70:14 at /home/runner/work/node-newrelic/node-newrelic/lib/agent.js:369:9 at HealthReporter.stop (/home/runner/work/node-newrelic/node-newrelic/lib/health-reporter.js:229:15) at onNextTick (/home/runner/work/node-newrelic/node-newrelic/lib/agent.js:368:28) at process.processTicksAndRejections (node:internal/process/task_queues:85:11) { generatedMessage: false, code: 'ERR_ASSERTION', actual: false, expected: true, operator: '==', diff: 'simple' }
loading the application via index.js: test/smoke/index/index.test.js#L20
AssertionError [ERR_ASSERTION]: Got unwanted exception: just loading the agent doesn't throw Actual message: "Cannot read properties of undefined (reading '_state')" at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/smoke/index/index.test.js:20:10) at Test.runInAsyncScope (node:async_hooks:214:14) at Test.run (node:internal/test_runner/test:1034:21) at Test.start (node:internal/test_runner/test:944:17) at startSubtestAfterBootstrap (node:internal/test_runner/harness:296:17) { generatedMessage: false, code: 'ERR_ASSERTION', actual: TypeError: Cannot read properties of undefined (reading '_state') at /home/runner/work/node-newrelic/node-newrelic/test/smoke/index/index.test.js:23:24 at getActual (node:assert:609:5) at Function.doesNotThrow (node:assert:777:32) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/smoke/index/index.test.js:20:10) at Test.runInAsyncScope (node:async_hooks:214:14) at Test.run (node:internal/test_runner/test:1034:21) at Test.start (node:internal/test_runner/test:944:17) at startSubtestAfterBootstrap (node:internal/test_runner/harness:296:17), expected: undefined, operator: 'doesNotThrow', diff: 'simple' }
@aws-sdk/client-s3 functionality: test/smoke/client-s3.test.js#L18
TypeError: subscriber.instrumentations is not iterable (cannot read property undefined) at createSubscribersConfig (/home/runner/work/node-newrelic/node-newrelic/lib/subscribers/create-config.js:18:24) at Object.bootstrapInstrumentation (/home/runner/work/node-newrelic/node-newrelic/lib/shimmer.js:344:31) at helper.instrumentMockedAgent (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:191:11) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/smoke/client-s3.test.js:18:24) at Test.runInAsyncScope (node:async_hooks:214:14) at Test.run (node:internal/test_runner/test:1047:25) at Test.start (node:internal/test_runner/test:944:17) at startSubtestAfterBootstrap (node:internal/test_runner/harness:296:17) at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
missing required policies should result in shutdown: test/smoke/lasp-connect.test.js#L52
'Promise resolution is still pending but the event loop has already resolved'
connecting with a LASP token should not error: test/smoke/lasp-connect.test.js#L16
'Promise resolution is still pending but the event loop has already resolved'
@aws-sdk/s3-request-presigner functionality: test/smoke/s3-presigned-url.test.js#L16
TypeError: subscriber.instrumentations is not iterable (cannot read property undefined) at createSubscribersConfig (/home/runner/work/node-newrelic/node-newrelic/lib/subscribers/create-config.js:18:24) at Object.bootstrapInstrumentation (/home/runner/work/node-newrelic/node-newrelic/lib/shimmer.js:344:31) at helper.instrumentMockedAgent (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:191:11) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/smoke/s3-presigned-url.test.js:16:24) at Test.runInAsyncScope (node:async_hooks:214:14) at Test.run (node:internal/test_runner/test:1034:21) at Test.start (node:internal/test_runner/test:944:17) at startSubtestAfterBootstrap (node:internal/test_runner/harness:296:17) at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
smoke (24.x)
The strategy configuration was canceled because "smoke._22_x" failed
smoke (24.x)
The operation was canceled.
smoke (20.x)
The strategy configuration was canceled because "smoke._22_x" failed
smoke (20.x)
The operation was canceled.
loading the application via index.js: test/smoke/index/index.test.js#L20
AssertionError [ERR_ASSERTION]: Got unwanted exception: just loading the agent doesn't throw Actual message: "Cannot read properties of undefined (reading '_state')" at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/smoke/index/index.test.js:20:10) at Test.runInAsyncScope (node:async_hooks:206:9) at Test.run (node:internal/test_runner/test:783:21) at Test.processPendingSubtests (node:internal/test_runner/test:526:18) at node:internal/test_runner/harness:255:12 at node:internal/process/task_queues:140:7 at AsyncResource.runInAsyncScope (node:async_hooks:206:9) at AsyncResource.runMicrotask (node:internal/process/task_queues:137:8) { generatedMessage: false, code: 'ERR_ASSERTION', actual: TypeError: Cannot read properties of undefined (reading '_state') at /home/runner/work/node-newrelic/node-newrelic/test/smoke/index/index.test.js:23:24 at getActual (node:assert:498:5) at Function.doesNotThrow (node:assert:664:32) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/smoke/index/index.test.js:20:10) at Test.runInAsyncScope (node:async_hooks:206:9) at Test.run (node:internal/test_runner/test:783:21) at Test.processPendingSubtests (node:internal/test_runner/test:526:18) at node:internal/test_runner/harness:255:12 at node:internal/process/task_queues:140:7 at AsyncResource.runInAsyncScope (node:async_hooks:206:9), expected: undefined, operator: 'doesNotThrow' }
@aws-sdk/client-s3 functionality: test/smoke/client-s3.test.js#L18
TypeError [Error]: subscriber.instrumentations is not iterable (cannot read property undefined) at createSubscribersConfig (/home/runner/work/node-newrelic/node-newrelic/lib/subscribers/create-config.js:18:24) at Object.bootstrapInstrumentation (/home/runner/work/node-newrelic/node-newrelic/lib/shimmer.js:344:31) at helper.instrumentMockedAgent (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:191:11) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/smoke/client-s3.test.js:18:24) at Test.runInAsyncScope (node:async_hooks:206:9) at Test.run (node:internal/test_runner/test:796:25) at Test.processPendingSubtests (node:internal/test_runner/test:526:18) at node:internal/test_runner/harness:255:12 at node:internal/process/task_queues:140:7 at AsyncResource.runInAsyncScope (node:async_hooks:206:9)
missing required policies should result in shutdown: test/smoke/lasp-connect.test.js#L52
'Promise resolution is still pending but the event loop has already resolved'
connecting with a LASP token should not error: test/smoke/lasp-connect.test.js#L16
'Promise resolution is still pending but the event loop has already resolved'
@aws-sdk/s3-request-presigner functionality: test/smoke/s3-presigned-url.test.js#L16
TypeError [Error]: subscriber.instrumentations is not iterable (cannot read property undefined) at createSubscribersConfig (/home/runner/work/node-newrelic/node-newrelic/lib/subscribers/create-config.js:18:24) at Object.bootstrapInstrumentation (/home/runner/work/node-newrelic/node-newrelic/lib/shimmer.js:344:31) at helper.instrumentMockedAgent (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:191:11) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/smoke/s3-presigned-url.test.js:16:24) at Test.runInAsyncScope (node:async_hooks:206:9) at Test.run (node:internal/test_runner/test:783:21) at Test.processPendingSubtests (node:internal/test_runner/test:526:18) at node:internal/test_runner/harness:255:12 at node:internal/process/task_queues:140:7 at AsyncResource.runInAsyncScope (node:async_hooks:206:9)
smoke (22.x)
Total Tests: 22 Suites 📂: 0 Passed ✅: 14 Failed ❌: 6 Canceled 🚫: 2 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 6604.165ms