rhinstaller / kickstart-tests

Kickstart-driven tests for the Anaconda installer
56 stars 36 forks source link

packages-default failing on daily-iso: "*** Failed check: there is any environment installed." #975

Open rvykydal opened 1 year ago

rvykydal commented 1 year ago

First hit: 2023-06-21

2023-06-21 23:34:51,561 DEBUG: Running command: ['/opt/kstest/kickstart-tests/scripts/launcher/lib/launcher_interface.sh', '-i', '/opt/kstest/data/images/boot.iso', '-k', '1', '-w', '/var/tmp/kstest-packages-default.2023_06_21-23_27_29.m4e8uhm8', '-t', '/opt/kstest/kickstart-tests/packages-default.sh', 'validate']
2023-06-21 23:35:08,370 DEBUG: Failed to run subprocess: '['/opt/kstest/kickstart-tests/scripts/launcher/lib/launcher_interface.sh', '-i', '/opt/kstest/data/images/boot.iso', '-k', '1', '-w', '/var/tmp/kstest-packages-default.2023_06_21-23_27_29.m4e8uhm8', '-t', '/opt/kstest/kickstart-tests/packages-default.sh', 'validate']'
stdout:
*** Failed check: there is any environment installed.

2023-06-21 23:35:08,370 INFO: RESULT:packages-default:6f8f3af29e27:FAILED:Validation failed with return code 1
2023-06-21 23:35:08,370 DEBUG: Running command: ['/opt/kstest/kickstart-tests/scripts/launcher/lib/launcher_interface.sh', '-i', '/opt/kstest/data/images/boot.iso', '-k', '1', '-w', '/var/tmp/kstest-packages-default.2023_06_21-23_27_29.m4e8uhm8', '-t', '/opt/kstest/kickstart-tests/packages-default.sh', 'cleanup']
2023-06-21 23:35:08,376 DEBUG:.

kstest.log virt-install.log

rvykydal commented 1 year ago

packages diff with the last successful daily: diff.package_versions.log

rvykydal commented 1 year ago

PR to disable the issue: https://github.com/rhinstaller/kickstart-tests/pull/976

rvykydal commented 1 year ago

I'd guess the string we parse may have changed (https://github.com/rhinstaller/kickstart-tests/blob/a0dfcdc826bb0aab7af9226ea84dac5754a2c457/packages-default.ks.in#L15), or the comps?

KKoukiou commented 5 months ago

The @custom-environment is installed as expected.

however in the post script, when issuing dnf group list --installed I dont see the group specified.

18577 May 16 09:23:46 ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com anaconda[2502]: program: Updating and loading repositories: Fedora - Rawhide - Developmental packa 100% | 5.0 Mi      B/s | 20.7 MiB | 00m04s Fedora rawhide openh264 (From Cisco) - 100% | 2.0 KiB/s | 4.8 KiB | 00m02s Repositories loaded.

Maybe dnf is silencing some groups?

Update: confirmed that on a newly installed system with 'custom environent' selected, the dnf does not detect groups:

Screen Shot 2024-05-16 at 12 02 59

KKoukiou commented 5 months ago

Filed a bugzilla for this: https://bugzilla.redhat.com/show_bug.cgi?id=2280804