Open Bug 1681538 Opened 5 months ago Updated 4 months ago

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

Categories

(Firefox Build System :: Try, defect)

defect

Tracking

(Not tracked)

People

(Reporter: saschanaz, Unassigned)

References

(Depends on 1 open bug, 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
You need to log in before you can comment on or make changes to this bug.