feat: Removed transaction from segment #5522
Annotations
10 errors and 3 notices
Run Unit Tests:
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:252:37)
at wrapTransactionInvocation (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:213: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)
}
|
Run Unit Tests:
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:252:37)
at wrapTransactionInvocation (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:213: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)
}
|
Run Unit Tests:
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)
}
|
Run Unit Tests:
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)
}
|
Run Unit Tests:
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:252:37)
at wrapTransactionInvocation (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:213: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)
}
|
Run Unit Tests:
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:252:37)
at wrapTransactionInvocation (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:213: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)
}
|
Run Unit Tests:
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:252:37)
at wrapTransactionInvocation (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:213: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)
}
|
Run Unit Tests:
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:252:37)
at wrapTransactionInvocation (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:213: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)
}
|
Run Unit Tests:
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:252:37)
at wrapTransactionInvocation (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:213: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)
}
|
Run Unit Tests:
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:252:37)
at wrapTransactionInvocation (/home/runner/work/node-newrelic/node-newrelic/lib/transaction/tracer/index.js:213: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)
}
|
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: 4365
Suites 📂: 0
Passed ✅: 3557
Failed ❌: 781
Canceled 🚫: 5
Skipped ⏭️: 3
Todo 📝: 19
Duration 🕐: 384625.803ms
|
Loading