Fix proxy-cmdline test on fedora-eln - #1684
Conversation
| rootpw qweqwe | ||
| shutdown | ||
|
|
||
| # Just install @core |
There was a problem hiding this comment.
Unrelated comment removed.
| %ksappend repos/default.ks | ||
| network --bootproto=dhcp | ||
|
|
||
| cmdline |
There was a problem hiding this comment.
Do you know why it hanged?
There was a problem hiding this comment.
The installation was hanging in Anaconda's GUI mode at the SummaryHub, waiting for the SoftwareSelectionSpoke to become ready. On fedora-eln, this spoke never reached a ready state — likely because the ELN repositories don't provide the same comps/group metadata that the spoke expects, so it gets stuck trying to resolve package groups.
Since this test only installs @core (no explicit group selection needed), switching to cmdline mode avoids the SoftwareSelectionSpoke entirely and lets the installation proceed without user interaction. The cmdline mode is actually a better fit for what this test is validating — proxy connectivity — which has nothing to do with the GUI software selection flow.
There was a problem hiding this comment.
Maybe we should also record the issue with ELN and make sure it's fixed in the right place (I guess ELN comps ?).
1ccae81 to
61bf2da
Compare
Add cmdline to the kickstart to prevent the GUI SoftwareSelectionSpoke from hanging in Anaconda on ELN. Fix grep pattern in check_proxy_settings to match CONNECT entries with explicit port numbers (e.g. host:443) as logged by Squid.
0a72bca to
14575c2
Compare
|
/test-os-variants |
|
/test-tmt |
The test fails on fedora-eln in two ways:
GUI SoftwareSelectionSpoke hang: anaconda in GUI mode never completes the spoke, causing a 30-minute timeout. Fixed by switching to cmdline mode.
Package download failures through proxy: the download.fedoraproject.org redirector sends anaconda to mirrors that return 403 through the HTTPS CONNECT proxy tunnel. Fixed by rewriting ELN repo URLs to use a direct HTTPS mirror (ftp-stud.hs-esslingen.de) in prepare(), with a dedicated check_proxy_settings_for_host() validation function.
Resolves: gh1534