-
Notifications
You must be signed in to change notification settings - Fork 960
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
Automated tests fail on Mac OS 10.13 #4632
Comments
There are two issues here:
|
For comparison here's the same test run on trunk (last commit Nov 04) |
Looking at the logs we get the following errors:
|
Seems to be: from https://developer.apple.com/metal/Metal-Shading-Language-Specification.pdf But it's unclear if this limitation has been lifted in some of the newer Metal versions since we haven't gotten any other reports of this. https://developer.apple.com/forums/thread/665272 is asking the same thing. |
Upgraded to 1d4fa81 to get PR #4643 and reran tests |
Any chance you can try this again on trunk? |
Hello,
I saw no failures but a number of timeouts on the larger benchmarks (I somewhat suspect that these were real timeouts because the laptop is slow). But then… Somewhere around 220/473 ("Renderpass: Single Threaded/1 renderpasses x 10000 draws (RenderPass Time)") the entire laptop became unresponsive. I could move the cursor freely I could not activate the dock, or select text, or move windows or menus, I could not ctrl-C or bring up the force quit dialog. I had to longpress the power to get it to accept the reboot command. When this happened, the bottom of the test display was frozen at "Running [ 00:08:36] … 220/473: 4 running, 209 passed (2 slow), 2 failed, 9 timed out, 0 skipped". (I saw a lot more than two "slow"s in the scroll. The only two "fails" i noticed were a 90 second timeout that was for some reason listed as TERMINATING, and another that ended as SIGABRT at 47.162. When I rebooted I found Terminal had saved a complete backscroll. It seems possible to me that you either have a bug, or tickled a bug in Apple's drivers, which caused one stresstest test to terminate abnormally with a SIGABRT and another to lock up the machine. However I think what is more likely is that because you are intentionally running many tests at the same time, you used up all the RAM. The machine only has 8GB. I am happy to try the test again, but before I do, is there a way to force the test runner to limit itself to one test at a time, and/or to extend the timeouts for my poor decade-old integrated GPU's sake? ¹ hg-git. don't worry about it |
Thanks! So to run one at a time you can pass |
I bumped to 21ff968 . I had a somewhat substantial number of failures:
And unlike yesterday, the failures did not look spurious. I'm not certain, but I think some of the ones that failed were ones that were passing yesterday. 2024-12-16-1103-xtask-test.txt Let me know if you need anything else. |
Nice, thanks, that's all we need for now! |
Last time I checked (early Summer) wgpu was informally supported on MacOS back to 10.13. This made me happy as I am trying to maintain one machine on 10.13. I asked today in the wgpu Matrix what would have to happen for wgpu to formally ("documented in README") support MacOS back to 10.13. cwfitzgerald said at minimum we would need to successfully run
cargo xtask test
on 10.13. I volunteered to try this.I installed nextest, checked out the 0.18.0 tag and ran the test command. Nearly all tests failed, including basic tests like test_api. This was a surprise to me, to the extent I suspect something is wrong with the test runner, because on the same machine (MacBookPro12,1 with integrated Intel Iris Graphics 6100, macOS 10.13.6 17G14042) I can successfully run any wgpu examples I like (for example, hello-triangle).
Expected behavior: Unless you have made a conscious decision to stop supporting 10.13, the tests should work on 10.13
0.18.TEST.TXT
The text was updated successfully, but these errors were encountered: