Bug 1217239 - gh fails to build on *SSH* test suites
Summary: gh fails to build on *SSH* test suites
Status: NEW
Alias: None
Product: openSUSE Distribution
Classification: openSUSE
Component: Other (show other bugs)
Version: Leap 15.6
Hardware: Other Other
: P5 - None : Major (vote)
Target Milestone: ---
Assignee: Pavel Dostál
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-16 15:28 UTC by Lubos Kocman
Modified: 2023-11-16 15:28 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lubos Kocman 2023-11-16 15:28:38 UTC
Hello

gh does not build on Leap 15.6. This should be fixed before Beta (Feb 2023).
https://en.opensuse.org/openSUSE:Roadmap#Schedule_for_openSUSE_Leap_15.6

Build log from Leap 15.6
https://build.opensuse.org/package/live_build_log/openSUSE:Backports:SLE-15-SP6/gh/standard/x86_64

[   74s] ok  	github.com/cli/cli/v2/pkg/cmd/cache/shared	0.014s
[   75s] ?   	github.com/cli/cli/v2/pkg/cmd/config	[no test files]
[   75s] --- FAIL: TestPendingOperationDisallowsSSH (0.00s)
[   75s]     ssh_test.go:22: expected pending operation error, but got: selecting ssh keys: checking configured keys: could not find ssh executable: exec: "ssh": executable file not found in $PATH
[   75s] --- FAIL: TestGenerateAutomaticSSHKeys (0.00s)
[   75s]     ssh_test.go:86: Unexpected error from generateAutomaticSSHKeys: exec: "ssh-keygen": executable file not found in $PATH
[   75s]     ssh_test.go:89: Unexpected nil KeyPair from generateAutomaticSSHKeys
[   75s] --- FAIL: TestSelectSSHKeys (0.00s)
[   75s]     ssh_test.go:242: Unexpected error from selectSSHKeys: checking configured keys: could not find ssh executable: exec: "ssh": executable file not found in $PATH
[   75s]     ssh_test.go:242: Unexpected error from selectSSHKeys: checking configured keys: could not find ssh executable: exec: "ssh": executable file not found in $PATH
[   75s]     ssh_test.go:242: Unexpected error from selectSSHKeys: checking configured keys: could not find ssh executable: exec: "ssh": executable file not found in $PATH
[   75s]     ssh_test.go:242: Unexpected error from selectSSHKeys: checking configured keys: could not find ssh executable: exec: "ssh": executable file not found in $PATH
[   75s]     ssh_test.go:242: Unexpected error from selectSSHKeys: checking configured keys: could not find ssh executable: exec: "ssh": executable file not found in $PATH
[   75s]     ssh_test.go:242: Unexpected error from selectSSHKeys: checking configured keys: could not find ssh executable: exec: "ssh": executable file not found in $PATH
[   75s] FAIL
[   75s] FAIL	github.com/cli/cli/v2/pkg/cmd/codespace	0.021s
[   75s] ok  	github.com/cli/cli/v2/pkg/cmd/completion	0.005s
...
[   97s] FAIL
[   97s] make: *** [Makefile:44: test] Error 1
[   97s] error: Bad exit status from /var/tmp/rpm-tmp.E2C8dd (%check