FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

test: use spawnSyncAndExitWithoutError in sea tests by joyeecheung · Pull Request #49543 · nodejs/node · GitHub

/ node Public

test: use spawnSyncAndExitWithoutError in sea tests - #49543

Closed
joyeecheung wants to merge 2 commits into
nodejs:mainfrom
joyeecheung:sea-snapshot-test
Closed

test: use spawnSyncAndExitWithoutError in sea tests#49543
joyeecheung wants to merge 2 commits into
nodejs:mainfrom
joyeecheung:sea-snapshot-test

Conversation

joyeecheung commented Sep 7, 2023
edited
Loading

Copy link
Copy Markdown
Member

test: use spawnSyncAndExitWithoutError in test/common/sea.js

To display more information when the command fails.

test: use spawnSyncAndExitWithoutError in sea tests

To display more information when the command fails.

Refs: nodejs/reliability#658

To display more information when the command fails.
To display more information when the command fails.

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/single-executable

nodejs-github-bot added needs-ci PRs that need a full CI run. test Issues and PRs related to the tests. labels Sep 7, 2023

joyeecheung commented Sep 7, 2023
edited
Loading

Copy link
Copy Markdown
Member Author

By the way, the two tests are flaky in the CI but all we know is that postject aborted cc @RaisinTen (I see that there are output to stdout too, which execFileSync won't show for failed processes, but spawnSyncAndExitWithoutError would, hence the change)

not ok 943 sequential/test-single-executable-application-snapshot-and-code-cache
  ---
  duration_ms: 21301.53500
  severity: fail
  exitcode: 1
  stack: |-
    Aborted()
    node:child_process:929
        throw err;
        ^
    
    Error: Command failed: C:\workspace\node-test-binary-windows-js-suites\node\Release\node.exe C:\workspace\node-test-binary-windows-js-suites\node\test\fixtures\postject-copy\node_modules\postject\dist\cli.js C:\workspace\node-test-binary-windows-js-suites\node\test\.tmp.942\sea.exe NODE_SEA_BLOB C:\workspace\node-test-binary-windows-js-suites\node\test\.tmp.942\sea-prep.blob --sentinel-fuse NODE_SEA_FUSE_fce680ab2cc467b6e072b8b5df1996b2
    Aborted()
    
        at checkExecSyncError (node:child_process:890:11)
        at execFileSync (node:child_process:926:15)
        at injectAndCodeSign (C:\workspace\node-test-binary-windows-js-suites\node\test\common\sea.js:48:3)
        at Object.<anonymous> (C:\workspace\node-test-binary-windows-js-suites\node\test\sequential\test-singl...

RaisinTen left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Good idea 👍

Copy link
Copy Markdown
Collaborator

RaisinTen added the author ready PRs that have at least one approval, no outstanding review comments, and a CI started. label Sep 8, 2023

Copy link
Copy Markdown
Collaborator

Copy link
Copy Markdown
Collaborator

joyeecheung added commit-queue Add this label to land a pull request using GitHub Actions. commit-queue-rebase Add this label to allow the Commit Queue to land a PR in several commits. labels Sep 11, 2023
nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Sep 11, 2023

Copy link
Copy Markdown
Collaborator

Landed in dca4d84...65d396b

nodejs-github-bot pushed a commit that referenced this pull request Sep 11, 2023
To display more information when the command fails.

PR-URL: #49543
Refs: nodejs/reliability#658
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
nodejs-github-bot pushed a commit that referenced this pull request Sep 11, 2023
To display more information when the command fails.

PR-URL: #49543
Refs: nodejs/reliability#658
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
ruyadorno pushed a commit that referenced this pull request Sep 28, 2023
To display more information when the command fails.

PR-URL: #49543
Refs: nodejs/reliability#658
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
ruyadorno pushed a commit that referenced this pull request Sep 28, 2023
To display more information when the command fails.

PR-URL: #49543
Refs: nodejs/reliability#658
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
This was referenced Sep 28, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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 outstanding review comments, and a CI started. commit-queue-rebase Add this label to allow the Commit Queue to land a PR in several commits. needs-ci PRs that need a full CI run. test Issues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants


Back | FazBrowse Home | New Git URL