Skip to content

Investigate flaky test-module-loading-globalpaths with --worker on #22228

Description

@joyeecheung

Reason: parallel/test-module-loading-globalpaths
Type: JS_TEST_FAILURE
Failed PR: 5 (#21857, #22209, #22020, #22152, #22212)
Appeared: test-packetnet-ubuntu1604-x64-2

In the latest 100 CI runs:
First CI: https://ci.nodejs.org/job/node-test-pull-request/16260/
Last CI: https://ci.nodejs.org/job/node-test-pull-request/16304/

All appeared in node-test-commit-custom-suites (with --worker on)

Example:

URL https://ci.nodejs.org/job/node-test-commit-custom-suites/default/581/console
Type JS_TEST_FAILURE
Built On test-packetnet-ubuntu1604-x64-2
Reason
not ok 1267 parallel/test-module-loading-globalpaths
---
duration_ms: 34.654
severity: fail
exitcode: 1
stack: |-
internal/modules/cjs/loader.js:583
throw err;
^
Error: Cannot find module 'foo'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
at Function.Module._load (internal/modules/cjs/loader.js:507:25)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:20:18)
at Object.<anonymous> (/home/iojs/build/workspace/node-test-commit-custom-suites@3/default/test/parallel/test-module-loading-globalpaths.js:15:15)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
events.js:173
throw err; // Unhandled 'error' event
^
Error [ERR_UNHANDLED_ERROR]: Unhandled error. ({ Error: spawnSync /home/iojs/node-tmp/.tmp.1/install/bin/node ENOENT
at Object.spawnSync (internal/child_process.js:982:20)
at spawnSync (child_process.js:587:24)
at Object.execFileSync (child_process.js:615:13)
at Object.<anonymous> (/home/iojs/build/workspace/node-test-commit-custom-suites@3/default/test/parallel/test-module-loading-globalpaths.js:100:31)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:742:12)
errno: 'ENOENT',
code: 'ENOENT',
syscall: 'spawnSync /home/iojs/node-tmp/.tmp.1/install/bin/node',
path: '/home/iojs/node-tmp/.tmp.1/install/bin/node',
spawnargs:
[ '/home/iojs/build/workspace/node-test-commit-custom-suites@3/default/test/fixtures/test-module-loading-globalpaths/local-pkg/test.js' ],
error: [Circular],
status: null,
signal: null,
output: null,
pid: 4777,
stdout: null,
stderr: null })
at Worker.emit (events.js:171:17)
at Worker.[kOnErrorMessage] (internal/worker.js:296:10)
at Worker.[kOnMessage] (internal/worker.js:306:37)
at MessagePort.Worker.(anonymous function).on (internal/worker.js:243:57)
at MessagePort.emit (events.js:182:13)
at MessagePort.onmessage (internal/worker.js:66:8)
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    flaky-testIssues and PRs related to the tests with unstable failures on the CI.moduleIssues and PRs related to the module subsystem.testIssues and PRs related to the tests.workerIssues and PRs related to Worker support.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions