镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
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)
    ...

Activity

  1. changed the title [-]Investigate flaky test-module-loading-globalpaths in node-test-commit-custom-suites[/-] [+]Investigate flaky test-module-loading-globalpaths with --worker on[/+] on Aug 10, 2018
  2. added
    moduleIssues and PRs related to the module subsystem.
    testIssues and PRs related to Node.js core tests and test infrastructure.
    flaky-testIssues and PRs involving tests that fail intermittently in CI.
    workerIssues and PRs related to the worker_threads module and Worker API.
    on Aug 10, 2018
  3. maclover7 commented on Aug 10, 2018

    @maclover7
    Contributor

    (edited the title to include the bit about --worker)

    cc @addaleax

  4. addaleax commented on Sep 9, 2018

    @addaleax
    Member

    Is this still happening? I didn’t manage to reproduce it so far :/

  5. Trott commented on Nov 26, 2018

    @Trott
    Member

    Unable to find this in the last 100 PR CI runs. Feel free to re-open if I'm wrong to close this, but given the length of time since it's been reported and the lack of activity and reproducibility, it seems like the right thing to do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    flaky-testIssues and PRs involving tests that fail intermittently in CI.moduleIssues and PRs related to the module subsystem.testIssues and PRs related to Node.js core tests and test infrastructure.workerIssues and PRs related to the worker_threads module and Worker API.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions