Spidermonkey bustages at js/src/jit-test/tests/wasm/passive-segs-nonboundary.js - when Gecko 73 merges to Beta on 2020-01-06
Categories
(Core :: JavaScript: WebAssembly, defect, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr68 | --- | unaffected |
firefox71 | --- | unaffected |
firefox72 | --- | unaffected |
firefox73 | + | verified |
People
(Reporter: opoprus, Assigned: lth)
References
(Regression)
Details
(Keywords: regression)
Attachments
(3 files)
[Tracking Requested - why for this release]:
Central as beta simulation: https://treeherder.mozilla.org/#/jobs?repo=try&resultStatus=testfailed%2Cbusted%2Cexception%2Cretry%2Cusercancel%2Crunnable&revision=b9ce17db3ec31fca39cc450f9ce4cc73750462cd&selectedJob=281038041
Log link: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=281038041&repo=try&lineNumber=40363
Lars: this seems to be a regression from Bug 1599125, can you please take a look?
[task 2019-12-13T10:49:07.032Z] TEST-PASS | js/src/jit-test/tests/wasm/passive-segs-boundary.js | Success (code 0, args "--test-wasm-await-tier2") [0.6 s]
[task 2019-12-13T10:49:07.272Z] /builds/worker/workspace/build/src/js/src/jit-test/lib/wasm.js:12:13 CompileError: at offset 100: initializer type must be subtype of element type
[task 2019-12-13T10:49:07.272Z] Stack:
[task 2019-12-13T10:49:07.272Z] wasmEvalText@/builds/worker/workspace/build/src/js/src/jit-test/lib/wasm.js:17:9
[task 2019-12-13T10:49:07.272Z] @/builds/worker/workspace/build/src/js/src/jit-test/tests/wasm/passive-segs-nonboundary.js:358:27
[task 2019-12-13T10:49:07.272Z] Exit code: 3
[task 2019-12-13T10:49:07.272Z] FAIL - wasm/passive-segs-nonboundary.js
[task 2019-12-13T10:49:07.273Z] TEST-UNEXPECTED-FAIL | js/src/jit-test/tests/wasm/passive-segs-nonboundary.js | /builds/worker/workspace/build/src/js/src/jit-test/lib/wasm.js:12:13 CompileError: at offset 100: initializer type must be subtype of element type (code 3, args "") [0.5 s]
[task 2019-12-13T10:49:07.273Z] INFO exit-status : 3
[task 2019-12-13T10:49:07.273Z] INFO timed-out : False
[task 2019-12-13T10:49:07.273Z] INFO stderr 2> /builds/worker/workspace/build/src/js/src/jit-test/lib/wasm.js:12:13 CompileError: at offset 100: initializer type must be subtype of element type
[task 2019-12-13T10:49:07.273Z] INFO stderr 2> Stack:
[task 2019-12-13T10:49:07.273Z] INFO stderr 2> wasmEvalText@/builds/worker/workspace/build/src/js/src/jit-test/lib/wasm.js:17:9
[task 2019-12-13T10:49:07.273Z] INFO stderr 2> @/builds/worker/workspace/build/src/js/src/jit-test/tests/wasm/passive-segs-nonboundary.js:358:27
[task 2019-12-13T10:49:07.284Z] /builds/worker/workspace/build/src/js/src/jit-test/lib/wasm.js:12:13 CompileError: at offset 100: initializer type must be subtype of element type
[task 2019-12-13T10:49:07.284Z] Stack:
[task 2019-12-13T10:49:07.284Z] wasmEvalText@/builds/worker/workspace/build/src/js/src/jit-test/lib/wasm.js:17:9
[task 2019-12-13T10:49:07.284Z] @/builds/worker/workspace/build/src/js/src/jit-test/tests/wasm/passive-segs-nonboundary.js:358:27
[task 2019-12-13T10:49:07.284Z] Exit code: 3
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 2•6 years ago
•
|
||
Oy, what a boondoggle.
There are for sure test cases in wasm/passive-segs-nonboundary.js that should not be there, because they test reference-type functionality, and such tests should be in wasm/gc.
But there are also failures in wasm/spec/binary.wast.js, wasm/spec/bulk.wast.js, and wasm/spec/elem.wast.js. It is possible these have the same problem; TBD.
Assignee | ||
Comment 3•6 years ago
|
||
It looks like, for the wasm/spec tests, they are broken because the latest update was pulled from the bulk memory proposal repo. What I don't understand is why these tests don't break Beta, since the update landed before the last merge day.
Assignee | ||
Comment 4•6 years ago
|
||
Comment 5•6 years ago
|
||
From discussing on irc, I believe that the issue is more fallout from bug 1598377 [1]. It seems that we were mistakenly allowing the spec tests of non-default features to pass, and that commit stopped this. The solution for this is going to be to update the spec tests to only be from the main spec repo (no proposals).
I put together a quick try run here [2]. Unfortunately there's some test failures... The issue is that one of the bulk-memory changes is technically a breaking change. I'm going to file an issue on the repo to try to resolve this upstream.
[1] https://hg.mozilla.org/mozilla-central/rev/9d52a8119f41
[2] https://treeherder.mozilla.org/#/jobs?repo=try&revision=2cec5d520c3bac55bad2df52133355628384e811
Comment 6•6 years ago
|
||
Comment 7•6 years ago
•
|
||
The spidermonkey bustages are still occurring with the patch applied.
https://treeherder.mozilla.org/#/jobs?repo=try&resultStatus=testfailed%2Cbusted%2Cexception&classifiedState=unclassified&revision=d39d7e751ba1bb824e34d9f2435f8a366c182cb1&searchStr=spidermonkey
Failure log https://treeherder.mozilla.org/logviewer.html#?job_id=281249440&repo=try
After backingout Bug 1599125 the bustages stopped occurring .
Assignee | ||
Comment 8•6 years ago
|
||
(In reply to Arthur Iakab [arthur_iakab] from comment #7)
The spidermonkey bustages are still occurring with the patch applied.
Yes, because the patch only fixes some of the errors, namely the first set of errors diagnosed by comment 2. The second set of errors needs a different patch, and since the tests that fail are imported from another repo and need to be autogenerated from that repo, that repo needs to be patched first, see comment 6 for details.
Assignee | ||
Updated•6 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Comment 10•6 years ago
|
||
I'm working on a spec-repo commit we can use to work around this issue while it is figured out upstream.
Comment 11•6 years ago
|
||
Commit passed locally for me, but here's a try run to be sure.
https://treeherder.mozilla.org/#/jobs?repo=try&revision=e999e1b78dbb7d8939337ab856ca95b91fb5fc6c
Comment 12•6 years ago
|
||
This commit updates the spec tests to be based off the main repo with no
proposals.
Two commits are grafted on the branch. The first is a pre-existing commit to
drop a test that isn't valid with a bottom type. The second is a new commit to
allow segment initialization failures to be reported as a runtime or link error.
[1] https://github.com/eqrion/wasm-spec/tree/spidermonkey-tree-tests
[2] https://github.com/eqrion/wasm-spec/commit/f8044be9f7bc2b3c7add51251efc6276c6ce0ce4
[3] https://github.com/eqrion/wasm-spec/commit/b8836785dd82bdcb9fd0f75406fa7418ce7417d2
Comment 13•6 years ago
|
||
Depends on D57335
Comment 14•6 years ago
|
||
bugherder |
Comment 15•6 years ago
|
||
Comment 16•6 years ago
|
||
bugherder |
Assignee | ||
Comment 18•6 years ago
|
||
It does not.
Updated•6 years ago
|
Updated•6 years ago
|
Description
•