wip: started removing segment.transaction references #2017
Annotations
10 errors and 3 notices
Run Unit Tests:
test/unit/parsed-statement.test.js#L35
Error [ERR_TEST_FAILURE]: failed running beforeEach hook
at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/parsed-statement.test.js:45:7)
at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/parsed-statement.test.js:23:5)
at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/parsed-statement.test.js:22:3) {
failureType: 'hookFailed',
cause: TypeError [Error]: transaction.isWeb is not a function
at ParsedStatement.recordMetrics (/home/runner/work/node-newrelic/node-newrelic/lib/db/parsed-statement.js:27:28)
at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/parsed-statement.test.js:35:12)
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)
at Test.runHook (node:internal/test_runner/test:563:7)
at Test.run (node:internal/test_runner/test:607:9)
at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/parsed-statement.test.js:45:7),
code: 'ERR_TEST_FAILURE'
}
|
Run Unit Tests:
test/unit/parsed-statement.test.js#L35
Error [ERR_TEST_FAILURE]: failed running beforeEach hook
at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/parsed-statement.test.js:50:7)
at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/parsed-statement.test.js:23:5)
at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/parsed-statement.test.js:22:3) {
failureType: 'hookFailed',
cause: TypeError [Error]: transaction.isWeb is not a function
at ParsedStatement.recordMetrics (/home/runner/work/node-newrelic/node-newrelic/lib/db/parsed-statement.js:27:28)
at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/parsed-statement.test.js:35:12)
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)
at Test.runHook (node:internal/test_runner/test:563:7)
at Test.run (node:internal/test_runner/test:607:9)
at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/parsed-statement.test.js:50:7),
code: 'ERR_TEST_FAILURE'
}
|
Run Unit Tests:
test/unit/parsed-statement.test.js#L35
Error [ERR_TEST_FAILURE]: failed running beforeEach hook
at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/parsed-statement.test.js:55:7)
at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/parsed-statement.test.js:23:5)
at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/parsed-statement.test.js:22:3) {
failureType: 'hookFailed',
cause: TypeError [Error]: transaction.isWeb is not a function
at ParsedStatement.recordMetrics (/home/runner/work/node-newrelic/node-newrelic/lib/db/parsed-statement.js:27:28)
at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/parsed-statement.test.js:35:12)
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)
at Test.runHook (node:internal/test_runner/test:563:7)
at Test.run (node:internal/test_runner/test:607:9)
at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/parsed-statement.test.js:55:7),
code: 'ERR_TEST_FAILURE'
}
|
Run Unit Tests:
test/unit/parsed-statement.test.js#L35
Error [ERR_TEST_FAILURE]: failed running beforeEach hook
at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/parsed-statement.test.js:60:7)
at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/parsed-statement.test.js:23:5)
at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/parsed-statement.test.js:22:3) {
failureType: 'hookFailed',
cause: TypeError [Error]: transaction.isWeb is not a function
at ParsedStatement.recordMetrics (/home/runner/work/node-newrelic/node-newrelic/lib/db/parsed-statement.js:27:28)
at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/parsed-statement.test.js:35:12)
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)
at Test.runHook (node:internal/test_runner/test:563:7)
at Test.run (node:internal/test_runner/test:607:9)
at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/parsed-statement.test.js:60:7),
code: 'ERR_TEST_FAILURE'
}
|
Run Unit Tests:
test/unit/parsed-statement.test.js#L35
Error [ERR_TEST_FAILURE]: failed running beforeEach hook
at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/parsed-statement.test.js:65:7)
at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/parsed-statement.test.js:23:5)
at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/parsed-statement.test.js:22:3) {
failureType: 'hookFailed',
cause: TypeError [Error]: transaction.isWeb is not a function
at ParsedStatement.recordMetrics (/home/runner/work/node-newrelic/node-newrelic/lib/db/parsed-statement.js:27:28)
at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/parsed-statement.test.js:35:12)
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)
at Test.runHook (node:internal/test_runner/test:563:7)
at Test.run (node:internal/test_runner/test:607:9)
at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/parsed-statement.test.js:65:7),
code: 'ERR_TEST_FAILURE'
}
|
Run Unit Tests:
test/unit/parsed-statement.test.js#L35
Error [ERR_TEST_FAILURE]: failed running beforeEach hook
at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/parsed-statement.test.js:70:7)
at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/parsed-statement.test.js:23:5)
at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/parsed-statement.test.js:22:3) {
failureType: 'hookFailed',
cause: TypeError [Error]: transaction.isWeb is not a function
at ParsedStatement.recordMetrics (/home/runner/work/node-newrelic/node-newrelic/lib/db/parsed-statement.js:27:28)
at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/parsed-statement.test.js:35:12)
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)
at Test.runHook (node:internal/test_runner/test:563:7)
at Test.run (node:internal/test_runner/test:607:9)
at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/parsed-statement.test.js:70:7),
code: 'ERR_TEST_FAILURE'
}
|
Run Unit Tests:
test/unit/parsed-statement.test.js#L35
Error [ERR_TEST_FAILURE]: failed running beforeEach hook
at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/parsed-statement.test.js:75:7)
at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/parsed-statement.test.js:23:5)
at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/parsed-statement.test.js:22:3) {
failureType: 'hookFailed',
cause: TypeError [Error]: transaction.isWeb is not a function
at ParsedStatement.recordMetrics (/home/runner/work/node-newrelic/node-newrelic/lib/db/parsed-statement.js:27:28)
at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/parsed-statement.test.js:35:12)
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)
at Test.runHook (node:internal/test_runner/test:563:7)
at Test.run (node:internal/test_runner/test:607:9)
at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/parsed-statement.test.js:75:7),
code: 'ERR_TEST_FAILURE'
}
|
Run Unit Tests:
test/unit/parsed-statement.test.js#L35
Error [ERR_TEST_FAILURE]: failed running beforeEach hook
at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/parsed-statement.test.js:80:7)
at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/parsed-statement.test.js:23:5)
at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/parsed-statement.test.js:22:3) {
failureType: 'hookFailed',
cause: TypeError [Error]: transaction.isWeb is not a function
at ParsedStatement.recordMetrics (/home/runner/work/node-newrelic/node-newrelic/lib/db/parsed-statement.js:27:28)
at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/parsed-statement.test.js:35:12)
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)
at Test.runHook (node:internal/test_runner/test:563:7)
at Test.run (node:internal/test_runner/test:607:9)
at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/parsed-statement.test.js:80:7),
code: 'ERR_TEST_FAILURE'
}
|
Run Unit Tests:
test/unit/parsed-statement.test.js#L35
Error [ERR_TEST_FAILURE]: failed running beforeEach hook
at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/parsed-statement.test.js:85:7)
at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/parsed-statement.test.js:23:5)
at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/parsed-statement.test.js:22:3) {
failureType: 'hookFailed',
cause: TypeError [Error]: transaction.isWeb is not a function
at ParsedStatement.recordMetrics (/home/runner/work/node-newrelic/node-newrelic/lib/db/parsed-statement.js:27:28)
at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/parsed-statement.test.js:35:12)
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)
at Test.runHook (node:internal/test_runner/test:563:7)
at Test.run (node:internal/test_runner/test:607:9)
at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/parsed-statement.test.js:85:7),
code: 'ERR_TEST_FAILURE'
}
|
Run Unit Tests:
test/unit/parsed-statement.test.js#L103
Error [ERR_TEST_FAILURE]: failed running beforeEach hook
at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/parsed-statement.test.js:113:7)
at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/parsed-statement.test.js:91:5)
at async TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/parsed-statement.test.js:22:3) {
failureType: 'hookFailed',
cause: TypeError [Error]: transaction.isWeb is not a function
at ParsedStatement.recordMetrics (/home/runner/work/node-newrelic/node-newrelic/lib/db/parsed-statement.js:27:28)
at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/parsed-statement.test.js:103:12)
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)
at Test.runHook (node:internal/test_runner/test:563:7)
at Test.run (node:internal/test_runner/test:607:9)
at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/parsed-statement.test.js:113:7),
code: 'ERR_TEST_FAILURE'
}
|
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 ✅: 4299
Failed ❌: 89
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 19
Duration 🕐: 62531.281ms
|
Loading