Closed
Bug 1215257
Opened 9 years ago
Closed 8 years ago
HTML <audio> throws error code 3 (MEDIA_ERR_DECODE) running gaia integration tests in automation
Categories
(Firefox Build System :: Task Configuration, task, P2)
Firefox Build System
Task Configuration
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: justindarc, Unassigned)
References
Details
While tracking down the cause of test failures from the patch in Bug 1149930, it seems that the <audio> element cannot play OGG or MP3 files on Treeherder in the Gaia integration tests for Music. This does not reproduce when running marionette-js locally on Linux unless you specify the `PULSE_AUDIO=":"` flag. If you run the Gaia integration tests for Music with the `PULSE_AUDIO=":"` flag on a local Linux machine, the exact same test failures are reported as on Treeherder.
The only thing the patch in Bug 1149930 does is listens for the 'error' event on the <audio> element and skips ahead to the next song in the queue if it is encountered. When running on Linux with the `PULSE_AUDIO=":"` flag, the 'error' event is thrown for every song played which causes unpredictable state in the integration tests.
Comment 1•9 years ago
|
||
Treeherder is a dashboard for displaying results. It has nothing to do with how said results were created :). Moving this over to the Taskcluster product since it sounds like a machine config issue.
Component: Treeherder → General
Product: Tree Management → Taskcluster
Version: --- → unspecified
Updated•9 years ago
|
Assignee: nobody → aus
Updated•9 years ago
|
Summary: [Treeherder] HTML <audio> throws error code 3 (MEDIA_ERR_DECODE) running gaia integration tests → HTML <audio> throws error code 3 (MEDIA_ERR_DECODE) running gaia integration tests in automation
Comment 2•9 years ago
|
||
See gaia try run here: https://treeherder.mozilla.org/#/jobs?repo=gaia&author=nullaus@github.taskcluster.net
Things looking really good. Will remove :justindarc's commit before pushing.
Comment 3•9 years ago
|
||
What did you change?
I recently discovered in bug 1214809 that pulseaudio doesn't actually start in the taskcluster/tester image. Did you do something to fix that?
Reporter | ||
Comment 4•9 years ago
|
||
(In reply to Aus Lacroix [:aus] from comment #2)
> See gaia try run here:
> https://treeherder.mozilla.org/#/jobs?repo=gaia&author=nullaus@github.
> taskcluster.net
>
> Things looking really good. Will remove :justindarc's commit before pushing.
Looks like Gij11 is still failing.
Comment 5•9 years ago
|
||
(In reply to Aus Lacroix [:aus] from comment #2)
> See gaia try run here:
> https://treeherder.mozilla.org/#/jobs?repo=gaia&author=nullaus@github.
> taskcluster.net
>
> Things looking really good. Will remove :justindarc's commit before pushing.
Actually, still really broken. Trying some other avenues now.
Comment 7•9 years ago
|
||
(In reply to Justin D'Arcangelo [:justindarc] from comment #6)
> Any update here?
I've tried some of the easy fixes to no avail. I am actively working on this but I don't really have an ETA at this time.
Flags: needinfo?(aus)
Updated•9 years ago
|
Status: NEW → ASSIGNED
Comment 8•9 years ago
|
||
These tests are running as root, correct?
If not, I discovered in bug 1214809 that using 'su' to drop root privileges causes pulseaudio to crash docker, and 'sudo -E -u worker' works a lot better.
Updated•9 years ago
|
Priority: P1 → P2
Comment 11•9 years ago
|
||
Sorry Justin, I'm completely swamped, I currently have no idea when I'll get to this.
Flags: needinfo?(aus)
Updated•8 years ago
|
Component: General → Task Configuration
Updated•8 years ago
|
Assignee: aus → nobody
Status: ASSIGNED → NEW
Updated•8 years ago
|
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
Updated•7 years ago
|
Product: TaskCluster → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•