-
Notifications
You must be signed in to change notification settings - Fork 580
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
Concurrent rr recordings behave worse than serialized ones #1905
Comments
Does this run under separate rr processes or multiple children under the same rr process? |
Separate repository processes. |
Sorry, phone autocorrect. rr processes. |
How many cores does your machine have? rr spawns a number of threads to do data compression, so this could easily be explained by that. |
I don't see how. |
I get slightly different results:
|
So |
And I would have expected |
and now I can't reproduce the problem at all :-(.
|
If I remove the timeout-multiplier I can reproduce a timeout. From timestamps in the rr dump I can see the three tests taking 3, 14 and 3 seconds. What is the default timeout value? |
10s, according to https://github.com/w3c/wptrunner/blob/master/wptrunner/wpttest.py#L5. |
It looks to me like |
Exactly none of them, in fact. |
Looks like glibc changes in Fedora 25 are the culprit for that. |
Ah no, it's just that |
That's good to know! |
I'm not sure what provoked your original bug report here. It is possible that when executing multiple tests under rr concurrently, sometimes two tests will be randomly assigned the same CPU which would lengthen the runtime of both tests, meaning that individual test times could increase (compared to running them sequentially) and trigger a timeout, even though overall test throughput should be no worse than running tests sequentially. If you still want to pursue this I suggest modifying the harness to report the run-times of individual tests to give us a better idea of what's going on. |
STR:
./mach build --release
./mach test-wpt --release --chaos --processes 1 tests/wpt/mozilla/tests/mozilla/referrer-policy/no-referrer/http-rp/same-origin/http-http/iframe-tag/
./mach test-wpt --release --chaos --processes 2 tests/wpt/mozilla/tests/mozilla/referrer-policy/no-referrer/http-rp/same-origin/http-http/iframe-tag/
Expected:
The tests should take less time to run, and no unexpected timeouts should be encountered.
Actual:
The text was updated successfully, but these errors were encountered: