Skip to content

wasi: fix up wasi tests for ibmi - #49953

Merged
nodejs-github-bot merged 2 commits into
nodejs:mainfrom
mhdawson:fixuvwasi-ibmi
Oct 4, 2023
Merged

wasi: fix up wasi tests for ibmi#49953
nodejs-github-bot merged 2 commits into
nodejs:mainfrom
mhdawson:fixuvwasi-ibmi

Conversation

@mhdawson

Copy link
Copy Markdown
Member

ibmi now reports os400 instead of aix

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/wasi

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

Copy link
Copy Markdown
MemberAuthor

@richardlau as discussed.

@richardlaurichardlau added the ibm i Issues and PRs related to the IBM i platform. label Sep 29, 2023
@richardlaurichardlau added the request-ci Add this label to start a Jenkins CI on a PR. label Sep 29, 2023
@github-actionsgithub-actionsBot removed the request-ci Add this label to start a Jenkins CI on a PR. label Sep 29, 2023
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Comment threadtest/wasi/c/readdir.c Outdated
@richardlaurichardlau added request-ci Add this label to start a Jenkins CI on a PR. commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. labels Oct 2, 2023
@github-actionsgithub-actionsBot removed the request-ci Add this label to start a Jenkins CI on a PR. label Oct 2, 2023
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@mhdawson

Copy link
Copy Markdown
MemberAuthor

@richardlau will take another look to figure out what is going on.

@mhdawson

Copy link
Copy Markdown
MemberAuthor

Turns out the problem is that a newer version of the wasi-sdk has changed behaviour. I used the latest which was version 20. The docs dont' say what version was used before. I'll update the PR to fix up to work with wasi-sdk version 20 and to document that is the version which should be used.

@mhdawson

Copy link
Copy Markdown
MemberAuthor

Ok PR updated, I had to make other changes as well due to other behaviour changes in wask-sdk verison 20, so we'll see if the CI is happy across platforms.

ibmi now reports os400 instead of aix
- update platform check in poll to allow for os400
- update wasi-sdk level to 20
- document the level of wasi-sdk used to compile the tests
- remove platform check in readdir test as it does not seem to be
needed with wasi-sdk version 20
- comment out tests for some clocks which are no longer available when
compiling with wasi-sdk level 20. These may be added back after
WebAssembly/wasi-libc#266 is resolved.
Signed-off-by: Michael Dawson <midawson@redhat.com>
@mhdawsonmhdawson added the request-ci Add this label to start a Jenkins CI on a PR. label Oct 3, 2023
@github-actionsgithub-actionsBot removed the request-ci Add this label to start a Jenkins CI on a PR. label Oct 3, 2023
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@richardlau

Copy link
Copy Markdown
Member

Ok PR updated, I had to make other changes as well due to other behaviour changes in wask-sdk verison 20, so we'll see if the CI is happy across platforms.

This looks good sans the linter failure.
FWIW IBM i CI on d7650a3 shows test-wasi now passing 🎉: https://ci.nodejs.org/job/node-test-commit-ibmi/1314/

Signed-off-by: Michael Dawson <midawson@redhat.com>
@mhdawson

Copy link
Copy Markdown
MemberAuthor

Pushed commit to fix linter complaint.

@richardlaurichardlau added the request-ci Add this label to start a Jenkins CI on a PR. label Oct 4, 2023
@github-actionsgithub-actionsBot removed the request-ci Add this label to start a Jenkins CI on a PR. label Oct 4, 2023
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@mhdawson

Copy link
Copy Markdown
MemberAuthor

osx failure looks like a flaky test - created this issue to track it - #50040

@richardlaurichardlau added the commit-queue Add this label to land a pull request using GitHub Actions. label Oct 4, 2023
@nodejs-github-botnodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Oct 4, 2023
@nodejs-github-bot
nodejs-github-bot merged commit 9cb8eb7 into nodejs:mainOct 4, 2023
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Landed in 9cb8eb7

targos pushed a commit that referenced this pull request Nov 11, 2023
ibmi now reports os400 instead of aix
- update platform check in poll to allow for os400
- update wasi-sdk level to 20
- document the level of wasi-sdk used to compile the tests
- remove platform check in readdir test as it does not seem to be
needed with wasi-sdk version 20
- comment out tests for some clocks which are no longer available when
compiling with wasi-sdk level 20. These may be added back after
WebAssembly/wasi-libc#266 is resolved.
Signed-off-by: Michael Dawson <midawson@redhat.com>
PR-URL: #49953
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
@targostargos mentioned this pull request Nov 12, 2023
debadree25 pushed a commit to debadree25/node that referenced this pull request Apr 15, 2024
ibmi now reports os400 instead of aix
- update platform check in poll to allow for os400
- update wasi-sdk level to 20
- document the level of wasi-sdk used to compile the tests
- remove platform check in readdir test as it does not seem to be
needed with wasi-sdk version 20
- comment out tests for some clocks which are no longer available when
compiling with wasi-sdk level 20. These may be added back after
WebAssembly/wasi-libc#266 is resolved.
Signed-off-by: Michael Dawson <midawson@redhat.com>
PR-URL: nodejs#49953
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

commit-queue-squashAdd this label to instruct the Commit Queue to squash all the PR commits into the first one.ibm iIssues and PRs related to the IBM i platform.needs-ciPRs that need a full CI run.testIssues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@mhdawson@nodejs-github-bot@richardlau@lpinca@anonrig