Closed Bug 1565738 Opened 1 year ago Closed 1 year ago

OSX Mojave (10.14) - browser/base/content/test/webrtc/browser.ini | Multiple failures from manifest file on macosx1014

Categories

(Core :: WebRTC, defect, P5)

defect

Tracking

()

RESOLVED FIXED
mozilla71
Tracking Status
firefox71 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: haik)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Filed by: egao [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=256236844&repo=try
Full log: https://queue.taskcluster.net/v1/task/Zl8VYu8vRreTkAAlNdwrfw/runs/0/artifacts/public/logs/live_backing.log


Platform: macosx1014
Suite: mochitest-browser-chrome
Chunk: 3

Context:
18:55:22 INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/webrtc/browser_devices_get_user_media_anim.js | Test timed out -
18:55:22 INFO - GECKO(1691) | MEMORY STAT vsizeMaxContiguous not supported in this build configuration.
18:55:22 INFO - GECKO(1691) | MEMORY STAT | vsize 7562MB | residentFast 327MB | heapAllocated 86MB
18:55:22 INFO - TEST-OK | browser/base/content/test/webrtc/browser_devices_get_user_media_anim.js | took 90132ms
18:55:22 INFO - Not taking screenshot here: see the one that was previously logged
18:55:22 INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/webrtc/browser_devices_get_user_media_anim.js | Found a tab after previous test timed out: https://example.com/browser/browser/base/content/test/webrtc/get_user_media.html -
18:55:22 INFO - GECKO(1691) | [Parent 1691, Main Thread] WARNING: Constructing RangeBoundary with invalid value: 'mRef || aOffset == 0', file /builds/worker/workspace/build/src/obj-firefox/dist/include/mozilla/RangeBoundary.h, line 79
18:55:22 INFO - GECKO(1691) | [Parent 1691, Main Thread] WARNING: Constructing RangeBoundary with invalid value: 'mRef || aOffset == 0', file /builds/worker/workspace/build/src/obj-firefox/dist/include/mozilla/RangeBoundary.h, line 79
18:55:22 INFO - GECKO(1691) | [Child 1699, Main Thread] WARNING: No active window: file /builds/worker/workspace/build/src/js/xpconnect/src/XPCJSContext.cpp, line 662
18:55:22 INFO - GECKO(1691) | ++DOCSHELL 0x119ddf000 == 1 [pid = 1704] [id = {3e95ef60-5cf9-4e4b-b691-6ac04e2b50ec}]
18:55:22 INFO - GECKO(1691) | ++DOMWINDOW == 1 (0x1342d8020) [pid = 1704] [serial = 1] [outer = 0x0]
18:55:22 INFO - GECKO(1691) | [Child 1701, Main Thread] WARNING: NS_ENSURE_TRUE(!mHasOrHasHadOwnerWindow || mOwnerWindow) failed: file /builds/worker/workspace/build/src/dom/events/DOMEventTargetHelper.cpp, line 318
18:55:22 INFO - GECKO(1691) | [Child 1704, Main Thread] WARNING: No active window: file /builds/worker/workspace/build/src/js/xpconnect/src/XPCJSContext.cpp, line 662
18:55:22 INFO - checking window state
18:55:22 INFO - GECKO(1691) | must wait for focus
18:55:22 INFO - GECKO(1691) | ++DOMWINDOW == 2 (0x14153e800) [pid = 1704] [serial = 2] [outer = 0x1342d8020]
18:55:22 INFO - GECKO(1691) | JavaScript error: resource://testing-common/PromiseTestUtils.jsm, line 112: uncaught exception: Object
18:55:22 INFO - Console message: [JavaScript Error: "uncaught exception: Object" {file: "resource://testing-common/PromiseTestUtils.jsm" line: 112}]
18:55:22 INFO - GECKO(1691) | [Child 1704, Main Thread] WARNING: No active window: file /builds/worker/workspace/build/src/js/xpconnect/src/XPCJSContext.cpp, line 662
18:55:22 INFO - GECKO(1691) | [1709, MainThread] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/worker/workspace/build/src/xpcom/base/nsTraceRefcnt.cpp, line 194
18:55:22 INFO - GECKO(1691) | [1709, MainThread] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/worker/workspace/build/src/xpcom/base/nsTraceRefcnt.cpp, line 194
18:55:22 INFO - GECKO(1691) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /var/folders/zn/vtqslbwn0012ddrtptnfsqbw000017/T/tmpDARyuI.mozrunner/runtests_leaks_tab_pid1709.log
18:55:22 INFO - GECKO(1691) | [1709, MainThread] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/worker/workspace/build/src/xpcom/base/nsTraceRefcnt.cpp, line 194
18:55:22 INFO - GECKO(1691) | [1709, MainThread] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/worker/workspace/build/src/xpcom/base/nsTraceRefcnt.cpp, line 194
18:55:30 INFO - GECKO(1691) | --DOCSHELL 0x113ce2000 == 0 [pid = 1701] [id = {6e0ed183-4aec-c445-8f7a-6229fe5af4e7}] [url = https://example.com/browser/browser/base/content/test/webrtc/get_user_media.html]
18:55:30 INFO - GECKO(1691) | --DOMWINDOW == 1 (0x119848020) [pid = 1701] [serial = 1] [outer = 0x0] [url = https://example.com/browser/browser/base/content/test/webrtc/get_user_media.html]
18:55:30 INFO - GECKO(1691) | --DOCSHELL 0x1149e6000 == 0 [pid = 1699] [id = {5ecb505d-ef59-7747-b404-9701cf5a681d}] [url = about:blank]
18:55:34 INFO - GECKO(1691) | --DOMWINDOW == 0 (0x1198a7800) [pid = 1701] [serial = 3] [outer = 0x0] [url = https://example.com/browser/browser/base/content/test/webrtc/get_user_media.html]
18:55:34 INFO - GECKO(1691) | --DOMWINDOW == 1 (0x114a50020) [pid = 1699] [serial = 1] [outer = 0x0] [url = about:blank]
18:55:38 INFO - GECKO(1691) | --DOMWINDOW == 0 (0x114a33000) [pid = 1699] [serial = 2] [outer = 0x0] [url = about:blank]
19:00:17 INFO - [1688, Main Thread] WARNING: No active window: file /builds/worker/workspace/build/src/js/xpconnect/src/XPCJSContext.cpp, line 662
19:00:17 INFO - GECKO(1691) | [Parent 1691, IndexedDB #7] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80630001: file /builds/worker/workspace/build/src/storage/mozStorageConnection.cpp, line 704
19:00:17 INFO - GECKO(1691) | [Parent 1691, IndexedDB #7] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80630001: file /builds/worker/workspace/build/src/storage/mozStorageService.cpp, line 667
19:00:17 INFO - GECKO(1691) | [Parent 1691, IndexedDB #7] WARNING: Received NS_ERROR_STORAGE_BUSY when attempting to open database '3870112724rsegmnoittet-es.sqlite', retrying for up to 10 seconds: file /builds/worker/workspace/build/src/dom/indexedDB/ActorsParent.cpp, line 4097
19:04:17 INFO - [1688, Main Thread] WARNING: No active window: file /builds/worker/workspace/build/src/js/xpconnect/src/XPCJSContext.cpp, line 662
19:06:27 INFO - Buffered messages finished
19:06:27 ERROR - TEST-UNEXPECTED-TIMEOUT | browser/base/content/test/webrtc/browser_devices_get_user_media_anim.js (finished) | application timed out after 370 seconds with no output
19:06:27 ERROR - Force-terminating active process(es).
19:06:27 INFO - Determining child pids from psutil...
19:06:27 INFO - [1697, 1698, 1699, 1700, 1701, 1704, 1709]
19:06:27 INFO - ==> process 1691 launched child process 1697
19:06:27 INFO - ==> process 1691 launched child process 1698
19:06:27 INFO - ==> process 1691 launched child process 1699
19:06:27 INFO - ==> process 1691 launched child process 1700
19:06:27 INFO - ==> process 1691 launched child process 1701
19:06:27 INFO - ==> process 1691 launched child process 1704
19:06:27 INFO - ==> process 1691 launched child process 1709
19:06:27 INFO - Found child pids: set([1697, 1698, 1699, 1700, 1701, 1704, 1709])
19:06:27 INFO - Killing process: 1697
19:06:27 INFO - Not taking screenshot here: see the one that was previously logged
19:06:27 INFO - Killing process: 1698
19:06:27 INFO - Not taking screenshot here: see the one that was previously logged
19:06:27 INFO - Killing process: 1699
19:06:27 INFO - Not taking screenshot here: see the one that was previously logged
19:06:27 INFO - Killing process: 1700
19:06:27 INFO - Not taking screenshot here: see the one that was previously logged
19:06:27 INFO - Killing process: 1701
19:06:27 INFO - Not taking screenshot here: see the one that was previously logged
19:06:27 INFO - Killing process: 1704
19:06:27 INFO - Not taking screenshot here: see the one that was previously logged
19:06:27 INFO - Killing process: 1709
19:06:27 INFO - Not taking screenshot here: see the one that was previously logged
19:06:28 INFO - psutil found pid 1701 dead
19:06:28 INFO - psutil found pid 1698 dead
19:06:28 INFO - psutil found pid 1704 dead
19:06:28 INFO - psutil found pid 1697 dead
19:06:28 INFO - psutil found pid 1709 dead
19:06:28 INFO - psutil found pid 1699 dead
19:06:28 INFO - psutil found pid 1700 dead
19:06:28 INFO - Killing process: 1691
19:06:28 INFO - Not taking screenshot here: see the one that was previously logged
19:06:29 INFO - psutil found pid 1691 dead
19:06:29 WARNING - runtests.py | Failed to get app exit code - running/crashed?
19:06:29 INFO - TEST-INFO | Main app process: exit 0
19:06:29 ERROR - TEST-UNEXPECTED-FAIL | ShutdownLeaks | process() called before end of test suite
19:06:29 INFO - runtests.py | Application ran for: 0:12:44.026830
19:06:29 INFO - zombiecheck | Reading PID log: /var/folders/zn/vtqslbwn0012ddrtptnfsqbw000017/T/tmpH_pgeOpidlog
19:06:29 INFO - ==> process 1691 launched child process 1697
19:06:29 INFO - ==> process 1691 launched child process 1698
19:06:29 INFO - ==> process 1691 launched child process 1699
19:06:29 INFO - ==> process 1691 launched child process 1700
19:06:29 INFO - ==> process 1691 launched child process 1701
19:06:29 INFO - ==> process 1691 launched child process 1704
19:06:29 INFO - ==> process 1691 launched child process 1709
19:06:29 INFO - zombiecheck | Checking for orphan process with PID: 1697
19:06:29 INFO - zombiecheck | Checking for orphan process with PID: 1698
19:06:29 INFO - zombiecheck | Checking for orphan process with PID: 1699
19:06:29 INFO - zombiecheck | Checking for orphan process with PID: 1700
19:06:29 INFO - zombiecheck | Checking for orphan process with PID: 1701
19:06:29 INFO - zombiecheck | Checking for orphan process with PID: 1704
19:06:29 INFO - zombiecheck | Checking for orphan process with PID: 1709
19:06:29 INFO - mozcrash Copy/paste: /Users/cltbld/tasks/task_1562957358/build/macosx64-minidump_stackwalk /var/folders/zn/vtqslbwn0012ddrtptnfsqbw000017/T/tmpDARyuI.mozrunner/minidumps/61454DCB-8356-42D8-BEEB-0D6194E5B1D7.dmp /Users/cltbld/tasks/task_1562957358/build/symbols
19:06:34 INFO - mozcrash Saved minidump as /Users/cltbld/tasks/task_1562957358/build/blobber_upload_dir/61454DCB-8356-42D8-BEEB-0D6194E5B1D7.dmp
19:06:34 INFO - mozcrash Saved app info as /Users/cltbld/tasks/task_1562957358/build/blobber_upload_dir/61454DCB-8356-42D8-BEEB-0D6194E5B1D7.extra
19:06:34 INFO - PROCESS-CRASH | Main app process exited normally | application crashed [@ 0x7fff6642ec2a]
19:06:34 INFO - Crash dump filename: /var/folders/zn/vtqslbwn0012ddrtptnfsqbw000017/T/tmpDARyuI.mozrunner/minidumps/61454DCB-8356-42D8-BEEB-0D6194E5B1D7.dmp
19:06:34 INFO - Operating system: Mac OS X
19:06:34 INFO - 10.14.0 18A391
19:06:34 INFO - CPU: amd64
19:06:34 INFO - family 6 model 69 stepping 1
19:06:34 INFO - 4 CPUs
19:06:34 INFO -
19:06:34 INFO - GPU: UNKNOWN
19:06:34 INFO -
19:06:34 INFO - Crash reason: EXC_SOFTWARE / SIGABRT
19:06:34 INFO - Crash address: 0x7fff6642ec2a
19:06:34 INFO - Process uptime: 763 seconds
19:06:34 INFO -
19:06:34 INFO - Thread 0 (crashed)
19:06:34 INFO - 0 0x7fff6642ec2a
19:06:34 INFO - rax = 0x000000000100001f rdx = 0x0000000000000000
19:06:34 INFO - rcx = 0x00007ffee6914b98 rbx = 0x0000000000000102
19:06:34 INFO - rsi = 0x0000000000000102 rdi = 0x00007ffee6914c50
19:06:34 INFO - rbp = 0x00007ffee6914bf0 rsp = 0x00007ffee6914b98
19:06:34 INFO - r8 = 0x000000000000a307 r9 = 0x0000000000001388
19:06:34 INFO - r10 = 0x000000000000041c r11 = 0x0000000000000202
19:06:34 INFO - r12 = 0x0000000000000102 r13 = 0x000000000000041c
19:06:34 INFO - r14 = 0x00007ffee6914c50 r15 = 0x0000000000000000
19:06:34 INFO - rip = 0x00007fff6642ec2a
19:06:34 INFO - Found by: given as instruction pointer in context
19:06:34 INFO - 1 XUL!google_breakpad::ReceivePort::WaitForMessage(google_breakpad::MachReceiveMessage*, unsigned int) [MachIPC.mm:0b014ee5cd51250fcdfc7df3914efa3a3d9f86d2 : 249 + 0x18]
19:06:34 INFO - rbp = 0x00007ffee6914c10 rsp = 0x00007ffee6914c00
19:06:34 INFO - rip = 0x000000010eb5cf10
19:06:34 INFO - Found by: previous frame's frame pointer
19:06:34 INFO - 2 XUL!google_breakpad::CrashGenerationClient::RequestDumpForException(int, int, int, unsigned int) [crash_generation_client.cc:0b014ee5cd51250fcdfc7df3914efa3a3d9f86d2 : 77 + 0xd]
19:06:34 INFO - rbp = 0x00007ffee69154c0 rsp = 0x00007ffee6914c20
19:06:34 INFO - rip = 0x000000010eb52a55
19:06:34 INFO - Found by: previous frame's frame pointer
19:06:34 INFO - 3 XUL!google_breakpad::ExceptionHandler::WriteMinidumpWithException(int, int, int, __darwin_ucontext*, unsigned int, bool, bool) [exception_handler.cc:0b014ee5cd51250fcdfc7df3914efa3a3d9f86d2 : 382 + 0x27]
19:06:34 INFO - rbp = 0x00007ffee69155c0 rsp = 0x00007ffee69154d0
19:06:34 INFO - rip = 0x000000010eb55523
19:06:34 INFO - Found by: previous frame's frame pointer
19:06:34 INFO - 4 XUL!google_breakpad::ExceptionHandler::SignalHandler(int, __siginfo*, void*) [exception_handler.cc:0b014ee5cd51250fcdfc7df3914efa3a3d9f86d2 : 628 + 0x21]
19:06:34 INFO - rbp = 0x00007ffee69155f0 rsp = 0x00007ffee69155d0
19:06:34 INFO - rip = 0x000000010eb55c57
19:06:34 INFO - Found by: previous frame's frame pointer
19:06:34 INFO - 5 0x7fff664dfb3d
19:06:34 INFO - rbp = 0x00007ffee6915600 rsp = 0x00007ffee6915600
19:06:34 INFO - rip = 0x00007fff664dfb3d
19:06:34 INFO - Found by: previous frame's frame pointer
19:06:34 INFO - 6 0x1249000d8
19:06:34 INFO - rbp = 0x00007ffee6915bd0 rsp = 0x00007ffee6915610
19:06:34 INFO - rip = 0x00000001249000d8
19:06:34 INFO - Found by: previous frame's frame pointer
19:06:34 INFO - 7 libmozglue.dylib!mozilla::detail::ConditionVariableImpl::wait_for(mozilla::detail::MutexImpl&, mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator> const&) [ConditionVariable_posix.cpp:0b014ee5cd51250fcdfc7df3914efa3a3d9f86d2 : 116 + 0xb]
19:06:34 INFO - rbp = 0x00007ffee6915c20 rsp = 0x00007ffee6915be0
19:06:34 INFO - rip = 0x0000000112eefa4d
19:06:34 INFO - Found by: previous frame's frame pointer
19:06:34 INFO - 8 XUL!mozilla::OffTheBooksCondVar::Wait() [BlockingResourceBase.cpp:0b014ee5cd51250fcdfc7df3914efa3a3d9f86d2 : 545 + 0x5c]
19:06:34 INFO - rbp = 0x00007ffee6915c60 rsp = 0x00007ffee6915c30
19:06:34 INFO - rip = 0x0000000109711857
19:06:34 INFO - Found by: previous frame's frame pointer
19:06:34 INFO - 9 XUL!mozilla::ThreadEventQueue<mozilla::PrioritizedEventQueue>::GetEvent(bool, mozilla::EventQueuePriority*) [ThreadEventQueue.cpp:0b014ee5cd51250fcdfc7df3914efa3a3d9f86d2 : 153 + 0x8]
19:06:34 INFO - rbp = 0x00007ffee6915ce0 rsp = 0x00007ffee6915c70
19:06:34 INFO - rip = 0x0000000109727aab
19:06:34 INFO - Found by: previous frame's frame pointer
19:06:34 INFO - 10 XUL!nsThread::ProcessNextEvent(bool, bool*) [nsThread.cpp:0b014ee5cd51250fcdfc7df3914efa3a3d9f86d2 : 1134 + 0x3]
19:06:34 INFO - rbp = 0x00007ffee6916200 rsp = 0x00007ffee6915cf0
19:06:34 INFO - rip = 0x00000001097359ce
19:06:34 INFO - Found by: previous frame's frame pointer
19:06:34 INFO - 11 XUL!NS_ProcessNextEvent(nsIThread*, bool) [nsThreadUtils.cpp:0b014ee5cd51250fcdfc7df3914efa3a3d9f86d2 : 486 + 0xd]
19:06:34 INFO - rbp = 0x00007ffee6916230 rsp = 0x00007ffee6916210
19:06:34 INFO - rip = 0x000000010973a228
19:06:34 INFO - Found by: previous frame's frame pointer
19:06:34 INFO - 12 XUL!mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*) [MessagePump.cpp:0b014ee5cd51250fcdfc7df3914efa3a3d9f86d2 : 110 + 0xa]
19:06:34 INFO - rbp = 0x00007ffee6916290 rsp = 0x00007ffee6916240
19:06:34 INFO - rip = 0x0000000109ea322f
19:06:34 INFO - Found by: previous frame's frame pointer
19:06:34 INFO - 13 XUL!MessageLoop::Run() [message_loop.cc:0b014ee5cd51250fcdfc7df3914efa3a3d9f86d2 : 290 + 0x5]
19:06:34 INFO - rbp = 0x00007ffee69162c0 rsp = 0x00007ffee69162a0
19:06:34 INFO - rip = 0x0000000109e37465
19:06:34 INFO - Found by: previous frame's frame pointer
19:06:34 INFO - 14 XUL!nsBaseAppShell::Run() [nsBaseAppShell.cpp:0b014ee5cd51250fcdfc7df3914efa3a3d9f86d2 : 137 + 0xd]
19:06:34 INFO - rbp = 0x00007ffee69162e0 rsp = 0x00007ffee69162d0
19:06:34 INFO - rip = 0x000000010d357199
19:06:34 INFO - Found by: previous frame's frame pointer
19:06:34 INFO - 15 XUL!nsAppShell::Run() [nsAppShell.mm:0b014ee5cd51250fcdfc7df3914efa3a3d9f86d2 : 705 + 0x8]
19:06:34 INFO - rbp = 0x00007ffee6916330 rsp = 0x00007ffee69162f0
19:06:34 INFO - rip = 0x000000010d3ccf95
19:06:34 INFO - Found by: previous frame's frame pointer
19:06:34 INFO - 16 XUL!XRE_RunAppShell() [nsEmbedFunctions.cpp:0b014ee5cd51250fcdfc7df3914efa3a3d9f86d2 : 919 + 0x13]
19:06:34 INFO - rbp = 0x00007ffee6916380 rsp = 0x00007ffee6916340
19:06:34 INFO - rip = 0x000000010ebdc4d5
19:06:34 INFO - Found by: previous frame's frame pointer
19:06:34 INFO - 17 XUL!mozilla::ipc::MessagePumpForChildProcess::Run(base::MessagePump::Delegate*) [MessagePump.cpp:0b014ee5cd51250fcdfc7df3914efa3a3d9f86d2 : 238 + 0x5]
19:06:34 INFO - rbp = 0x00007ffee69163b0 rsp = 0x00007ffee6916390
19:06:34 INFO - rip = 0x0000000109ea3bf1
19:06:34 INFO - Found by: previous frame's frame pointer
19:06:34 INFO - 18 XUL!MessageLoop::Run() [message_loop.cc:0b014ee5cd51250fcdfc7df3914efa3a3d9f86d2 : 290 + 0x5]
19:06:34 INFO - rbp = 0x00007ffee69163e0 rsp = 0x00007ffee69163c0
19:06:34 INFO - rip = 0x0000000109e37465
19:06:34 INFO - Found by: previous frame's frame pointer
19:06:34 INFO - 19 XUL!XRE_InitChildProcess(int, char**, XREChildData const*) [nsEmbedFunctions.cpp:0b014ee5cd51250fcdfc7df3914efa3a3d9f86d2 : 754 + 0x8]
19:06:34 INFO - rbp = 0x00007ffee6916710 rsp = 0x00007ffee69163f0
19:06:34 INFO - rip = 0x000000010ebdbf28
19:06:34 INFO - Found by: previous frame's frame pointer
19:06:34 INFO - 20 plugin-container!main [MozillaRuntimeMain.cpp:0b014ee5cd51250fcdfc7df3914efa3a3d9f86d2 : 23 + 0x2c]
19:06:34 INFO - rbp = 0x00007ffee6916750 rsp = 0x00007ffee6916720
19:06:34 INFO - rip = 0x00000001092e8f07
19:06:34 INFO - Found by: previous frame's frame pointer
19:06:34 INFO - 21 0x7fff662f6085
19:06:34 INFO - rbp = 0x00007ffee6916768 rsp = 0x00007ffee6916760
19:06:34 INFO - rip = 0x00007fff662f6085
19:06:34 INFO - Found by: previous frame's frame pointer

:florian - I see that you have worked on this test in 2016. I am seeing a test timeout followed by process crash when run against macosx1014 machines. Would you be able to take a look, or pass the ni to someone that may have worked it more recently for comments? Thanks!

Flags: needinfo?(florian)

(In reply to Edwin Gao (:egao) from comment #1)

:florian - I see that you have worked on this test in 2016. I am seeing a test timeout followed by process crash when run against macosx1014 machines. Would you be able to take a look, or pass the ni to someone that may have worked it more recently for comments? Thanks!

Johann worked on this area more recently.

Flags: needinfo?(florian) → needinfo?(jhofmann)

This bug title has been changed to serve as the overarching bug that documents the following:

Entire manifest file of browser/base/content/test/webrtc/browser.ini has been disabled from running on macosx1014 mochitest-browser-chrome, due to persistent permafails being reported on nearly every test.

The failure pattern is consistent with the logs attached; it causes an TEST-UNEXPECTED-FAIL due to timing out at 370s accompanied by a log of process crashes.

It appears to be a permanent failure repeatable across most if not all tests in the manifest, leading to the entire manifest being disabled.

For individual bugs, please see 1567656, 1567735, 1568135, 1568141, 1568142, 1567746.

Summary: OSX Mojave (10.14) - browser/base/content/test/webrtc/browser_devices_get_user_media_anim.js | Test timed out - → OSX Mojave (10.14) - browser/base/content/test/webrtc/browser.ini | Multiple failures from manifest file on macosx1014

Jib, Haik, can you guys take a look at this? All WebRTC tests are categorically failing on OSX 10.14 and I think it's because of the new OS permission model. I don't really have time to look into this right now, but it would be great to get WebRTC tests enabled again on Mac. Does anyone of you have the capacity to take a first look at this? I'm happy to support writing a fix for this but it would be great to understand what's going on first.

Flags: needinfo?(jib)
Flags: needinfo?(jhofmann)
Flags: needinfo?(haftandilian)

It's likely that we need to update the tests to click "OK" on the macOS authorization prompt. Starting with macOS 10.14, the first time Firefox accesses the camera and/or microphone, macOS will display the '"Firefox" would like to access the camera. [Don't Allow] [OK]' prompt and we'll need our tests to click on the OK button. I don't know how we normally write tests that interact with other applications or OS prompts. I'm looking into that.

Once we get this resolved, we should add additional tests to make sure we deal with the [Don't Allow] case gracefully too.

Bug 1567656 mentioned in comment 4 supports this being permission related (NotAllowedError).

I think the bug here is bug 1479051 appears to have added a Mojave OS permission check even when fake devices are requested (add and set the media.navigator.permission.fake pref to true like the failing tests do to have that fiddle prompt).

A quick fix to make the tests work should be to simply make Firefox skip the OS prompt when media.navigator.permission.fake is true.

This won't fix people and tests using the non-standard fake: true constraint, so a cleaner, more involved fix might require having GetUserMediaRequest include whether fake devices are being sought. Not sure how much we care about this given bug 1436424.

Flags: needinfo?(jib)

Re-enable skipped webRTC tests on Mac which were disabled due to the macOS 10.14 permission prompts causing timeouts.

Don't trigger OS camera and microphone permission prompts for fake devices (used for tests).

Pushed by haftandilian@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/570be65ab4ac
Re-enable disabled WebRTC tests on macOS Mojave r=jib
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
Assignee: nobody → haftandilian
Duplicate of this bug: 1567656
Duplicate of this bug: 1568135
Duplicate of this bug: 1577328
Duplicate of this bug: 1568141
Duplicate of this bug: 1568142
Duplicate of this bug: 1567735
Duplicate of this bug: 1567746
You need to log in before you can comment on or make changes to this bug.