Closed Bug 1599342 Opened 5 years ago Closed 4 years ago

Add hostutils for Windows host.

Categories

(Infrastructure & Operations :: RelOps: General, enhancement)

Unspecified
Windows
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: m_kato, Assigned: aerickson)

References

Details

(Whiteboard: dev-prod-2020)

Attachments

(1 file)

To run gv-junit test etc on Windows host for developers, I need hostutils for windows host. (I don't know how to upload it to tooltool...)

Priority: -- → P5

Unclear what to do with this bug or how important it is. I think Windows may not be the best development platform for Fennec. Most folks probably use Linux or macOS.

(In reply to Stefan Arentz [:st3fan] from comment #1)

Unclear what to do with this bug or how important it is. I think Windows may not be the best development platform for Fennec. Most folks probably use Linux or macOS.

It makes things difficult for developers who normally build on Windows but want to fix bugs in GV. If we at Mozilla truly are all mobile developers now, then we need to be willing to make development environments accessible to everybody.

m_kato - If you can provide instructions like https://wiki.mozilla.org/Packaging_Android_host_utilities for Windows, I bet aerickson will help you get that into tooltool.

Assignee: nobody → relops
Component: Testing → RelOps: General
Flags: needinfo?(m_kato)
Priority: P5 → --
Product: Firefox for Android → Infrastructure & Operations
QA Contact: klibby
Flags: needinfo?(m_kato)
Assignee: relops → aerickson

Here's the ToolTool manifest for the windows hostutils build that I just created.

[
  {
    "algorithm": "sha512",
    "visibility": "public",
    "filename": "host-utils-79.0a1.en-US.win32.tar.gz",
    "unpack": true,
    "digest": "05f9d48ac73aa3e5c5433f39821df0eba85c0c6a39ec3a334d4d0e64b10e352c0d46602ef0eb93dcda744dab8715a308dd8d8d7ca51a360c64a9f7c3bb2f4eb4",
    "size": 61113183
  }
]

:m_kato, please let me know if it works. :)

Flags: needinfo?(m_kato)
Whiteboard: dev-prod-2020

(In reply to Andrew Erickson [:aerickson] from comment #5)

:m_kato, please let me know if it works. :)

Yes, it works. Thank you.

Flags: needinfo?(m_kato)
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED

in order to make this work I had to hack up https://searchfox.org/mozilla-central/source/testing/mozbase/mozrunner/mozrunner/devices/android_device.py

and fix places where we do:
os.path.isfile(os.path.join(path, 'xpcshell'))

to be more like:

xpcshell_binary = 'xpcshell'
if os.name == 'nt':
    xpcshell_binary = 'xpcshell.exe'
os.path.isfile(os.path.join(path, xpcshell_binary))

I had to do that in 3 places, then ./mach test <path> would allow me to continue forward.

:aerickson, this is marked as resolved, is there a commit reference to a repo somewhere or link to something that has changed in order to resolve this?

Flags: needinfo?(aerickson)

I thought :m_kato was going to handle that.

Status: RESOLVED → REOPENED
Flags: needinfo?(aerickson)
Resolution: FIXED → ---

:jmaher, do you have that branch ready or would you like me to recreate your changes? What's an example test path to use? Are you testing on a Windows PC?

Flags: needinfo?(jmaher)

I don't have the code anymore, I did put it all in this bug

Flags: needinfo?(jmaher)
Status: REOPENED → RESOLVED
Closed: 4 years ago4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: