Closed
Bug 1214194
Opened 10 years ago
Closed 10 years ago
[taskcluster mochitest] CalledProcessError: Command '['/usr/bin/pactl', 'list', 'short', 'modules']' returned non-zero exit status 1
Categories
(Taskcluster Graveyard :: Docker Images, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1214809
People
(Reporter: ahal, Unassigned)
References
Details
See:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=6210c226e2e0
All mochitests fail with the following traceback *after* tests have finished running:
> 133 INFO TEST-START | Shutdown
> 134 INFO Passed: 203
> 135 INFO Failed: 0
> 136 INFO Todo: 1
> 137 INFO Slowest: 11610ms - /tests/docshell/test/navigation/test_sessionhistory.html
> 138 INFO SimpleTest FINISHED
> 139 INFO TEST-INFO | Ran 1 Loops
> 140 INFO SimpleTest FINISHED
> dir: docshell/test
> Setting pipeline to PAUSED ...
> Pipeline is PREROLLING ...
> Pipeline is PREROLLED ...
> Setting pipeline to PLAYING ...
> New clock: GstSystemClock
> Got EOS from element "pipeline0".
> Execution ended after 32890840 ns.
> Setting pipeline to PAUSED ...
> Setting pipeline to READY ...
> Setting pipeline to NULL ...
> Freeing pipeline ...
> Connection failure: Connection refused
> pa_context_connect() failed: Connection refused
> Traceback (most recent call last):
> File "/home/worker/build/tests/mochitest/runtests.py", line 2627, in <module>
> sys.exit(cli())
> File "/home/worker/build/tests/mochitest/runtests.py", line 2624, in cli
> return run_test_harness(options)
> File "/home/worker/build/tests/mochitest/runtests.py", line 2601, in run_test_harness
> result = runner.runTests(options)
> File "/home/worker/build/tests/mochitest/runtests.py", line 2111, in runTests
> result = self.runMochitests(options, tests_in_dir, onLaunch)
> File "/home/worker/build/tests/mochitest/runtests.py", line 2037, in runMochitests
> result = self.doTests(options, onLaunch, testsToRun)
> File "/home/worker/build/tests/mochitest/runtests.py", line 2157, in doTests
> devices = findTestMediaDevices(self.log)
> File "/home/worker/build/tests/mochitest/runtests.py", line 1188, in findTestMediaDevices
> if not sine_source_loaded():
> File "/home/worker/build/tests/mochitest/runtests.py", line 1185, in sine_source_loaded
> ['/usr/bin/pactl', 'list', 'short', 'modules'])
> File "/usr/lib/python2.7/subprocess.py", line 544, in check_output
> raise CalledProcessError(retcode, cmd, output=output)
> subprocess.CalledProcessError: Command '['/usr/bin/pactl', 'list', 'short', 'modules']' returned non-zero exit status 1
Notice the tests actually run, and mostly even pass from what I've seen. It would be nice to fix the root cause of this, but if we need to, I think we could work around it in the harness as it happens on shutdown and doesn't seem to affect the actual running of the tests.
Comment 1•10 years ago
|
||
It'd be nice to only rely on pulseaudio for those tests where it's needed. It's turning out to be kind of a squirrely piece of software. Also, it's rather hard to run a docker container locally that needs audio.
Comment 2•10 years ago
|
||
This is from bug 815002, FWIW. We only need pactl for Mochitest, we use it to configure a fake audio source for testing.
![]() |
||
Comment 3•10 years ago
|
||
Andrew -- with Dustin's fix in bug 1214809 are things working?
Flags: needinfo?(ahalberstadt)
Reporter | ||
Comment 4•10 years ago
|
||
Here's the latest push based on the new image, just saw these results this morning:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=dd1bef62a00a
Still getting these errors it seems:
> 21:39:19 INFO - 0 ERROR Couldn't find a v4l2loopback video device
> 21:39:19 INFO - 1 ERROR Could not find test media devices to use
But that's not related to this bug. We basically decided to punt on this error for the time being, and disable the tests that require pactl.
Flags: needinfo?(ahalberstadt)
Reporter | ||
Comment 5•10 years ago
|
||
Looks like this particular issue has been fixed by bug 1214809.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
Updated•7 years ago
|
Product: Taskcluster → Taskcluster Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•