wip: wired up context manager, and segment synthesis #3695
Annotations
5 errors and 1 notice
|
Run Smoke Tests:
test/smoke/s3-presigned-url.test.js#L16
Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'warn')
at AsyncResource.runInAsyncScope (node:async_hooks:206:9) {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: Cannot read properties of undefined (reading 'warn')
at setupOtel (/home/runner/work/node-newrelic/node-newrelic/lib/otel/setup.js:13:18)
at Object.bootstrapInstrumentation (/home/runner/work/node-newrelic/node-newrelic/lib/shimmer.js:398:5)
at helper.instrumentMockedAgent (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:169:11)
at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/smoke/s3-presigned-url.test.js:16:24)
at Test.runInAsyncScope (node:async_hooks:206:9)
at Test.run (node:internal/test_runner/test:783:21)
at Test.processPendingSubtests (node:internal/test_runner/test:527:18)
at node:internal/test_runner/harness:255:12
at node:internal/process/task_queues:140:7
at AsyncResource.runInAsyncScope (node:async_hooks:206:9)
}
|
Run Smoke Tests:
test/smoke/client-s3.test.js#L18
[Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'warn')] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: Cannot read properties of undefined (reading 'warn')
at setupOtel (/home/runner/work/node-newrelic/node-newrelic/lib/otel/setup.js:13:18)
at Object.bootstrapInstrumentation (/home/runner/work/node-newrelic/node-newrelic/lib/shimmer.js:398:5)
at helper.instrumentMockedAgent (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:169:11)
at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/smoke/client-s3.test.js:18:24)
at Test.runInAsyncScope (node:async_hooks:206:9)
at Test.run (node:internal/test_runner/test:796:25)
at Test.processPendingSubtests (node:internal/test_runner/test:527:18)
at node:internal/test_runner/harness:255:12
at node:internal/process/task_queues:140:7
at AsyncResource.runInAsyncScope (node:async_hooks:206:9)
}
|
Run Smoke Tests:
test/smoke/index/index.test.js#L19
Error [ERR_TEST_FAILURE]: Got unwanted exception: just loading the agent doesn't throw
Actual message: "Cannot read properties of undefined (reading '_state')"
at AsyncResource.runInAsyncScope (node:async_hooks:206:9) {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Got unwanted exception: just loading the agent doesn't throw
Actual message: "Cannot read properties of undefined (reading '_state')"
at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/smoke/index/index.test.js:19:10)
at Test.runInAsyncScope (node:async_hooks:206:9)
at Test.run (node:internal/test_runner/test:783:21)
at Test.processPendingSubtests (node:internal/test_runner/test:527:18)
at node:internal/test_runner/harness:255:12
at node:internal/process/task_queues:140:7
at AsyncResource.runInAsyncScope (node:async_hooks:206:9)
at AsyncResource.runMicrotask (node:internal/process/task_queues:137:8) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: TypeError: Cannot read properties of undefined (reading '_state')
at /home/runner/work/node-newrelic/node-newrelic/test/smoke/index/index.test.js:22:24
at getActual (node:assert:498:5)
at Function.doesNotThrow (node:assert:664:32)
at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/smoke/index/index.test.js:19:10)
at Test.runInAsyncScope (node:async_hooks:206:9)
at Test.run (node:internal/test_runner/test:783:21)
at Test.processPendingSubtests (node:internal/test_runner/test:527:18)
at node:internal/test_runner/harness:255:12
at node:internal/process/task_queues:140:7
at AsyncResource.runInAsyncScope (node:async_hooks:206:9),
expected: undefined,
operator: 'doesNotThrow'
}
}
|
Run Smoke Tests
Process completed with exit code 1.
|
Run Smoke Tests
Total Tests: 22
Suites 📂: 0
Passed ✅: 19
Failed ❌: 3
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 7622.183ms
|
Loading