Closed Bug 1382029 Opened 6 years ago Closed 6 years ago
AWSY on OSX is broken
I'm seeing failures running |./mach awsy-test| on OSX. It starts to run, I see a browser open and then immediately close, and then it just hangs. If I disable e10s, |./mach awsy-test --disable-e10s| it works. No problems on Linux though.
This is just the local mach invocation which is failing, correct? The tests in CI on autoland though they are delayed today. I can reproduce this locally on my macbook with a Nightly build from this morning. It suffers a content crash waiting for the marionette server to start on localhost:2828. It does work with a beta build from this morning. I notice I see the same error just trying to do ../../../../../mach marionette-test Note in that case on Nightly, I have to execute it from the Nightly.app/Contents/MacOS directory otherwise marionette complains that I do not have a firefox build even if I have --binary pointing to the firefox binary.
There are several bugs on file for failure to run marionette-tests. See the "See also" list for a couple. The symptom that it requires e10s might be helpful diagnostic.
Haik, it looks like this might be OSX sandbox related. Could you help us take a look or give us some steps to help debug? Proper nightly builds don't seem to have an issue, but local builds (archive and full) do.
Component: General Automation → General
Product: Release Engineering → Testing
QA Contact: catlee
It uses Marionette, which was missed by developers to add support for MOZ_DEVELOPER_REPO_DIR. So just a dupe of bug 1379906.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
Thanks, Henrik. (In reply to Eric Rahm [:erahm] (please no mozreview requests) from comment #3) > Haik, it looks like this might be OSX sandbox related. Could you help us > take a look or give us some steps to help debug? Proper nightly builds don't > seem to have an issue, but local builds (archive and full) do. Yes, this is the same problem reported in bug 1379906 which I am hoping to address with the fix for bug 1380690. For some context, in developer Mac builds, the sandbox has to whitelist access to the source repository and the object dir. We do this with environment variables, but they are not getting set for Marionette tests. With the fix for bug 1380690, we won't need to set these environment variables. As a workaround, you can manually set MOZ_DEVELOPER_REPO_DIR and MOZ_DEVELOPER_OBJ_DIR: $ MOZ_DEVELOPER_REPO_DIR=/path/to/repo MOZ_DEVELOPER_OBJ_DIR=/path/to/repo/object/dir ./mach awsy-test With the patches on bug 1380690, the awsy and marionette tests work for me, but that code hasn't passed review yet.
You need to log in before you can comment on or make changes to this bug.