Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: make test-worker-esm-missing-main more robust #27340

Closed
wants to merge 1 commit into from

Conversation

Trott
Copy link
Member

@Trott Trott commented Apr 22, 2019

test-worker-esm-missing-main failed in CI recently in a way that
suggests that maybe the does-not-exist.js file did in fact exist.
Maybe that isn't what happened at all, but let's rule it out by changing
the use of does-not-exist.js from a file expected to be missing from
the current working directory to a file in the temp directory, which the
test will remove and recreate at the outset.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

test-worker-esm-missing-main failed in CI recently in a way that
suggests that maybe the `does-not-exist.js` file did in fact exist.
Maybe that isn't what happened at all, but let's rule it out by changing
the use of `does-not-exist.js` from a file expected to be missing from
the current working directory to a file in the temp directory, which the
test will remove and recreate at the outset.
@nodejs-github-bot nodejs-github-bot added the test Issues and PRs related to the tests. label Apr 22, 2019
@nodejs-github-bot
Copy link
Collaborator

@Trott
Copy link
Member Author

Trott commented Apr 22, 2019

Ref: https://ci.nodejs.org/job/node-test-commit-aix/22707/nodes=aix61-ppc64/console

00:19:40 not ok 2201 parallel/test-worker-esm-missing-main
00:19:40   ---
00:19:40   duration_ms: 1.226
00:19:40   severity: fail
00:19:40   exitcode: 1
00:19:40   stack: |-
00:19:40     Mismatched <anonymous> function calls. Expected exactly 1, actual 0.
00:19:40         at Object.mustCall (/home/iojs/build/workspace/node-test-commit-aix/nodes/aix61-ppc64/test/common/index.js:339:10)
00:19:40         at Object.<anonymous> (/home/iojs/build/workspace/node-test-commit-aix/nodes/aix61-ppc64/test/parallel/test-worker-esm-missing-main.js:10:27)
00:19:40         at Module._compile (internal/modules/cjs/loader.js:759:30)
00:19:40         at Object.Module._extensions..js (internal/modules/cjs/loader.js:770:10)
00:19:40         at Module.load (internal/modules/cjs/loader.js:628:32)
00:19:40         at Function.Module._load (internal/modules/cjs/loader.js:555:12)
00:19:40         at Function.Module.runMain (internal/modules/cjs/loader.js:826:10)
00:19:40         at internal/main/run_main_module.js:17:11
00:19:40   ...

@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

nodejs-github-bot commented Apr 22, 2019

@Trott Trott added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Apr 23, 2019
@Trott
Copy link
Member Author

Trott commented Apr 24, 2019

Landed in 9b982fe

@Trott Trott closed this Apr 24, 2019
Trott added a commit to Trott/io.js that referenced this pull request Apr 24, 2019
test-worker-esm-missing-main failed in CI recently in a way that
suggests that maybe the `does-not-exist.js` file did in fact exist.
Maybe that isn't what happened at all, but let's rule it out by changing
the use of `does-not-exist.js` from a file expected to be missing from
the current working directory to a file in the temp directory, which the
test will remove and recreate at the outset.

PR-URL: nodejs#27340
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
targos pushed a commit that referenced this pull request Apr 27, 2019
test-worker-esm-missing-main failed in CI recently in a way that
suggests that maybe the `does-not-exist.js` file did in fact exist.
Maybe that isn't what happened at all, but let's rule it out by changing
the use of `does-not-exist.js` from a file expected to be missing from
the current working directory to a file in the temp directory, which the
test will remove and recreate at the outset.

PR-URL: #27340
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
@targos targos mentioned this pull request Apr 27, 2019
@Trott Trott deleted the missing-esm branch January 13, 2022 22:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
author ready PRs that have at least one approval, no pending requests for changes, and a CI started. test Issues and PRs related to the tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants