Open Bug 1846851 Opened 11 months ago Updated 10 months ago

Targeting Android on Windows targets Android for test binaries too, blocking xpcshell to run

Categories

(Testing :: XPCShell Harness, defect, P2)

defect

Tracking

(Not tracked)

People

(Reporter: saschanaz, Unassigned)

Details

This blocks xpcshell-test from running on Windows.

Summary: Targeting Android on Windows generates test binaries without .exe, e.g. http3server and xpcshell → Targeting Android on Windows targets Android for test binaries too, blocking xpcshell to run

Does this work on other desktop platforms at all?

xpcshell is meant to be run on the device, so it sounds normal. http3server, I'm not sure where it runs.

From android xpcshell logs on CI:

[task 2023-08-02T21:44:19.613Z] 21:44:19     INFO -  Could not run the http3 server: [Errno 2] No such file or directory: '/builds/worker/workspace/build/tests/xpcshell/http3server/http3server': '/builds/worker/workspace/build/tests/xpcshell/http3server/http3server'

This probably never worked, and the xpcshell harness should probably not even try.

Generally speaking, this is probably a harness problem, where it assumes the executables have a .exe because it's a windows host, but it's unaware that what the host is is irrelevant when running remote tests.

The severity field is not set for this bug.
:rsainani, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(rsainani)
Component: Android Studio and Gradle Integration → XPCShell Harness
Product: Firefox Build System → Testing
Flags: needinfo?(rsainani)

The severity field is not set for this bug.
:jmaher, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(jmaher)
Severity: -- → S4
Flags: needinfo?(jmaher)
Priority: -- → P2
You need to log in before you can comment on or make changes to this bug.