-
-
Notifications
You must be signed in to change notification settings - Fork 34.4k
[v18.x] test, v8: fix wrong import attributes test #52184
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
[v18.x] test, v8: fix wrong import attributes test #52184
Conversation
|
Review requested:
|
|
CI: https://ci.nodejs.org/job/node-test-commit-v8-linux/5864/ Looks like tests are still failing: 21:16:41 === mjsunit/harmony/modules-import-assertions-3 ===
21:16:41 --- stdout ---
21:16:41 undefined:0: Error: d8: Error reading module from /home/iojs/build/workspace/node-test-commit-v8-linux/deps/v8/test/mjsunit/harmony/modules-skip-imports-json-assert-1.mjs
21:16:41 imported by /home/iojs/build/workspace/node-test-commit-v8-linux/deps/v8/test/mjsunit/harmony/modules-import-assertions-3.mjs
21:16:41 Command: /home/iojs/build/workspace/node-test-commit-v8-linux/deps/v8/out.gn/s390x.release/d8 --test /home/iojs/build/workspace/node-test-commit-v8-linux/deps/v8/test/mjsunit/mjsunit.js /home/iojs/build/workspace/node-test-commit-v8-linux/deps/v8/test/mjsunit/harmony/modules-import-assertions-3.mjs --random-seed=-1513086391 --nohard-abort --testing-d8-test-runner --harmony-import-assertions
21:16:41 === mjsunit/harmony/modules-import-assertions-dynamic-5 ===
21:16:41 --- stdout ---
21:16:41 undefined:0: <string conversion failed>
21:16:41
21:16:41
21:16:41 MjsUnitAssertionError
21:16:41 at assertEquals /home/iojs/build/workspace/node-test-commit-v8-linux/deps/v8/test/mjsunit/mjsunit.js 442:7
21:16:41 at /home/iojs/build/workspace/node-test-commit-v8-linux/deps/v8/test/mjsunit/harmony/modules-import-assertions-dynamic-5.mjs 12:1
21:16:41 Command: /home/iojs/build/workspace/node-test-commit-v8-linux/deps/v8/out.gn/s390x.release/d8 --test /home/iojs/build/workspace/node-test-commit-v8-linux/deps/v8/test/mjsunit/mjsunit.js /home/iojs/build/workspace/node-test-commit-v8-linux/deps/v8/test/mjsunit/harmony/modules-import-assertions-dynamic-5.mjs --random-seed=-1513086391 --nohard-abort --testing-d8-test-runner --allow-natives-syntax --harmony-import-assertions
21:16:41 === mjsunit/harmony/modules-import-attributes-3 ===
21:16:41 --- stdout ---
21:16:41 undefined:0: Error: d8: Error reading module from /home/iojs/build/workspace/node-test-commit-v8-linux/deps/v8/test/mjsunit/harmony/modules-skip-imports-json-with-1.mjs
21:16:41 imported by /home/iojs/build/workspace/node-test-commit-v8-linux/deps/v8/test/mjsunit/harmony/modules-import-attributes-3.mjs
21:16:41 Command: /home/iojs/build/workspace/node-test-commit-v8-linux/deps/v8/out.gn/s390x.release/d8 --test /home/iojs/build/workspace/node-test-commit-v8-linux/deps/v8/test/mjsunit/mjsunit.js /home/iojs/build/workspace/node-test-commit-v8-linux/deps/v8/test/mjsunit/harmony/modules-import-attributes-3.mjs --random-seed=-1513086391 --nohard-abort --testing-d8-test-runner --harmony-import-attributes
21:16:41 === mjsunit/harmony/modules-import-attributes-dynamic-5 ===
21:16:41 --- stdout ---
21:16:41 undefined:0: <string conversion failed>
21:16:41
21:16:41
21:16:41 MjsUnitAssertionError
21:16:41 at assertEquals /home/iojs/build/workspace/node-test-commit-v8-linux/deps/v8/test/mjsunit/mjsunit.js 442:7
21:16:41 at /home/iojs/build/workspace/node-test-commit-v8-linux/deps/v8/test/mjsunit/harmony/modules-import-attributes-dynamic-5.mjs 12:1
21:16:41 Command: /home/iojs/build/workspace/node-test-commit-v8-linux/deps/v8/out.gn/s390x.release/d8 --test /home/iojs/build/workspace/node-test-commit-v8-linux/deps/v8/test/mjsunit/mjsunit.js /home/iojs/build/workspace/node-test-commit-v8-linux/deps/v8/test/mjsunit/harmony/modules-import-attributes-dynamic-5.mjs --random-seed=-1513086391 --nohard-abort --testing-d8-test-runner --allow-natives-syntax --harmony-import-attributes
21:16:41
21:16:41 ===
21:16:41 === 4 tests failed
21:16:41 ===
If you're on x64 (or s390x or ppc64le but I suspect not 🙂) you should be able to run export 'VPYTHON_BYPASS=manually managed python not supported by chrome operations'
make -j 88 test-v8 V=1 DESTCPU=x64 ARCH=x64.release ENABLE_V8_TAP=True 'V8_EXTRA_TEST_OPTIONS=--progress=dots --timeout=120 intl' |
|
I had just renamed the files in one way, and updated the import paths in a different one 🤦 (Tests locally are still running) |
|
Ok I run those 4 tests manually (running the full V8 tests suite was taking too long) and they are passing -- could you re-run CI? |
|
Fast-track has been requested by @richardlau. Please 👍 to approve. |
|
BTW the failure on https://ci.nodejs.org/job/node-test-commit-v8-linux/nodes=benchmark-ubuntu2204-intel-64,v8test=v8test/5867/ can be ignored because it’s network issue in the nearform-hosted machine which has been happening for a year? already… |
FWIW I requested a V8 CI run for this PR before approving which passed everywhere: https://ci.nodejs.org/job/node-test-commit-v8-linux/5866/ |
|
Landed in 931d02f. |
Ref #52165 (comment)
@richardlau I believe this fixes it, but I'm not 100% sure because I couldn't figure out how to run V8 tests locally. Do you have any pointers?
I will then submit the same patch to V8.