Skip to content

test

test #180

Triggered via push May 14, 2025 16:31
Status Failure
Total duration 16m 5s
Artifacts 3

ci-workflow.yml

on: push
should_run
5s
should_run
Matrix: integration
Matrix: unit
Matrix: versioned-internal
Matrix: ci
Matrix: lint
Matrix: versioned-external
Matrix: codecov
all-clear
0s
all-clear
Fit to window
Zoom out
Zoom in

Annotations

40 errors and 7 notices
lint (lts/*): lib/collector/facts.js#L8
'env' is assigned a value but never used
lint (lts/*)
Process completed with exit code 1.
only agent derived data with gcp: test/unit/collector/facts.test.js#L453
Error [ERR_TEST_FAILURE]: Expected values to be loosely deep-equal: { hostname: 'myotherhost', ip_address: [ '1.2.3.4' ], logical_processors: 8, metadata_version: 5, total_ram_mib: 2048, vendors: [Object: null prototype] { gcp: [Object: null prototype] { id: '3161347020215157123', machineType: 'custom-1-1024', zone: 'us-central1-c' } } } should loosely deep-equal { hostname: 'myotherhost', ip_address: [ '1.2.3.4' ], logical_processors: 8, metadata_version: 5, total_ram_mib: 2048, vendors: { gcp: { id: '3161347020215157123', machineType: 'custom-1-1024', name: 'aef-default-20170501t160547-7gh8', zone: 'us-central1-c' } } } at process.emit (node:events:518:28) { code: 'ERR_TEST_FAILURE', failureType: 'unhandledRejection', cause: AssertionError [ERR_ASSERTION]: Expected values to be loosely deep-equal: { hostname: 'myotherhost', ip_address: [ '1.2.3.4' ], logical_processors: 8, metadata_version: 5, total_ram_mib: 2048, vendors: [Object: null prototype] { gcp: [Object: null prototype] { id: '3161347020215157123', machineType: 'custom-1-1024', zone: 'us-central1-c' } } } should loosely deep-equal { hostname: 'myotherhost', ip_address: [ '1.2.3.4' ], logical_processors: 8, metadata_version: 5, total_ram_mib: 2048, vendors: { gcp: { id: '3161347020215157123', machineType: 'custom-1-1024', name: 'aef-default-20170501t160547-7gh8', zone: 'us-central1-c' } } } at /home/runner/work/node-newrelic/node-newrelic/test/unit/collector/facts.test.js:453:16 at facts (/home/runner/work/node-newrelic/node-newrelic/lib/collector/facts.js:102:3) { generatedMessage: true, code: 'ERR_ASSERTION', actual: { metadata_version: 5, logical_processors: 8, total_ram_mib: 2048, hostname: 'myotherhost', ip_address: [Array], vendors: [Object] }, expected: { metadata_version: 5, logical_processors: 8, total_ram_mib: 2048, hostname: 'myotherhost', ip_address: [Array], vendors: [Object] }, operator: 'deepEqual' } }
invalid agent derived data with gcp: test/unit/collector/facts.test.js#L453
Error [ERR_TEST_FAILURE]: Expected values to be loosely deep-equal: { hostname: 'myotherhost', ip_address: [ '1.2.3.4' ], logical_processors: 8, metadata_version: 5, total_ram_mib: 2048, vendors: [Object: null prototype] { gcp: [Object: null prototype] { id: '3161347020215157123', machineType: 'custom-1-1024', zone: 'us-central1-c' } } } should loosely deep-equal { hostname: 'myotherhost', ip_address: [ '1.2.3.4' ], logical_processors: 8, metadata_version: 5, total_ram_mib: 2048 } at process.emit (node:events:518:28) { code: 'ERR_TEST_FAILURE', failureType: 'unhandledRejection', cause: AssertionError [ERR_ASSERTION]: Expected values to be loosely deep-equal: { hostname: 'myotherhost', ip_address: [ '1.2.3.4' ], logical_processors: 8, metadata_version: 5, total_ram_mib: 2048, vendors: [Object: null prototype] { gcp: [Object: null prototype] { id: '3161347020215157123', machineType: 'custom-1-1024', zone: 'us-central1-c' } } } should loosely deep-equal { hostname: 'myotherhost', ip_address: [ '1.2.3.4' ], logical_processors: 8, metadata_version: 5, total_ram_mib: 2048 } at /home/runner/work/node-newrelic/node-newrelic/test/unit/collector/facts.test.js:453:16 at facts (/home/runner/work/node-newrelic/node-newrelic/lib/collector/facts.js:102:3) { generatedMessage: true, code: 'ERR_ASSERTION', actual: { metadata_version: 5, logical_processors: 8, total_ram_mib: 2048, hostname: 'myotherhost', ip_address: [Array], vendors: [Object] }, expected: { metadata_version: 5, logical_processors: 8, total_ram_mib: 2048, hostname: 'myotherhost', ip_address: [Array] }, operator: 'deepEqual' } }
unit (22.x)
Process completed with exit code 1.
only agent derived data with gcp: test/unit/collector/facts.test.js#L453
Error [ERR_TEST_FAILURE]: Expected values to be loosely deep-equal: { hostname: 'myotherhost', ip_address: [ '1.2.3.4' ], logical_processors: 8, metadata_version: 5, total_ram_mib: 2048, vendors: [Object: null prototype] { gcp: [Object: null prototype] { id: '3161347020215157123', machineType: 'custom-1-1024', zone: 'us-central1-c' } } } should loosely deep-equal { hostname: 'myotherhost', ip_address: [ '1.2.3.4' ], logical_processors: 8, metadata_version: 5, total_ram_mib: 2048, vendors: { gcp: { id: '3161347020215157123', machineType: 'custom-1-1024', name: 'aef-default-20170501t160547-7gh8', zone: 'us-central1-c' } } } at process.emit (node:events:517:28) { failureType: 'unhandledRejection', cause: AssertionError [ERR_ASSERTION]: Expected values to be loosely deep-equal: { hostname: 'myotherhost', ip_address: [ '1.2.3.4' ], logical_processors: 8, metadata_version: 5, total_ram_mib: 2048, vendors: [Object: null prototype] { gcp: [Object: null prototype] { id: '3161347020215157123', machineType: 'custom-1-1024', zone: 'us-central1-c' } } } should loosely deep-equal { hostname: 'myotherhost', ip_address: [ '1.2.3.4' ], logical_processors: 8, metadata_version: 5, total_ram_mib: 2048, vendors: { gcp: { id: '3161347020215157123', machineType: 'custom-1-1024', name: 'aef-default-20170501t160547-7gh8', zone: 'us-central1-c' } } } at /home/runner/work/node-newrelic/node-newrelic/test/unit/collector/facts.test.js:453:16 at facts (/home/runner/work/node-newrelic/node-newrelic/lib/collector/facts.js:102:3) { generatedMessage: true, code: 'ERR_ASSERTION', actual: { metadata_version: 5, logical_processors: 8, total_ram_mib: 2048, hostname: 'myotherhost', ip_address: [Array], vendors: [Object] }, expected: { metadata_version: 5, logical_processors: 8, total_ram_mib: 2048, hostname: 'myotherhost', ip_address: [Array], vendors: [Object] }, operator: 'deepEqual' }, code: 'ERR_TEST_FAILURE' }
utilization facts: test/unit/collector/facts.test.js#L271
Error [ERR_TEST_FAILURE]: Promise resolution is still pending but the event loop has already resolved at process.emit (node:events:517:28) { failureType: 'cancelledByParent', cause: 'Promise resolution is still pending but the event loop has already resolved', code: 'ERR_TEST_FAILURE' }
boot id facts: test/unit/collector/facts.test.js#L499
Error [ERR_TEST_FAILURE]: Promise resolution is still pending but the event loop has already resolved at process.emit (node:events:517:28) { failureType: 'cancelledByParent', cause: 'Promise resolution is still pending but the event loop has already resolved', code: 'ERR_TEST_FAILURE' }
display_host facts: test/unit/collector/facts.test.js#L620
Error [ERR_TEST_FAILURE]: Promise resolution is still pending but the event loop has already resolved at process.emit (node:events:517:28) { failureType: 'cancelledByParent', cause: 'Promise resolution is still pending but the event loop has already resolved', code: 'ERR_TEST_FAILURE' }
unit (18.x)
Process completed with exit code 1.
only agent derived data with gcp: test/unit/collector/facts.test.js#L453
Error [ERR_TEST_FAILURE]: Expected values to be loosely deep-equal: { hostname: 'myotherhost', ip_address: [ '1.2.3.4' ], logical_processors: 8, metadata_version: 5, total_ram_mib: 2048, vendors: [Object: null prototype] { gcp: [Object: null prototype] { id: '3161347020215157123', machineType: 'custom-1-1024', zone: 'us-central1-c' } } } should loosely deep-equal { hostname: 'myotherhost', ip_address: [ '1.2.3.4' ], logical_processors: 8, metadata_version: 5, total_ram_mib: 2048, vendors: { gcp: { id: '3161347020215157123', machineType: 'custom-1-1024', name: 'aef-default-20170501t160547-7gh8', zone: 'us-central1-c' } } } at process.emit (node:events:524:28) { code: 'ERR_TEST_FAILURE', failureType: 'unhandledRejection', cause: AssertionError [ERR_ASSERTION]: Expected values to be loosely deep-equal: { hostname: 'myotherhost', ip_address: [ '1.2.3.4' ], logical_processors: 8, metadata_version: 5, total_ram_mib: 2048, vendors: [Object: null prototype] { gcp: [Object: null prototype] { id: '3161347020215157123', machineType: 'custom-1-1024', zone: 'us-central1-c' } } } should loosely deep-equal { hostname: 'myotherhost', ip_address: [ '1.2.3.4' ], logical_processors: 8, metadata_version: 5, total_ram_mib: 2048, vendors: { gcp: { id: '3161347020215157123', machineType: 'custom-1-1024', name: 'aef-default-20170501t160547-7gh8', zone: 'us-central1-c' } } } at /home/runner/work/node-newrelic/node-newrelic/test/unit/collector/facts.test.js:453:16 at facts (/home/runner/work/node-newrelic/node-newrelic/lib/collector/facts.js:102:3) { generatedMessage: true, code: 'ERR_ASSERTION', actual: { metadata_version: 5, logical_processors: 8, total_ram_mib: 2048, hostname: 'myotherhost', ip_address: [Array], vendors: [Object] }, expected: { metadata_version: 5, logical_processors: 8, total_ram_mib: 2048, hostname: 'myotherhost', ip_address: [Array], vendors: [Object] }, operator: 'deepEqual' } }
invalid agent derived data with gcp: test/unit/collector/facts.test.js#L453
Error [ERR_TEST_FAILURE]: Expected values to be loosely deep-equal: { hostname: 'myotherhost', ip_address: [ '1.2.3.4' ], logical_processors: 8, metadata_version: 5, total_ram_mib: 2048, vendors: [Object: null prototype] { gcp: [Object: null prototype] { id: '3161347020215157123', machineType: 'custom-1-1024', zone: 'us-central1-c' } } } should loosely deep-equal { hostname: 'myotherhost', ip_address: [ '1.2.3.4' ], logical_processors: 8, metadata_version: 5, total_ram_mib: 2048 } at process.emit (node:events:524:28) { code: 'ERR_TEST_FAILURE', failureType: 'unhandledRejection', cause: AssertionError [ERR_ASSERTION]: Expected values to be loosely deep-equal: { hostname: 'myotherhost', ip_address: [ '1.2.3.4' ], logical_processors: 8, metadata_version: 5, total_ram_mib: 2048, vendors: [Object: null prototype] { gcp: [Object: null prototype] { id: '3161347020215157123', machineType: 'custom-1-1024', zone: 'us-central1-c' } } } should loosely deep-equal { hostname: 'myotherhost', ip_address: [ '1.2.3.4' ], logical_processors: 8, metadata_version: 5, total_ram_mib: 2048 } at /home/runner/work/node-newrelic/node-newrelic/test/unit/collector/facts.test.js:453:16 at facts (/home/runner/work/node-newrelic/node-newrelic/lib/collector/facts.js:102:3) { generatedMessage: true, code: 'ERR_ASSERTION', actual: { metadata_version: 5, logical_processors: 8, total_ram_mib: 2048, hostname: 'myotherhost', ip_address: [Array], vendors: [Object] }, expected: { metadata_version: 5, logical_processors: 8, total_ram_mib: 2048, hostname: 'myotherhost', ip_address: [Array] }, operator: 'deepEqual' } }
unit (20.x)
Process completed with exit code 1.
pricing system-info gcp: test/integration/utilization/system-info.test.js#L164
Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'gcp') at process.emit (node:events:517:28) { failureType: 'unhandledRejection', cause: TypeError [Error]: Cannot read properties of undefined (reading 'gcp') at fetchSystemInfoCb (/home/runner/work/node-newrelic/node-newrelic/test/integration/utilization/system-info.test.js:164:41) at fetchSystemInfo (/home/runner/work/node-newrelic/node-newrelic/lib/system-info.js:183:3), code: 'ERR_TEST_FAILURE' }
pricing system-info pcf: test/integration/utilization/system-info.test.js#L143
[Error [ERR_TEST_FAILURE]: Only one agent at a time! This one was created at:] { failureType: 'testCodeFailure', cause: Error: Only one agent at a time! This one was created at: at Object.loadMockedAgent (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:91:22) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/integration/utilization/system-info.test.js:143:24) at Test.runInAsyncScope (node:async_hooks:203:9) at Test.run (node:internal/test_runner/test:618:21) at async Test.processPendingSubtests (node:internal/test_runner/test:374:7), code: 'ERR_TEST_FAILURE' }
pricing system-info docker: test/integration/utilization/system-info.test.js#L143
[Error [ERR_TEST_FAILURE]: Only one agent at a time! This one was created at:] { failureType: 'testCodeFailure', cause: Error: Only one agent at a time! This one was created at: at Object.loadMockedAgent (/home/runner/work/node-newrelic/node-newrelic/test/lib/agent_helper.js:91:22) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/integration/utilization/system-info.test.js:143:24) at Test.runInAsyncScope (node:async_hooks:203:9) at Test.run (node:internal/test_runner/test:618:21) at async Test.processPendingSubtests (node:internal/test_runner/test:374:7), code: 'ERR_TEST_FAILURE' }
machine type, id, zone, name are all happy: test/integration/utilization/vendor-info-tests.js#L74
Error [ERR_TEST_FAILURE]: should not error getting data at process.emit (node:events:517:28) { failureType: 'uncaughtException', cause: AssertionError [ERR_ASSERTION]: should not error getting data at /home/runner/work/node-newrelic/node-newrelic/test/integration/utilization/vendor-info-tests.js:74:16 at getMetadata (/home/runner/work/node-newrelic/node-newrelic/lib/utilization/gcp-info.js:42:16) at OverriddenClientRequest.requestError (/home/runner/work/node-newrelic/node-newrelic/lib/utilization/common.js:107:5) at OverriddenClientRequest.emit (node:events:517:28) at /home/runner/work/node-newrelic/node-newrelic/node_modules/nock/lib/intercepted_request_router.js:108:11 at process.processTicksAndRejections (node:internal/process/task_queues:77:11) { generatedMessage: false, code: 'ERR_ASSERTION', actual: false, expected: true, operator: '==' }, code: 'ERR_TEST_FAILURE' }
pricing gcp info: test/integration/utilization/gcp-info.test.js#L10
Error [ERR_TEST_FAILURE]: Promise resolution is still pending but the event loop has already resolved at process.emit (node:events:517:28) { failureType: 'cancelledByParent', cause: 'Promise resolution is still pending but the event loop has already resolved', code: 'ERR_TEST_FAILURE' }
integration (18.x)
Process completed with exit code 1.
pricing system-info gcp: test/integration/utilization/system-info.test.js#L164
Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'gcp') at process.emit (node:events:524:28) { code: 'ERR_TEST_FAILURE', failureType: 'unhandledRejection', cause: TypeError [Error]: Cannot read properties of undefined (reading 'gcp') at fetchSystemInfoCb (/home/runner/work/node-newrelic/node-newrelic/test/integration/utilization/system-info.test.js:164:41) at fetchSystemInfo (/home/runner/work/node-newrelic/node-newrelic/lib/system-info.js:183:3) }
machine type, id, zone, name are all happy: test/integration/utilization/vendor-info-tests.js#L74
Error [ERR_TEST_FAILURE]: should not error getting data at process.emit (node:events:524:28) { code: 'ERR_TEST_FAILURE', failureType: 'uncaughtException', cause: AssertionError [ERR_ASSERTION]: should not error getting data at /home/runner/work/node-newrelic/node-newrelic/test/integration/utilization/vendor-info-tests.js:74:16 at getMetadata (/home/runner/work/node-newrelic/node-newrelic/lib/utilization/gcp-info.js:42:16) at OverriddenClientRequest.requestError (/home/runner/work/node-newrelic/node-newrelic/lib/utilization/common.js:107:5) at OverriddenClientRequest.emit (node:events:524:28) at /home/runner/work/node-newrelic/node-newrelic/node_modules/nock/lib/intercepted_request_router.js:108:11 at process.processTicksAndRejections (node:internal/process/task_queues:77:11) { generatedMessage: false, code: 'ERR_ASSERTION', actual: false, expected: true, operator: '==' } }
machine type with invalid characters: test/integration/utilization/vendor-info-tests.js#L80
Error [ERR_TEST_FAILURE]: should have correct metric call count (Supportability/utilization/gcp/error) at process.emit (node:events:524:28) { code: 'ERR_TEST_FAILURE', failureType: 'uncaughtException', cause: AssertionError [ERR_ASSERTION]: should have correct metric call count (Supportability/utilization/gcp/error) at /home/runner/work/node-newrelic/node-newrelic/test/integration/utilization/common.js:21:12 at Array.forEach (<anonymous>) at checkMetrics (/home/runner/work/node-newrelic/node-newrelic/test/integration/utilization/common.js:19:32) at /home/runner/work/node-newrelic/node-newrelic/test/integration/utilization/vendor-info-tests.js:80:7 at getMetadata (/home/runner/work/node-newrelic/node-newrelic/lib/utilization/gcp-info.js:42:16) at OverriddenClientRequest.requestError (/home/runner/work/node-newrelic/node-newrelic/lib/utilization/common.js:107:5) at OverriddenClientRequest.emit (node:events:524:28) at /home/runner/work/node-newrelic/node-newrelic/node_modules/nock/lib/intercepted_request_router.js:108:11 at process.processTicksAndRejections (node:internal/process/task_queues:77:11) { generatedMessage: false, code: 'ERR_ASSERTION', actual: 0, expected: 1, operator: '==' } }
machine type too long: test/integration/utilization/vendor-info-tests.js#L80
Error [ERR_TEST_FAILURE]: should have correct metric call count (Supportability/utilization/gcp/error) at process.emit (node:events:524:28) { code: 'ERR_TEST_FAILURE', failureType: 'uncaughtException', cause: AssertionError [ERR_ASSERTION]: should have correct metric call count (Supportability/utilization/gcp/error) at /home/runner/work/node-newrelic/node-newrelic/test/integration/utilization/common.js:21:12 at Array.forEach (<anonymous>) at checkMetrics (/home/runner/work/node-newrelic/node-newrelic/test/integration/utilization/common.js:19:32) at /home/runner/work/node-newrelic/node-newrelic/test/integration/utilization/vendor-info-tests.js:80:7 at getMetadata (/home/runner/work/node-newrelic/node-newrelic/lib/utilization/gcp-info.js:42:16) at OverriddenClientRequest.requestError (/home/runner/work/node-newrelic/node-newrelic/lib/utilization/common.js:107:5) at OverriddenClientRequest.emit (node:events:524:28) at /home/runner/work/node-newrelic/node-newrelic/node_modules/nock/lib/intercepted_request_router.js:108:11 at process.processTicksAndRejections (node:internal/process/task_queues:77:11) { generatedMessage: false, code: 'ERR_ASSERTION', actual: 0, expected: 1, operator: '==' } }
id with invalid characters: test/integration/utilization/vendor-info-tests.js#L80
Error [ERR_TEST_FAILURE]: should have correct metric call count (Supportability/utilization/gcp/error) at process.emit (node:events:524:28) { code: 'ERR_TEST_FAILURE', failureType: 'uncaughtException', cause: AssertionError [ERR_ASSERTION]: should have correct metric call count (Supportability/utilization/gcp/error) at /home/runner/work/node-newrelic/node-newrelic/test/integration/utilization/common.js:21:12 at Array.forEach (<anonymous>) at checkMetrics (/home/runner/work/node-newrelic/node-newrelic/test/integration/utilization/common.js:19:32) at /home/runner/work/node-newrelic/node-newrelic/test/integration/utilization/vendor-info-tests.js:80:7 at getMetadata (/home/runner/work/node-newrelic/node-newrelic/lib/utilization/gcp-info.js:42:16) at OverriddenClientRequest.requestError (/home/runner/work/node-newrelic/node-newrelic/lib/utilization/common.js:107:5) at OverriddenClientRequest.emit (node:events:524:28) at /home/runner/work/node-newrelic/node-newrelic/node_modules/nock/lib/intercepted_request_router.js:108:11 at processTicksAndRejections (node:internal/process/task_queues:77:11) at runNextTicks (node:internal/process/task_queues:64:3) { generatedMessage: false, code: 'ERR_ASSERTION', actual: 0, expected: 1, operator: '==' } }
id too long: test/integration/utilization/vendor-info-tests.js#L80
Error [ERR_TEST_FAILURE]: should have correct metric call count (Supportability/utilization/gcp/error) at process.emit (node:events:524:28) { code: 'ERR_TEST_FAILURE', failureType: 'uncaughtException', cause: AssertionError [ERR_ASSERTION]: should have correct metric call count (Supportability/utilization/gcp/error) at /home/runner/work/node-newrelic/node-newrelic/test/integration/utilization/common.js:21:12 at Array.forEach (<anonymous>) at checkMetrics (/home/runner/work/node-newrelic/node-newrelic/test/integration/utilization/common.js:19:32) at /home/runner/work/node-newrelic/node-newrelic/test/integration/utilization/vendor-info-tests.js:80:7 at getMetadata (/home/runner/work/node-newrelic/node-newrelic/lib/utilization/gcp-info.js:42:16) at OverriddenClientRequest.requestError (/home/runner/work/node-newrelic/node-newrelic/lib/utilization/common.js:107:5) at OverriddenClientRequest.emit (node:events:524:28) at /home/runner/work/node-newrelic/node-newrelic/node_modules/nock/lib/intercepted_request_router.js:108:11 at processTicksAndRejections (node:internal/process/task_queues:77:11) at runNextTicks (node:internal/process/task_queues:64:3) { generatedMessage: false, code: 'ERR_ASSERTION', actual: 0, expected: 1, operator: '==' } }
zone with invalid characters: test/integration/utilization/vendor-info-tests.js#L80
Error [ERR_TEST_FAILURE]: should have correct metric call count (Supportability/utilization/gcp/error) at process.emit (node:events:524:28) { code: 'ERR_TEST_FAILURE', failureType: 'uncaughtException', cause: AssertionError [ERR_ASSERTION]: should have correct metric call count (Supportability/utilization/gcp/error) at /home/runner/work/node-newrelic/node-newrelic/test/integration/utilization/common.js:21:12 at Array.forEach (<anonymous>) at checkMetrics (/home/runner/work/node-newrelic/node-newrelic/test/integration/utilization/common.js:19:32) at /home/runner/work/node-newrelic/node-newrelic/test/integration/utilization/vendor-info-tests.js:80:7 at getMetadata (/home/runner/work/node-newrelic/node-newrelic/lib/utilization/gcp-info.js:42:16) at OverriddenClientRequest.requestError (/home/runner/work/node-newrelic/node-newrelic/lib/utilization/common.js:107:5) at OverriddenClientRequest.emit (node:events:524:28) at /home/runner/work/node-newrelic/node-newrelic/node_modules/nock/lib/intercepted_request_router.js:108:11 at processTicksAndRejections (node:internal/process/task_queues:77:11) at runNextTicks (node:internal/process/task_queues:64:3) { generatedMessage: false, code: 'ERR_ASSERTION', actual: 0, expected: 1, operator: '==' } }
zone too long: test/integration/utilization/vendor-info-tests.js#L80
Error [ERR_TEST_FAILURE]: should have correct metric call count (Supportability/utilization/gcp/error) at process.emit (node:events:524:28) { code: 'ERR_TEST_FAILURE', failureType: 'uncaughtException', cause: AssertionError [ERR_ASSERTION]: should have correct metric call count (Supportability/utilization/gcp/error) at /home/runner/work/node-newrelic/node-newrelic/test/integration/utilization/common.js:21:12 at Array.forEach (<anonymous>) at checkMetrics (/home/runner/work/node-newrelic/node-newrelic/test/integration/utilization/common.js:19:32) at /home/runner/work/node-newrelic/node-newrelic/test/integration/utilization/vendor-info-tests.js:80:7 at getMetadata (/home/runner/work/node-newrelic/node-newrelic/lib/utilization/gcp-info.js:42:16) at OverriddenClientRequest.requestError (/home/runner/work/node-newrelic/node-newrelic/lib/utilization/common.js:107:5) at OverriddenClientRequest.emit (node:events:524:28) at /home/runner/work/node-newrelic/node-newrelic/node_modules/nock/lib/intercepted_request_router.js:108:11 at processTicksAndRejections (node:internal/process/task_queues:77:11) at runNextTicks (node:internal/process/task_queues:64:3) { generatedMessage: false, code: 'ERR_ASSERTION', actual: 0, expected: 1, operator: '==' } }
name with invalid characters: test/integration/utilization/vendor-info-tests.js#L80
Error [ERR_TEST_FAILURE]: should have correct metric call count (Supportability/utilization/gcp/error) at process.emit (node:events:524:28) { code: 'ERR_TEST_FAILURE', failureType: 'uncaughtException', cause: AssertionError [ERR_ASSERTION]: should have correct metric call count (Supportability/utilization/gcp/error) at /home/runner/work/node-newrelic/node-newrelic/test/integration/utilization/common.js:21:12 at Array.forEach (<anonymous>) at checkMetrics (/home/runner/work/node-newrelic/node-newrelic/test/integration/utilization/common.js:19:32) at /home/runner/work/node-newrelic/node-newrelic/test/integration/utilization/vendor-info-tests.js:80:7 at getMetadata (/home/runner/work/node-newrelic/node-newrelic/lib/utilization/gcp-info.js:42:16) at OverriddenClientRequest.requestError (/home/runner/work/node-newrelic/node-newrelic/lib/utilization/common.js:107:5) at OverriddenClientRequest.emit (node:events:524:28) at /home/runner/work/node-newrelic/node-newrelic/node_modules/nock/lib/intercepted_request_router.js:108:11 at processTicksAndRejections (node:internal/process/task_queues:77:11) at runNextTicks (node:internal/process/task_queues:64:3) { generatedMessage: false, code: 'ERR_ASSERTION', actual: 0, expected: 1, operator: '==' } }
name too long: test/integration/utilization/vendor-info-tests.js#L80
Error [ERR_TEST_FAILURE]: should have correct metric call count (Supportability/utilization/gcp/error) at process.emit (node:events:524:28) { code: 'ERR_TEST_FAILURE', failureType: 'uncaughtException', cause: AssertionError [ERR_ASSERTION]: should have correct metric call count (Supportability/utilization/gcp/error) at /home/runner/work/node-newrelic/node-newrelic/test/integration/utilization/common.js:21:12 at Array.forEach (<anonymous>) at checkMetrics (/home/runner/work/node-newrelic/node-newrelic/test/integration/utilization/common.js:19:32) at /home/runner/work/node-newrelic/node-newrelic/test/integration/utilization/vendor-info-tests.js:80:7 at getMetadata (/home/runner/work/node-newrelic/node-newrelic/lib/utilization/gcp-info.js:42:16) at OverriddenClientRequest.requestError (/home/runner/work/node-newrelic/node-newrelic/lib/utilization/common.js:107:5) at OverriddenClientRequest.emit (node:events:524:28) at /home/runner/work/node-newrelic/node-newrelic/node_modules/nock/lib/intercepted_request_router.js:108:11 at processTicksAndRejections (node:internal/process/task_queues:77:11) at runNextTicks (node:internal/process/task_queues:64:3) { generatedMessage: false, code: 'ERR_ASSERTION', actual: 0, expected: 1, operator: '==' } }
pricing system-info gcp: test/integration/utilization/system-info.test.js#L164
Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'gcp') at process.emit (node:events:518:28) { code: 'ERR_TEST_FAILURE', failureType: 'unhandledRejection', cause: TypeError [Error]: Cannot read properties of undefined (reading 'gcp') at fetchSystemInfoCb (/home/runner/work/node-newrelic/node-newrelic/test/integration/utilization/system-info.test.js:164:41) at fetchSystemInfo (/home/runner/work/node-newrelic/node-newrelic/lib/system-info.js:183:3) }
machine type, id, zone, name are all happy: test/integration/utilization/vendor-info-tests.js#L74
Error [ERR_TEST_FAILURE]: should not error getting data at process.emit (node:events:518:28) { code: 'ERR_TEST_FAILURE', failureType: 'uncaughtException', cause: AssertionError [ERR_ASSERTION]: should not error getting data at /home/runner/work/node-newrelic/node-newrelic/test/integration/utilization/vendor-info-tests.js:74:16 at getMetadata (/home/runner/work/node-newrelic/node-newrelic/lib/utilization/gcp-info.js:42:16) at OverriddenClientRequest.requestError (/home/runner/work/node-newrelic/node-newrelic/lib/utilization/common.js:107:5) at OverriddenClientRequest.emit (node:events:518:28) at /home/runner/work/node-newrelic/node-newrelic/node_modules/nock/lib/intercepted_request_router.js:108:11 at process.processTicksAndRejections (node:internal/process/task_queues:85:11) { generatedMessage: false, code: 'ERR_ASSERTION', actual: false, expected: true, operator: '==' } }
machine type with invalid characters: test/integration/utilization/vendor-info-tests.js#L80
Error [ERR_TEST_FAILURE]: should have correct metric call count (Supportability/utilization/gcp/error) at process.emit (node:events:518:28) { code: 'ERR_TEST_FAILURE', failureType: 'uncaughtException', cause: AssertionError [ERR_ASSERTION]: should have correct metric call count (Supportability/utilization/gcp/error) at /home/runner/work/node-newrelic/node-newrelic/test/integration/utilization/common.js:21:12 at Array.forEach (<anonymous>) at checkMetrics (/home/runner/work/node-newrelic/node-newrelic/test/integration/utilization/common.js:19:32) at /home/runner/work/node-newrelic/node-newrelic/test/integration/utilization/vendor-info-tests.js:80:7 at getMetadata (/home/runner/work/node-newrelic/node-newrelic/lib/utilization/gcp-info.js:42:16) at OverriddenClientRequest.requestError (/home/runner/work/node-newrelic/node-newrelic/lib/utilization/common.js:107:5) at OverriddenClientRequest.emit (node:events:518:28) at /home/runner/work/node-newrelic/node-newrelic/node_modules/nock/lib/intercepted_request_router.js:108:11 at process.processTicksAndRejections (node:internal/process/task_queues:85:11) { generatedMessage: false, code: 'ERR_ASSERTION', actual: 0, expected: 1, operator: '==' } }
machine type too long: test/integration/utilization/vendor-info-tests.js#L80
Error [ERR_TEST_FAILURE]: should have correct metric call count (Supportability/utilization/gcp/error) at process.emit (node:events:518:28) { code: 'ERR_TEST_FAILURE', failureType: 'uncaughtException', cause: AssertionError [ERR_ASSERTION]: should have correct metric call count (Supportability/utilization/gcp/error) at /home/runner/work/node-newrelic/node-newrelic/test/integration/utilization/common.js:21:12 at Array.forEach (<anonymous>) at checkMetrics (/home/runner/work/node-newrelic/node-newrelic/test/integration/utilization/common.js:19:32) at /home/runner/work/node-newrelic/node-newrelic/test/integration/utilization/vendor-info-tests.js:80:7 at getMetadata (/home/runner/work/node-newrelic/node-newrelic/lib/utilization/gcp-info.js:42:16) at OverriddenClientRequest.requestError (/home/runner/work/node-newrelic/node-newrelic/lib/utilization/common.js:107:5) at OverriddenClientRequest.emit (node:events:518:28) at /home/runner/work/node-newrelic/node-newrelic/node_modules/nock/lib/intercepted_request_router.js:108:11 at process.processTicksAndRejections (node:internal/process/task_queues:85:11) { generatedMessage: false, code: 'ERR_ASSERTION', actual: 0, expected: 1, operator: '==' } }
id with invalid characters: test/integration/utilization/vendor-info-tests.js#L80
Error [ERR_TEST_FAILURE]: should have correct metric call count (Supportability/utilization/gcp/error) at process.emit (node:events:518:28) { code: 'ERR_TEST_FAILURE', failureType: 'uncaughtException', cause: AssertionError [ERR_ASSERTION]: should have correct metric call count (Supportability/utilization/gcp/error) at /home/runner/work/node-newrelic/node-newrelic/test/integration/utilization/common.js:21:12 at Array.forEach (<anonymous>) at checkMetrics (/home/runner/work/node-newrelic/node-newrelic/test/integration/utilization/common.js:19:32) at /home/runner/work/node-newrelic/node-newrelic/test/integration/utilization/vendor-info-tests.js:80:7 at getMetadata (/home/runner/work/node-newrelic/node-newrelic/lib/utilization/gcp-info.js:42:16) at OverriddenClientRequest.requestError (/home/runner/work/node-newrelic/node-newrelic/lib/utilization/common.js:107:5) at OverriddenClientRequest.emit (node:events:518:28) at /home/runner/work/node-newrelic/node-newrelic/node_modules/nock/lib/intercepted_request_router.js:108:11 at processTicksAndRejections (node:internal/process/task_queues:85:11) at runNextTicks (node:internal/process/task_queues:69:3) { generatedMessage: false, code: 'ERR_ASSERTION', actual: 0, expected: 1, operator: '==' } }
id too long: test/integration/utilization/vendor-info-tests.js#L80
Error [ERR_TEST_FAILURE]: should have correct metric call count (Supportability/utilization/gcp/error) at process.emit (node:events:518:28) { code: 'ERR_TEST_FAILURE', failureType: 'uncaughtException', cause: AssertionError [ERR_ASSERTION]: should have correct metric call count (Supportability/utilization/gcp/error) at /home/runner/work/node-newrelic/node-newrelic/test/integration/utilization/common.js:21:12 at Array.forEach (<anonymous>) at checkMetrics (/home/runner/work/node-newrelic/node-newrelic/test/integration/utilization/common.js:19:32) at /home/runner/work/node-newrelic/node-newrelic/test/integration/utilization/vendor-info-tests.js:80:7 at getMetadata (/home/runner/work/node-newrelic/node-newrelic/lib/utilization/gcp-info.js:42:16) at OverriddenClientRequest.requestError (/home/runner/work/node-newrelic/node-newrelic/lib/utilization/common.js:107:5) at OverriddenClientRequest.emit (node:events:518:28) at /home/runner/work/node-newrelic/node-newrelic/node_modules/nock/lib/intercepted_request_router.js:108:11 at processTicksAndRejections (node:internal/process/task_queues:85:11) at runNextTicks (node:internal/process/task_queues:69:3) { generatedMessage: false, code: 'ERR_ASSERTION', actual: 0, expected: 1, operator: '==' } }
zone with invalid characters: test/integration/utilization/vendor-info-tests.js#L80
Error [ERR_TEST_FAILURE]: should have correct metric call count (Supportability/utilization/gcp/error) at process.emit (node:events:518:28) { code: 'ERR_TEST_FAILURE', failureType: 'uncaughtException', cause: AssertionError [ERR_ASSERTION]: should have correct metric call count (Supportability/utilization/gcp/error) at /home/runner/work/node-newrelic/node-newrelic/test/integration/utilization/common.js:21:12 at Array.forEach (<anonymous>) at checkMetrics (/home/runner/work/node-newrelic/node-newrelic/test/integration/utilization/common.js:19:32) at /home/runner/work/node-newrelic/node-newrelic/test/integration/utilization/vendor-info-tests.js:80:7 at getMetadata (/home/runner/work/node-newrelic/node-newrelic/lib/utilization/gcp-info.js:42:16) at OverriddenClientRequest.requestError (/home/runner/work/node-newrelic/node-newrelic/lib/utilization/common.js:107:5) at OverriddenClientRequest.emit (node:events:518:28) at /home/runner/work/node-newrelic/node-newrelic/node_modules/nock/lib/intercepted_request_router.js:108:11 at processTicksAndRejections (node:internal/process/task_queues:85:11) at runNextTicks (node:internal/process/task_queues:69:3) { generatedMessage: false, code: 'ERR_ASSERTION', actual: 0, expected: 1, operator: '==' } }
zone too long: test/integration/utilization/vendor-info-tests.js#L80
Error [ERR_TEST_FAILURE]: should have correct metric call count (Supportability/utilization/gcp/error) at process.emit (node:events:518:28) { code: 'ERR_TEST_FAILURE', failureType: 'uncaughtException', cause: AssertionError [ERR_ASSERTION]: should have correct metric call count (Supportability/utilization/gcp/error) at /home/runner/work/node-newrelic/node-newrelic/test/integration/utilization/common.js:21:12 at Array.forEach (<anonymous>) at checkMetrics (/home/runner/work/node-newrelic/node-newrelic/test/integration/utilization/common.js:19:32) at /home/runner/work/node-newrelic/node-newrelic/test/integration/utilization/vendor-info-tests.js:80:7 at getMetadata (/home/runner/work/node-newrelic/node-newrelic/lib/utilization/gcp-info.js:42:16) at OverriddenClientRequest.requestError (/home/runner/work/node-newrelic/node-newrelic/lib/utilization/common.js:107:5) at OverriddenClientRequest.emit (node:events:518:28) at /home/runner/work/node-newrelic/node-newrelic/node_modules/nock/lib/intercepted_request_router.js:108:11 at processTicksAndRejections (node:internal/process/task_queues:85:11) at runNextTicks (node:internal/process/task_queues:69:3) { generatedMessage: false, code: 'ERR_ASSERTION', actual: 0, expected: 1, operator: '==' } }
name with invalid characters: test/integration/utilization/vendor-info-tests.js#L80
Error [ERR_TEST_FAILURE]: should have correct metric call count (Supportability/utilization/gcp/error) at process.emit (node:events:518:28) { code: 'ERR_TEST_FAILURE', failureType: 'uncaughtException', cause: AssertionError [ERR_ASSERTION]: should have correct metric call count (Supportability/utilization/gcp/error) at /home/runner/work/node-newrelic/node-newrelic/test/integration/utilization/common.js:21:12 at Array.forEach (<anonymous>) at checkMetrics (/home/runner/work/node-newrelic/node-newrelic/test/integration/utilization/common.js:19:32) at /home/runner/work/node-newrelic/node-newrelic/test/integration/utilization/vendor-info-tests.js:80:7 at getMetadata (/home/runner/work/node-newrelic/node-newrelic/lib/utilization/gcp-info.js:42:16) at OverriddenClientRequest.requestError (/home/runner/work/node-newrelic/node-newrelic/lib/utilization/common.js:107:5) at OverriddenClientRequest.emit (node:events:518:28) at /home/runner/work/node-newrelic/node-newrelic/node_modules/nock/lib/intercepted_request_router.js:108:11 at processTicksAndRejections (node:internal/process/task_queues:85:11) at runNextTicks (node:internal/process/task_queues:69:3) { generatedMessage: false, code: 'ERR_ASSERTION', actual: 0, expected: 1, operator: '==' } }
name too long: test/integration/utilization/vendor-info-tests.js#L80
Error [ERR_TEST_FAILURE]: should have correct metric call count (Supportability/utilization/gcp/error) at process.emit (node:events:518:28) { code: 'ERR_TEST_FAILURE', failureType: 'uncaughtException', cause: AssertionError [ERR_ASSERTION]: should have correct metric call count (Supportability/utilization/gcp/error) at /home/runner/work/node-newrelic/node-newrelic/test/integration/utilization/common.js:21:12 at Array.forEach (<anonymous>) at checkMetrics (/home/runner/work/node-newrelic/node-newrelic/test/integration/utilization/common.js:19:32) at /home/runner/work/node-newrelic/node-newrelic/test/integration/utilization/vendor-info-tests.js:80:7 at getMetadata (/home/runner/work/node-newrelic/node-newrelic/lib/utilization/gcp-info.js:42:16) at OverriddenClientRequest.requestError (/home/runner/work/node-newrelic/node-newrelic/lib/utilization/common.js:107:5) at OverriddenClientRequest.emit (node:events:518:28) at /home/runner/work/node-newrelic/node-newrelic/node_modules/nock/lib/intercepted_request_router.js:108:11 at processTicksAndRejections (node:internal/process/task_queues:85:11) at runNextTicks (node:internal/process/task_queues:69:3) { generatedMessage: false, code: 'ERR_ASSERTION', actual: 0, expected: 1, operator: '==' } }
all-clear
Process completed with exit code 1.
ci (lts/*)
Total Tests: 35 Suites 📂: 0 Passed ✅: 35 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 562.538ms
unit (22.x)
Total Tests: 4638 Suites 📂: 0 Passed ✅: 4613 Failed ❌: 3 Canceled 🚫: 0 Skipped ⏭️: 3 Todo 📝: 19 Duration 🕐: 56591.426ms
unit (18.x)
Total Tests: 4616 Suites 📂: 0 Passed ✅: 4593 Failed ❌: 1 Canceled 🚫: 3 Skipped ⏭️: 0 Todo 📝: 19 Duration 🕐: 58366.042ms
unit (20.x)
Total Tests: 4638 Suites 📂: 0 Passed ✅: 4613 Failed ❌: 3 Canceled 🚫: 0 Skipped ⏭️: 3 Todo 📝: 19 Duration 🕐: 62613.896ms
integration (18.x)
Total Tests: 702 Suites 📂: 0 Passed ✅: 692 Failed ❌: 4 Canceled 🚫: 1 Skipped ⏭️: 5 Todo 📝: 0 Duration 🕐: 113872.321ms
integration (20.x)
Total Tests: 714 Suites 📂: 0 Passed ✅: 694 Failed ❌: 15 Canceled 🚫: 0 Skipped ⏭️: 5 Todo 📝: 0 Duration 🕐: 122198.934ms
integration (22.x)
Total Tests: 714 Suites 📂: 0 Passed ✅: 695 Failed ❌: 15 Canceled 🚫: 0 Skipped ⏭️: 4 Todo 📝: 0 Duration 🕐: 134264.717ms

Artifacts

Produced during runtime
Name Size Digest
versioned-tests-18.x Expired
159 KB
sha256:76c4e0c9989a0a1346426b5158013ea3c865c891e705bae8d8ceb3d2e1e5a533
versioned-tests-20.x Expired
159 KB
sha256:e1bf8cb7489d9546cec988bb531f163237dccba9db46d12951510b6d07a95838
versioned-tests-22.x Expired
159 KB
sha256:18e82790f6af9d4fb6f4d4a0797e0c6380bd92d8f012abf9f5bd26b0e572dd7d