Skip to content

wip: legacy mode for v4 #1311

wip: legacy mode for v4

wip: legacy mode for v4 #1311

Triggered via push February 19, 2026 17:58
Status Failure
Total duration 6h 5m 21s
Artifacts 3

ci-workflow.yml

on: push
should_run
8s
should_run
Matrix: integration
Matrix: unit
Matrix: versioned-internal
Matrix: ci
Matrix: lint
Matrix: versioned-external
Matrix: codecov
all-clear
3s
all-clear
Fit to window
Zoom out
Zoom in

Annotations

49 errors and 5 notices
versioned-external (24.x)
Process completed with exit code 4.
versioned-external (22.x)
Process completed with exit code 4.
versioned-external (20.x)
Process completed with exit code 4.
should only run the instrumentation once: test/unit/shimmer.test.js#L31
Error: Only one agent at a time! This one was created at: at Object.loadMockedAgent (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:94:22) at helper.instrumentMockedAgent (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:189:24) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/shimmer.test.js:31:27) at TestHook.runInAsyncScope (node:async_hooks:214:14) at TestHook.run (node:internal/test_runner/test:1047:25) at TestHook.run (node:internal/test_runner/test:1354:18) at Test.runHook (node:internal/test_runner/test:965:20) at Test.run (node:internal/test_runner/test:1022:27) at Test.start (node:internal/test_runner/test:944:17) at TestContext.test (node:internal/test_runner/test:373:20)
should receive the correct module (sinon): test/unit/shimmer.test.js#L31
Error: Only one agent at a time! This one was created at: at Object.loadMockedAgent (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:94:22) at helper.instrumentMockedAgent (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:189:24) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/shimmer.test.js:31:27) at TestHook.runInAsyncScope (node:async_hooks:214:14) at TestHook.run (node:internal/test_runner/test:1047:25) at TestHook.run (node:internal/test_runner/test:1354:18) at Test.runHook (node:internal/test_runner/test:965:20) at Test.run (node:internal/test_runner/test:1022:27) at Test.start (node:internal/test_runner/test:944:17) at TestContext.test (node:internal/test_runner/test:373:20)
should construct a DatastoreShim if the type is "datastore": test/unit/shimmer.test.js#L31
Error: Only one agent at a time! This one was created at: at Object.loadMockedAgent (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:94:22) at helper.instrumentMockedAgent (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:189:24) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/shimmer.test.js:31:27) at TestHook.runInAsyncScope (node:async_hooks:214:14) at TestHook.run (node:internal/test_runner/test:1047:25) at TestHook.run (node:internal/test_runner/test:1354:18) at Test.runHook (node:internal/test_runner/test:965:20) at Test.run (node:internal/test_runner/test:1022:27) at Test.start (node:internal/test_runner/test:944:17) at TestContext.test (node:internal/test_runner/test:373:20)
should be sent a shim and the loaded module: test/unit/shimmer.test.js#L31
Error: Only one agent at a time! This one was created at: at Object.loadMockedAgent (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:94:22) at helper.instrumentMockedAgent (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:189:24) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/shimmer.test.js:31:27) at TestHook.runInAsyncScope (node:async_hooks:214:14) at TestHook.run (node:internal/test_runner/test:1047:25) at TestHook.run (node:internal/test_runner/test:1354:18) at Test.runHook (node:internal/test_runner/test:965:20) at Test.run (node:internal/test_runner/test:1022:27) at Test.start (node:internal/test_runner/test:944:17) at TestContext.test (node:internal/test_runner/test:373:20)
should clean up NR added properties: test/unit/shimmer.test.js#L31
Error: Only one agent at a time! This one was created at: at Object.loadMockedAgent (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:94:22) at helper.instrumentMockedAgent (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:189:24) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/shimmer.test.js:31:27) at TestHook.runInAsyncScope (node:async_hooks:214:14) at TestHook.run (node:internal/test_runner/test:1047:25) at TestHook.run (node:internal/test_runner/test:1354:18) at Test.runHook (node:internal/test_runner/test:965:20) at Test.run (node:internal/test_runner/test:1022:27) at Test.start (node:internal/test_runner/test:944:17) at TestContext.test (node:internal/test_runner/test:373:20)
should have some NR properties after instrumented: test/unit/shimmer.test.js#L31
Error: Only one agent at a time! This one was created at: at Object.loadMockedAgent (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:94:22) at helper.instrumentMockedAgent (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:189:24) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/shimmer.test.js:31:27) at TestHook.runInAsyncScope (node:async_hooks:214:14) at TestHook.run (node:internal/test_runner/test:1047:25) at TestHook.run (node:internal/test_runner/test:1354:18) at Test.runHook (node:internal/test_runner/test:965:20) at Test.run (node:internal/test_runner/test:1022:27) at Test.start (node:internal/test_runner/test:944:17) at TestContext.test (node:internal/test_runner/test:373:20)
should only run the instrumentation once: test/unit/shimmer.test.js#L31
Error: Only one agent at a time! This one was created at: at Object.loadMockedAgent (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:94:22) at helper.instrumentMockedAgent (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:189:24) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/shimmer.test.js:31:27) at TestHook.runInAsyncScope (node:async_hooks:214:14) at TestHook.run (node:internal/test_runner/test:1047:25) at TestHook.run (node:internal/test_runner/test:1354:18) at Test.runHook (node:internal/test_runner/test:965:20) at Test.run (node:internal/test_runner/test:1022:27) at Test.start (node:internal/test_runner/test:944:17) at TestContext.test (node:internal/test_runner/test:373:20)
should receive the correct module (test-mod/module): test/unit/shimmer.test.js#L31
Error: Only one agent at a time! This one was created at: at Object.loadMockedAgent (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:94:22) at helper.instrumentMockedAgent (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:189:24) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/shimmer.test.js:31:27) at TestHook.runInAsyncScope (node:async_hooks:214:14) at TestHook.run (node:internal/test_runner/test:1047:25) at TestHook.run (node:internal/test_runner/test:1354:18) at Test.runHook (node:internal/test_runner/test:965:20) at Test.run (node:internal/test_runner/test:1022:27) at Test.start (node:internal/test_runner/test:944:17) at TestContext.test (node:internal/test_runner/test:373:20)
should construct a DatastoreShim if the type is "datastore": test/unit/shimmer.test.js#L31
Error: Only one agent at a time! This one was created at: at Object.loadMockedAgent (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:94:22) at helper.instrumentMockedAgent (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:189:24) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/shimmer.test.js:31:27) at TestHook.runInAsyncScope (node:async_hooks:214:14) at TestHook.run (node:internal/test_runner/test:1047:25) at TestHook.run (node:internal/test_runner/test:1354:18) at Test.runHook (node:internal/test_runner/test:965:20) at Test.run (node:internal/test_runner/test:1022:27) at Test.start (node:internal/test_runner/test:944:17) at TestContext.test (node:internal/test_runner/test:373:20)
should be sent a shim and the loaded module: test/unit/shimmer.test.js#L31
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/unit/shimmer.test.js:31:27) at TestHook.runInAsyncScope (node:async_hooks:214:14) at TestHook.run (node:internal/test_runner/test:1047:25) at TestHook.run (node:internal/test_runner/test:1354:18) at Test.runHook (node:internal/test_runner/test:965:20) at Test.run (node:internal/test_runner/test:1022:27) at Test.start (node:internal/test_runner/test:944:17)
should only run the instrumentation once: test/unit/shimmer.test.js#L31
Error: Only one agent at a time! This one was created at: at Object.loadMockedAgent (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:94:22) at helper.instrumentMockedAgent (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:189:24) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/shimmer.test.js:31:27) at TestHook.runInAsyncScope (node:async_hooks:206:9) at TestHook.run (node:internal/test_runner/test:796:25) at TestHook.run (node:internal/test_runner/test:1041:18) at Test.runHook (node:internal/test_runner/test:723:20) at Test.run (node:internal/test_runner/test:772:27) at Test.start (node:internal/test_runner/test:702:17) at TestContext.test (node:internal/test_runner/test:292:20)
should receive the correct module (sinon): test/unit/shimmer.test.js#L31
Error: Only one agent at a time! This one was created at: at Object.loadMockedAgent (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:94:22) at helper.instrumentMockedAgent (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:189:24) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/shimmer.test.js:31:27) at TestHook.runInAsyncScope (node:async_hooks:206:9) at TestHook.run (node:internal/test_runner/test:796:25) at TestHook.run (node:internal/test_runner/test:1041:18) at Test.runHook (node:internal/test_runner/test:723:20) at Test.run (node:internal/test_runner/test:772:27) at Test.start (node:internal/test_runner/test:702:17) at TestContext.test (node:internal/test_runner/test:292:20)
should construct a DatastoreShim if the type is "datastore": test/unit/shimmer.test.js#L31
Error: Only one agent at a time! This one was created at: at Object.loadMockedAgent (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:94:22) at helper.instrumentMockedAgent (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:189:24) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/shimmer.test.js:31:27) at TestHook.runInAsyncScope (node:async_hooks:206:9) at TestHook.run (node:internal/test_runner/test:796:25) at TestHook.run (node:internal/test_runner/test:1041:18) at Test.runHook (node:internal/test_runner/test:723:20) at Test.run (node:internal/test_runner/test:772:27) at Test.start (node:internal/test_runner/test:702:17) at TestContext.test (node:internal/test_runner/test:292:20)
should be sent a shim and the loaded module: test/unit/shimmer.test.js#L31
Error: Only one agent at a time! This one was created at: at Object.loadMockedAgent (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:94:22) at helper.instrumentMockedAgent (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:189:24) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/shimmer.test.js:31:27) at TestHook.runInAsyncScope (node:async_hooks:206:9) at TestHook.run (node:internal/test_runner/test:796:25) at TestHook.run (node:internal/test_runner/test:1041:18) at Test.runHook (node:internal/test_runner/test:723:20) at Test.run (node:internal/test_runner/test:772:27) at Test.start (node:internal/test_runner/test:702:17) at TestContext.test (node:internal/test_runner/test:292:20)
should clean up NR added properties: test/unit/shimmer.test.js#L31
Error: Only one agent at a time! This one was created at: at Object.loadMockedAgent (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:94:22) at helper.instrumentMockedAgent (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:189:24) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/shimmer.test.js:31:27) at TestHook.runInAsyncScope (node:async_hooks:206:9) at TestHook.run (node:internal/test_runner/test:796:25) at TestHook.run (node:internal/test_runner/test:1041:18) at Test.runHook (node:internal/test_runner/test:723:20) at Test.run (node:internal/test_runner/test:772:27) at Test.start (node:internal/test_runner/test:702:17) at TestContext.test (node:internal/test_runner/test:292:20)
should have some NR properties after instrumented: test/unit/shimmer.test.js#L31
Error: Only one agent at a time! This one was created at: at Object.loadMockedAgent (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:94:22) at helper.instrumentMockedAgent (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:189:24) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/shimmer.test.js:31:27) at TestHook.runInAsyncScope (node:async_hooks:206:9) at TestHook.run (node:internal/test_runner/test:796:25) at TestHook.run (node:internal/test_runner/test:1041:18) at Test.runHook (node:internal/test_runner/test:723:20) at Test.run (node:internal/test_runner/test:772:27) at Test.start (node:internal/test_runner/test:702:17) at TestContext.test (node:internal/test_runner/test:292:20)
should only run the instrumentation once: test/unit/shimmer.test.js#L31
Error: Only one agent at a time! This one was created at: at Object.loadMockedAgent (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:94:22) at helper.instrumentMockedAgent (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:189:24) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/shimmer.test.js:31:27) at TestHook.runInAsyncScope (node:async_hooks:206:9) at TestHook.run (node:internal/test_runner/test:796:25) at TestHook.run (node:internal/test_runner/test:1041:18) at Test.runHook (node:internal/test_runner/test:723:20) at Test.run (node:internal/test_runner/test:772:27) at Test.start (node:internal/test_runner/test:702:17) at TestContext.test (node:internal/test_runner/test:292:20)
should receive the correct module (test-mod/module): test/unit/shimmer.test.js#L31
Error: Only one agent at a time! This one was created at: at Object.loadMockedAgent (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:94:22) at helper.instrumentMockedAgent (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:189:24) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/shimmer.test.js:31:27) at TestHook.runInAsyncScope (node:async_hooks:206:9) at TestHook.run (node:internal/test_runner/test:796:25) at TestHook.run (node:internal/test_runner/test:1041:18) at Test.runHook (node:internal/test_runner/test:723:20) at Test.run (node:internal/test_runner/test:772:27) at Test.start (node:internal/test_runner/test:702:17) at TestContext.test (node:internal/test_runner/test:292:20)
should construct a DatastoreShim if the type is "datastore": test/unit/shimmer.test.js#L31
Error: Only one agent at a time! This one was created at: at Object.loadMockedAgent (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:94:22) at helper.instrumentMockedAgent (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:189:24) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/shimmer.test.js:31:27) at TestHook.runInAsyncScope (node:async_hooks:206:9) at TestHook.run (node:internal/test_runner/test:796:25) at TestHook.run (node:internal/test_runner/test:1041:18) at Test.runHook (node:internal/test_runner/test:723:20) at Test.run (node:internal/test_runner/test:772:27) at Test.start (node:internal/test_runner/test:702:17) at TestContext.test (node:internal/test_runner/test:292:20)
should be sent a shim and the loaded module: test/unit/shimmer.test.js#L31
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/unit/shimmer.test.js:31:27) at TestHook.runInAsyncScope (node:async_hooks:206:9) at TestHook.run (node:internal/test_runner/test:796:25) at TestHook.run (node:internal/test_runner/test:1041:18) at Test.runHook (node:internal/test_runner/test:723:20) at Test.run (node:internal/test_runner/test:772:27) at Test.start (node:internal/test_runner/test:702:17)
getSegment: test/integration/transaction/tracer.test.js#L17
Error: Only one agent at a time! This one was created at: at Object.loadMockedAgent (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:94:22) at helper.instrumentMockedAgent (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:189:24) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/integration/transaction/tracer.test.js:17:24) at TestHook.runInAsyncScope (node:async_hooks:214:14) at TestHook.run (node:internal/test_runner/test:1047:25) at TestHook.run (node:internal/test_runner/test:1354:18) at Test.runHook (node:internal/test_runner/test:965:20) at Test.run (node:internal/test_runner/test:1022:27) at Test.start (node:internal/test_runner/test:944:17) at startSubtestAfterBootstrap (node:internal/test_runner/harness:296:17)
getTransaction: test/integration/transaction/tracer.test.js#L17
Error: Only one agent at a time! This one was created at: at Object.loadMockedAgent (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:94:22) at helper.instrumentMockedAgent (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:189:24) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/integration/transaction/tracer.test.js:17:24) at TestHook.runInAsyncScope (node:async_hooks:214:14) at TestHook.run (node:internal/test_runner/test:1047:25) at TestHook.run (node:internal/test_runner/test:1354:18) at Test.runHook (node:internal/test_runner/test:965:20) at Test.run (node:internal/test_runner/test:1022:27) at Test.start (node:internal/test_runner/test:944:17) at startSubtestAfterBootstrap (node:internal/test_runner/harness:296:17)
bind + args: test/integration/transaction/tracer.test.js#L17
Error: Only one agent at a time! This one was created at: at Object.loadMockedAgent (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:94:22) at helper.instrumentMockedAgent (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:189:24) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/integration/transaction/tracer.test.js:17:24) at TestHook.runInAsyncScope (node:async_hooks:214:14) at TestHook.run (node:internal/test_runner/test:1047:25) at TestHook.run (node:internal/test_runner/test:1354:18) at Test.runHook (node:internal/test_runner/test:965:20) at Test.run (node:internal/test_runner/test:1022:27) at Test.start (node:internal/test_runner/test:944:17) at startSubtestAfterBootstrap (node:internal/test_runner/harness:296:17)
bind + bad function: test/integration/transaction/tracer.test.js#L17
Error: Only one agent at a time! This one was created at: at Object.loadMockedAgent (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:94:22) at helper.instrumentMockedAgent (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:189:24) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/integration/transaction/tracer.test.js:17:24) at TestHook.runInAsyncScope (node:async_hooks:214:14) at TestHook.run (node:internal/test_runner/test:1047:25) at TestHook.run (node:internal/test_runner/test:1354:18) at Test.runHook (node:internal/test_runner/test:965:20) at Test.run (node:internal/test_runner/test:1022:27) at Test.start (node:internal/test_runner/test:944:17) at startSubtestAfterBootstrap (node:internal/test_runner/harness:296:17)
bind + full: test/integration/transaction/tracer.test.js#L17
Error: Only one agent at a time! This one was created at: at Object.loadMockedAgent (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:94:22) at helper.instrumentMockedAgent (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:189:24) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/integration/transaction/tracer.test.js:17:24) at TestHook.runInAsyncScope (node:async_hooks:214:14) at TestHook.run (node:internal/test_runner/test:1047:25) at TestHook.run (node:internal/test_runner/test:1354:18) at Test.runHook (node:internal/test_runner/test:965:20) at Test.run (node:internal/test_runner/test:1022:27) at Test.start (node:internal/test_runner/test:944:17) at startSubtestAfterBootstrap (node:internal/test_runner/harness:296:17)
bind + capture error: test/integration/transaction/tracer.test.js#L17
Error: Only one agent at a time! This one was created at: at Object.loadMockedAgent (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:94:22) at helper.instrumentMockedAgent (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:189:24) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/integration/transaction/tracer.test.js:17:24) at TestHook.runInAsyncScope (node:async_hooks:214:14) at TestHook.run (node:internal/test_runner/test:1047:25) at TestHook.run (node:internal/test_runner/test:1354:18) at Test.runHook (node:internal/test_runner/test:965:20) at Test.run (node:internal/test_runner/test:1022:27) at Test.start (node:internal/test_runner/test:944:17) at startSubtestAfterBootstrap (node:internal/test_runner/harness:296:17)
bind + throw: test/integration/transaction/tracer.test.js#L17
Error: Only one agent at a time! This one was created at: at Object.loadMockedAgent (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:94:22) at helper.instrumentMockedAgent (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:189:24) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/integration/transaction/tracer.test.js:17:24) at TestHook.runInAsyncScope (node:async_hooks:214:14) at TestHook.run (node:internal/test_runner/test:1047:25) at TestHook.run (node:internal/test_runner/test:1354:18) at Test.runHook (node:internal/test_runner/test:965:20) at Test.run (node:internal/test_runner/test:1022:27) at Test.start (node:internal/test_runner/test:944:17) at startSubtestAfterBootstrap (node:internal/test_runner/harness:296:17)
bind outside transaction: test/integration/transaction/tracer.test.js#L17
Error: Only one agent at a time! This one was created at: at Object.loadMockedAgent (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:94:22) at helper.instrumentMockedAgent (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:189:24) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/integration/transaction/tracer.test.js:17:24) at TestHook.runInAsyncScope (node:async_hooks:214:14) at TestHook.run (node:internal/test_runner/test:1047:25) at TestHook.run (node:internal/test_runner/test:1354:18) at Test.runHook (node:internal/test_runner/test:965:20) at Test.run (node:internal/test_runner/test:1022:27) at Test.start (node:internal/test_runner/test:944:17) at startSubtestAfterBootstrap (node:internal/test_runner/harness:296:17)
bind in transaction: test/integration/transaction/tracer.test.js#L17
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/integration/transaction/tracer.test.js:17:24) at TestHook.runInAsyncScope (node:async_hooks:214:14) at TestHook.run (node:internal/test_runner/test:1047:25) at TestHook.run (node:internal/test_runner/test:1354:18) at Test.runHook (node:internal/test_runner/test:965:20) at Test.run (node:internal/test_runner/test:1022:27) at Test.start (node:internal/test_runner/test:944:17)
should record metrics about data usage: test/integration/collector-remote-method.test.js#L94
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/integration/collector-remote-method.test.js:94:24) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async Test.run (node:internal/test_runner/test:1054:7) at async Test.processPendingSubtests (node:internal/test_runner/test:744:7)
bind + bad function: test/integration/transaction/tracer.test.js#L17
Error: Only one agent at a time! This one was created at: at Object.loadMockedAgent (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:94:22) at helper.instrumentMockedAgent (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:189:24) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/integration/transaction/tracer.test.js:17:24) at TestHook.runInAsyncScope (node:async_hooks:206:9) at TestHook.run (node:internal/test_runner/test:796:25) at TestHook.run (node:internal/test_runner/test:1041:18) at Test.runHook (node:internal/test_runner/test:723:20) at Test.run (node:internal/test_runner/test:772:27) at Test.processPendingSubtests (node:internal/test_runner/test:526:18) at node:internal/test_runner/harness:255:12
bind + full: test/integration/transaction/tracer.test.js#L17
Error: Only one agent at a time! This one was created at: at Object.loadMockedAgent (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:94:22) at helper.instrumentMockedAgent (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:189:24) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/integration/transaction/tracer.test.js:17:24) at TestHook.runInAsyncScope (node:async_hooks:206:9) at TestHook.run (node:internal/test_runner/test:796:25) at TestHook.run (node:internal/test_runner/test:1041:18) at Test.runHook (node:internal/test_runner/test:723:20) at Test.run (node:internal/test_runner/test:772:27) at Test.processPendingSubtests (node:internal/test_runner/test:526:18) at node:internal/test_runner/harness:255:12
bind + capture error: test/integration/transaction/tracer.test.js#L17
Error: Only one agent at a time! This one was created at: at Object.loadMockedAgent (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:94:22) at helper.instrumentMockedAgent (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:189:24) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/integration/transaction/tracer.test.js:17:24) at TestHook.runInAsyncScope (node:async_hooks:206:9) at TestHook.run (node:internal/test_runner/test:796:25) at TestHook.run (node:internal/test_runner/test:1041:18) at Test.runHook (node:internal/test_runner/test:723:20) at Test.run (node:internal/test_runner/test:772:27) at Test.processPendingSubtests (node:internal/test_runner/test:526:18) at node:internal/test_runner/harness:255:12
bind + throw: test/integration/transaction/tracer.test.js#L17
Error: Only one agent at a time! This one was created at: at Object.loadMockedAgent (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:94:22) at helper.instrumentMockedAgent (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:189:24) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/integration/transaction/tracer.test.js:17:24) at TestHook.runInAsyncScope (node:async_hooks:206:9) at TestHook.run (node:internal/test_runner/test:796:25) at TestHook.run (node:internal/test_runner/test:1041:18) at Test.runHook (node:internal/test_runner/test:723:20) at Test.run (node:internal/test_runner/test:772:27) at Test.processPendingSubtests (node:internal/test_runner/test:526:18) at node:internal/test_runner/harness:255:12
bind outside transaction: test/integration/transaction/tracer.test.js#L17
Error: Only one agent at a time! This one was created at: at Object.loadMockedAgent (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:94:22) at helper.instrumentMockedAgent (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:189:24) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/integration/transaction/tracer.test.js:17:24) at TestHook.runInAsyncScope (node:async_hooks:206:9) at TestHook.run (node:internal/test_runner/test:796:25) at TestHook.run (node:internal/test_runner/test:1041:18) at Test.runHook (node:internal/test_runner/test:723:20) at Test.run (node:internal/test_runner/test:772:27) at Test.processPendingSubtests (node:internal/test_runner/test:526:18) at node:internal/test_runner/harness:255:12
bind in transaction: test/integration/transaction/tracer.test.js#L17
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/integration/transaction/tracer.test.js:17:24) at TestHook.runInAsyncScope (node:async_hooks:206:9) at TestHook.run (node:internal/test_runner/test:796:25) at TestHook.run (node:internal/test_runner/test:1041:18) at Test.runHook (node:internal/test_runner/test:723:20) at Test.run (node:internal/test_runner/test:772:27) at Test.processPendingSubtests (node:internal/test_runner/test:526:18)
can instrument the same module from multiple installs: test/integration/shimmer/reinstrument.test.js#L15
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/integration/shimmer/reinstrument.test.js:15:25) at TestHook.runInAsyncScope (node:async_hooks:206:9) at TestHook.run (node:internal/test_runner/test:796:25) at TestHook.run (node:internal/test_runner/test:1041:18) at Test.runHook (node:internal/test_runner/test:723:20) at Test.run (node:internal/test_runner/test:772:27) at Test.processPendingSubtests (node:internal/test_runner/test:526:18)
all instrumented modules should be detected when uninstrumented: test/integration/uninstrumented/uninstrumented.test.js#L27
Error: Only one agent at a time! This one was created at: at Object.loadMockedAgent (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:94:22) at helper.instrumentMockedAgent (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:189:24) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/integration/uninstrumented/uninstrumented.test.js:27: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) at AsyncResource.runMicrotask (node:internal/process/task_queues:137:8)
does not mark files with known module names as uninstrumented: test/integration/uninstrumented/uninstrumented.test.js#L27
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/integration/uninstrumented/uninstrumented.test.js:27: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)
should record metrics about data usage: test/integration/collector-remote-method.test.js#L94
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/integration/collector-remote-method.test.js:94:24) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Test.run (node:internal/test_runner/test:797:9) at async Test.processPendingSubtests (node:internal/test_runner/test:526:7)
versioned-internal (24.x)
Process completed with exit code 4.
versioned-internal (20.x)
Process completed with exit code 4.
versioned-internal (22.x)
Process completed with exit code 4.
integration (24.x)
The job has exceeded the maximum execution time of 6h0m0s
unit (24.x)
The job has exceeded the maximum execution time of 6h0m0s
all-clear
Process completed with exit code 1.
ci (lts/*)
Total Tests: 36 Suites 📂: 0 Passed ✅: 36 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 641.952ms
unit (22.x)
Total Tests: 5060 Suites 📂: 18 Passed ✅: 4610 Failed ❌: 428 Canceled 🚫: 1 Skipped ⏭️: 2 Todo 📝: 19 Duration 🕐: 236779.192ms
unit (20.x)
Total Tests: 5057 Suites 📂: 18 Passed ✅: 4610 Failed ❌: 424 Canceled 🚫: 1 Skipped ⏭️: 3 Todo 📝: 19 Duration 🕐: 246693.652ms
integration (22.x)
Total Tests: 790 Suites 📂: 0 Passed ✅: 433 Failed ❌: 352 Canceled 🚫: 1 Skipped ⏭️: 4 Todo 📝: 0 Duration 🕐: 620956.129ms
integration (20.x)
Total Tests: 790 Suites 📂: 0 Passed ✅: 433 Failed ❌: 351 Canceled 🚫: 1 Skipped ⏭️: 5 Todo 📝: 0 Duration 🕐: 622162.229ms

Artifacts

Produced during runtime
Name Size Digest
logs-20.x.tgz
99.4 KB
sha256:bed37f8cd4370448eb13a8302b4d993a8c47fc4a77b5210aff0fe561edbd11a9
logs-22.x.tgz
99.4 KB
sha256:be672cb4fba8219f98e8530a148f1906744f9fc299fb24c897afdfdde8a18d34
logs-24.x.tgz
99.5 KB
sha256:afc85f4c1c03e12b81c7e04d2fbaa3ba7979c409c67c1e074dced0cdb010d70f