Closed Bug 1681538 Opened 4 years ago Closed 10 days ago

`illegal option -- G` when using `mach try chooser --pernosco`

Categories

(Developer Infrastructure :: Try, defect, P3)

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: saschanaz, Unassigned)

References

(Blocks 1 open bug)

Details

$ git config --get user.email
krosylight@mozilla.com

$ ./mach try chooser --pernosco
ssh: illegal option -- G
usage: ssh [-1246AaCfgKkMNnqsTtVvXxYy] [-b bind_address] [-c cipher_spec]
           [-D [bind_address:]port] [-e escape_char] [-F configfile]
           [-I pkcs11] [-i identity_file]
           [-L [bind_address:]port:host:hostport]
           [-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-p port]
           [-R [bind_address:]port:host:hostport] [-S ctl_path]
           [-W host:port] [-w local_tun[:remote_tun]]
           [user@]hostname [command]
warning: failed to detect current user for 'hg.mozilla.org'
Pernosco requires a Mozilla e-mail address to view its reports.
Do you have an @mozilla.com address? [Y/n]: y
Starting trychooser on http://127.0.0.1:5000
 * Serving Flask app "tryselect.selectors.chooser.app" (lazy loading)
 * Environment: development
 * Debug mode: off
estimates: Runs 53 tasks (41 selected, 12 dependencies)
estimates: Total task duration 15:03:09
estimates: In the 49% percentile
estimates: Should take about 2:22:10 (Finished around 2020-12-09 19:15)

Hard to understand what's going on. It does send my commits to try server but does not provide a pernosco session.

I'm on Windows and thus MozillaBuild, and it seems the default OpenSSH binary is too old.

$ ssh -v
OpenSSH_5.4p1, OpenSSL 1.0.0 29 Mar 2010
usage: ssh [-1246AaCfgKkMNnqsTtVvXxYy] [-b bind_address] [-c cipher_spec]
           [-D [bind_address:]port] [-e escape_char] [-F configfile]
           [-I pkcs11] [-i identity_file]
           [-L [bind_address:]port:host:hostport]
           [-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-p port]
           [-R [bind_address:]port:host:hostport] [-S ctl_path]
           [-W host:port] [-w local_tun[:remote_tun]]
           [user@]hostname [command]

Tried to use the Windows 10 default SSH binary (7.7.2.1) but it seems it's not accessible from MinGW shell, so I just copy-pasted it to msys/bin. The warning went away.

$ ssh -V
OpenSSH_for_Windows_7.7p1, LibreSSL 2.6.5

$ ./mach try chooser --pernosco
Starting trychooser on http://127.0.0.1:5000
 * Serving Flask app "tryselect.selectors.chooser.app" (lazy loading)
 * Environment: development
 * Debug mode: off
estimates: Runs 53 tasks (41 selected, 12 dependencies)
estimates: Total task duration 15:03:09
estimates: In the 49% percentile
estimates: Should take about 2:22:10 (Finished around 2020-12-09 19:35)
Depends on: 1261899
See Also: → 1725895
Severity: -- → S4
Priority: -- → P3
Product: Firefox Build System → Developer Infrastructure

:saschanaz, is this still an issue after the Mozilla build updates that are referenced in the see also field?

Flags: needinfo?(krosylight)

This doesn't seem to be problematic anymore.

Status: NEW → RESOLVED
Closed: 10 days ago
Flags: needinfo?(krosylight)
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.