Closed Bug 1626945 Opened 1 year ago Closed 1 year ago

Running ./mach reftest on android emulator fails to find fix_stacks

Categories

(Testing :: General, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: kats, Assigned: n.nethercote)

References

(Regression)

Details

(Whiteboard: dev-prod-2020)

Attachments

(1 file)

I did a ./mach bootstrap for android (non-artifact) builds and then built for android. Then attempted to run a reftest via ./mach reftest. It failed with a python error when trying to find the fix_stacks module. See attached log.

This might be related to https://bugzilla.mozilla.org/show_bug.cgi?id=1623134

You can work around the issue by using export MOZ_DISABLE_STACK_FIX=1

That works, thanks!

Assignee: nobody → gbrown
Component: Testing → General
Priority: -- → P1
Product: Firefox for Android → Testing
Whiteboard: dev-prod-2020

This might be related to https://bugzilla.mozilla.org/show_bug.cgi?id=1623134

That bug is unrelated. This is similar to bug 1624980, i.e. there's a mach bootstrap path that should install fix-stacks but doesn't. I'll take a look today, hopefully this bug will be as easy as that one.

Assignee: gbrown → n.nethercote
Status: NEW → ASSIGNED
Regressed by: 1619837

Great, thanks!

In the interest of not breaking this another way, I'll mention that I also notice https://phabricator.services.mozilla.com/D68617 appears to remove the fix-stacks toolchain fetch from android. Can you have a look at that and comment if needed?

This is similar to bug 1624980, i.e. there's a mach bootstrap path that should install fix-stacks but doesn't.

I was wrong about that. The fix-stacks executable is installed just fine by mach bootstrap. The problem here is that the fix_stacks.py script (which is a Python wrapper for fix-stacks) is not being found.

This might be related to https://bugzilla.mozilla.org/show_bug.cgi?id=1623134

Yes, it sounds just the same as bug 1622701 comment 3. If so, the fix will simply be to wait for bug 1623134 to land.

Bug 1623134 has been resolved. kats, can you update and try again to see if it fixes your problem?

Flags: needinfo?(kats)

Yup, this works now. Thanks!

Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Flags: needinfo?(kats)
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.