feat: Removed transaction from segment #5511
Annotations
10 errors and 3 notices
Run Unit Tests:
test/unit/transaction.test.js#L65
Error [ERR_TEST_FAILURE]: Cannot read properties of null (reading 'trace')
at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:57:3) {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: Cannot read properties of null (reading 'trace')
at /home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:65:34
at /home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:296:12
at AsyncLocalStorage.run (node:internal/async_local_storage/async_hooks:91:14)
at AsyncLocalContextManager.runInContext (/home/runner/work/node-newrelic/node-newrelic/lib/context-manager/async-local-context-manager.js:62:38)
at wrapped (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:231:37)
at wrapTransactionInvocation (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:202:50)
at Object.helper.runInTransaction (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:297:5)
at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:64:12)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:917:21)
}
|
Run Unit Tests:
test/unit/transaction.test.js#L81
Error [ERR_TEST_FAILURE]: Cannot read properties of null (reading 'trace')
at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:73:3) {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: Cannot read properties of null (reading 'trace')
at /home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:81:34
at /home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:296:12
at AsyncLocalStorage.run (node:internal/async_local_storage/async_hooks:91:14)
at AsyncLocalContextManager.runInContext (/home/runner/work/node-newrelic/node-newrelic/lib/context-manager/async-local-context-manager.js:62:38)
at wrapped (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:231:37)
at wrapTransactionInvocation (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:202:50)
at Object.helper.runInTransaction (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:297:5)
at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:80:12)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:917:21)
}
|
Run Unit Tests:
test/unit/transaction.test.js#L735
Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'probe')
at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:730:5)
at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:727:3) {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: Cannot read properties of undefined (reading 'probe')
at new TraceSegment (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/segment.js:65:20)
at TraceSegment.add (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/segment.js:233:19)
at Trace.add (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/index.js:161:20)
at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:735:38)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:930:25)
at processTicksAndRejections (node:internal/process/task_queues:105:5)
at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:730:5)
at Test.run (node:internal/test_runner/test:931:9)
at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:727:3)
}
|
Run Unit Tests:
test/unit/transaction.test.js#L753
Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'probe')
at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:749:5)
at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:727:3) {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: Cannot read properties of undefined (reading 'probe')
at new TraceSegment (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/segment.js:65:20)
at TraceSegment.add (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/segment.js:233:19)
at Trace.add (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/index.js:161:20)
at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:753:46)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:930:25)
at processTicksAndRejections (node:internal/process/task_queues:105:5)
at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:749:5)
at Test.run (node:internal/test_runner/test:931:9)
at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:727:3)
}
|
Run Unit Tests:
test/unit/transaction.test.js#L1200
Error [ERR_TEST_FAILURE]: Cannot read properties of null (reading 'trace')
at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1191:3) {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: Cannot read properties of null (reading 'trace')
at /home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1200:32
at /home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:296:12
at AsyncLocalStorage.run (node:internal/async_local_storage/async_hooks:91:14)
at AsyncLocalContextManager.runInContext (/home/runner/work/node-newrelic/node-newrelic/lib/context-manager/async-local-context-manager.js:62:38)
at wrapped (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:231:37)
at wrapTransactionInvocation (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:202:50)
at Object.helper.runInTransaction (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:297:5)
at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1199:12)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:917:21)
}
|
Run Unit Tests:
test/unit/transaction.test.js#L1216
Error [ERR_TEST_FAILURE]: Cannot read properties of null (reading 'trace')
at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1213:3) {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: Cannot read properties of null (reading 'trace')
at /home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1216:32
at /home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:296:12
at AsyncLocalStorage.run (node:internal/async_local_storage/async_hooks:91:14)
at AsyncLocalContextManager.runInContext (/home/runner/work/node-newrelic/node-newrelic/lib/context-manager/async-local-context-manager.js:62:38)
at wrapped (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:231:37)
at wrapTransactionInvocation (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:202:50)
at Object.helper.runInTransaction (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:297:5)
at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1215:12)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:917:21)
}
|
Run Unit Tests:
test/unit/transaction.test.js#L1264
Error [ERR_TEST_FAILURE]: Cannot read properties of null (reading 'trace')
at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1240:3) {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: Cannot read properties of null (reading 'trace')
at /home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1264:32
at /home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:296:12
at AsyncLocalStorage.run (node:internal/async_local_storage/async_hooks:91:14)
at AsyncLocalContextManager.runInContext (/home/runner/work/node-newrelic/node-newrelic/lib/context-manager/async-local-context-manager.js:62:38)
at wrapped (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:231:37)
at wrapTransactionInvocation (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:202:50)
at Object.helper.runInTransaction (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:297:5)
at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1263:12)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:917:21)
}
|
Run Unit Tests:
test/unit/transaction.test.js#L1292
Error [ERR_TEST_FAILURE]: Cannot read properties of null (reading 'trace')
at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1286:3) {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: Cannot read properties of null (reading 'trace')
at /home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1292:32
at /home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:296:12
at AsyncLocalStorage.run (node:internal/async_local_storage/async_hooks:91:14)
at AsyncLocalContextManager.runInContext (/home/runner/work/node-newrelic/node-newrelic/lib/context-manager/async-local-context-manager.js:62:38)
at wrapped (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:231:37)
at wrapTransactionInvocation (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:202:50)
at Object.helper.runInTransaction (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:297:5)
at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1291:12)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:917:21)
}
|
Run Unit Tests:
test/unit/transaction.test.js#L1326
Error [ERR_TEST_FAILURE]: Cannot read properties of null (reading 'trace')
at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1309:3) {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: Cannot read properties of null (reading 'trace')
at /home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1326:32
at /home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:296:12
at AsyncLocalStorage.run (node:internal/async_local_storage/async_hooks:91:14)
at AsyncLocalContextManager.runInContext (/home/runner/work/node-newrelic/node-newrelic/lib/context-manager/async-local-context-manager.js:62:38)
at wrapped (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:231:37)
at wrapTransactionInvocation (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:202:50)
at Object.helper.runInTransaction (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:297:5)
at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1325:12)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:917:21)
}
|
Run Unit Tests:
test/unit/transaction.test.js#L1353
Error [ERR_TEST_FAILURE]: Cannot read properties of null (reading 'trace')
at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1341:3) {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: Cannot read properties of null (reading 'trace')
at /home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1353:32
at /home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:296:12
at AsyncLocalStorage.run (node:internal/async_local_storage/async_hooks:91:14)
at AsyncLocalContextManager.runInContext (/home/runner/work/node-newrelic/node-newrelic/lib/context-manager/async-local-context-manager.js:62:38)
at wrapped (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:231:37)
at wrapTransactionInvocation (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:202:50)
at Object.helper.runInTransaction (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:297:5)
at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction.test.js:1352:12)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:917:21)
}
|
Run Unit Tests:
test/unit/util/code-level-metrics.test.js#L104
This is testing Express router.route which binds a function thus breaking any function metadata
|
Run Unit Tests:
test/unit/spans/batch-span-streamer.test.js#L199
this will simulate n full batches and the last batch being 1/3 full
|
Run Unit Tests
Error:: Test "should push transactions through setTimeout" at test/unit/shimmer.test.js:467:15 generated asynchronous activity after the test ended. This activity created the error "TypeError: Cannot read properties of undefined (reading 'trace')" and would have caused the test to fail, but instead triggered an uncaughtException event.
Error:: Test "should push transactions through setTimeout" at test/unit/shimmer.test.js:467:15 generated asynchronous activity after the test ended. This activity created the error "TypeError: Cannot read properties of undefined (reading 'trace')" and would have caused the test to fail, but instead triggered an uncaughtException event.
Error:: Test "should push transactions through setTimeout" at test/unit/shimmer.test.js:467:15 generated asynchronous activity after the test ended. This activity created the error "TypeError: Cannot read properties of undefined (reading 'trace')" and would have caused the test to fail, but instead triggered an uncaughtException event.
Error:: Test "should push transactions through setTimeout" at test/unit/shimmer.test.js:467:15 generated asynchronous activity after the test ended. This activity created the error "TypeError: Cannot read properties of undefined (reading 'trace')" and would have caused the test to fail, but instead triggered an uncaughtException event.
Error:: Test "should push transactions through setTimeout" at test/unit/shimmer.test.js:467:15 generated asynchronous activity after the test ended. This activity created the error "TypeError: Cannot read properties of undefined (reading 'trace')" and would have caused the test to fail, but instead triggered an uncaughtException event.
Error:: Test "should push transactions through setTimeout" at test/unit/shimmer.test.js:467:15 generated asynchronous activity after the test ended. This activity created the error "TypeError: Cannot read properties of undefined (reading 'trace')" and would have caused the test to fail, but instead triggered an uncaughtException event.
Error:: Test "should push transactions through setTimeout" at test/unit/shimmer.test.js:467:15 generated asynchronous activity after the test ended. This activity created the error "TypeError: Cannot read properties of undefined (reading 'trace')" and would have caused the test to fail, but instead triggered an uncaughtException event.
Error:: A resource generated asynchronous activity after the test ended. This activity created the error "TypeError: Cannot read properties of null (reading 'acceptTraceContextPayload')" which triggered an uncaughtException event, caught by the test runner.
Error:: Test hook "beforeEach" at test/unit/collector/remote-method.test.js:597:5 generated asynchronous activity after the test ended. This activity created the error "TypeError: Cannot read properties of undefined (reading 'trace')" and would have caused the test to fail, but instead triggered an uncaughtException event.
Error:: Test "should handle independent branching legs" at test/unit/instrumentation/core/promises.test.js:54:11 generated asynchronous activity after the test ended. This activity created the error "TypeError: Cannot read properties of undefined (reading 'getSegment')" and would have caused the test to fail, but instead triggered an unhandledRejection event.
Error:: Test "should handle independent branching legs" at test/unit/instrumentation/core/promises.test.js:54:11 generated asynchronous activity after the test ended. This activity created the error "TypeError: Cannot read properties of undefined (reading 'getSegment')" and would have caused the test to fail, but instead triggered an unhandledRejection event.
Error:: Test "should handle jumping to branched catches" at test/unit/instrumentation/core/promises.test.js:64:11 generated asynchronous activity after the test ended. This activity created the error "TypeError: Cannot read properties of undefined (reading 'getSegment')" and would have caused the test to fail, but instead triggered an unhandledRejection event.
Error:: Test "should handle jumping to branched catches" at
|
Loading