A local container running the same Ubuntu container in CI was run locally, had necessary dependencies installed and build generated: ``` worker@099039fb0699:/mozilla-central$ ./mach test toolkit/components/antitracking/test/browser/browser_allowListNotifications.js --debugger=rr 0:00.28 INFO Checking for ssltunnel processes... 0:00.28 INFO Checking for xpcshell processes... 0:00.28 SUITE_START: mochitest-browser - running 1 tests 0:00.28 INFO Running manifest: toolkit/components/antitracking/test/browser/browser.ini 0:00.28 INFO The following extra prefs will be set: dom.storage_access.prompt.testing=true dom.storage_access.prompt.testing.allow=true dom.testing.sync-content-blocking-notifications=true pk12util: PKCS12 IMPORT SUCCESSFUL 0:00.60 INFO MochitestServer : launching [u'/mozilla-central/objdir-frontend/dist/bin/xpcshell', '-g', u'/mozilla-central/objdir-frontend/dist/bin', '-f', u'/mozilla-central/objdir-frontend/dist/bin/components/httpd.js', '-e', "const _PROFILE_PATH = '/tmp/tmp2nZU67.mozrunner'; const _SERVER_PORT = '8888'; const _SERVER_ADDR = '127.0.0.1'; const _TEST_PREFIX = undefined; const _DISPLAY_RESULTS = false;", '-f', '/mozilla-central/objdir-frontend/_tests/testing/mochitest/server.js'] 0:00.60 INFO runtests.py | Server pid: 21950 0:00.63 INFO runtests.py | Websocket server pid: 21953 0:00.65 INFO runtests.py | SSL tunnel pid: 21956 0:00.75 INFO runtests.py | Running with scheme: http 0:00.76 INFO runtests.py | Running with e10s: True 0:00.76 INFO runtests.py | Running with serviceworker_e10s: False 0:00.76 INFO runtests.py | Running with socketprocess_e10s: False 0:00.76 INFO runtests.py | Running tests: start. 0:00.76 INFO Application command: /mozilla-central/objdir-frontend/dist/bin/firefox -marionette -foreground -profile /tmp/tmp2nZU67.mozrunner 0:00.77 INFO runtests.py | Application pid: 21973 0:00.77 Started process `GECKO(21973)` 0:00.80 GECKO(21973) Failed to connect to Mir: Failed to connect to server socket: No such file or directory 0:00.80 GECKO(21973) Unable to init server: Could not connect: Connection refused 0:00.80 GECKO(21973) Error: cannot open display: :0 ``` I assume this means I would need to have a VM with proper display connected to verify behavior?
Bug 1573585 Comment 8 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
A local container running the same Ubuntu container in CI was run locally, had necessary dependencies installed and build generated: ``` worker@099039fb0699:/mozilla-central$ ./mach test toolkit/components/antitracking/test/browser/browser_allowListNotifications.js --debugger=rr 0:00.28 INFO Checking for ssltunnel processes... 0:00.28 INFO Checking for xpcshell processes... 0:00.28 SUITE_START: mochitest-browser - running 1 tests 0:00.28 INFO Running manifest: toolkit/components/antitracking/test/browser/browser.ini 0:00.28 INFO The following extra prefs will be set: dom.storage_access.prompt.testing=true dom.storage_access.prompt.testing.allow=true dom.testing.sync-content-blocking-notifications=true pk12util: PKCS12 IMPORT SUCCESSFUL 0:00.60 INFO MochitestServer : launching [u'/mozilla-central/objdir-frontend/dist/bin/xpcshell', '-g', u'/mozilla-central/objdir-frontend/dist/bin', '-f', u'/mozilla-central/objdir-frontend/dist/bin/components/httpd.js', '-e', "const _PROFILE_PATH = '/tmp/tmp2nZU67.mozrunner'; const _SERVER_PORT = '8888'; const _SERVER_ADDR = '127.0.0.1'; const _TEST_PREFIX = undefined; const _DISPLAY_RESULTS = false;", '-f', '/mozilla-central/objdir-frontend/_tests/testing/mochitest/server.js'] 0:00.60 INFO runtests.py | Server pid: 21950 0:00.63 INFO runtests.py | Websocket server pid: 21953 0:00.65 INFO runtests.py | SSL tunnel pid: 21956 0:00.75 INFO runtests.py | Running with scheme: http 0:00.76 INFO runtests.py | Running with e10s: True 0:00.76 INFO runtests.py | Running with serviceworker_e10s: False 0:00.76 INFO runtests.py | Running with socketprocess_e10s: False 0:00.76 INFO runtests.py | Running tests: start. 0:00.76 INFO Application command: /mozilla-central/objdir-frontend/dist/bin/firefox -marionette -foreground -profile /tmp/tmp2nZU67.mozrunner 0:00.77 INFO runtests.py | Application pid: 21973 0:00.77 Started process `GECKO(21973)` 0:00.80 GECKO(21973) Failed to connect to Mir: Failed to connect to server socket: No such file or directory 0:00.80 GECKO(21973) Unable to init server: Could not connect: Connection refused 0:00.80 GECKO(21973) Error: cannot open display: :0 2:00.83 INFO runtests.py | Waiting for browser... 2:00.83 Main app process: exit 1 2:00.83 INFO Buffered messages finished 2:00.83 ERROR TEST-UNEXPECTED-FAIL | automation.py | application terminated with exit code 1 2:00.83 INFO runtests.py | Application ran for: 0:02:00.073026 2:00.83 INFO zombiecheck | Reading PID log: /tmp/tmpSyfxphpidlog Traceback (most recent call last): File "/mozilla-central/objdir-frontend/_tests/testing/mochitest/runtests.py", line 2862, in doTests e10s=options.e10s File "/mozilla-central/objdir-frontend/_tests/testing/mochitest/runtests.py", line 2371, in runApp raise exc(value).with_traceback(tb) AttributeError: 'timeout' object has no attribute 'with_traceback' 2:00.84 ERROR Automation Error: Received unexpected exception while running application 2:00.84 INFO Stopping web server 2:00.85 INFO Stopping web socket server 2:00.87 INFO Stopping ssltunnel 2:00.88 WARNING leakcheck | refcount logging is off, so leaks can't be detected! 2:00.88 INFO runtests.py | Running tests: end. 2:00.89 INFO Buffered messages finished TEST-INFO | checking window state Browser Chrome Test Summary Passed: 0 Failed: 0 Todo: 0 Mode: e10s *** End BrowserChrome Test Results *** 2:00.89 INFO Buffered messages finished 2:00.89 SUITE_END 2:00.89 Overall Summary =============== mochitest-browser ~~~~~~~~~~~~~~~~~ Ran 0 checks () Expected results: 0 Unexpected results: 0 Unexpected Results ------------------ ERROR TEST-UNEXPECTED-FAIL | automation.py | application terminated with exit code 1 ERROR Automation Error: Received unexpected exception while running application worker@099039fb0699:/mozilla-central$ ``` I assume this means I would need to have a VM with proper display connected to verify behavior?
A local container running the same Ubuntu container in CI was run locally, had necessary dependencies installed and build generated: ``` worker@099039fb0699:/mozilla-central$ ./mach test toolkit/components/antitracking/test/browser/browser_allowListNotifications.js --debugger=rr 0:00.28 INFO Checking for ssltunnel processes... 0:00.28 INFO Checking for xpcshell processes... 0:00.28 SUITE_START: mochitest-browser - running 1 tests 0:00.28 INFO Running manifest: toolkit/components/antitracking/test/browser/browser.ini 0:00.28 INFO The following extra prefs will be set: dom.storage_access.prompt.testing=true dom.storage_access.prompt.testing.allow=true dom.testing.sync-content-blocking-notifications=true pk12util: PKCS12 IMPORT SUCCESSFUL 0:00.60 INFO MochitestServer : launching [u'/mozilla-central/objdir-frontend/dist/bin/xpcshell', '-g', u'/mozilla-central/objdir-frontend/dist/bin', '-f', u'/mozilla-central/objdir-frontend/dist/bin/components/httpd.js', '-e', "const _PROFILE_PATH = '/tmp/tmp2nZU67.mozrunner'; const _SERVER_PORT = '8888'; const _SERVER_ADDR = '127.0.0.1'; const _TEST_PREFIX = undefined; const _DISPLAY_RESULTS = false;", '-f', '/mozilla-central/objdir-frontend/_tests/testing/mochitest/server.js'] 0:00.60 INFO runtests.py | Server pid: 21950 0:00.63 INFO runtests.py | Websocket server pid: 21953 0:00.65 INFO runtests.py | SSL tunnel pid: 21956 0:00.75 INFO runtests.py | Running with scheme: http 0:00.76 INFO runtests.py | Running with e10s: True 0:00.76 INFO runtests.py | Running with serviceworker_e10s: False 0:00.76 INFO runtests.py | Running with socketprocess_e10s: False 0:00.76 INFO runtests.py | Running tests: start. 0:00.76 INFO Application command: /mozilla-central/objdir-frontend/dist/bin/firefox -marionette -foreground -profile /tmp/tmp2nZU67.mozrunner 0:00.77 INFO runtests.py | Application pid: 21973 0:00.77 Started process `GECKO(21973)` 0:00.80 GECKO(21973) Failed to connect to Mir: Failed to connect to server socket: No such file or directory 0:00.80 GECKO(21973) Unable to init server: Could not connect: Connection refused 0:00.80 GECKO(21973) Error: cannot open display: :0 2:00.83 INFO runtests.py | Waiting for browser... 2:00.83 Main app process: exit 1 2:00.83 INFO Buffered messages finished 2:00.83 ERROR TEST-UNEXPECTED-FAIL | automation.py | application terminated with exit code 1 2:00.83 INFO runtests.py | Application ran for: 0:02:00.073026 2:00.83 INFO zombiecheck | Reading PID log: /tmp/tmpSyfxphpidlog Traceback (most recent call last): File "/mozilla-central/objdir-frontend/_tests/testing/mochitest/runtests.py", line 2862, in doTests e10s=options.e10s File "/mozilla-central/objdir-frontend/_tests/testing/mochitest/runtests.py", line 2371, in runApp raise exc(value).with_traceback(tb) AttributeError: 'timeout' object has no attribute 'with_traceback' 2:00.84 ERROR Automation Error: Received unexpected exception while running application 2:00.84 INFO Stopping web server 2:00.85 INFO Stopping web socket server 2:00.87 INFO Stopping ssltunnel 2:00.88 WARNING leakcheck | refcount logging is off, so leaks can't be detected! 2:00.88 INFO runtests.py | Running tests: end. 2:00.89 INFO Buffered messages finished TEST-INFO | checking window state Browser Chrome Test Summary Passed: 0 Failed: 0 Todo: 0 Mode: e10s *** End BrowserChrome Test Results *** 2:00.89 INFO Buffered messages finished 2:00.89 SUITE_END 2:00.89 Overall Summary =============== mochitest-browser ~~~~~~~~~~~~~~~~~ Ran 0 checks () Expected results: 0 Unexpected results: 0 Unexpected Results ------------------ ERROR TEST-UNEXPECTED-FAIL | automation.py | application terminated with exit code 1 ERROR Automation Error: Received unexpected exception while running application worker@099039fb0699:/mozilla-central$ ``` I assume this means I would need to have a VM with proper display connected to verify behavior? Since I have not used `rr` in the past, I am not certain what I should be expecting here.