feat: Removed transaction from segment #5534
Annotations
9 errors and 3 notices
Run Unit Tests:
test/unit/transaction/tracer.test.js#L198
Error [ERR_TEST_FAILURE]: 1 == 2
at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction/tracer.test.js:185:5)
at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction/tracer.test.js:182:3) {
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: 1 == 2
at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction/tracer.test.js:198:14)
at Test.runInAsyncScope (node:async_hooks:203:9)
at Test.run (node:internal/test_runner/test:618:21)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction/tracer.test.js:185:5)
at Test.run (node:internal/test_runner/test:632:9)
at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction/tracer.test.js:182:3)
at Test.run (node:internal/test_runner/test:632:9)
at startSubtest (node:internal/test_runner/harness:214:3) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 1,
expected: 2,
operator: '=='
},
code: 'ERR_TEST_FAILURE'
}
|
Run Unit Tests:
test/unit/transaction/trace/index.test.js#L496
Error [ERR_TEST_FAILURE]: agent is not defined
at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction/trace/index.test.js:489:3) {
failureType: 'testCodeFailure',
cause: ReferenceError [Error]: agent is not defined
at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction/trace/index.test.js:496:34)
at Test.runInAsyncScope (node:async_hooks:203:9)
at Test.run (node:internal/test_runner/test:631:25)
at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction/trace/index.test.js:489: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'
}
|
Run Unit Tests:
test/unit/transaction/trace/index.test.js#L557
Error [ERR_TEST_FAILURE]: agent is not defined
at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction/trace/index.test.js:524:3) {
failureType: 'testCodeFailure',
cause: ReferenceError [Error]: agent is not defined
at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction/trace/index.test.js:557:37)
at Test.runInAsyncScope (node:async_hooks:203:9)
at Test.run (node:internal/test_runner/test:631:25)
at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction/trace/index.test.js:524: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'
}
|
Run Unit Tests:
test/unit/transaction/trace/index.test.js#L611
Error [ERR_TEST_FAILURE]: agent is not defined
at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction/trace/index.test.js:577:3) {
failureType: 'testCodeFailure',
cause: ReferenceError [Error]: agent is not defined
at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction/trace/index.test.js:611:37)
at Test.runInAsyncScope (node:async_hooks:203:9)
at Test.run (node:internal/test_runner/test:631:25)
at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction/trace/index.test.js:577: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'
}
|
Run Unit Tests:
test/unit/transaction/trace/index.test.js#L685
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/trace/index.test.js:667:3) {
failureType: 'testCodeFailure',
cause: TypeError [Error]: Cannot read properties of undefined (reading 'probe')
at TraceSegment.probe (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/segment.js:124:20)
at new TraceSegment (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/segment.js:73:8)
at TraceSegment.add (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/segment.js:248:19)
at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction/trace/index.test.js:685:27)
at Test.runInAsyncScope (node:async_hooks:203:9)
at Test.run (node:internal/test_runner/test:631:25)
at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction/trace/index.test.js:667: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'
}
|
Run Unit Tests:
test/unit/transaction/trace/index.test.js#L748
Error [ERR_TEST_FAILURE]: segment 900 should not be collected
at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction/trace/index.test.js:740:3) {
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: segment 900 should not be collected
at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction/trace/index.test.js:748:16)
at Test.runInAsyncScope (node:async_hooks:203:9)
at Test.run (node:internal/test_runner/test:631:25)
at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction/trace/index.test.js:740:3)
at Test.run (node:internal/test_runner/test:632:9)
at Test.processPendingSubtests (node:internal/test_runner/test:374:7) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: true,
expected: false,
operator: '=='
},
code: 'ERR_TEST_FAILURE'
}
|
Run Unit Tests:
test/unit/transaction/trace/index.test.js#L934
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/trace/index.test.js:893:3) {
failureType: 'testCodeFailure',
cause: TypeError [Error]: Cannot read properties of undefined (reading 'probe')
at TraceSegment.probe (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/segment.js:124:20)
at new TraceSegment (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/segment.js:73:8)
at TraceSegment.add (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/segment.js:248:19)
at addTwoSegments (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction/trace/index.test.js:934:25)
at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction/trace/index.test.js:901:5)
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/trace/index.test.js:893:3)
at Test.run (node:internal/test_runner/test:632:9),
code: 'ERR_TEST_FAILURE'
}
|
Run Unit Tests:
test/unit/transaction/trace/index.test.js#L934
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/trace/index.test.js:908:3) {
failureType: 'testCodeFailure',
cause: TypeError [Error]: Cannot read properties of undefined (reading 'probe')
at TraceSegment.probe (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/segment.js:124:20)
at new TraceSegment (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/segment.js:73:8)
at TraceSegment.add (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/trace/segment.js:248:19)
at addTwoSegments (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction/trace/index.test.js:934:25)
at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/transaction/trace/index.test.js:920:7)
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/trace/index.test.js:908:3)
at Test.run (node:internal/test_runner/test:632:9),
code: 'ERR_TEST_FAILURE'
}
|
Run Unit Tests
Process completed with exit code 1.
|
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
Total Tests: 4407
Suites 📂: 0
Passed ✅: 4376
Failed ❌: 12
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 19
Duration 🕐: 63118.915ms
|
Loading