On Fedora 39 images, the environment variable looks to be empty, so whenever we attempt to check for it in the following command, we get a failure which breaks the openQA tests for several ISOs. For example, on Everything ISO we expect the variable to be "custom-environment". The following command should be able to return it: --- grep 'Selecting the.*environment' /tmp/anaconda.log /tmp/packaging.log | tail -1 | grep 'custom-environment'. --- However, what we are getting is "Selecting the '' environment." On Fedora 38, everything works as expected. The problems started to appear when Rawhide became Fedora 39 and we started to test for Fedora 39 isos. See the example of a failed test: https://openqa.fedoraproject.org/tests/2056305# Reproducible: Always Steps to Reproduce: 1. Boot the Everything F39 iso. 2. Proceed to Anaconda's main pane. 3. Hit Ctrl-Alt-F3 to proceed to the virtual console. 4. Type the command grep 'Selecting the.*environment' /tmp/anaconda.log /tmp/packaging.log | tail -1 | grep 'custom-environment' 5. The string 'custom-environment' should be returned, but nothing is returned. Exit code is 1. 6. Try to lessen the command to grep 'Selecting the.*environment' /tmp/anaconda.log /tmp/packaging.log 7. You will see the result "Selecting the '' environment". Actual Results: The environment variable seems to be unset. Expected Results: The variable should be set as it was the case on Fedora 38.
The same problem seems to exist on the Server-boot-iso.
This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle. Changing version to 39.
I tried to reproduce the issue with Fedora-Everything-netinst-x86_64-39_Beta-1.1.iso and it seems to work as expected. There are no logs to investigate, but based on the screenshots, the status of the "Software Selection" screen says "Warning checking software selection". I would guess that there was an issue with comps files. Thanks to that, the default environment selection wasn't a valid option, so Anaconda reset the software selection. That's why you could see "Selecting the '' environment" in the logs. Could you retry the test, please?
I can no longer see this problem in the OpenQA tests. The yesterday's run has passed without issues, see https://openqa.fedoraproject.org/tests/2214034