Skip to content

Fix proxy-cmdline test on fedora-eln - #1684

Open
adamkankovsky wants to merge 1 commit into
rhinstaller:mainfrom
adamkankovsky:proxy-cmdline-fedora-eln
Open

Fix proxy-cmdline test on fedora-eln#1684
adamkankovsky wants to merge 1 commit into
rhinstaller:mainfrom
adamkankovsky:proxy-cmdline-fedora-eln

Conversation

@adamkankovsky

Copy link
Copy Markdown
Contributor

The test fails on fedora-eln in two ways:

  1. GUI SoftwareSelectionSpoke hang: anaconda in GUI mode never completes the spoke, causing a 30-minute timeout. Fixed by switching to cmdline mode.

  2. 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

Comment thread proxy-cmdline.ks.in
rootpw qweqwe
shutdown

# Just install @core

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unrelated comment removed.

Comment thread proxy-cmdline.ks.in
%ksappend repos/default.ks
network --bootproto=dhcp

cmdline

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you know why it hanged?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we should also record the issue with ELN and make sure it's fixed in the right place (I guess ELN comps ?).

Comment thread proxy-cmdline.sh Outdated
@adamkankovsky
adamkankovsky force-pushed the proxy-cmdline-fedora-eln branch from 1ccae81 to 61bf2da Compare June 30, 2026 18:02
@adamkankovsky adamkankovsky reopened this Jun 30, 2026
Comment thread functions-proxy.sh Fixed
Comment thread functions-proxy.sh Fixed
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.
@adamkankovsky
adamkankovsky force-pushed the proxy-cmdline-fedora-eln branch from 0a72bca to 14575c2 Compare June 30, 2026 18:13
@adamkankovsky

Copy link
Copy Markdown
Contributor Author

/test-os-variants

@adamkankovsky

Copy link
Copy Markdown
Contributor Author

/test-tmt

@adamkankovsky
adamkankovsky requested a review from KKoukiou July 8, 2026 11:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants