TestSPSCQueue is very slow on Android x86_64

RESOLVED FIXED in Firefox 68

Status

()

defect
RESOLVED FIXED
2 months ago
2 months ago

People

(Reporter: gbrown, Assigned: gbrown)

Tracking

unspecified
mozilla68
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(firefox68 fixed)

Details

Attachments

(1 attachment)

+++ 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.

Comment 2

2 months ago
Pushed by gbrown@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4e29ffe20754
Avoid slow sleeps on Android in TestSPSCQueue; r=padenot

Comment 3

2 months ago
bugherder
Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
You need to log in before you can comment on or make changes to this bug.