You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Uncaught exception in shader execution tests: #3157
I was running with the run-cts chrome tool in the dawn repo. This should run very similarly to the telemetry runner, except I'm also trapping and printing uncaught execptions (like this one).
There's a bunch of changes that I'm going to push for review (likely Monday), which simplifies the usage of this tool. I'd recommend waiting until that's landed, and then to repro should be a one-liner.
Thanks! I think I see what the problem is: Prior to my refactor a pipeline creation failure would have simply returned an invalid pipeline and the test would catch the unexpected validation failure at the end, but now those errors are only surfaced via promise rejection. I likely just need to catch that and explicitly fail the test when it happens, but I'd like to know that I can repro the problem before I land that as a fix.
I'll sketch out the code I think will resolve it and wait till Monday-ish to test it against your changes.
Activity
toji commentedon Nov 10, 2023
What device are you seeing this on and how are you running the tests in order to provoke it? (In browser, node, etc?) I'm having trouble repro-ing.
ben-clayton commentedon Nov 10, 2023
Thanks for looking.
I was running with the
run-cts chrometool in the dawn repo. This should run very similarly to the telemetry runner, except I'm also trapping and printing uncaught execptions (like this one).There's a bunch of changes that I'm going to push for review (likely Monday), which simplifies the usage of this tool. I'd recommend waiting until that's landed, and then to repro should be a one-liner.
toji commentedon Nov 10, 2023
Thanks! I think I see what the problem is: Prior to my refactor a pipeline creation failure would have simply returned an invalid pipeline and the test would catch the unexpected validation failure at the end, but now those errors are only surfaced via promise rejection. I likely just need to catch that and explicitly fail the test when it happens, but I'd like to know that I can repro the problem before I land that as a fix.
I'll sketch out the code I think will resolve it and wait till Monday-ish to test it against your changes.