Skip to content

feat: Removed transaction from segment #5511

feat: Removed transaction from segment

feat: Removed transaction from segment #5511

Triggered via pull request October 11, 2024 18:02
Status Failure
Total duration 43m 57s
Artifacts 3

ci-workflow.yml

on: pull_request
should_run
11s
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

67 errors, 10 warnings, and 13 notices
with DT enabled, should produce span events when finalizing: test/unit/transaction.test.js#L65
Error [ERR_TEST_FAILURE]: Cannot read properties of null (reading 'trace') at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:57:3) { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: Cannot read properties of null (reading 'trace') at /home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:65:34 at /home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:296:12 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:62:38) at wrapped (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:231:37) at wrapTransactionInvocation (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:202:50) at Object.helper.runInTransaction (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:297:5) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:64:12) at Test.runInAsyncScope (node:async_hooks:211:14) at Test.run (node:internal/test_runner/test:917:21) }
with DT enabled, should not produce span events when ignored: test/unit/transaction.test.js#L81
Error [ERR_TEST_FAILURE]: Cannot read properties of null (reading 'trace') at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:73:3) { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: Cannot read properties of null (reading 'trace') at /home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:81:34 at /home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:296:12 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:62:38) at wrapped (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:231:37) at wrapTransactionInvocation (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:202:50) at Object.helper.runInTransaction (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:297:5) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:80:12) at Test.runInAsyncScope (node:async_hooks:211:14) at Test.run (node:internal/test_runner/test:917:21) }
for web transactions: test/unit/transaction.test.js#L735
Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'probe') 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 undefined (reading 'probe') at new TraceSegment (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/segment.js:65:20) at TraceSegment.add (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/segment.js:233:19) at Trace.add (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/index.js:161:20) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:735:38) at Test.runInAsyncScope (node:async_hooks:211:14) at Test.run (node:internal/test_runner/test:930: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:931:9) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:727:3) }
for background transactions: test/unit/transaction.test.js#L753
Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'probe') 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 undefined (reading 'probe') at new TraceSegment (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/segment.js:65:20) at TraceSegment.add (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/segment.js:233:19) at Trace.add (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/index.js:161:20) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:753:46) at Test.runInAsyncScope (node:async_hooks:211:14) at Test.run (node:internal/test_runner/test:930: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:931:9) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:727:3) }
should accept a valid trace context traceparent header: test/unit/transaction.test.js#L1200
Error [ERR_TEST_FAILURE]: Cannot read properties of null (reading 'trace') at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1191:3) { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: Cannot read properties of null (reading 'trace') at /home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1200:32 at /home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:296:12 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:62:38) at wrapped (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:231:37) at wrapTransactionInvocation (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:202:50) at Object.helper.runInTransaction (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:297:5) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1199:12) at Test.runInAsyncScope (node:async_hooks:211:14) at Test.run (node:internal/test_runner/test:917:21) }
should not accept invalid trace context traceparent header: test/unit/transaction.test.js#L1216
Error [ERR_TEST_FAILURE]: Cannot read properties of null (reading 'trace') at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1213:3) { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: Cannot read properties of null (reading 'trace') at /home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1216:32 at /home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:296:12 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:62:38) at wrapped (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:231:37) at wrapTransactionInvocation (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:202:50) at Object.helper.runInTransaction (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:297:5) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1215:12) at Test.runInAsyncScope (node:async_hooks:211:14) at Test.run (node:internal/test_runner/test:917:21) }
should use newrelic format when no traceparent: test/unit/transaction.test.js#L1264
Error [ERR_TEST_FAILURE]: Cannot read properties of null (reading 'trace') at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1240:3) { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: Cannot read properties of null (reading 'trace') at /home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1264:32 at /home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:296:12 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:62:38) at wrapped (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:231:37) at wrapTransactionInvocation (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:202:50) at Object.helper.runInTransaction (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:297:5) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1263:12) at Test.runInAsyncScope (node:async_hooks:211:14) at Test.run (node:internal/test_runner/test:917:21) }
should not throw error when headers is a string: test/unit/transaction.test.js#L1292
Error [ERR_TEST_FAILURE]: Cannot read properties of null (reading 'trace') at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1286:3) { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: Cannot read properties of null (reading 'trace') at /home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1292:32 at /home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:296:12 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:62:38) at wrapped (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:231:37) at wrapTransactionInvocation (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:202:50) at Object.helper.runInTransaction (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:297:5) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1291:12) at Test.runInAsyncScope (node:async_hooks:211:14) at Test.run (node:internal/test_runner/test:917:21) }
should only accept the first tracecontext: test/unit/transaction.test.js#L1326
Error [ERR_TEST_FAILURE]: Cannot read properties of null (reading 'trace') at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1309:3) { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: Cannot read properties of null (reading 'trace') at /home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1326:32 at /home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:296:12 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:62:38) at wrapped (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:231:37) at wrapTransactionInvocation (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:202:50) at Object.helper.runInTransaction (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:297:5) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1325:12) at Test.runInAsyncScope (node:async_hooks:211:14) at Test.run (node:internal/test_runner/test:917:21) }
should not accept tracecontext after sending a trace: test/unit/transaction.test.js#L1353
Error [ERR_TEST_FAILURE]: Cannot read properties of null (reading 'trace') at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1341:3) { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: Cannot read properties of null (reading 'trace') at /home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1353:32 at /home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:296:12 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:62:38) at wrapped (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:231:37) at wrapTransactionInvocation (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:202:50) at Object.helper.runInTransaction (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:297:5) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1352:12) at Test.runInAsyncScope (node:async_hooks:211:14) at Test.run (node:internal/test_runner/test:917:21) }
with DT enabled, should produce span events when finalizing: test/unit/transaction.test.js#L65
Error [ERR_TEST_FAILURE]: Cannot read properties of null (reading 'trace') at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:57:3) { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: Cannot read properties of null (reading 'trace') at /home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:65:34 at /home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:296:12 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:62:38) at wrapped (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:231:37) at wrapTransactionInvocation (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:202:50) at Object.helper.runInTransaction (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:297:5) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:64:12) at Test.runInAsyncScope (node:async_hooks:206:9) at Test.run (node:internal/test_runner/test:776:21) }
with DT enabled, should not produce span events when ignored: test/unit/transaction.test.js#L81
Error [ERR_TEST_FAILURE]: Cannot read properties of null (reading 'trace') at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:73:3) { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: Cannot read properties of null (reading 'trace') at /home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:81:34 at /home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:296:12 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:62:38) at wrapped (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:231:37) at wrapTransactionInvocation (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:202:50) at Object.helper.runInTransaction (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:297:5) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:80:12) at Test.runInAsyncScope (node:async_hooks:206:9) at Test.run (node:internal/test_runner/test:776:21) }
for web transactions: test/unit/transaction.test.js#L735
Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'probe') 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 undefined (reading 'probe') at new TraceSegment (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/segment.js:65:20) at TraceSegment.add (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/segment.js:233:19) at Trace.add (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/index.js:161:20) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:735:38) 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) }
for background transactions: test/unit/transaction.test.js#L753
Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'probe') 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 undefined (reading 'probe') at new TraceSegment (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/segment.js:65:20) at TraceSegment.add (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/segment.js:233:19) at Trace.add (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/index.js:161:20) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:753:46) 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) }
should accept a valid trace context traceparent header: test/unit/transaction.test.js#L1200
Error [ERR_TEST_FAILURE]: Cannot read properties of null (reading 'trace') at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1191:3) { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: Cannot read properties of null (reading 'trace') at /home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1200:32 at /home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:296:12 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:62:38) at wrapped (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:231:37) at wrapTransactionInvocation (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:202:50) at Object.helper.runInTransaction (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:297:5) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1199:12) at Test.runInAsyncScope (node:async_hooks:206:9) at Test.run (node:internal/test_runner/test:776:21) }
should not accept invalid trace context traceparent header: test/unit/transaction.test.js#L1216
Error [ERR_TEST_FAILURE]: Cannot read properties of null (reading 'trace') at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1213:3) { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: Cannot read properties of null (reading 'trace') at /home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1216:32 at /home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:296:12 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:62:38) at wrapped (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:231:37) at wrapTransactionInvocation (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:202:50) at Object.helper.runInTransaction (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:297:5) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1215:12) at Test.runInAsyncScope (node:async_hooks:206:9) at Test.run (node:internal/test_runner/test:776:21) }
should use newrelic format when no traceparent: test/unit/transaction.test.js#L1264
Error [ERR_TEST_FAILURE]: Cannot read properties of null (reading 'trace') at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1240:3) { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: Cannot read properties of null (reading 'trace') at /home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1264:32 at /home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:296:12 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:62:38) at wrapped (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:231:37) at wrapTransactionInvocation (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:202:50) at Object.helper.runInTransaction (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:297:5) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1263:12) at Test.runInAsyncScope (node:async_hooks:206:9) at Test.run (node:internal/test_runner/test:776:21) }
should not throw error when headers is a string: test/unit/transaction.test.js#L1292
Error [ERR_TEST_FAILURE]: Cannot read properties of null (reading 'trace') at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1286:3) { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: Cannot read properties of null (reading 'trace') at /home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1292:32 at /home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:296:12 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:62:38) at wrapped (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:231:37) at wrapTransactionInvocation (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:202:50) at Object.helper.runInTransaction (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:297:5) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1291:12) at Test.runInAsyncScope (node:async_hooks:206:9) at Test.run (node:internal/test_runner/test:776:21) }
should only accept the first tracecontext: test/unit/transaction.test.js#L1326
Error [ERR_TEST_FAILURE]: Cannot read properties of null (reading 'trace') at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1309:3) { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: Cannot read properties of null (reading 'trace') at /home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1326:32 at /home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:296:12 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:62:38) at wrapped (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:231:37) at wrapTransactionInvocation (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:202:50) at Object.helper.runInTransaction (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:297:5) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1325:12) at Test.runInAsyncScope (node:async_hooks:206:9) at Test.run (node:internal/test_runner/test:776:21) }
should not accept tracecontext after sending a trace: test/unit/transaction.test.js#L1353
Error [ERR_TEST_FAILURE]: Cannot read properties of null (reading 'trace') at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1341:3) { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: Cannot read properties of null (reading 'trace') at /home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1353:32 at /home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:296:12 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:62:38) at wrapped (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:231:37) at wrapTransactionInvocation (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:202:50) at Object.helper.runInTransaction (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:297:5) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1352:12) at Test.runInAsyncScope (node:async_hooks:206:9) at Test.run (node:internal/test_runner/test:776:21) }
with DT enabled, should produce span events when finalizing: test/unit/transaction.test.js#L65
Error [ERR_TEST_FAILURE]: Cannot read properties of null (reading 'trace') at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:57:3) { failureType: 'testCodeFailure', cause: TypeError [Error]: Cannot read properties of null (reading 'trace') at /home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:65:34 at /home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:296:12 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:62:38) at wrapped (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:231:37) at wrapTransactionInvocation (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:202:50) at Object.helper.runInTransaction (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:297:5) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:64:12) at Test.runInAsyncScope (node:async_hooks:203:9) at Test.run (node:internal/test_runner/test:618:21), code: 'ERR_TEST_FAILURE' }
with DT enabled, should not produce span events when ignored: test/unit/transaction.test.js#L81
Error [ERR_TEST_FAILURE]: Cannot read properties of null (reading 'trace') at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:73:3) { failureType: 'testCodeFailure', cause: TypeError [Error]: Cannot read properties of null (reading 'trace') at /home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:81:34 at /home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:296:12 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:62:38) at wrapped (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:231:37) at wrapTransactionInvocation (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:202:50) at Object.helper.runInTransaction (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:297:5) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:80:12) at Test.runInAsyncScope (node:async_hooks:203:9) at Test.run (node:internal/test_runner/test:618:21), code: 'ERR_TEST_FAILURE' }
for web transactions: test/unit/transaction.test.js#L735
Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'probe') 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 undefined (reading 'probe') at new TraceSegment (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/segment.js:65:20) at TraceSegment.add (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/segment.js:233:19) at Trace.add (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/index.js:161:20) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:735:38) 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), code: 'ERR_TEST_FAILURE' }
for background transactions: test/unit/transaction.test.js#L753
Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'probe') 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 undefined (reading 'probe') at new TraceSegment (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/segment.js:65:20) at TraceSegment.add (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/segment.js:233:19) at Trace.add (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/index.js:161:20) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:753:46) 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), code: 'ERR_TEST_FAILURE' }
should accept a valid trace context traceparent header: test/unit/transaction.test.js#L1200
Error [ERR_TEST_FAILURE]: Cannot read properties of null (reading 'trace') at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1191:3) { failureType: 'testCodeFailure', cause: TypeError [Error]: Cannot read properties of null (reading 'trace') at /home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1200:32 at /home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:296:12 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:62:38) at wrapped (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:231:37) at wrapTransactionInvocation (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:202:50) at Object.helper.runInTransaction (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:297:5) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1199:12) at Test.runInAsyncScope (node:async_hooks:203:9) at Test.run (node:internal/test_runner/test:618:21), code: 'ERR_TEST_FAILURE' }
should not accept invalid trace context traceparent header: test/unit/transaction.test.js#L1216
Error [ERR_TEST_FAILURE]: Cannot read properties of null (reading 'trace') at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1213:3) { failureType: 'testCodeFailure', cause: TypeError [Error]: Cannot read properties of null (reading 'trace') at /home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1216:32 at /home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:296:12 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:62:38) at wrapped (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:231:37) at wrapTransactionInvocation (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:202:50) at Object.helper.runInTransaction (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:297:5) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1215:12) at Test.runInAsyncScope (node:async_hooks:203:9) at Test.run (node:internal/test_runner/test:618:21), code: 'ERR_TEST_FAILURE' }
should use newrelic format when no traceparent: test/unit/transaction.test.js#L1264
Error [ERR_TEST_FAILURE]: Cannot read properties of null (reading 'trace') at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1240:3) { failureType: 'testCodeFailure', cause: TypeError [Error]: Cannot read properties of null (reading 'trace') at /home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1264:32 at /home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:296:12 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:62:38) at wrapped (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:231:37) at wrapTransactionInvocation (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:202:50) at Object.helper.runInTransaction (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:297:5) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1263:12) at Test.runInAsyncScope (node:async_hooks:203:9) at Test.run (node:internal/test_runner/test:618:21), code: 'ERR_TEST_FAILURE' }
should not throw error when headers is a string: test/unit/transaction.test.js#L1292
Error [ERR_TEST_FAILURE]: Cannot read properties of null (reading 'trace') at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1286:3) { failureType: 'testCodeFailure', cause: TypeError [Error]: Cannot read properties of null (reading 'trace') at /home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1292:32 at /home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:296:12 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:62:38) at wrapped (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:231:37) at wrapTransactionInvocation (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:202:50) at Object.helper.runInTransaction (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:297:5) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1291:12) at Test.runInAsyncScope (node:async_hooks:203:9) at Test.run (node:internal/test_runner/test:618:21), code: 'ERR_TEST_FAILURE' }
should only accept the first tracecontext: test/unit/transaction.test.js#L1326
Error [ERR_TEST_FAILURE]: Cannot read properties of null (reading 'trace') at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1309:3) { failureType: 'testCodeFailure', cause: TypeError [Error]: Cannot read properties of null (reading 'trace') at /home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1326:32 at /home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:296:12 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:62:38) at wrapped (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:231:37) at wrapTransactionInvocation (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:202:50) at Object.helper.runInTransaction (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:297:5) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1325:12) at Test.runInAsyncScope (node:async_hooks:203:9) at Test.run (node:internal/test_runner/test:618:21), code: 'ERR_TEST_FAILURE' }
should not accept tracecontext after sending a trace: test/unit/transaction.test.js#L1353
Error [ERR_TEST_FAILURE]: Cannot read properties of null (reading 'trace') at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1341:3) { failureType: 'testCodeFailure', cause: TypeError [Error]: Cannot read properties of null (reading 'trace') at /home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1353:32 at /home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:296:12 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:62:38) at wrapped (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:231:37) at wrapTransactionInvocation (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:202:50) at Object.helper.runInTransaction (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:297:5) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1352:12) at Test.runInAsyncScope (node:async_hooks:203:9) at Test.run (node:internal/test_runner/test:618:21), code: 'ERR_TEST_FAILURE' }
versioned-external (18.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.
test/integration/newrelic-response-handling.tap.js: test/integration/newrelic-response-handling.tap.js#L1
[Error: test failed] { failureType: 'testCodeFailure', cause: 'test failed', code: 'ERR_TEST_FAILURE', exitCode: 1, signal: null }
test/integration/infinite-tracing-connection.tap.js: test/integration/infinite-tracing-connection.tap.js#L1
[Error: test failed] { failureType: 'testCodeFailure', cause: 'test failed', code: 'ERR_TEST_FAILURE', exitCode: 1, signal: null }
test/integration/collector-remote-method.tap.js: test/integration/collector-remote-method.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] { failureType: 'testCodeFailure', cause: 'test failed', code: 'ERR_TEST_FAILURE', exitCode: 1, signal: null }
test/integration/transaction/trace-end-segments.tap.js: test/integration/transaction/trace-end-segments.tap.js#L1
[Error: test failed] { failureType: 'testCodeFailure', cause: 'test failed', code: 'ERR_TEST_FAILURE', exitCode: 1, signal: null }
test/integration/transaction/trace-async-propagation.tap.js: test/integration/transaction/trace-async-propagation.tap.js#L1
[Error: test failed] { failureType: 'testCodeFailure', cause: 'test failed', code: 'ERR_TEST_FAILURE', exitCode: 1, signal: null }
test/integration/transaction/total-time.tap.js: test/integration/transaction/total-time.tap.js#L1
[Error: test failed] { failureType: 'testCodeFailure', cause: 'test failed', code: 'ERR_TEST_FAILURE', exitCode: 1, signal: null }
test/integration/transaction/stack-safety.tap.js: test/integration/transaction/stack-safety.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.tap.js: test/integration/instrumentation/http.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/newrelic-response-handling.tap.js: test/integration/newrelic-response-handling.tap.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
test/integration/infinite-tracing-connection.tap.js: test/integration/infinite-tracing-connection.tap.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
test/integration/collector-remote-method.tap.js: test/integration/collector-remote-method.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] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
test/integration/transaction/trace-end-segments.tap.js: test/integration/transaction/trace-end-segments.tap.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
test/integration/transaction/trace-async-propagation.tap.js: test/integration/transaction/trace-async-propagation.tap.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
test/integration/transaction/total-time.tap.js: test/integration/transaction/total-time.tap.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
test/integration/transaction/stack-safety.tap.js: test/integration/transaction/stack-safety.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.tap.js: test/integration/instrumentation/http.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/newrelic-response-handling.tap.js: test/integration/newrelic-response-handling.tap.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
test/integration/infinite-tracing-connection.tap.js: test/integration/infinite-tracing-connection.tap.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
test/integration/collector-remote-method.tap.js: test/integration/collector-remote-method.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] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
test/integration/transaction/trace-end-segments.tap.js: test/integration/transaction/trace-end-segments.tap.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
test/integration/transaction/trace-async-propagation.tap.js: test/integration/transaction/trace-async-propagation.tap.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
test/integration/transaction/total-time.tap.js: test/integration/transaction/total-time.tap.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
test/integration/transaction/stack-safety.tap.js: test/integration/transaction/stack-safety.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.tap.js: test/integration/instrumentation/http.tap.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 600000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 600000ms' }
versioned-internal (22.x)
Process completed with exit code 4.
versioned-internal (18.x)
Process completed with exit code 4.
versioned-internal (20.x)
Process completed with exit code 4.
all-clear
Process completed with exit code 1.
lint (lts/*): api.js#L1550
The type 'getTraceMetadata' is undefined
lint (lts/*): api.js#L1904
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 🕐: 930.519ms
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 (22.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 (22.x)
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 read properties of undefined (reading 'trace')" and would have caused the test to fail, but instead triggered an uncaughtException event. 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 read properties of undefined (reading 'trace')" and would have caused the test to fail, but instead triggered an uncaughtException event. 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 read properties of undefined (reading 'trace')" and would have caused the test to fail, but instead triggered an uncaughtException event. 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 read properties of undefined (reading 'trace')" and would have caused the test to fail, but instead triggered an uncaughtException event. 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 read properties of undefined (reading 'trace')" and would have caused the test to fail, but instead triggered an uncaughtException event. 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 read properties of undefined (reading 'trace')" and would have caused the test to fail, but instead triggered an uncaughtException event. 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 read properties of undefined (reading 'trace')" and would have caused the test to fail, but instead triggered an uncaughtException event. Error:: A resource generated asynchronous activity after the test ended. This activity created the error "TypeError: Cannot read properties of null (reading 'acceptTraceContextPayload')" which triggered an uncaughtException event, caught by the test runner. Error:: Test hook "beforeEach" at test/unit/collector/remote-method.test.js:597:5 generated asynchronous activity after the test ended. This activity created the error "TypeError: Cannot read properties of undefined (reading 'trace')" and would have caused the test to fail, but instead triggered an uncaughtException event. Error:: Test "should handle independent branching legs" at test/unit/instrumentation/core/promises.test.js:54:11 generated asynchronous activity after the test ended. This activity created the error "TypeError: Cannot read properties of undefined (reading 'getSegment')" and would have caused the test to fail, but instead triggered an unhandledRejection event. Error:: Test "should handle independent branching legs" at test/unit/instrumentation/core/promises.test.js:54:11 generated asynchronous activity after the test ended. This activity created the error "TypeError: Cannot read properties of undefined (reading 'getSegment')" and would have caused the test to fail, but instead triggered an unhandledRejection event. Error:: Test "should handle jumping to branched catches" at test/unit/instrumentation/core/promises.test.js:64:11 generated asynchronous activity after the test ended. This activity created the error "TypeError: Cannot read properties of undefined (reading 'getSegment')" and would have caused the test to fail, but instead triggered an unhandledRejection event. Error:: Test "should handle jumping to branched catches" at
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)
Error:: Test "should reinstate lost context" at test/unit/shim/promise-shim.test.js:248:13 generated asynchronous activity after the test ended. This activity created the error "AssertionError [ERR_ASSERTION]: current transaction exists" and would have caused the test to fail, but instead triggered an unhandledRejection event. Error:: A resource generated asynchronous activity after the test ended. This activity created the error "TypeError: Cannot read properties of null (reading 'acceptTraceContextPayload')" which triggered an uncaughtException event, caught by the test runner. Error:: Test hook "beforeEach" at test/unit/collector/remote-method.test.js:597:5 generated asynchronous activity after the test ended. This activity created the error "TypeError: Cannot read properties of undefined (reading 'trace')" and would have caused the test to fail, but instead triggered an uncaughtException event. Error:: Test "should handle independent branching legs" at test/unit/instrumentation/core/promises.test.js:54:11 generated asynchronous activity after the test ended. This activity created the error "TypeError: Cannot read properties of undefined (reading 'getSegment')" and would have caused the test to fail, but instead triggered an unhandledRejection event. Error:: Test "should handle independent branching legs" at test/unit/instrumentation/core/promises.test.js:54:11 generated asynchronous activity after the test ended. This activity created the error "TypeError: Cannot read properties of undefined (reading 'getSegment')" and would have caused the test to fail, but instead triggered an unhandledRejection event. Error:: Test "should handle jumping to branched catches" at test/unit/instrumentation/core/promises.test.js:64:11 generated asynchronous activity after the test ended. This activity created the error "TypeError: Cannot read properties of undefined (reading 'getSegment')" and would have caused the test to fail, but instead triggered an unhandledRejection event. Error:: Test "should handle jumping to branched catches" at test/unit/instrumentation/core/promises.test.js:64:11 generated asynchronous activity after the test ended. This activity created the error "TypeError: Cannot read properties of undefined (reading 'getSegment')" and would have caused the test to fail, but instead triggered an unhandledRejection event. Error:: Test "should handle branching in the middle" at test/unit/instrumentation/core/promises.test.js:74:11 generated asynchronous activity after the test ended. This activity created the error "TypeError: Cannot read properties of undefined (reading 'getSegment')" and would have caused the test to fail, but instead triggered an unhandledRejection event. Error:: Test "should handle branching in the middle" at test/unit/instrumentation/core/promises.test.js:74:11 generated asynchronous activity after the test ended. This activity created the error "TypeError: Cannot read properties of undefined (reading 'getSegment')" and would have caused the test to fail, but instead triggered an unhandledRejection event. Error:: Test "should handle jumping across a branch" at test/unit/instrumentation/core/promises.test.js:84:11 generated asynchronous activity after the test ended. This activity created the error "TypeError: Cannot read properties of undefined (reading 'getSegment')" and would have caused the test to fail, but instead triggered an unhandledRejection event. Error:: Test "should handle jumping across a branch" at test/unit/instrumentation/core/promises.test.js:84:11 generated asynchronous activity after the test ended. This activity created the error "TypeError: Cannot read properties of undefined (reading 'getSegment')" and would have caused the test to fail, but instead triggered an unhandledRejection event. Error:: Test "should handle jumping over a branched catch" at test/unit/instrumentation/core/promises.test.js:94:11 generated asynchronous activity after the test ended. This activity created the error "TypeError: Cannot read properties of undefined (reading 'getSegment')" and would have caused th
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 read properties of undefined (reading 'trace')" 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 read properties of undefined (reading 'trace')" 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 read properties of undefined (reading 'trace')" 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 read properties of undefined (reading 'trace')" 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 read properties of undefined (reading 'trace')" 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 read properties of undefined (reading 'trace')" 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 read properties of undefined (reading 'trace')" 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 read properties of undefined (reading 'trace')" 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 read properties of undefined (reading 'trace')" and would have caused the test to fail, but instead triggered an uncaughtException event. Warning:: Test "should handle truncated http spans" generated asynchronous activity after the test ended. This activity created the error "Error: Parse Error: User callback error" and would have caused the test to fail, but instead triggered an uncaughtException event. Warning:: Test "should handle truncated http spans" generated asynchronous activity after the test ended. This activity created the error "Error: Parse Error: User callback error" and would have caused the test to fail, but instead triggered an uncaughtException event. Warning:: A resource generated asynchronous activity after the test ended. This activity created the error "TypeError: Cannot read properties of null (reading 'acceptTraceContextPayload')" which triggered an uncaughtException event, caught by the test runner. Warning:: Test "should handle independent branching legs" generated asynchronous activity after the test ended. This activity created the error "TypeError: Cannot read properties of undefined (reading 'getSegment')" and would have caused the test to fail, but instead triggered an unhandledRejection event. Warning:: Test "should handle independent branching legs" generated asynchronous activity after the test ended. This activity created the error "TypeError: Cannot read properties of undefined (readin
integration (18.x)
Total Tests: 66 Suites 📂: 0 Passed ✅: 31 Failed ❌: 28 Canceled 🚫: 7 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 1824111.856ms
integration (22.x)
Total Tests: 66 Suites 📂: 0 Passed ✅: 31 Failed ❌: 29 Canceled 🚫: 6 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 1827872.334ms
integration (20.x)
Total Tests: 66 Suites 📂: 0 Passed ✅: 31 Failed ❌: 28 Canceled 🚫: 7 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 1834797.435ms

Artifacts

Produced during runtime
Name Size
logs-18.x.tgz
203 KB
logs-20.x.tgz
204 KB
logs-22.x.tgz
168 KB