Closed Bug 1511986 Opened 7 years ago Closed 4 years ago

Intermittent toolkit/content/tests/browser/browser_block_autoplay_playAfterTabVisible.js | Can't get the audio element! - false == true -

Categories

(Core :: Audio/Video: Playback, defect, P5)

defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: intermittent-failure)

Filed by: dluca [at] mozilla.com https://treeherder.mozilla.org/logviewer.html#?job_id=215398963&repo=autoland https://queue.taskcluster.net/v1/task/GI1Opki7RguxR-0Pxov1LA/runs/0/artifacts/public/logs/live_backing.log [task 2018-12-04T12:43:12.501Z] 12:43:12 INFO - GECKO(11983) | MEMORY STAT | vsize 2039MB | residentFast 282MB | heapAllocated 98MB [task 2018-12-04T12:43:12.502Z] 12:43:12 INFO - TEST-OK | toolkit/content/tests/browser/browser_block_notInTreeAudio.js | took 1719ms [task 2018-12-04T12:43:12.533Z] 12:43:12 INFO - checking window state [task 2018-12-04T12:43:12.554Z] 12:43:12 INFO - TEST-START | toolkit/content/tests/browser/browser_block_playMediaInMuteTab.js [task 2018-12-04T12:43:13.021Z] 12:43:13 INFO - GECKO(11983) | MEMORY STAT | vsize 2043MB | residentFast 285MB | heapAllocated 98MB [task 2018-12-04T12:43:13.022Z] 12:43:13 INFO - TEST-OK | toolkit/content/tests/browser/browser_block_playMediaInMuteTab.js | took 469ms [task 2018-12-04T12:43:13.061Z] 12:43:13 INFO - checking window state [task 2018-12-04T12:43:13.090Z] 12:43:13 INFO - TEST-START | toolkit/content/tests/browser/browser_block_plugIn.js [task 2018-12-04T12:43:13.239Z] 12:43:13 INFO - GECKO(11983) | [Parent 11983, Gecko_IOThread] WARNING: pipe error (204): Connection reset by peer: file /builds/worker/workspace/build/src/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 349 [task 2018-12-04T12:43:13.641Z] 12:43:13 INFO - GECKO(11983) | MEMORY STAT | vsize 2042MB | residentFast 286MB | heapAllocated 100MB [task 2018-12-04T12:43:13.644Z] 12:43:13 INFO - TEST-OK | toolkit/content/tests/browser/browser_block_plugIn.js | took 548ms [task 2018-12-04T12:43:13.664Z] 12:43:13 INFO - checking window state [task 2018-12-04T12:43:13.686Z] 12:43:13 INFO - TEST-START | toolkit/content/tests/browser/browser_block_silentAudioTrack_media.js [task 2018-12-04T12:43:15.571Z] 12:43:15 INFO - GECKO(11983) | MEMORY STAT | vsize 2084MB | residentFast 299MB | heapAllocated 101MB [task 2018-12-04T12:43:15.576Z] 12:43:15 INFO - TEST-OK | toolkit/content/tests/browser/browser_block_silentAudioTrack_media.js | took 1884ms [task 2018-12-04T12:43:15.614Z] 12:43:15 INFO - checking window state [task 2018-12-04T12:43:15.632Z] 12:43:15 INFO - TEST-START | toolkit/content/tests/browser/browser_block_webAudio.js [task 2018-12-04T12:43:16.326Z] 12:43:16 INFO - GECKO(11983) | JavaScript error: , line 0: InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable [task 2018-12-04T12:43:16.355Z] 12:43:16 INFO - GECKO(11983) | MEMORY STAT | vsize 2074MB | residentFast 295MB | heapAllocated 102MB [task 2018-12-04T12:43:16.357Z] 12:43:16 INFO - TEST-OK | toolkit/content/tests/browser/browser_block_webAudio.js | took 732ms [task 2018-12-04T12:43:16.395Z] 12:43:16 INFO - checking window state [task 2018-12-04T12:43:16.412Z] 12:43:16 INFO - TEST-START | toolkit/content/tests/browser/browser_bug1170531.js [task 2018-12-04T12:43:17.864Z] 12:43:17 INFO - GECKO(11983) | MEMORY STAT | vsize 2261MB | residentFast 328MB | heapAllocated 119MB [task 2018-12-04T12:43:17.864Z] 12:43:17 INFO - TEST-OK | toolkit/content/tests/browser/browser_bug1170531.js | took 1459ms
[task 2018-12-04T12:43:08.944Z] 12:43:08 INFO - TEST-START | toolkit/content/tests/browser/browser_block_autoplay_playAfterTabVisible.js [task 2018-12-04T12:43:09.028Z] 12:43:09 INFO - TEST-INFO | started process screentopng [task 2018-12-04T12:43:09.472Z] 12:43:09 INFO - TEST-INFO | screentopng: exit 0 [task 2018-12-04T12:43:09.474Z] 12:43:09 INFO - Buffered messages logged at 12:43:08 [task 2018-12-04T12:43:09.476Z] 12:43:09 INFO - Entering test bound setup_test_preference [task 2018-12-04T12:43:09.477Z] 12:43:09 INFO - Leaving test bound setup_test_preference [task 2018-12-04T12:43:09.478Z] 12:43:09 INFO - Entering test bound media_should_be_able_to_play_in_visible_tab [task 2018-12-04T12:43:09.479Z] 12:43:09 INFO - - open new background tab, and check tab's media pause state - [task 2018-12-04T12:43:09.480Z] 12:43:09 INFO - Buffered messages finished [task 2018-12-04T12:43:09.481Z] 12:43:09 INFO - TEST-UNEXPECTED-FAIL | toolkit/content/tests/browser/browser_block_autoplay_playAfterTabVisible.js | Can't get the audio element! - false == true - [task 2018-12-04T12:43:09.482Z] 12:43:09 INFO - Stack trace: [task 2018-12-04T12:43:09.483Z] 12:43:09 INFO - resource://testing-common/content-task.js line 59 > eval:check_audio_pause_state:6 [task 2018-12-04T12:43:09.485Z] 12:43:09 INFO - resource://testing-common/content-task.js:null:60 [task 2018-12-04T12:43:09.486Z] 12:43:09 INFO - Not taking screenshot here: see the one that was previously logged [task 2018-12-04T12:43:09.488Z] 12:43:09 INFO - TEST-UNEXPECTED-FAIL | toolkit/content/tests/browser/browser_block_autoplay_playAfterTabVisible.js | Uncaught exception - TypeError: audio is null; can't access its "paused" property [task 2018-12-04T12:43:09.489Z] 12:43:09 INFO - Leaving test bound media_should_be_able_to_play_in_visible_tab [task 2018-12-04T12:43:09.490Z] 12:43:09 INFO - GECKO(11983) | MEMORY STAT | vsize 2027MB | residentFast 281MB | heapAllocated 96MB [task 2018-12-04T12:43:09.492Z] 12:43:09 INFO - TEST-OK | toolkit/content/tests/browser/browser_block_autoplay_playAfterTabVisible.js | took 121ms [task 2018-12-04T12:43:09.493Z] 12:43:09 INFO - Not taking screenshot here: see the one that was previously logged [task 2018-12-04T12:43:09.495Z] 12:43:09 INFO - TEST-UNEXPECTED-FAIL | toolkit/content/tests/browser/browser_block_autoplay_playAfterTabVisible.js | Found an unexpected tab at the end of test run: about:blank - [task 2018-12-04T12:43:09.496Z] 12:43:09 INFO - checking window state
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INCOMPLETE

Recent failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=225140404&repo=mozilla-inbound&lineNumber=6605

task 2019-01-31T04:15:19.694Z] 04:15:19 INFO - TEST-START | toolkit/content/tests/browser/browser_block_autoplay_playAfterTabVisible.js
[task 2019-01-31T04:15:19.764Z] 04:15:19 INFO - TEST-INFO | started process screentopng
[task 2019-01-31T04:15:20.171Z] 04:15:20 INFO - TEST-INFO | screentopng: exit 0
[task 2019-01-31T04:15:20.171Z] 04:15:20 INFO - Buffered messages logged at 04:15:19
[task 2019-01-31T04:15:20.174Z] 04:15:20 INFO - Entering test bound setup_test_preference
[task 2019-01-31T04:15:20.175Z] 04:15:20 INFO - Leaving test bound setup_test_preference
[task 2019-01-31T04:15:20.176Z] 04:15:20 INFO - Entering test bound media_should_be_able_to_play_in_visible_tab
[task 2019-01-31T04:15:20.177Z] 04:15:20 INFO - - open new background tab, and check tab's media pause state -
[task 2019-01-31T04:15:20.178Z] 04:15:20 INFO - Buffered messages finished
[task 2019-01-31T04:15:20.180Z] 04:15:20 INFO - TEST-UNEXPECTED-FAIL | toolkit/content/tests/browser/browser_block_autoplay_playAfterTabVisible.js | Can't get the audio element! - false == true -
[task 2019-01-31T04:15:20.180Z] 04:15:20 INFO - Stack trace:
[task 2019-01-31T04:15:20.181Z] 04:15:20 INFO - resource://testing-common/content-task.js line 59 > eval:check_audio_pause_state:6
[task 2019-01-31T04:15:20.184Z] 04:15:20 INFO - resource://testing-common/content-task.js:null:60
[task 2019-01-31T04:15:20.184Z] 04:15:20 INFO - Not taking screenshot here: see the one that was previously logged
[task 2019-01-31T04:15:20.185Z] 04:15:20 INFO - TEST-UNEXPECTED-FAIL | toolkit/content/tests/browser/browser_block_autoplay_playAfterTabVisible.js | Uncaught exception - TypeError: audio is null
[task 2019-01-31T04:15:20.185Z] 04:15:20 INFO - Leaving test bound media_should_be_able_to_play_in_visible_tab
[task 2019-01-31T04:15:20.186Z] 04:15:20 INFO - GECKO(11595) | MEMORY STAT | vsize 2046MB | residentFast 308MB | heapAllocated 112MB
[task 2019-01-31T04:15:20.186Z] 04:15:20 INFO - TEST-OK | toolkit/content/tests/browser/browser_block_autoplay_playAfterTabVisible.js | took 95ms
[task 2019-01-31T04:15:20.187Z] 04:15:20 INFO - Not taking screenshot here: see the one that was previously logged
[task 2019-01-31T04:15:20.188Z] 04:15:20 INFO - TEST-UNEXPECTED-FAIL | toolkit/content/tests/browser/browser_block_autoplay_playAfterTabVisible.js | Found an unexpected tab at the end of test run: about:blank -
[task 2019-01-31T04:15:20.188Z] 04:15:20 INFO - checking window state

Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 7 years ago7 years ago
Resolution: --- → INCOMPLETE
Status: REOPENED → RESOLVED
Closed: 7 years ago7 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---

There are 22 recent failures in the last 7 days on macosx1014-64 debug: https://treeherder.mozilla.org/intermittent-failures.html#/bugdetails?startday=2019-09-10&endday=2019-09-17&tree=trunk&bug=1511986

Recent failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=266968093&repo=autoland&lineNumber=31741

[task 2019-09-17T03:25:40.227Z] 03:25:40 INFO - TEST-START | toolkit/content/tests/browser/browser_block_autoplay_playAfterTabVisible.js
[task 2019-09-17T03:25:40.267Z] 03:25:40 INFO - GECKO(2129) | ++DOCSHELL 0x11931f000 == 4 [pid = 2132] [id = {63ceb491-8e93-7546-aa1c-61a7cc243329}]
[task 2019-09-17T03:25:40.267Z] 03:25:40 INFO - GECKO(2129) | ++DOMWINDOW == 15 (0x1193646a0) [pid = 2132] [serial = 135] [outer = 0x0]
[task 2019-09-17T03:25:40.267Z] 03:25:40 INFO - GECKO(2129) | ++DOMWINDOW == 16 (0x11e4dc800) [pid = 2132] [serial = 136] [outer = 0x1193646a0]
[task 2019-09-17T03:25:40.303Z] 03:25:40 INFO - GECKO(2129) | ++DOMWINDOW == 17 (0x1428abc00) [pid = 2132] [serial = 137] [outer = 0x1193646a0]
[task 2019-09-17T03:25:40.368Z] 03:25:40 INFO - TEST-INFO | started process screencapture
[task 2019-09-17T03:25:40.501Z] 03:25:40 INFO - TEST-INFO | screencapture: exit 0
[task 2019-09-17T03:25:40.502Z] 03:25:40 INFO - Buffered messages logged at 03:25:40
[task 2019-09-17T03:25:40.502Z] 03:25:40 INFO - Entering test bound setup_test_preference
[task 2019-09-17T03:25:40.502Z] 03:25:40 INFO - Leaving test bound setup_test_preference
[task 2019-09-17T03:25:40.503Z] 03:25:40 INFO - Entering test bound media_should_be_able_to_play_in_visible_tab
[task 2019-09-17T03:25:40.503Z] 03:25:40 INFO - - open new background tab, and check tab's media pause state -
[task 2019-09-17T03:25:40.503Z] 03:25:40 INFO - Buffered messages finished
[task 2019-09-17T03:25:40.503Z] 03:25:40 INFO - TEST-UNEXPECTED-FAIL | toolkit/content/tests/browser/browser_block_autoplay_playAfterTabVisible.js | Can't get the audio element! - false == true -
[task 2019-09-17T03:25:40.504Z] 03:25:40 INFO - Stack trace:
[task 2019-09-17T03:25:40.504Z] 03:25:40 INFO - resource://testing-common/content-task.js line 62 > eval:check_audio_pause_state:6
[task 2019-09-17T03:25:40.504Z] 03:25:40 INFO - resource://testing-common/content-task.js:null:63
[task 2019-09-17T03:25:40.504Z] 03:25:40 INFO - Not taking screenshot here: see the one that was previously logged
[task 2019-09-17T03:25:40.505Z] 03:25:40 INFO - TEST-UNEXPECTED-FAIL | toolkit/content/tests/browser/browser_block_autoplay_playAfterTabVisible.js | Uncaught exception - TypeError: audio is null

Nils, could you please redirect this to someone who can look into it?

Flags: needinfo?(drno)
Status: REOPENED → RESOLVED
Closed: 7 years ago4 years ago
Flags: needinfo?(drno)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.