Skip to content

wip: started exploring optimizing context manager #2021

wip: started exploring optimizing context manager

wip: started exploring optimizing context manager #2021

Triggered via push October 17, 2024 20:21
Status Failure
Total duration 31m 25s
Artifacts 3

ci-workflow.yml

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

Annotations

77 errors, 10 warnings, and 20 notices
versioned-external (18.x)
Process completed with exit code 4.
versioned-external (20.x)
Process completed with exit code 4.
lint (lts/*): lib/context-manager/async-local-context-manager.js#L60
Expected space or tab after '/*' in comment
lint (lts/*): lib/context-manager/async-local-context-manager.js#L70
Unexpected 'debugger' statement
lint (lts/*): lib/context-manager/context.js#L1
missing header
lint (lts/*): lib/instrumentation/core/http-outbound.js#L277
Unexpected 'debugger' statement
lint (lts/*): lib/instrumentation/core/http.js#L74
Expected space or tab after '//' in comment
lint (lts/*): lib/instrumentation/core/http.js#L75
Expected space or tab after '//' in comment
lint (lts/*): lib/instrumentation/core/net.js#L65
Expected space or tab after '/*' in comment
lint (lts/*): lib/instrumentation/core/net.js#L76
Unexpected 'debugger' statement
lint (lts/*): lib/instrumentation/core/net.js#L78
Unexpected 'debugger' statement
versioned-external (22.x)
Process completed with exit code 4.
for web transactions: test/unit/transaction.test.js#L736
Error [ERR_TEST_FAILURE]: Cannot read properties of null (reading 'start') at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:730:5) at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:727:3) { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: Cannot read properties of null (reading 'start') at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:736:20) at Test.runInAsyncScope (node:async_hooks:211:14) at Test.run (node:internal/test_runner/test:934:25) at processTicksAndRejections (node:internal/process/task_queues:105:5) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:730:5) at Test.run (node:internal/test_runner/test:935:9) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:727:3) at Test.run (node:internal/test_runner/test:935:9) at Test.processPendingSubtests (node:internal/test_runner/test:633:7) }
for background transactions: test/unit/transaction.test.js#L754
Error [ERR_TEST_FAILURE]: Cannot read properties of null (reading 'start') at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:749:5) at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:727:3) { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: Cannot read properties of null (reading 'start') at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:754:28) at Test.runInAsyncScope (node:async_hooks:211:14) at Test.run (node:internal/test_runner/test:934:25) at processTicksAndRejections (node:internal/process/task_queues:105:5) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:749:5) at Test.run (node:internal/test_runner/test:935:9) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:727:3) at Test.run (node:internal/test_runner/test:935:9) at Test.processPendingSubtests (node:internal/test_runner/test:633:7) }
when namestate populated should copy parameters from the name stack: test/unit/transaction.test.js#L1872
Error [ERR_TEST_FAILURE]: Expected values to be loosely deep-equal: [Object: null prototype] {} should loosely deep-equal { 'request.parameters.bar': 'bang', 'request.parameters.foo': 'biz' } at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1864:3) { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be loosely deep-equal: [Object: null prototype] {} should loosely deep-equal { 'request.parameters.bar': 'bang', 'request.parameters.foo': 'biz' } at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1872:12) at Test.runInAsyncScope (node:async_hooks:211:14) at Test.run (node:internal/test_runner/test:934:25) at processTicksAndRejections (node:internal/process/task_queues:105:5) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1864:3) at Test.run (node:internal/test_runner/test:935:9) at Test.processPendingSubtests (node:internal/test_runner/test:633:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: {}, expected: { 'request.parameters.foo': 'biz', 'request.parameters.bar': 'bang' }, operator: 'deepEqual' } }
when namestate populated should copy parameters from the name stack: test/unit/transaction.test.js#L1955
Error [ERR_TEST_FAILURE]: Expected values to be loosely deep-equal: [Object: null prototype] {} should loosely deep-equal { 'request.parameters.bar': 'bang', 'request.parameters.foo': 'biz' } at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1945:3) { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be loosely deep-equal: [Object: null prototype] {} should loosely deep-equal { 'request.parameters.bar': 'bang', 'request.parameters.foo': 'biz' } at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1955:12) at Test.runInAsyncScope (node:async_hooks:211:14) at Test.run (node:internal/test_runner/test:934:25) at processTicksAndRejections (node:internal/process/task_queues:105:5) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1945:3) at Test.run (node:internal/test_runner/test:935:9) at Test.processPendingSubtests (node:internal/test_runner/test:633:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: {}, expected: { 'request.parameters.foo': 'biz', 'request.parameters.bar': 'bang' }, operator: 'deepEqual' } }
should push transactions through process.nextTick: test/unit/shimmer.test.js#L444
Error [ERR_TEST_FAILURE]: Cannot destructure property 'segment' of 'ctx' as it is undefined. at process.emit (node:events:518:28) at process.emit (/home/runner/work/node-newrelic/node-newrelic/node_modules/source-map-support/source-map-support.js:516:21) at domainProcessFatalException (/home/runner/work/node-newrelic/node-newrelic/node_modules/async-hook-domain/index.js:174:36) at process.domainProcessFatalException (/home/runner/work/node-newrelic/node-newrelic/node_modules/async-hook-domain/index.js:161:14) { code: 'ERR_TEST_FAILURE', failureType: 'uncaughtException', cause: TypeError [Error]: Cannot destructure property 'segment' of 'ctx' as it is undefined. at _makeWrapped (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:250:11) at Tracer.bindFunction (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:247:10) at transactionProxyCb (/home/runner/work/node-newrelic/node-newrelic/test/unit/shimmer.test.js:444:28) at AsyncLocalStorage.run (node:internal/async_local_storage/async_hooks:91:14) at AsyncLocalContextManager.runInContext (/home/runner/work/node-newrelic/node-newrelic/lib/context-manager/async-local-context-manager.js:75:38) at wrapped (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:264:37) at wrapTransactionInvocation (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:183:52) at TestContext.spamTransaction (/home/runner/work/node-newrelic/node-newrelic/test/unit/shimmer.test.js:452:11) at processTicksAndRejections (node:internal/process/task_queues:85:11) }
should push transactions through setTimeout: test/unit/shimmer.test.js#L483
Error [ERR_TEST_FAILURE]: Cannot destructure property 'segment' of 'ctx' as it is undefined. at process.emit (node:events:518:28) at process.emit (/home/runner/work/node-newrelic/node-newrelic/node_modules/source-map-support/source-map-support.js:516:21) { code: 'ERR_TEST_FAILURE', failureType: 'uncaughtException', cause: TypeError [Error]: Cannot destructure property 'segment' of 'ctx' as it is undefined. at _makeWrapped (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:250:11) at Tracer.bindFunction (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:247:10) at transactionProxyCb (/home/runner/work/node-newrelic/node-newrelic/test/unit/shimmer.test.js:483:28) at AsyncLocalStorage.run (node:internal/async_local_storage/async_hooks:91:14) at AsyncLocalContextManager.runInContext (/home/runner/work/node-newrelic/node-newrelic/lib/context-manager/async-local-context-manager.js:75:38) at wrapped (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:264:37) at wrapTransactionInvocation (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:183:52) at TestContext.spamTransaction (/home/runner/work/node-newrelic/node-newrelic/test/unit/shimmer.test.js:492:11) at listOnTimeout (node:internal/timers:594:17) at processTimers (node:internal/timers:529:7) }
should push transactions through EventEmitters: test/unit/shimmer.test.js#L529
Error [ERR_TEST_FAILURE]: Cannot destructure property 'segment' of 'ctx' as it is undefined. at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/shimmer.test.js:509:7) at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/shimmer.test.js:418:5) at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/shimmer.test.js:177:3) { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: Cannot destructure property 'segment' of 'ctx' as it is undefined. at _makeWrapped (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:250:11) at Tracer.bindFunction (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:247:10) at transactionProxyCb (/home/runner/work/node-newrelic/node-newrelic/test/unit/shimmer.test.js:529:28) at AsyncLocalStorage.run (node:internal/async_local_storage/async_hooks:91:14) at AsyncLocalContextManager.runInContext (/home/runner/work/node-newrelic/node-newrelic/lib/context-manager/async-local-context-manager.js:75:38) at wrapped (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:264:37) at wrapTransactionInvocation (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:183:52) at eventTransaction (/home/runner/work/node-newrelic/node-newrelic/test/unit/shimmer.test.js:540:11) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/shimmer.test.js:551:11) at Test.runInAsyncScope (node:async_hooks:211:14) }
should handle whatever ridiculous nonsense you throw at it: test/unit/shimmer.test.js#L608
Error [ERR_TEST_FAILURE]: Cannot destructure property 'segment' of 'ctx' as it is undefined. at process.emit (node:events:518:28) at process.emit (/home/runner/work/node-newrelic/node-newrelic/node_modules/source-map-support/source-map-support.js:516:21) { code: 'ERR_TEST_FAILURE', failureType: 'uncaughtException', cause: TypeError [Error]: Cannot destructure property 'segment' of 'ctx' as it is undefined. at _makeWrapped (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:250:11) at Tracer.bindFunction (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:247:10) at transactionProxyCb (/home/runner/work/node-newrelic/node-newrelic/test/unit/shimmer.test.js:608:30) at AsyncLocalStorage.run (node:internal/async_local_storage/async_hooks:91:14) at AsyncLocalContextManager.runInContext (/home/runner/work/node-newrelic/node-newrelic/lib/context-manager/async-local-context-manager.js:75:38) at wrapped (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:264:37) at wrapTransactionInvocation (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:183:52) at processTicksAndRejections (node:internal/process/task_queues:85:11) at runNextTicks (node:internal/process/task_queues:69:3) at processTimers (node:internal/timers:526:9) }
should find 1 scoped metric: test/unit/parsed-statement.test.js#L34
Error [ERR_TEST_FAILURE]: failed running beforeEach hook at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/parsed-statement.test.js:45:7) at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/parsed-statement.test.js:23:5) at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/parsed-statement.test.js:22:3) { code: 'ERR_TEST_FAILURE', failureType: 'hookFailed', cause: TypeError [Error]: Cannot read properties of null (reading 'setDurationInMillis') at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/parsed-statement.test.js:34:17) at TestHook.runInAsyncScope (node:async_hooks:211:14) at TestHook.run (node:internal/test_runner/test:934:25) at TestHook.run (node:internal/test_runner/test:1225:18) at node:internal/test_runner/test:853:20 at processTicksAndRejections (node:internal/process/task_queues:105:5) at Test.runHook (node:internal/test_runner/test:851:7) at Test.run (node:internal/test_runner/test:910:9) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/parsed-statement.test.js:45:7) at Test.run (node:internal/test_runner/test:935:9) }
should find 6 unscoped metrics: test/unit/parsed-statement.test.js#L34
Error [ERR_TEST_FAILURE]: failed running beforeEach hook at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/parsed-statement.test.js:50:7) at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/parsed-statement.test.js:23:5) at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/parsed-statement.test.js:22:3) { code: 'ERR_TEST_FAILURE', failureType: 'hookFailed', cause: TypeError [Error]: Cannot read properties of null (reading 'setDurationInMillis') at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/parsed-statement.test.js:34:17) at TestHook.runInAsyncScope (node:async_hooks:211:14) at TestHook.run (node:internal/test_runner/test:934:25) at TestHook.run (node:internal/test_runner/test:1225:18) at node:internal/test_runner/test:853:20 at processTicksAndRejections (node:internal/process/task_queues:105:5) at Test.runHook (node:internal/test_runner/test:851:7) at Test.run (node:internal/test_runner/test:910:9) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/parsed-statement.test.js:50:7) at Test.run (node:internal/test_runner/test:935:9) }
for web transactions: test/unit/transaction.test.js#L736
Error [ERR_TEST_FAILURE]: Cannot read properties of null (reading 'start') at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:730:5) at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:727:3) { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: Cannot read properties of null (reading 'start') at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:736:20) at Test.runInAsyncScope (node:async_hooks:206:9) at Test.run (node:internal/test_runner/test:789:25) at processTicksAndRejections (node:internal/process/task_queues:95:5) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:730:5) at Test.run (node:internal/test_runner/test:790:9) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:727:3) at Test.run (node:internal/test_runner/test:790:9) at Test.processPendingSubtests (node:internal/test_runner/test:517:7) }
for background transactions: test/unit/transaction.test.js#L754
Error [ERR_TEST_FAILURE]: Cannot read properties of null (reading 'start') at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:749:5) at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:727:3) { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: Cannot read properties of null (reading 'start') at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:754:28) at Test.runInAsyncScope (node:async_hooks:206:9) at Test.run (node:internal/test_runner/test:789:25) at processTicksAndRejections (node:internal/process/task_queues:95:5) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:749:5) at Test.run (node:internal/test_runner/test:790:9) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:727:3) at Test.run (node:internal/test_runner/test:790:9) at Test.processPendingSubtests (node:internal/test_runner/test:517:7) }
when namestate populated should copy parameters from the name stack: test/unit/transaction.test.js#L1872
Error [ERR_TEST_FAILURE]: Expected values to be loosely deep-equal: [Object: null prototype] {} should loosely deep-equal { 'request.parameters.bar': 'bang', 'request.parameters.foo': 'biz' } at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1864:3) { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be loosely deep-equal: [Object: null prototype] {} should loosely deep-equal { 'request.parameters.bar': 'bang', 'request.parameters.foo': 'biz' } at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1872:12) at Test.runInAsyncScope (node:async_hooks:206:9) at Test.run (node:internal/test_runner/test:789:25) at processTicksAndRejections (node:internal/process/task_queues:95:5) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1864:3) at Test.run (node:internal/test_runner/test:790:9) at Test.processPendingSubtests (node:internal/test_runner/test:517:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: {}, expected: { 'request.parameters.foo': 'biz', 'request.parameters.bar': 'bang' }, operator: 'deepEqual' } }
when namestate populated should copy parameters from the name stack: test/unit/transaction.test.js#L1955
Error [ERR_TEST_FAILURE]: Expected values to be loosely deep-equal: [Object: null prototype] {} should loosely deep-equal { 'request.parameters.bar': 'bang', 'request.parameters.foo': 'biz' } at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1945:3) { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be loosely deep-equal: [Object: null prototype] {} should loosely deep-equal { 'request.parameters.bar': 'bang', 'request.parameters.foo': 'biz' } at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1955:12) at Test.runInAsyncScope (node:async_hooks:206:9) at Test.run (node:internal/test_runner/test:789:25) at processTicksAndRejections (node:internal/process/task_queues:95:5) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1945:3) at Test.run (node:internal/test_runner/test:790:9) at Test.processPendingSubtests (node:internal/test_runner/test:517:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: {}, expected: { 'request.parameters.foo': 'biz', 'request.parameters.bar': 'bang' }, operator: 'deepEqual' } }
should push transactions through process.nextTick: test/unit/shimmer.test.js#L444
Error [ERR_TEST_FAILURE]: Cannot destructure property 'segment' of 'ctx' as it is undefined. at process.emit (node:events:519:28) at process.emit (/home/runner/work/node-newrelic/node-newrelic/node_modules/source-map-support/source-map-support.js:516:21) at domainProcessFatalException (/home/runner/work/node-newrelic/node-newrelic/node_modules/async-hook-domain/index.js:174:36) at process.domainProcessFatalException (/home/runner/work/node-newrelic/node-newrelic/node_modules/async-hook-domain/index.js:161:14) { code: 'ERR_TEST_FAILURE', failureType: 'uncaughtException', cause: TypeError [Error]: Cannot destructure property 'segment' of 'ctx' as it is undefined. at _makeWrapped (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:250:11) at Tracer.bindFunction (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:247:10) at transactionProxyCb (/home/runner/work/node-newrelic/node-newrelic/test/unit/shimmer.test.js:444:28) at AsyncLocalStorage.run (node:async_hooks:346:14) at AsyncLocalContextManager.runInContext (/home/runner/work/node-newrelic/node-newrelic/lib/context-manager/async-local-context-manager.js:75:38) at wrapped (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:264:37) at wrapTransactionInvocation (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:183:52) at TestContext.spamTransaction (/home/runner/work/node-newrelic/node-newrelic/test/unit/shimmer.test.js:452:11) at processTicksAndRejections (node:internal/process/task_queues:77:11) }
should push transactions through setTimeout: test/unit/shimmer.test.js#L421
Error [ERR_TEST_FAILURE]: failed running beforeEach hook at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/shimmer.test.js:467:7) at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/shimmer.test.js:418:5) { code: 'ERR_TEST_FAILURE', failureType: 'hookFailed', cause: 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:106:22) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/shimmer.test.js:421:31) at TestHook.runInAsyncScope (node:async_hooks:206:9) at TestHook.run (node:internal/test_runner/test:789:25) at TestHook.run (node:internal/test_runner/test:1037:18) at node:internal/test_runner/test:716:20 at processTicksAndRejections (node:internal/process/task_queues:95:5) at Test.runHook (node:internal/test_runner/test:714:7) at Test.run (node:internal/test_runner/test:765:9) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/shimmer.test.js:428:7) }
should push transactions through EventEmitters: test/unit/shimmer.test.js#L421
Error [ERR_TEST_FAILURE]: failed running beforeEach hook at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/shimmer.test.js:509:7) at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/shimmer.test.js:418:5) { code: 'ERR_TEST_FAILURE', failureType: 'hookFailed', cause: 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:106:22) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/shimmer.test.js:421:31) at TestHook.runInAsyncScope (node:async_hooks:206:9) at TestHook.run (node:internal/test_runner/test:789:25) at TestHook.run (node:internal/test_runner/test:1037:18) at node:internal/test_runner/test:716:20 at processTicksAndRejections (node:internal/process/task_queues:95:5) at Test.runHook (node:internal/test_runner/test:714:7) at Test.run (node:internal/test_runner/test:765:9) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/shimmer.test.js:428:7) }
should handle whatever ridiculous nonsense you throw at it: test/unit/shimmer.test.js#L421
Error [ERR_TEST_FAILURE]: failed running beforeEach hook at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/shimmer.test.js:556:7) at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/shimmer.test.js:418:5) { code: 'ERR_TEST_FAILURE', failureType: 'hookFailed', cause: 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:106:22) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/shimmer.test.js:421:31) at TestHook.runInAsyncScope (node:async_hooks:206:9) at TestHook.run (node:internal/test_runner/test:789:25) at TestHook.run (node:internal/test_runner/test:1037:18) at node:internal/test_runner/test:716:20 at processTicksAndRejections (node:internal/process/task_queues:95:5) at Test.runHook (node:internal/test_runner/test:714:7) at Test.run (node:internal/test_runner/test:765:9) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/shimmer.test.js:428:7) }
Should not augment module when no instrumentation hooks provided: test/unit/shimmer.test.js#L421
[Error [ERR_TEST_FAILURE]: Only one agent at a time! This one was created at:] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 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:106:22) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/shimmer.test.js:421:31) at TestHook.runInAsyncScope (node:async_hooks:206:9) at TestHook.run (node:internal/test_runner/test:789:25) at TestHook.run (node:internal/test_runner/test:1037:18) at node:internal/test_runner/test:716:20 at processTicksAndRejections (node:internal/process/task_queues:95:5) at Test.runHook (node:internal/test_runner/test:714:7) at Test.run (node:internal/test_runner/test:765:9) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/shimmer.test.js:428:7) }
Should not crash on empty instrumentation registration: test/unit/shimmer.test.js#L421
[Error [ERR_TEST_FAILURE]: Only one agent at a time! This one was created at:] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 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:106:22) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/shimmer.test.js:421:31) at TestHook.runInAsyncScope (node:async_hooks:206:9) at TestHook.run (node:internal/test_runner/test:789:25) at TestHook.run (node:internal/test_runner/test:1037:18) at node:internal/test_runner/test:716:20 at processTicksAndRejections (node:internal/process/task_queues:95:5) at Test.runHook (node:internal/test_runner/test:714:7) at Test.run (node:internal/test_runner/test:765:9) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/shimmer.test.js:428:7) }
for web transactions: test/unit/transaction.test.js#L736
Error [ERR_TEST_FAILURE]: Cannot read properties of null (reading 'start') at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:730:5) at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:727:3) { failureType: 'testCodeFailure', cause: TypeError [Error]: Cannot read properties of null (reading 'start') at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:736:20) at Test.runInAsyncScope (node:async_hooks:203:9) at Test.run (node:internal/test_runner/test:631:25) at processTicksAndRejections (node:internal/process/task_queues:95:5) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:730:5) at Test.run (node:internal/test_runner/test:632:9) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:727:3) at Test.run (node:internal/test_runner/test:632:9) at Test.processPendingSubtests (node:internal/test_runner/test:374:7), code: 'ERR_TEST_FAILURE' }
for background transactions: test/unit/transaction.test.js#L754
Error [ERR_TEST_FAILURE]: Cannot read properties of null (reading 'start') at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:749:5) at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:727:3) { failureType: 'testCodeFailure', cause: TypeError [Error]: Cannot read properties of null (reading 'start') at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:754:28) at Test.runInAsyncScope (node:async_hooks:203:9) at Test.run (node:internal/test_runner/test:631:25) at processTicksAndRejections (node:internal/process/task_queues:95:5) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:749:5) at Test.run (node:internal/test_runner/test:632:9) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:727:3) at Test.run (node:internal/test_runner/test:632:9) at Test.processPendingSubtests (node:internal/test_runner/test:374:7), code: 'ERR_TEST_FAILURE' }
when namestate populated should copy parameters from the name stack: test/unit/transaction.test.js#L1872
Error [ERR_TEST_FAILURE]: Expected values to be loosely deep-equal: [Object: null prototype] {} should loosely deep-equal { 'request.parameters.bar': 'bang', 'request.parameters.foo': 'biz' } at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1864:3) { failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be loosely deep-equal: [Object: null prototype] {} should loosely deep-equal { 'request.parameters.bar': 'bang', 'request.parameters.foo': 'biz' } at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1872:12) at Test.runInAsyncScope (node:async_hooks:203:9) at Test.run (node:internal/test_runner/test:631:25) at processTicksAndRejections (node:internal/process/task_queues:95:5) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1864:3) at Test.run (node:internal/test_runner/test:632:9) at Test.processPendingSubtests (node:internal/test_runner/test:374:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: {}, expected: { 'request.parameters.foo': 'biz', 'request.parameters.bar': 'bang' }, operator: 'deepEqual' }, code: 'ERR_TEST_FAILURE' }
when namestate populated should copy parameters from the name stack: test/unit/transaction.test.js#L1955
Error [ERR_TEST_FAILURE]: Expected values to be loosely deep-equal: [Object: null prototype] {} should loosely deep-equal { 'request.parameters.bar': 'bang', 'request.parameters.foo': 'biz' } at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1945:3) { failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be loosely deep-equal: [Object: null prototype] {} should loosely deep-equal { 'request.parameters.bar': 'bang', 'request.parameters.foo': 'biz' } at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1955:12) at Test.runInAsyncScope (node:async_hooks:203:9) at Test.run (node:internal/test_runner/test:631:25) at processTicksAndRejections (node:internal/process/task_queues:95:5) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1945:3) at Test.run (node:internal/test_runner/test:632:9) at Test.processPendingSubtests (node:internal/test_runner/test:374:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: {}, expected: { 'request.parameters.foo': 'biz', 'request.parameters.bar': 'bang' }, operator: 'deepEqual' }, code: 'ERR_TEST_FAILURE' }
should push transactions through process.nextTick: test/unit/shimmer.test.js#L444
Error [ERR_TEST_FAILURE]: Cannot destructure property 'segment' of 'ctx' as it is undefined. at process.emit (node:events:517:28) at process.emit (/home/runner/work/node-newrelic/node-newrelic/node_modules/source-map-support/source-map-support.js:516:21) at domainProcessFatalException (/home/runner/work/node-newrelic/node-newrelic/node_modules/async-hook-domain/index.js:174:36) at process.domainProcessFatalException (/home/runner/work/node-newrelic/node-newrelic/node_modules/async-hook-domain/index.js:161:14) { failureType: 'uncaughtException', cause: TypeError [Error]: Cannot destructure property 'segment' of 'ctx' as it is undefined. at _makeWrapped (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:250:11) at Tracer.bindFunction (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:247:10) at transactionProxyCb (/home/runner/work/node-newrelic/node-newrelic/test/unit/shimmer.test.js:444:28) at AsyncLocalStorage.run (node:async_hooks:338:14) at AsyncLocalContextManager.runInContext (/home/runner/work/node-newrelic/node-newrelic/lib/context-manager/async-local-context-manager.js:75:38) at wrapped (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:264:37) at wrapTransactionInvocation (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:183:52) at TestContext.spamTransaction (/home/runner/work/node-newrelic/node-newrelic/test/unit/shimmer.test.js:452:11) at processTicksAndRejections (node:internal/process/task_queues:77:11), code: 'ERR_TEST_FAILURE' }
with full instrumentation running: test/unit/shimmer.test.js#L418
Error [ERR_TEST_FAILURE]: Promise resolution is still pending but the event loop has already resolved at process.emit (node:events:517:28) at process.emit (/home/runner/work/node-newrelic/node-newrelic/node_modules/source-map-support/source-map-support.js:516:21) { failureType: 'cancelledByParent', cause: 'Promise resolution is still pending but the event loop has already resolved', code: 'ERR_TEST_FAILURE' }
the instrumentation injector: test/unit/shimmer.test.js#L177
Error [ERR_TEST_FAILURE]: Promise resolution is still pending but the event loop has already resolved at process.emit (node:events:517:28) at process.emit (/home/runner/work/node-newrelic/node-newrelic/node_modules/source-map-support/source-map-support.js:516:21) { failureType: 'cancelledByParent', cause: 'Promise resolution is still pending but the event loop has already resolved', code: 'ERR_TEST_FAILURE' }
shimmer: test/unit/shimmer.test.js#L118
Error [ERR_TEST_FAILURE]: Promise resolution is still pending but the event loop has already resolved at process.emit (node:events:517:28) at process.emit (/home/runner/work/node-newrelic/node-newrelic/node_modules/source-map-support/source-map-support.js:516:21) { failureType: 'cancelledByParent', cause: 'Promise resolution is still pending but the event loop has already resolved', code: 'ERR_TEST_FAILURE' }
Should not augment module when no instrumentation hooks provided: test/unit/shimmer.test.js#L633
Error [ERR_TEST_FAILURE]: Promise resolution is still pending but the event loop has already resolved at process.emit (node:events:517:28) at process.emit (/home/runner/work/node-newrelic/node-newrelic/node_modules/source-map-support/source-map-support.js:516:21) { failureType: 'cancelledByParent', cause: 'Promise resolution is still pending but the event loop has already resolved', code: 'ERR_TEST_FAILURE' }
Should not crash on empty instrumentation registration: test/unit/shimmer.test.js#L661
Error [ERR_TEST_FAILURE]: Promise resolution is still pending but the event loop has already resolved at process.emit (node:events:517:28) at process.emit (/home/runner/work/node-newrelic/node-newrelic/node_modules/source-map-support/source-map-support.js:516:21) { failureType: 'cancelledByParent', cause: 'Promise resolution is still pending but the event loop has already resolved', code: 'ERR_TEST_FAILURE' }
test/integration/transaction/tracer.tap.js: test/integration/transaction/tracer.tap.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
test/integration/transaction/errors.tap.js: test/integration/transaction/errors.tap.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
test/integration/instrumentation/http-rum.tap.js: test/integration/instrumentation/http-rum.tap.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
test/integration/instrumentation/http-outbound.tap.js: test/integration/instrumentation/http-outbound.tap.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
test/integration/instrumentation/fetch.tap.js: test/integration/instrumentation/fetch.tap.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: null, signal: 'SIGABRT' }
test/integration/distributed-tracing/dt.tap.js: test/integration/distributed-tracing/dt.tap.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
test/integration/distributed-tracing/background.tap.js: test/integration/distributed-tracing/background.tap.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
test/integration/core/exceptions.tap.js: test/integration/core/exceptions.tap.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 600000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 600000ms' }
test/integration/cat/cat.tap.js: test/integration/cat/cat.tap.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
test/integration/cat/background.tap.js: test/integration/cat/background.tap.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
test/integration/transaction/tracer.tap.js: test/integration/transaction/tracer.tap.js#L1
[Error: test failed] { failureType: 'testCodeFailure', cause: 'test failed', code: 'ERR_TEST_FAILURE', exitCode: 1, signal: null }
test/integration/transaction/errors.tap.js: test/integration/transaction/errors.tap.js#L1
[Error: test failed] { failureType: 'testCodeFailure', cause: 'test failed', code: 'ERR_TEST_FAILURE', exitCode: 1, signal: null }
test/integration/instrumentation/http-rum.tap.js: test/integration/instrumentation/http-rum.tap.js#L1
[Error: test failed] { failureType: 'testCodeFailure', cause: 'test failed', code: 'ERR_TEST_FAILURE', exitCode: 1, signal: null }
test/integration/instrumentation/http-outbound.tap.js: test/integration/instrumentation/http-outbound.tap.js#L1
[Error: test failed] { failureType: 'testCodeFailure', cause: 'test failed', code: 'ERR_TEST_FAILURE', exitCode: 1, signal: null }
test/integration/instrumentation/fetch.tap.js: test/integration/instrumentation/fetch.tap.js#L1
[Error: test failed] { failureType: 'testCodeFailure', cause: 'test failed', code: 'ERR_TEST_FAILURE', exitCode: null, signal: 'SIGABRT' }
test/integration/distributed-tracing/dt.tap.js: test/integration/distributed-tracing/dt.tap.js#L1
[Error: test failed] { failureType: 'testCodeFailure', cause: 'test failed', code: 'ERR_TEST_FAILURE', exitCode: 1, signal: null }
test/integration/distributed-tracing/background.tap.js: test/integration/distributed-tracing/background.tap.js#L1
[Error: test failed] { failureType: 'testCodeFailure', cause: 'test failed', code: 'ERR_TEST_FAILURE', exitCode: 1, signal: null }
test/integration/core/exceptions.tap.js: test/integration/core/exceptions.tap.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 600000ms] { failureType: 'testTimeoutFailure', cause: 'test timed out after 600000ms', code: 'ERR_TEST_FAILURE' }
test/integration/cat/cat.tap.js: test/integration/cat/cat.tap.js#L1
[Error: test failed] { failureType: 'testCodeFailure', cause: 'test failed', code: 'ERR_TEST_FAILURE', exitCode: 1, signal: null }
test/integration/cat/background.tap.js: test/integration/cat/background.tap.js#L1
[Error: test failed] { failureType: 'testCodeFailure', cause: 'test failed', code: 'ERR_TEST_FAILURE', exitCode: 1, signal: null }
test/integration/transaction/tracer.tap.js: test/integration/transaction/tracer.tap.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
test/integration/transaction/errors.tap.js: test/integration/transaction/errors.tap.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
test/integration/instrumentation/http-rum.tap.js: test/integration/instrumentation/http-rum.tap.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
test/integration/instrumentation/http-outbound.tap.js: test/integration/instrumentation/http-outbound.tap.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
test/integration/instrumentation/fetch.tap.js: test/integration/instrumentation/fetch.tap.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: null, signal: 'SIGABRT' }
test/integration/distributed-tracing/dt.tap.js: test/integration/distributed-tracing/dt.tap.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
test/integration/distributed-tracing/background.tap.js: test/integration/distributed-tracing/background.tap.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
test/integration/core/exceptions.tap.js: test/integration/core/exceptions.tap.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 600000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 600000ms' }
test/integration/cat/cat.tap.js: test/integration/cat/cat.tap.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
test/integration/cat/background.tap.js: test/integration/cat/background.tap.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
versioned-internal (22.x)
Process completed with exit code 4.
versioned-internal (20.x)
Process completed with exit code 4.
versioned-internal (18.x)
Process completed with exit code 4.
all-clear
Process completed with exit code 1.
lint (lts/*): api.js#L1551
The type 'getTraceMetadata' is undefined
lint (lts/*): api.js#L1905
Missing JSDoc @returns declaration
lint (lts/*): bin/create-docs-pr.js#L124
Missing JSDoc @returns declaration
lint (lts/*): bin/create-docs-pr.js#L173
Missing JSDoc @returns declaration
lint (lts/*): bin/create-docs-pr.js#L205
Missing JSDoc @returns declaration
lint (lts/*): bin/create-docs-pr.js#L311
Missing JSDoc @returns declaration
lint (lts/*): lib/agent.js#L210
'config' is already declared in the upper scope on line 158 column 16
lint (lts/*): lib/agent.js#L221
'config' is already declared in the upper scope on line 158 column 16
lint (lts/*): lib/agent.js#L231
'config' is already declared in the upper scope on line 158 column 16
lint (lts/*): lib/agent.js#L242
'config' is already declared in the upper scope on line 158 column 16
ci (lts/*)
Total Tests: 4 Suites 📂: 0 Passed ✅: 4 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 879.634ms
unit (22.x): test/unit/shimmer.test.js#L1
Error: Test "should push transactions through setTimeout" at test/unit/shimmer.test.js:467:15 generated asynchronous activity after the test ended. This activity created the error "TypeError: Cannot destructure property 'segment' of 'ctx' as it is undefined." and would have caused the test to fail, but instead triggered an uncaughtException event.
unit (22.x): test/unit/shimmer.test.js#L1
Error: Test "should push transactions through setTimeout" at test/unit/shimmer.test.js:467:15 generated asynchronous activity after the test ended. This activity created the error "TypeError: Cannot destructure property 'segment' of 'ctx' as it is undefined." and would have caused the test to fail, but instead triggered an uncaughtException event.
unit (22.x): test/unit/shimmer.test.js#L1
Error: Test "should push transactions through setTimeout" at test/unit/shimmer.test.js:467:15 generated asynchronous activity after the test ended. This activity created the error "TypeError: Cannot destructure property 'segment' of 'ctx' as it is undefined." and would have caused the test to fail, but instead triggered an uncaughtException event.
unit (22.x): test/unit/shimmer.test.js#L1
Error: Test "should push transactions through setTimeout" at test/unit/shimmer.test.js:467:15 generated asynchronous activity after the test ended. This activity created the error "TypeError: Cannot destructure property 'segment' of 'ctx' as it is undefined." and would have caused the test to fail, but instead triggered an uncaughtException event.
unit (22.x): test/unit/shimmer.test.js#L1
Error: Test "should push transactions through setTimeout" at test/unit/shimmer.test.js:467:15 generated asynchronous activity after the test ended. This activity created the error "TypeError: Cannot destructure property 'segment' of 'ctx' as it is undefined." and would have caused the test to fail, but instead triggered an uncaughtException event.
unit (22.x): test/unit/shimmer.test.js#L1
Error: Test "should push transactions through setTimeout" at test/unit/shimmer.test.js:467:15 generated asynchronous activity after the test ended. This activity created the error "TypeError: Cannot destructure property 'segment' of 'ctx' as it is undefined." and would have caused the test to fail, but instead triggered an uncaughtException event.
unit (22.x): test/unit/shimmer.test.js#L1
Error: Test "should push transactions through setTimeout" at test/unit/shimmer.test.js:467:15 generated asynchronous activity after the test ended. This activity created the error "TypeError: Cannot destructure property 'segment' of 'ctx' as it is undefined." and would have caused the test to fail, but instead triggered an uncaughtException event.
unit (22.x): test/unit/shimmer.test.js#L1
Error: Test "should push transactions through setTimeout" at test/unit/shimmer.test.js:467:15 generated asynchronous activity after the test ended. This activity created the error "TypeError: Cannot destructure property 'segment' of 'ctx' as it is undefined." and would have caused the test to fail, but instead triggered an uncaughtException event.
unit (22.x): test/unit/shimmer.test.js#L1
Error: Test "should push transactions through setTimeout" at test/unit/shimmer.test.js:467:15 generated asynchronous activity after the test ended. This activity created the error "TypeError: Cannot destructure property 'segment' of 'ctx' as it is undefined." and would have caused the test to fail, but instead triggered an uncaughtException event.
unit (22.x): test/unit/util/code-level-metrics.test.js#L104
This is testing Express router.route which binds a function thus breaking any function metadata
unit (20.x): test/unit/util/code-level-metrics.test.js#L104
This is testing Express router.route which binds a function thus breaking any function metadata
unit (20.x): test/unit/spans/batch-span-streamer.test.js#L199
this will simulate n full batches and the last batch being 1/3 full
unit (20.x)
Total Tests: 4337 Suites 📂: 0 Passed ✅: 3830 Failed ❌: 477 Canceled 🚫: 8 Skipped ⏭️: 3 Todo 📝: 19 Duration 🕐: 245885.129ms
unit (18.x): test/unit/util/code-level-metrics.test.js#L104
This is testing Express router.route which binds a function thus breaking any function metadata
unit (18.x): test/unit/spans/batch-span-streamer.test.js#L199
this will simulate n full batches and the last batch being 1/3 full
unit (18.x)
Warning:: Test "should push transactions through process.nextTick" generated asynchronous activity after the test ended. This activity created the error "TypeError: Cannot destructure property 'segment' of 'ctx' as it is undefined." and would have caused the test to fail, but instead triggered an uncaughtException event. Warning:: Test "should push transactions through process.nextTick" generated asynchronous activity after the test ended. This activity created the error "TypeError: Cannot destructure property 'segment' of 'ctx' as it is undefined." and would have caused the test to fail, but instead triggered an uncaughtException event. Warning:: Test "should push transactions through process.nextTick" generated asynchronous activity after the test ended. This activity created the error "TypeError: Cannot destructure property 'segment' of 'ctx' as it is undefined." and would have caused the test to fail, but instead triggered an uncaughtException event. Warning:: Test "should push transactions through process.nextTick" generated asynchronous activity after the test ended. This activity created the error "TypeError: Cannot destructure property 'segment' of 'ctx' as it is undefined." and would have caused the test to fail, but instead triggered an uncaughtException event. Warning:: Test "should push transactions through process.nextTick" generated asynchronous activity after the test ended. This activity created the error "TypeError: Cannot destructure property 'segment' of 'ctx' as it is undefined." and would have caused the test to fail, but instead triggered an uncaughtException event. Warning:: Test "should push transactions through process.nextTick" generated asynchronous activity after the test ended. This activity created the error "TypeError: Cannot destructure property 'segment' of 'ctx' as it is undefined." and would have caused the test to fail, but instead triggered an uncaughtException event. Warning:: Test "should push transactions through process.nextTick" generated asynchronous activity after the test ended. This activity created the error "TypeError: Cannot destructure property 'segment' of 'ctx' as it is undefined." and would have caused the test to fail, but instead triggered an uncaughtException event. Warning:: Test "should push transactions through process.nextTick" generated asynchronous activity after the test ended. This activity created the error "TypeError: Cannot destructure property 'segment' of 'ctx' as it is undefined." and would have caused the test to fail, but instead triggered an uncaughtException event. Warning:: Test "should push transactions through process.nextTick" generated asynchronous activity after the test ended. This activity created the error "TypeError: Cannot destructure property 'segment' of 'ctx' as it is undefined." and would have caused the test to fail, but instead triggered an uncaughtException event. Total Tests: 4077 Suites 📂: 0 Passed ✅: 3832 Failed ❌: 201 Canceled 🚫: 25 Skipped ⏭️: 0 Todo 📝: 19 Duration 🕐: 248682.431ms
integration (20.x)
Total Tests: 66 Suites 📂: 0 Passed ✅: 55 Failed ❌: 10 Canceled 🚫: 1 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 628441.445ms
integration (18.x)
Total Tests: 66 Suites 📂: 0 Passed ✅: 55 Failed ❌: 10 Canceled 🚫: 1 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 637423.839ms
integration (22.x)
Total Tests: 66 Suites 📂: 0 Passed ✅: 55 Failed ❌: 10 Canceled 🚫: 1 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 629288.809ms

Artifacts

Produced during runtime
Name Size
logs-18.x.tgz
435 KB
logs-20.x.tgz
430 KB
logs-22.x.tgz
425 KB