Closed Bug 1546012 Opened 5 years ago Closed 5 years ago

TestSPSCQueue is very slow on Android x86_64

Categories

(Core :: MFBT, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla68
Tracking Status
firefox68 --- fixed

People

(Reporter: gbrown, Assigned: gbrown)

References

Details

Attachments

(1 file)

+++ This bug was initially created as a clone of Bug #1520241 +++

Just like in bug 1520241, but now for Android, the cppunittest TestSPSCQueue takes so long on the Android x86_64 emulator in continuous integration that it intermittently times out.

https://treeherder.mozilla.org/#/jobs?repo=try&tier=1%2C2%2C3&revision=8be581baec9a0730f1b952c31023505a7c46228e

https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=241457068&repo=try&lineNumber=1551

[task 2019-04-19T17:20:50.862Z] 17:20:50 INFO - TEST-START | TestSPSCQueue
[task 2019-04-19T17:35:50.908Z] 17:35:50 INFO - args: adb wait-for-device shell export MOZ_CRASHREPORTER=1&& export XPCOM_DEBUG_BREAK=stack-and-abort&& export MOZ_XRE_DIR=/data/local/tests/cppunittests/b&& export HOME=/data/local/tests/cppunittests/h&& export MOZ_CRASHREPORTER_NO_REPORT=1&& export LD_LIBRARY_PATH=/data/local/tests/cppunittests/b&& export TMPDIR=/data/local/tests/cppunittests/tmp&& cd /data/local/tests/cppunittests/h && /data/local/tests/cppunittests/b/TestSPSCQueue; echo adb_returncode=$?, exitcode: None, stdout:
[task 2019-04-19T17:35:50.932Z] 17:35:50 ERROR - Return code: 1

Reducing the sleep to 0 on Android results in a dramatic reduction in run time, and the test
passes consistently.

Pushed by gbrown@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4e29ffe20754
Avoid slow sleeps on Android in TestSPSCQueue; r=padenot
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: