<div dir="ltr">Hi Jacek,<br><div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Feb 28, 2016 at 11:38 AM, Jacek Wielemborek <span dir="ltr"><<a href="mailto:d33tah@gmail.com" target="_blank">d33tah@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
I'm trying to run "mochitest" under an Ubuntu version of my afl-sid<br>
Docker image. The command I used and its output are as below - could<br>
anybody help me? Please CC me in the replies, I'm not subscribed.<br>
<br>
Cheers,<br>
d33tah<br>
<br>
root@865f455a220e:/dev/aflize/pkg/firefox-44.0.2+build1# time<br>
SHELL=/bin/bash ./mach mochitest dom/base/test/test_bug693615.html<br>
>From _tests: Kept 41370 existing; Added/updated 0; Removed 0 files and 0<br>
directories.<br>
<br>
######<br>
### Now running mochitest-plain.<br>
######<br>
<br>
Checking for orphan ssltunnel processes...<br>
Checking for orphan xpcshell processes...<br>
SUITE-START | Running 1 tests<br>
dir: dom/base/test<br>
pk12util: PKCS12 IMPORT SUCCESSFUL<br>
MochitestServer : launching<br>
[u'/dev/aflize/pkg/firefox-44.0.2+build1/obj-x86_64-linux-gnu/dist/bin/xpcshell',<br>
'-g',<br>
u'/dev/aflize/pkg/firefox-44.0.2+build1/obj-x86_64-linux-gnu/dist/bin',<br>
'-v', '170', '-f',<br>
u'/dev/aflize/pkg/firefox-44.0.2+build1/obj-x86_64-linux-gnu/dist/bin/components/httpd.js',<br>
'-e', "const _PROFILE_PATH = '/tmp/tmpCUzWSH.mozrunner'; const<br>
_SERVER_PORT = '8888'; const _SERVER_ADDR = '127.0.0.1'; const<br>
_TEST_PREFIX = undefined; const _DISPLAY_RESULTS = true;", '-f',<br>
'/dev/aflize/pkg/firefox-44.0.2+build1/obj-x86_64-linux-gnu/_tests/testing/mochitest/server.js']<br>
runtests.py | Server pid: 18954<br>
runtests.py | Websocket server pid: 18957<br>
runtests.py | SSL tunnel pid: 18962<br>
runtests.py | Running tests: start.<br>
<br>
runtests.py | Application pid: 19018<br>
TEST-INFO | started process Main app process<br>
Error: no display specified<br></blockquote><div><br></div><div>I think this is relevant: you appear to be running headless. Tests require a display, loopback, etc. This is tricky, and I'm not expert, but I'd start with the desktop-test Docker image at <a href="https://dxr.mozilla.org/mozilla-central/search?tree=mozilla-central&q=path%3Adesktop-test&redirect=true">https://dxr.mozilla.org/mozilla-central/search?tree=mozilla-central&q=path%3Adesktop-test&redirect=true</a>.<br><br></div><div>Nick<br></div></div></div></div></div>