wip: started removing segment.transaction references #2017
ci-workflow.yml
on: push
should_run
9s
Matrix: integration
Matrix: unit
Matrix: versioned-internal
Matrix: ci
Matrix: lint
Matrix: versioned-external
Matrix: codecov
all-clear
0s
Annotations
50 errors, 10 warnings, and 13 notices
lint (lts/*):
lib/db/parsed-statement.js#L70
Replace `·segment,·transaction,·type:·this.type.toLowerCase(),·query:·this.raw,·trace:·this.trace` with `⏎······segment,⏎······transaction,⏎······type:·this.type.toLowerCase(),⏎······query:·this.raw,⏎······trace:·this.trace⏎···`
|
lint (lts/*):
lib/instrumentation/aws-sdk/v3/bedrock.js#L165
Replace `·agent,·shim,·segment,·transaction,·bedrockCommand,·bedrockResponse,·err·` with `⏎··agent,⏎··shim,⏎··segment,⏎··transaction,⏎··bedrockCommand,⏎··bedrockResponse,⏎··err⏎`
|
|
lint (lts/*):
lib/instrumentation/core/http-outbound.js#L151
Replace `{·agent,·opts,·makeRequest,·host,·port,·hostname·},·segment,·transaction` with `⏎··{·agent,·opts,·makeRequest,·host,·port,·hostname·},⏎··segment,⏎··transaction⏎`
|
lint (lts/*):
lib/instrumentation/core/http-outbound.js#L160
Replace `·opts,·makeRequest,·hostname,·host,·port,·segment,·config:·agent.config` with `⏎····opts,⏎····makeRequest,⏎····hostname,⏎····host,⏎····port,⏎····segment,⏎····config:·agent.config⏎·`
|
lint (lts/*):
lib/instrumentation/grpc-js/grpc.js#L50
Delete `····`
|
lint (lts/*):
lib/instrumentation/langchain/runnable.js#L191
Replace `·segment,·transaction,·messages,·events,·metadata,·tags,·err,·shim·` with `⏎··segment,⏎··transaction,⏎··messages,⏎··events,⏎··metadata,⏎··tags,⏎··err,⏎··shim⏎`
|
lint (lts/*):
lib/instrumentation/langchain/vectorstore.js#L31
Replace `·request,·k,·output,·agent,·shim,·segment,·transaction,·pkgVersion,·err·` with `⏎··request,⏎··k,⏎··output,⏎··agent,⏎··shim,⏎··segment,⏎··transaction,⏎··pkgVersion,⏎··err⏎`
|
lint (lts/*):
lib/instrumentation/langchain/vectorstore.js#L110
Replace `·request,·k,·output,·agent,·shim,·segment,·transaction,·pkgVersion,·err` with `⏎············request,⏎············k,⏎············output,⏎············agent,⏎············shim,⏎············segment,⏎············transaction,⏎············pkgVersion,⏎············err⏎·········`
|
lint (lts/*):
lib/instrumentation/openai.js#L114
Replace `·agent,·shim,·segment,·request,·response,·err,·transaction·` with `⏎··agent,⏎··shim,⏎··segment,⏎··request,⏎··response,⏎··err,⏎··transaction⏎`
|
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/agent/serverless-harvest.tap.js:
test/integration/agent/serverless-harvest.tap.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
|
integration (22.x)
Process completed with exit code 1.
|
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/agent/serverless-harvest.tap.js:
test/integration/agent/serverless-harvest.tap.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
|
integration (20.x)
Process completed with exit code 1.
|
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/agent/serverless-harvest.tap.js:
test/integration/agent/serverless-harvest.tap.js#L1
[Error: test failed] { failureType: 'testCodeFailure', cause: 'test failed', code: 'ERR_TEST_FAILURE', exitCode: 1, signal: null }
|
integration (18.x)
Process completed with exit code 1.
|
should find 1 scoped metric:
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) {
code: 'ERR_TEST_FAILURE',
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: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)
at Test.runHook (node:internal/test_runner/test:714:7)
at Test.run (node:internal/test_runner/test:765:9)
at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/parsed-statement.test.js:45:7)
}
|
should find 6 unscoped metrics:
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) {
code: 'ERR_TEST_FAILURE',
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: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)
at Test.runHook (node:internal/test_runner/test:714:7)
at Test.run (node:internal/test_runner/test:765:9)
at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/parsed-statement.test.js:50:7)
}
|
should find a scoped metric on the table and operation:
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) {
code: 'ERR_TEST_FAILURE',
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: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)
at Test.runHook (node:internal/test_runner/test:714:7)
at Test.run (node:internal/test_runner/test:765:9)
at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/parsed-statement.test.js:55:7)
}
|
should find an unscoped metric on the table and operation:
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) {
code: 'ERR_TEST_FAILURE',
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: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)
at Test.runHook (node:internal/test_runner/test:714:7)
at Test.run (node:internal/test_runner/test:765:9)
at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/parsed-statement.test.js:60:7)
}
|
should find an unscoped rollup metric on the operation:
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) {
code: 'ERR_TEST_FAILURE',
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: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)
at Test.runHook (node:internal/test_runner/test:714:7)
at Test.run (node:internal/test_runner/test:765:9)
at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/parsed-statement.test.js:65:7)
}
|
should find a database rollup metric:
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) {
code: 'ERR_TEST_FAILURE',
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: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)
at Test.runHook (node:internal/test_runner/test:714:7)
at Test.run (node:internal/test_runner/test:765:9)
at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/parsed-statement.test.js:70:7)
}
|
should find a database rollup metric of type `Other`:
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) {
code: 'ERR_TEST_FAILURE',
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: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)
at Test.runHook (node:internal/test_runner/test:714:7)
at Test.run (node:internal/test_runner/test:765:9)
at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/parsed-statement.test.js:75:7)
}
|
should find a database type rollup metric of type `All`:
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) {
code: 'ERR_TEST_FAILURE',
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: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)
at Test.runHook (node:internal/test_runner/test:714:7)
at Test.run (node:internal/test_runner/test:765:9)
at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/parsed-statement.test.js:80:7)
}
|
should find a database type rollup metric of type `Other`:
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) {
code: 'ERR_TEST_FAILURE',
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: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)
at Test.runHook (node:internal/test_runner/test:714:7)
at Test.run (node:internal/test_runner/test:765:9)
at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/parsed-statement.test.js:85:7)
}
|
should find 1 scoped metric:
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) {
code: 'ERR_TEST_FAILURE',
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: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)
at Test.runHook (node:internal/test_runner/test:714:7)
at Test.run (node:internal/test_runner/test:765:9)
at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/parsed-statement.test.js:113:7)
}
|
should find 1 scoped metric:
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'
}
|
should find 6 unscoped metrics:
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'
}
|
should find a scoped metric on the table and operation:
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'
}
|
should find an unscoped metric on the table and operation:
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'
}
|
should find an unscoped rollup metric on the operation:
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'
}
|
should find a database rollup metric:
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'
}
|
should find a database rollup metric of type `Other`:
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'
}
|
should find a database type rollup metric of type `All`:
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'
}
|
should find a database type rollup metric of type `Other`:
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'
}
|
should find 1 scoped metric:
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'
}
|
should find 1 scoped metric:
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) {
code: 'ERR_TEST_FAILURE',
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: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)
at Test.runHook (node:internal/test_runner/test:847:7)
at Test.run (node:internal/test_runner/test:906:9)
at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/parsed-statement.test.js:45:7)
}
|
should find 6 unscoped metrics:
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) {
code: 'ERR_TEST_FAILURE',
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: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)
at Test.runHook (node:internal/test_runner/test:847:7)
at Test.run (node:internal/test_runner/test:906:9)
at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/parsed-statement.test.js:50:7)
}
|
should find a scoped metric on the table and operation:
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) {
code: 'ERR_TEST_FAILURE',
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: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)
at Test.runHook (node:internal/test_runner/test:847:7)
at Test.run (node:internal/test_runner/test:906:9)
at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/parsed-statement.test.js:55:7)
}
|
should find an unscoped metric on the table and operation:
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) {
code: 'ERR_TEST_FAILURE',
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: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)
at Test.runHook (node:internal/test_runner/test:847:7)
at Test.run (node:internal/test_runner/test:906:9)
at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/parsed-statement.test.js:60:7)
}
|
should find an unscoped rollup metric on the operation:
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) {
code: 'ERR_TEST_FAILURE',
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: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)
at Test.runHook (node:internal/test_runner/test:847:7)
at Test.run (node:internal/test_runner/test:906:9)
at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/parsed-statement.test.js:65:7)
}
|
should find a database rollup metric:
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) {
code: 'ERR_TEST_FAILURE',
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: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)
at Test.runHook (node:internal/test_runner/test:847:7)
at Test.run (node:internal/test_runner/test:906:9)
at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/parsed-statement.test.js:70:7)
}
|
should find a database rollup metric of type `Other`:
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) {
code: 'ERR_TEST_FAILURE',
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: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)
at Test.runHook (node:internal/test_runner/test:847:7)
at Test.run (node:internal/test_runner/test:906:9)
at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/parsed-statement.test.js:75:7)
}
|
should find a database type rollup metric of type `All`:
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) {
code: 'ERR_TEST_FAILURE',
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: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)
at Test.runHook (node:internal/test_runner/test:847:7)
at Test.run (node:internal/test_runner/test:906:9)
at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/parsed-statement.test.js:80:7)
}
|
should find a database type rollup metric of type `Other`:
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) {
code: 'ERR_TEST_FAILURE',
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: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)
at Test.runHook (node:internal/test_runner/test:847:7)
at Test.run (node:internal/test_runner/test:906:9)
at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/parsed-statement.test.js:85:7)
}
|
should find 1 scoped metric:
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) {
code: 'ERR_TEST_FAILURE',
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: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)
at Test.runHook (node:internal/test_runner/test:847:7)
at Test.run (node:internal/test_runner/test:906:9)
at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/unit/parsed-statement.test.js:113:7)
}
|
all-clear
Process completed with exit code 1.
|
lint (lts/*):
api.js#L1551
The type 'getTraceMetadata' is undefined
|
lint (lts/*):
api.js#L1905
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 🕐: 868.646ms
|
integration (22.x)
Total Tests: 66
Suites 📂: 0
Passed ✅: 64
Failed ❌: 2
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 26994.851ms
|
integration (20.x)
Total Tests: 66
Suites 📂: 0
Passed ✅: 64
Failed ❌: 2
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 24917.360ms
|
integration (18.x)
Total Tests: 66
Suites 📂: 0
Passed ✅: 64
Failed ❌: 2
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 29224.269ms
|
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: 4405
Suites 📂: 0
Passed ✅: 4294
Failed ❌: 89
Canceled 🚫: 0
Skipped ⏭️: 3
Todo 📝: 19
Duration 🕐: 59461.004ms
|
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)
Total Tests: 4407
Suites 📂: 0
Passed ✅: 4299
Failed ❌: 89
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 19
Duration 🕐: 62531.281ms
|
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)
Total Tests: 4405
Suites 📂: 0
Passed ✅: 4294
Failed ❌: 89
Canceled 🚫: 0
Skipped ⏭️: 3
Todo 📝: 19
Duration 🕐: 68652.985ms
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
versioned-tests-18.x
|
142 KB |
|
versioned-tests-20.x
|
143 KB |
|
versioned-tests-22.x
|
142 KB |
|