Skip to content

feat: Removed transaction from segment #5521

feat: Removed transaction from segment

feat: Removed transaction from segment #5521

Triggered via pull request October 11, 2024 20:49
Status Failure
Total duration 6h 0m 56s
Artifacts 3

ci-workflow.yml

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

70 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]: inner.trace.add is not a function at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:57:3) { failureType: 'testCodeFailure', cause: TypeError [Error]: inner.trace.add is not a function at /home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:65:40 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:70:38) at wrapped (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:232:37) at wrapTransactionInvocation (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:193: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]: inner.trace.add is not a function at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:73:3) { failureType: 'testCodeFailure', cause: TypeError [Error]: inner.trace.add is not a function at /home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:81:40 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:70:38) at wrapped (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:232:37) at wrapTransactionInvocation (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:193: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]: txn.trace.add is not a function 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]: txn.trace.add is not a function 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) 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#L753
Error [ERR_TEST_FAILURE]: txn.trace.add is not a function 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]: txn.trace.add is not a function 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) at Test.run (node:internal/test_runner/test:632:9) at Test.processPendingSubtests (node:internal/test_runner/test:374:7), code: 'ERR_TEST_FAILURE' }
should accept a valid trace context traceparent header: test/unit/transaction.test.js#L1200
Error [ERR_TEST_FAILURE]: txn.trace.add is not a function at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1191:3) { failureType: 'testCodeFailure', cause: TypeError [Error]: txn.trace.add is not a function at /home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1200:38 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:70:38) at wrapped (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:232:37) at wrapTransactionInvocation (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:193: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]: txn.trace.add is not a function at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1213:3) { failureType: 'testCodeFailure', cause: TypeError [Error]: txn.trace.add is not a function at /home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1216:38 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:70:38) at wrapped (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:232:37) at wrapTransactionInvocation (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:193: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]: txn.trace.add is not a function at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1240:3) { failureType: 'testCodeFailure', cause: TypeError [Error]: txn.trace.add is not a function at /home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1264:38 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:70:38) at wrapped (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:232:37) at wrapTransactionInvocation (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:193: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]: txn.trace.add is not a function at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1286:3) { failureType: 'testCodeFailure', cause: TypeError [Error]: txn.trace.add is not a function at /home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1292:38 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:70:38) at wrapped (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:232:37) at wrapTransactionInvocation (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:193: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]: txn.trace.add is not a function at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1309:3) { failureType: 'testCodeFailure', cause: TypeError [Error]: txn.trace.add is not a function at /home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1326:38 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:70:38) at wrapped (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:232:37) at wrapTransactionInvocation (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:193: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]: txn.trace.add is not a function at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1341:3) { failureType: 'testCodeFailure', cause: TypeError [Error]: txn.trace.add is not a function at /home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1353:38 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:70:38) at wrapped (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:232:37) at wrapTransactionInvocation (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:193: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' }
with DT enabled, should produce span events when finalizing: test/unit/transaction.test.js#L65
Error [ERR_TEST_FAILURE]: inner.trace.add is not a function 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]: inner.trace.add is not a function at /home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:65:40 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:70:38) at wrapped (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:232:37) at wrapTransactionInvocation (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:193: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]: inner.trace.add is not a function 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]: inner.trace.add is not a function at /home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:81:40 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:70:38) at wrapped (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:232:37) at wrapTransactionInvocation (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:193: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]: txn.trace.add is not a function 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]: txn.trace.add is not a function 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) at Test.run (node:internal/test_runner/test:931:9) at Test.processPendingSubtests (node:internal/test_runner/test:629:7) }
for background transactions: test/unit/transaction.test.js#L753
Error [ERR_TEST_FAILURE]: txn.trace.add is not a function 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]: txn.trace.add is not a function 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) at Test.run (node:internal/test_runner/test:931:9) at Test.processPendingSubtests (node:internal/test_runner/test:629:7) }
should accept a valid trace context traceparent header: test/unit/transaction.test.js#L1200
Error [ERR_TEST_FAILURE]: txn.trace.add is not a function 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]: txn.trace.add is not a function at /home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1200:38 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:70:38) at wrapped (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:232:37) at wrapTransactionInvocation (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:193: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]: txn.trace.add is not a function 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]: txn.trace.add is not a function at /home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1216:38 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:70:38) at wrapped (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:232:37) at wrapTransactionInvocation (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:193: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]: txn.trace.add is not a function 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]: txn.trace.add is not a function at /home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1264:38 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:70:38) at wrapped (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:232:37) at wrapTransactionInvocation (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:193: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]: txn.trace.add is not a function 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]: txn.trace.add is not a function at /home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1292:38 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:70:38) at wrapped (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:232:37) at wrapTransactionInvocation (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:193: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]: txn.trace.add is not a function 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]: txn.trace.add is not a function at /home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1326:38 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:70:38) at wrapped (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:232:37) at wrapTransactionInvocation (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:193: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]: txn.trace.add is not a function 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]: txn.trace.add is not a function at /home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1353:38 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:70:38) at wrapped (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:232:37) at wrapTransactionInvocation (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:193: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]: inner.trace.add is not a function 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]: inner.trace.add is not a function at /home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:65:40 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:70:38) at wrapped (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:232:37) at wrapTransactionInvocation (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:193: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]: inner.trace.add is not a function 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]: inner.trace.add is not a function at /home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:81:40 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:70:38) at wrapped (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:232:37) at wrapTransactionInvocation (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:193: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]: txn.trace.add is not a function 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]: txn.trace.add is not a function 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) 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#L753
Error [ERR_TEST_FAILURE]: txn.trace.add is not a function 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]: txn.trace.add is not a function 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) at Test.run (node:internal/test_runner/test:790:9) at Test.processPendingSubtests (node:internal/test_runner/test:517:7) }
should accept a valid trace context traceparent header: test/unit/transaction.test.js#L1200
Error [ERR_TEST_FAILURE]: txn.trace.add is not a function 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]: txn.trace.add is not a function at /home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1200:38 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:70:38) at wrapped (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:232:37) at wrapTransactionInvocation (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:193: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]: txn.trace.add is not a function 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]: txn.trace.add is not a function at /home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1216:38 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:70:38) at wrapped (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:232:37) at wrapTransactionInvocation (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:193: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]: txn.trace.add is not a function 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]: txn.trace.add is not a function at /home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1264:38 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:70:38) at wrapped (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:232:37) at wrapTransactionInvocation (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:193: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]: txn.trace.add is not a function 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]: txn.trace.add is not a function at /home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1292:38 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:70:38) at wrapped (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:232:37) at wrapTransactionInvocation (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:193: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]: txn.trace.add is not a function 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]: txn.trace.add is not a function at /home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1326:38 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:70:38) at wrapped (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:232:37) at wrapTransactionInvocation (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:193: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]: txn.trace.add is not a function 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]: txn.trace.add is not a function at /home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1353:38 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:70:38) at wrapped (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:232:37) at wrapTransactionInvocation (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:193: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) }
versioned-external (20.x)
Process completed with exit code 4.
versioned-external (18.x)
Process completed with exit code 4.
versioned-external (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.
versioned-internal (22.x)
Process completed with exit code 4.
integration (20.x)
The job running on runner GitHub Actions 230 has exceeded the maximum execution time of 360 minutes.
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' }
integration (22.x)
The job running on runner GitHub Actions 141 has exceeded the maximum execution time of 360 minutes.
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' }
integration (18.x)
The job running on runner GitHub Actions 389 has exceeded the maximum execution time of 360 minutes.
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' }
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 🕐: 900.485ms
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 handle whatever ridiculous nonsense you throw at it" generated asynchronous activity after the test ended. This activity created the error "TypeError: Cannot read properties of undefined (reading 'isActive')" and would have caused the test to fail, but instead triggered an uncaughtException event. Warning:: Test "should handle whatever ridiculous nonsense you throw at it" generated asynchronous activity after the test ended. This activity created the error "TypeError: Cannot read properties of undefined (reading 'isActive')" and would have caused the test to fail, but instead triggered an uncaughtException event. Warning:: Test "should handle whatever ridiculous nonsense you throw at it" generated asynchronous activity after the test ended. This activity created the error "TypeError: Cannot read properties of undefined (reading 'isActive')" and would have caused the test to fail, but instead triggered an uncaughtException event. Warning:: Test "should handle whatever ridiculous nonsense you throw at it" generated asynchronous activity after the test ended. This activity created the error "TypeError: Cannot read properties of undefined (reading 'isActive')" and would have caused the test to fail, but instead triggered an uncaughtException event. Warning:: Test "should handle whatever ridiculous nonsense you throw at it" generated asynchronous activity after the test ended. This activity created the error "TypeError: Cannot read properties of undefined (reading 'isActive')" and would have caused the test to fail, but instead triggered an uncaughtException event. Warning:: Test "should handle whatever ridiculous nonsense you throw at it" generated asynchronous activity after the test ended. This activity created the error "TypeError: Cannot read properties of undefined (reading 'isActive')" and would have caused the test to fail, but instead triggered an uncaughtException event. Warning:: Test "should handle whatever ridiculous nonsense you throw at it" generated asynchronous activity after the test ended. This activity created the error "TypeError: Cannot read properties of undefined (reading 'isActive')" and would have caused the test to fail, but instead triggered an uncaughtException event. Warning:: Test "should handle whatever ridiculous nonsense you throw at it" generated asynchronous activity after the test ended. This activity created the error "TypeError: Cannot read properties of undefined (reading 'isActive')" and would have caused the test to fail, but instead triggered an uncaughtException event. Warning:: Test "should handle whatever ridiculous nonsense you throw at it" generated asynchronous activity after the test ended. This activity created the error "TypeError: Cannot read properties of undefined (reading 'isActive')" and would have caused the test to fail, but instead triggered an uncaughtException event. Total Tests: 4249 Suites 📂: 0 Passed ✅: 3550 Failed ❌: 648 Canceled 🚫: 32 Skipped ⏭️: 0 Todo 📝: 19 Duration 🕐: 386694.731ms
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)
Total Tests: 4355 Suites 📂: 0 Passed ✅: 3621 Failed ❌: 707 Canceled 🚫: 5 Skipped ⏭️: 3 Todo 📝: 19 Duration 🕐: 386903.697ms
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: 4359 Suites 📂: 0 Passed ✅: 3549 Failed ❌: 783 Canceled 🚫: 5 Skipped ⏭️: 3 Todo 📝: 19 Duration 🕐: 384523.354ms
integration (20.x)
Total Tests: 66 Suites 📂: 0 Passed ✅: 31 Failed ❌: 25 Canceled 🚫: 10 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 2735251.022ms
integration (22.x)
Total Tests: 66 Suites 📂: 0 Passed ✅: 31 Failed ❌: 25 Canceled 🚫: 10 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 2735666.295ms
integration (18.x)
Total Tests: 66 Suites 📂: 0 Passed ✅: 31 Failed ❌: 25 Canceled 🚫: 10 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 2747132.297ms

Artifacts

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