Skip to content

feat: Removed transaction from segment #5500

feat: Removed transaction from segment

feat: Removed transaction from segment #5500

Triggered via pull request October 9, 2024 18:05
Status Failure
Total duration 6h 0m 46s
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
basic transaction tests: test/unit/transaction.test.js#L24
Error [ERR_TEST_FAILURE]: failed running beforeEach hook at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:31:3) { code: 'ERR_TEST_FAILURE', failureType: 'hookFailed', cause: TypeError [Error]: Cannot read properties of undefined (reading 'traceStacks') at probe (/home/runner/work/node-newrelic/node-newrelic/lib/util/probe.js:9:19) at new TraceSegment (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/segment.js:64:3) at new Trace (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/index.js:34:15) at new Transaction (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/index.js:96:16) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:24:18) at TestHook.runInAsyncScope (node:async_hooks:211:14) at TestHook.run (node:internal/test_runner/test:930:25) at TestHook.run (node:internal/test_runner/test:1200:18) at node:internal/test_runner/test:849:20 at processTicksAndRejections (node:internal/process/task_queues:105:5) }
with DT enabled, should produce span events when finalizing: test/unit/transaction.test.js#L24
Error [ERR_TEST_FAILURE]: failed running beforeEach hook at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:57:3) { code: 'ERR_TEST_FAILURE', failureType: 'hookFailed', cause: TypeError [Error]: Cannot read properties of undefined (reading 'traceStacks') at probe (/home/runner/work/node-newrelic/node-newrelic/lib/util/probe.js:9:19) at new TraceSegment (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/segment.js:64:3) at new Trace (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/index.js:34:15) at new Transaction (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/index.js:96:16) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:24:18) at TestHook.runInAsyncScope (node:async_hooks:211:14) at TestHook.run (node:internal/test_runner/test:930:25) at TestHook.run (node:internal/test_runner/test:1200:18) at node:internal/test_runner/test:849:20 at processTicksAndRejections (node:internal/process/task_queues:105:5) }
with DT enabled, should not produce span events when ignored: test/unit/transaction.test.js#L24
Error [ERR_TEST_FAILURE]: failed running beforeEach hook at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:73:3) { code: 'ERR_TEST_FAILURE', failureType: 'hookFailed', cause: TypeError [Error]: Cannot read properties of undefined (reading 'traceStacks') at probe (/home/runner/work/node-newrelic/node-newrelic/lib/util/probe.js:9:19) at new TraceSegment (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/segment.js:64:3) at new Trace (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/index.js:34:15) at new Transaction (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/index.js:96:16) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:24:18) at TestHook.runInAsyncScope (node:async_hooks:211:14) at TestHook.run (node:internal/test_runner/test:930:25) at TestHook.run (node:internal/test_runner/test:1200:18) at node:internal/test_runner/test:849:20 at processTicksAndRejections (node:internal/process/task_queues:105:5) }
handing itself off to the agent upon finalization: test/unit/transaction.test.js#L24
Error [ERR_TEST_FAILURE]: failed running beforeEach hook at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:90:3) { code: 'ERR_TEST_FAILURE', failureType: 'hookFailed', cause: TypeError [Error]: Cannot read properties of undefined (reading 'traceStacks') at probe (/home/runner/work/node-newrelic/node-newrelic/lib/util/probe.js:9:19) at new TraceSegment (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/segment.js:64:3) at new Trace (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/index.js:34:15) at new Transaction (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/index.js:96:16) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:24:18) at TestHook.runInAsyncScope (node:async_hooks:211:14) at TestHook.run (node:internal/test_runner/test:930:25) at TestHook.run (node:internal/test_runner/test:1200:18) at node:internal/test_runner/test:849:20 at processTicksAndRejections (node:internal/process/task_queues:105:5) }
should flush logs on end: test/unit/transaction.test.js#L24
Error [ERR_TEST_FAILURE]: failed running beforeEach hook at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:100:3) { code: 'ERR_TEST_FAILURE', failureType: 'hookFailed', cause: TypeError [Error]: Cannot read properties of undefined (reading 'traceStacks') at probe (/home/runner/work/node-newrelic/node-newrelic/lib/util/probe.js:9:19) at new TraceSegment (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/segment.js:64:3) at new Trace (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/index.js:34:15) at new Transaction (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/index.js:96:16) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:24:18) at TestHook.runInAsyncScope (node:async_hooks:211:14) at TestHook.run (node:internal/test_runner/test:930:25) at TestHook.run (node:internal/test_runner/test:1200:18) at node:internal/test_runner/test:849:20 at processTicksAndRejections (node:internal/process/task_queues:105:5) }
should not flush logs when transaction is ignored: test/unit/transaction.test.js#L24
Error [ERR_TEST_FAILURE]: failed running beforeEach hook at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:113:3) { code: 'ERR_TEST_FAILURE', failureType: 'hookFailed', cause: TypeError [Error]: Cannot read properties of undefined (reading 'traceStacks') at probe (/home/runner/work/node-newrelic/node-newrelic/lib/util/probe.js:9:19) at new TraceSegment (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/segment.js:64:3) at new Trace (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/index.js:34:15) at new Transaction (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/index.js:96:16) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:24:18) at TestHook.runInAsyncScope (node:async_hooks:211:14) at TestHook.run (node:internal/test_runner/test:930:25) at TestHook.run (node:internal/test_runner/test:1200:18) at node:internal/test_runner/test:849:20 at processTicksAndRejections (node:internal/process/task_queues:105:5) }
initial transaction attributes: test/unit/transaction.test.js#L24
Error [ERR_TEST_FAILURE]: failed running beforeEach hook at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:127:3) { code: 'ERR_TEST_FAILURE', failureType: 'hookFailed', cause: TypeError [Error]: Cannot read properties of undefined (reading 'traceStacks') at probe (/home/runner/work/node-newrelic/node-newrelic/lib/util/probe.js:9:19) at new TraceSegment (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/segment.js:64:3) at new Trace (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/index.js:34:15) at new Transaction (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/index.js:96:16) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:24:18) at TestHook.runInAsyncScope (node:async_hooks:211:14) at TestHook.run (node:internal/test_runner/test:930:25) at TestHook.run (node:internal/test_runner/test:1200:18) at node:internal/test_runner/test:849:20 at processTicksAndRejections (node:internal/process/task_queues:105:5) }
with associated metrics: test/unit/transaction.test.js#L24
Error [ERR_TEST_FAILURE]: failed running beforeEach hook at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:146:3) { code: 'ERR_TEST_FAILURE', failureType: 'hookFailed', cause: TypeError [Error]: Cannot read properties of undefined (reading 'traceStacks') at probe (/home/runner/work/node-newrelic/node-newrelic/lib/util/probe.js:9:19) at new TraceSegment (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/segment.js:64:3) at new Trace (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/index.js:34:15) at new Transaction (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/index.js:96:16) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:24:18) at TestHook.runInAsyncScope (node:async_hooks:211:14) at TestHook.run (node:internal/test_runner/test:930:25) at TestHook.run (node:internal/test_runner/test:1200:18) at node:internal/test_runner/test:849:20 at processTicksAndRejections (node:internal/process/task_queues:105:5) }
web transactions: test/unit/transaction.test.js#L24
Error [ERR_TEST_FAILURE]: failed running beforeEach hook at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:166:3) { code: 'ERR_TEST_FAILURE', failureType: 'hookFailed', cause: TypeError [Error]: Cannot read properties of undefined (reading 'traceStacks') at probe (/home/runner/work/node-newrelic/node-newrelic/lib/util/probe.js:9:19) at new TraceSegment (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/segment.js:64:3) at new Trace (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/index.js:34:15) at new Transaction (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/index.js:96:16) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:24:18) at TestHook.runInAsyncScope (node:async_hooks:211:14) at TestHook.run (node:internal/test_runner/test:930:25) at TestHook.run (node:internal/test_runner/test:1200:18) at node:internal/test_runner/test:849:20 at processTicksAndRejections (node:internal/process/task_queues:105:5) }
when dealing with individual metrics: test/unit/transaction.test.js#L24
Error [ERR_TEST_FAILURE]: failed running beforeEach hook at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:174:3) { code: 'ERR_TEST_FAILURE', failureType: 'hookFailed', cause: TypeError [Error]: Cannot read properties of undefined (reading 'traceStacks') at probe (/home/runner/work/node-newrelic/node-newrelic/lib/util/probe.js:9:19) at new TraceSegment (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/segment.js:64:3) at new Trace (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/index.js:34:15) at new Transaction (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/index.js:96:16) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:24:18) at TestHook.runInAsyncScope (node:async_hooks:211:14) at TestHook.run (node:internal/test_runner/test:930:25) at TestHook.run (node:internal/test_runner/test:1200:18) at node:internal/test_runner/test:849:20 at processTicksAndRejections (node:internal/process/task_queues:105:5) }
basic transaction tests: test/unit/transaction.test.js#L24
Error [ERR_TEST_FAILURE]: failed running beforeEach hook at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:31:3) { code: 'ERR_TEST_FAILURE', failureType: 'hookFailed', cause: TypeError [Error]: Cannot read properties of undefined (reading 'traceStacks') at probe (/home/runner/work/node-newrelic/node-newrelic/lib/util/probe.js:9:19) at new TraceSegment (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/segment.js:64:3) at new Trace (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/index.js:34:15) at new Transaction (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/index.js:96:16) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:24:18) at TestHook.runInAsyncScope (node:async_hooks:206:9) at TestHook.run (node:internal/test_runner/test:789:25) at TestHook.run (node:internal/test_runner/test:1037:18) at node:internal/test_runner/test:716:20 at processTicksAndRejections (node:internal/process/task_queues:95:5) }
with DT enabled, should produce span events when finalizing: test/unit/transaction.test.js#L24
Error [ERR_TEST_FAILURE]: failed running beforeEach hook at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:57:3) { code: 'ERR_TEST_FAILURE', failureType: 'hookFailed', cause: TypeError [Error]: Cannot read properties of undefined (reading 'traceStacks') at probe (/home/runner/work/node-newrelic/node-newrelic/lib/util/probe.js:9:19) at new TraceSegment (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/segment.js:64:3) at new Trace (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/index.js:34:15) at new Transaction (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/index.js:96:16) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:24:18) at TestHook.runInAsyncScope (node:async_hooks:206:9) at TestHook.run (node:internal/test_runner/test:789:25) at TestHook.run (node:internal/test_runner/test:1037:18) at node:internal/test_runner/test:716:20 at processTicksAndRejections (node:internal/process/task_queues:95:5) }
with DT enabled, should not produce span events when ignored: test/unit/transaction.test.js#L24
Error [ERR_TEST_FAILURE]: failed running beforeEach hook at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:73:3) { code: 'ERR_TEST_FAILURE', failureType: 'hookFailed', cause: TypeError [Error]: Cannot read properties of undefined (reading 'traceStacks') at probe (/home/runner/work/node-newrelic/node-newrelic/lib/util/probe.js:9:19) at new TraceSegment (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/segment.js:64:3) at new Trace (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/index.js:34:15) at new Transaction (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/index.js:96:16) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:24:18) at TestHook.runInAsyncScope (node:async_hooks:206:9) at TestHook.run (node:internal/test_runner/test:789:25) at TestHook.run (node:internal/test_runner/test:1037:18) at node:internal/test_runner/test:716:20 at processTicksAndRejections (node:internal/process/task_queues:95:5) }
handing itself off to the agent upon finalization: test/unit/transaction.test.js#L24
Error [ERR_TEST_FAILURE]: failed running beforeEach hook at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:90:3) { code: 'ERR_TEST_FAILURE', failureType: 'hookFailed', cause: TypeError [Error]: Cannot read properties of undefined (reading 'traceStacks') at probe (/home/runner/work/node-newrelic/node-newrelic/lib/util/probe.js:9:19) at new TraceSegment (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/segment.js:64:3) at new Trace (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/index.js:34:15) at new Transaction (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/index.js:96:16) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:24:18) at TestHook.runInAsyncScope (node:async_hooks:206:9) at TestHook.run (node:internal/test_runner/test:789:25) at TestHook.run (node:internal/test_runner/test:1037:18) at node:internal/test_runner/test:716:20 at processTicksAndRejections (node:internal/process/task_queues:95:5) }
should flush logs on end: test/unit/transaction.test.js#L24
Error [ERR_TEST_FAILURE]: failed running beforeEach hook at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:100:3) { code: 'ERR_TEST_FAILURE', failureType: 'hookFailed', cause: TypeError [Error]: Cannot read properties of undefined (reading 'traceStacks') at probe (/home/runner/work/node-newrelic/node-newrelic/lib/util/probe.js:9:19) at new TraceSegment (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/segment.js:64:3) at new Trace (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/index.js:34:15) at new Transaction (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/index.js:96:16) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:24:18) at TestHook.runInAsyncScope (node:async_hooks:206:9) at TestHook.run (node:internal/test_runner/test:789:25) at TestHook.run (node:internal/test_runner/test:1037:18) at node:internal/test_runner/test:716:20 at processTicksAndRejections (node:internal/process/task_queues:95:5) }
should not flush logs when transaction is ignored: test/unit/transaction.test.js#L24
Error [ERR_TEST_FAILURE]: failed running beforeEach hook at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:113:3) { code: 'ERR_TEST_FAILURE', failureType: 'hookFailed', cause: TypeError [Error]: Cannot read properties of undefined (reading 'traceStacks') at probe (/home/runner/work/node-newrelic/node-newrelic/lib/util/probe.js:9:19) at new TraceSegment (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/segment.js:64:3) at new Trace (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/index.js:34:15) at new Transaction (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/index.js:96:16) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:24:18) at TestHook.runInAsyncScope (node:async_hooks:206:9) at TestHook.run (node:internal/test_runner/test:789:25) at TestHook.run (node:internal/test_runner/test:1037:18) at node:internal/test_runner/test:716:20 at processTicksAndRejections (node:internal/process/task_queues:95:5) }
initial transaction attributes: test/unit/transaction.test.js#L24
Error [ERR_TEST_FAILURE]: failed running beforeEach hook at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:127:3) { code: 'ERR_TEST_FAILURE', failureType: 'hookFailed', cause: TypeError [Error]: Cannot read properties of undefined (reading 'traceStacks') at probe (/home/runner/work/node-newrelic/node-newrelic/lib/util/probe.js:9:19) at new TraceSegment (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/segment.js:64:3) at new Trace (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/index.js:34:15) at new Transaction (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/index.js:96:16) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:24:18) at TestHook.runInAsyncScope (node:async_hooks:206:9) at TestHook.run (node:internal/test_runner/test:789:25) at TestHook.run (node:internal/test_runner/test:1037:18) at node:internal/test_runner/test:716:20 at processTicksAndRejections (node:internal/process/task_queues:95:5) }
with associated metrics: test/unit/transaction.test.js#L24
Error [ERR_TEST_FAILURE]: failed running beforeEach hook at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:146:3) { code: 'ERR_TEST_FAILURE', failureType: 'hookFailed', cause: TypeError [Error]: Cannot read properties of undefined (reading 'traceStacks') at probe (/home/runner/work/node-newrelic/node-newrelic/lib/util/probe.js:9:19) at new TraceSegment (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/segment.js:64:3) at new Trace (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/index.js:34:15) at new Transaction (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/index.js:96:16) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:24:18) at TestHook.runInAsyncScope (node:async_hooks:206:9) at TestHook.run (node:internal/test_runner/test:789:25) at TestHook.run (node:internal/test_runner/test:1037:18) at node:internal/test_runner/test:716:20 at processTicksAndRejections (node:internal/process/task_queues:95:5) }
web transactions: test/unit/transaction.test.js#L24
Error [ERR_TEST_FAILURE]: failed running beforeEach hook at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:166:3) { code: 'ERR_TEST_FAILURE', failureType: 'hookFailed', cause: TypeError [Error]: Cannot read properties of undefined (reading 'traceStacks') at probe (/home/runner/work/node-newrelic/node-newrelic/lib/util/probe.js:9:19) at new TraceSegment (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/segment.js:64:3) at new Trace (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/index.js:34:15) at new Transaction (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/index.js:96:16) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:24:18) at TestHook.runInAsyncScope (node:async_hooks:206:9) at TestHook.run (node:internal/test_runner/test:789:25) at TestHook.run (node:internal/test_runner/test:1037:18) at node:internal/test_runner/test:716:20 at processTicksAndRejections (node:internal/process/task_queues:95:5) }
when dealing with individual metrics: test/unit/transaction.test.js#L24
Error [ERR_TEST_FAILURE]: failed running beforeEach hook at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:174:3) { code: 'ERR_TEST_FAILURE', failureType: 'hookFailed', cause: TypeError [Error]: Cannot read properties of undefined (reading 'traceStacks') at probe (/home/runner/work/node-newrelic/node-newrelic/lib/util/probe.js:9:19) at new TraceSegment (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/segment.js:64:3) at new Trace (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/index.js:34:15) at new Transaction (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/index.js:96:16) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:24:18) at TestHook.runInAsyncScope (node:async_hooks:206:9) at TestHook.run (node:internal/test_runner/test:789:25) at TestHook.run (node:internal/test_runner/test:1037:18) at node:internal/test_runner/test:716:20 at processTicksAndRejections (node:internal/process/task_queues:95:5) }
basic transaction tests: test/unit/transaction.test.js#L24
Error [ERR_TEST_FAILURE]: failed running beforeEach hook at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:31:3) { failureType: 'hookFailed', cause: TypeError [Error]: Cannot read properties of undefined (reading 'traceStacks') at probe (/home/runner/work/node-newrelic/node-newrelic/lib/util/probe.js:9:19) at new TraceSegment (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/segment.js:64:3) at new Trace (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/index.js:34:15) at new Transaction (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/index.js:96:16) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:24:18) at TestHook.runInAsyncScope (node:async_hooks:203:9) at TestHook.run (node:internal/test_runner/test:631:25) at TestHook.run (node:internal/test_runner/test:856:18) at node:internal/test_runner/test:565:20 at processTicksAndRejections (node:internal/process/task_queues:95:5), code: 'ERR_TEST_FAILURE' }
with DT enabled, should produce span events when finalizing: test/unit/transaction.test.js#L24
Error [ERR_TEST_FAILURE]: failed running beforeEach hook at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:57:3) { failureType: 'hookFailed', cause: TypeError [Error]: Cannot read properties of undefined (reading 'traceStacks') at probe (/home/runner/work/node-newrelic/node-newrelic/lib/util/probe.js:9:19) at new TraceSegment (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/segment.js:64:3) at new Trace (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/index.js:34:15) at new Transaction (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/index.js:96:16) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:24:18) at TestHook.runInAsyncScope (node:async_hooks:203:9) at TestHook.run (node:internal/test_runner/test:631:25) at TestHook.run (node:internal/test_runner/test:856:18) at node:internal/test_runner/test:565:20 at processTicksAndRejections (node:internal/process/task_queues:95:5), code: 'ERR_TEST_FAILURE' }
with DT enabled, should not produce span events when ignored: test/unit/transaction.test.js#L24
Error [ERR_TEST_FAILURE]: failed running beforeEach hook at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:73:3) { failureType: 'hookFailed', cause: TypeError [Error]: Cannot read properties of undefined (reading 'traceStacks') at probe (/home/runner/work/node-newrelic/node-newrelic/lib/util/probe.js:9:19) at new TraceSegment (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/segment.js:64:3) at new Trace (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/index.js:34:15) at new Transaction (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/index.js:96:16) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:24:18) at TestHook.runInAsyncScope (node:async_hooks:203:9) at TestHook.run (node:internal/test_runner/test:631:25) at TestHook.run (node:internal/test_runner/test:856:18) at node:internal/test_runner/test:565:20 at processTicksAndRejections (node:internal/process/task_queues:95:5), code: 'ERR_TEST_FAILURE' }
handing itself off to the agent upon finalization: test/unit/transaction.test.js#L24
Error [ERR_TEST_FAILURE]: failed running beforeEach hook at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:90:3) { failureType: 'hookFailed', cause: TypeError [Error]: Cannot read properties of undefined (reading 'traceStacks') at probe (/home/runner/work/node-newrelic/node-newrelic/lib/util/probe.js:9:19) at new TraceSegment (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/segment.js:64:3) at new Trace (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/index.js:34:15) at new Transaction (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/index.js:96:16) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:24:18) at TestHook.runInAsyncScope (node:async_hooks:203:9) at TestHook.run (node:internal/test_runner/test:631:25) at TestHook.run (node:internal/test_runner/test:856:18) at node:internal/test_runner/test:565:20 at processTicksAndRejections (node:internal/process/task_queues:95:5), code: 'ERR_TEST_FAILURE' }
should flush logs on end: test/unit/transaction.test.js#L24
Error [ERR_TEST_FAILURE]: failed running beforeEach hook at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:100:3) { failureType: 'hookFailed', cause: TypeError [Error]: Cannot read properties of undefined (reading 'traceStacks') at probe (/home/runner/work/node-newrelic/node-newrelic/lib/util/probe.js:9:19) at new TraceSegment (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/segment.js:64:3) at new Trace (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/index.js:34:15) at new Transaction (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/index.js:96:16) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:24:18) at TestHook.runInAsyncScope (node:async_hooks:203:9) at TestHook.run (node:internal/test_runner/test:631:25) at TestHook.run (node:internal/test_runner/test:856:18) at node:internal/test_runner/test:565:20 at processTicksAndRejections (node:internal/process/task_queues:95:5), code: 'ERR_TEST_FAILURE' }
should not flush logs when transaction is ignored: test/unit/transaction.test.js#L24
Error [ERR_TEST_FAILURE]: failed running beforeEach hook at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:113:3) { failureType: 'hookFailed', cause: TypeError [Error]: Cannot read properties of undefined (reading 'traceStacks') at probe (/home/runner/work/node-newrelic/node-newrelic/lib/util/probe.js:9:19) at new TraceSegment (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/segment.js:64:3) at new Trace (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/index.js:34:15) at new Transaction (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/index.js:96:16) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:24:18) at TestHook.runInAsyncScope (node:async_hooks:203:9) at TestHook.run (node:internal/test_runner/test:631:25) at TestHook.run (node:internal/test_runner/test:856:18) at node:internal/test_runner/test:565:20 at processTicksAndRejections (node:internal/process/task_queues:95:5), code: 'ERR_TEST_FAILURE' }
initial transaction attributes: test/unit/transaction.test.js#L24
Error [ERR_TEST_FAILURE]: failed running beforeEach hook at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:127:3) { failureType: 'hookFailed', cause: TypeError [Error]: Cannot read properties of undefined (reading 'traceStacks') at probe (/home/runner/work/node-newrelic/node-newrelic/lib/util/probe.js:9:19) at new TraceSegment (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/segment.js:64:3) at new Trace (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/index.js:34:15) at new Transaction (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/index.js:96:16) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:24:18) at TestHook.runInAsyncScope (node:async_hooks:203:9) at TestHook.run (node:internal/test_runner/test:631:25) at TestHook.run (node:internal/test_runner/test:856:18) at node:internal/test_runner/test:565:20 at processTicksAndRejections (node:internal/process/task_queues:95:5), code: 'ERR_TEST_FAILURE' }
with associated metrics: test/unit/transaction.test.js#L24
Error [ERR_TEST_FAILURE]: failed running beforeEach hook at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:146:3) { failureType: 'hookFailed', cause: TypeError [Error]: Cannot read properties of undefined (reading 'traceStacks') at probe (/home/runner/work/node-newrelic/node-newrelic/lib/util/probe.js:9:19) at new TraceSegment (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/segment.js:64:3) at new Trace (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/index.js:34:15) at new Transaction (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/index.js:96:16) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:24:18) at TestHook.runInAsyncScope (node:async_hooks:203:9) at TestHook.run (node:internal/test_runner/test:631:25) at TestHook.run (node:internal/test_runner/test:856:18) at node:internal/test_runner/test:565:20 at processTicksAndRejections (node:internal/process/task_queues:95:5), code: 'ERR_TEST_FAILURE' }
web transactions: test/unit/transaction.test.js#L24
Error [ERR_TEST_FAILURE]: failed running beforeEach hook at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:166:3) { failureType: 'hookFailed', cause: TypeError [Error]: Cannot read properties of undefined (reading 'traceStacks') at probe (/home/runner/work/node-newrelic/node-newrelic/lib/util/probe.js:9:19) at new TraceSegment (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/segment.js:64:3) at new Trace (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/index.js:34:15) at new Transaction (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/index.js:96:16) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:24:18) at TestHook.runInAsyncScope (node:async_hooks:203:9) at TestHook.run (node:internal/test_runner/test:631:25) at TestHook.run (node:internal/test_runner/test:856:18) at node:internal/test_runner/test:565:20 at processTicksAndRejections (node:internal/process/task_queues:95:5), code: 'ERR_TEST_FAILURE' }
when dealing with individual metrics: test/unit/transaction.test.js#L24
Error [ERR_TEST_FAILURE]: failed running beforeEach hook at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:174:3) { failureType: 'hookFailed', cause: TypeError [Error]: Cannot read properties of undefined (reading 'traceStacks') at probe (/home/runner/work/node-newrelic/node-newrelic/lib/util/probe.js:9:19) at new TraceSegment (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/segment.js:64:3) at new Trace (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/index.js:34:15) at new Transaction (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/index.js:96:16) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:24:18) at TestHook.runInAsyncScope (node:async_hooks:203:9) at TestHook.run (node:internal/test_runner/test:631:25) at TestHook.run (node:internal/test_runner/test:856:18) at node:internal/test_runner/test:565:20 at processTicksAndRejections (node:internal/process/task_queues:95:5), code: 'ERR_TEST_FAILURE' }
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 (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.
integration (20.x)
The job running on runner GitHub Actions 51 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 281 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' }
integration (22.x)
The job running on runner GitHub Actions 415 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' }
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 🕐: 915.701ms
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 'traceStacks')" 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 'traceStacks')" 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 'traceStacks')" 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 'traceStacks')" 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 'traceStacks')" 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 'traceStacks')" 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 'traceStacks')" 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 'traceStacks')" 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 'traceStacks')" and would have caused the test to fail, but instead triggered an uncaughtException event. Total Tests: 4159 Suites 📂: 0 Passed ✅: 2919 Failed ❌: 1214 Canceled 🚫: 4 Skipped ⏭️: 3 Todo 📝: 19 Duration 🕐: 385485.372ms
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: 4163 Suites 📂: 0 Passed ✅: 2908 Failed ❌: 1229 Canceled 🚫: 4 Skipped ⏭️: 3 Todo 📝: 19 Duration 🕐: 383481.644ms
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 'traceStacks')" 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 'traceStacks')" 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 'traceStacks')" 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 'traceStacks')" 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 'traceStacks')" 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 'traceStacks')" 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 'traceStacks')" 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 'traceStacks')" 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 'traceStacks')" and would have caused the test to fail, but instead triggered an uncaughtException event. Total Tests: 4129 Suites 📂: 0 Passed ✅: 2910 Failed ❌: 1183 Canceled 🚫: 17 Skipped ⏭️: 0 Todo 📝: 19 Duration 🕐: 385135.592ms
integration (20.x)
Total Tests: 66 Suites 📂: 0 Passed ✅: 31 Failed ❌: 27 Canceled 🚫: 8 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 2194499.134ms
integration (18.x)
Total Tests: 66 Suites 📂: 0 Passed ✅: 31 Failed ❌: 27 Canceled 🚫: 8 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 2206358.731ms
integration (22.x)
Total Tests: 66 Suites 📂: 0 Passed ✅: 31 Failed ❌: 27 Canceled 🚫: 8 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 2194901.516ms

Artifacts

Produced during runtime
Name Size
logs-18.x.tgz
234 KB
logs-20.x.tgz
234 KB
logs-22.x.tgz
232 KB