Open Bug 1556807 Opened 6 years ago Updated 4 years ago

wpt wasm\jsapi\constructor\instantiate.any.js fails in some configurations

Categories

(Core :: JavaScript: WebAssembly, defect, P3)

defect

Tracking

()

People

(Reporter: jgraham, Unassigned)

References

(Blocks 1 open bug)

Details

I'm having to disable this on import to avoid permafails, since I don't think I have any way to set different expectations for different SM configurations (this is a problem).

See https://treeherder.mozilla.org/#/jobs?repo=try&collapsedPushes=449972&selectedJob=248927636&revision=8d93b0211384785fe162e10ebe8c9ffe6ebf6b88

Priority: -- → P3
Severity: normal → S3
Assignee: nobody → lhansen
Status: NEW → ASSIGNED

The log for the old run is inaccessible. Trying to explore this again in https://treeherder.mozilla.org/#/jobs?repo=try&revision=513ee633fab29c07cacc3424236d5e30d7c0e75b but we'll see.

I guess I don't understand what the problem is here. I see that there are failing tests, but I have no clue why they are failing or what the spidermonkey configuration has to do with it. I have a vanilla debug build on Linux, and I see the failures locally, but the harness does not indicate what fails.

Flags: needinfo?(james)

Hmm, I don't know much about the jstests.py output, but you could try running with --log-wptreport wptreport.json which should produce an output file containing any error message. Locally ./jstests.py --wpt enabled --log-wptreport wptreport.json ../build_DBG.OBJ/dist/bin/js wasm/jsapi/constructor/instantiate.any.js passes for me after re-enabling the test (side note: is there a better way to run these tests locally without having to manage the virtualenv by hand?).

Flags: needinfo?(james)

I don't know much about how to run these, so I ended up hacking js/src/build-debug/js/src/Makefile to pass explicit arguments to the test runner so that I could run make check-jstests in js/src/build-debug. And then I do see failures after marking the test as passing in the metafile, but the log output in the console is no more helpful than in the log on treeherder.

Annoyingly I could not get this to run with jstests.py directly because it was complaining about some missing python hg library, presumably what you allude to in your remark about virtualenv (which is something I don't know how to manipulate at all).

I'll see if I can get some logging output as you suggest.

FWIW the way I enable the Python env is something like
jgraham@ginny:~/develop/gecko/js/src/tests$ source ../build_OPT.OBJ/_virtualenvs/init/bin/activate

It really feels like there should be a mach jstest command or something that handles all of this :/

Assignee: lhansen → nobody
Status: ASSIGNED → NEW
Blocks: wasm-wpt
You need to log in before you can comment on or make changes to this bug.