Skip to content

Conversation

huseyinacacak-janea
Copy link
Contributor

After upgrading to Visual Studio v17.9, the test-wasi-poll started failing. Upon investigation, I discovered a bug in V8 and opened a CL in V8: https://chromium-review.googlesource.com/c/v8/v8/+/5438113

Notably, some parts of the poll.wasm (created using poll.c) are unsupported on Windows, as indicated here:

node/test/wasi/c/poll.c

Lines 34 to 36 in 9efc84a

// The rest of the test is unsupported on Windows.
if (is_win)
return 0;

However, the bug in V8 enables these unsupported parts of the test to execute and makes the test fail.
In this PR, I've created a new poll_win.wasm which will only be used on Windows until this bug is fixed upstream and ported to Node.

Fixes: #51822

@nodejs-github-bot
Copy link
Collaborator

Review requested:

  • @nodejs/wasi

@nodejs-github-bot nodejs-github-bot added needs-ci PRs that need a full CI run. test Issues and PRs related to the tests. labels Apr 15, 2024
Copy link
Member

@lpinca lpinca left a comment

Choose a reason for hiding this comment

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

RSLGTM

@lpinca
Copy link
Member

lpinca commented Apr 15, 2024

@nodejs/platform-windows

Copy link
Member

@mhdawson mhdawson left a comment

Choose a reason for hiding this comment

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

LGTM

@mhdawson mhdawson added the request-ci Add this label to start a Jenkins CI on a PR. label Apr 15, 2024
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Apr 15, 2024
@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@richardlau richardlau added the commit-queue Add this label to land a pull request using GitHub Actions. label Apr 17, 2024
@nodejs-github-bot nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Apr 17, 2024
@nodejs-github-bot nodejs-github-bot merged commit b41347e into nodejs:main Apr 17, 2024
@nodejs-github-bot
Copy link
Collaborator

Landed in b41347e

aduh95 pushed a commit that referenced this pull request Apr 29, 2024
PR-URL: #52538
Fixes: #51822
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Michael Dawson <[email protected]>
marco-ippolito pushed a commit that referenced this pull request May 2, 2024
PR-URL: #52538
Fixes: #51822
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Michael Dawson <[email protected]>
marco-ippolito pushed a commit that referenced this pull request May 3, 2024
PR-URL: #52538
Fixes: #51822
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Michael Dawson <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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.

flaky: wasi.test-wasi
5 participants