Add a test of a kickstart install with a bad package (#336) #523
Open
adamwill
wants to merge 1 commit from
kickstart-badpackage into main
pull from: kickstart-badpackage
merge into: quality:main
quality:main
quality:report_flathub_mediawriter
quality:eln-wrapper
quality:live-switched-passwordfix
quality:notifications-fresh-user
quality:eln-kde-cyrillic-no-switch
quality:staging
quality:fix/maps_loading
quality:fix/anaconda_slowness
quality:root-exists-tweak
quality:fix/start_setup
quality:fix/maximize
quality:systemd-terminal-scattergun
quality:fix/fonts
quality:newtest/openvpn
quality:xrdp-cannon
quality:kde-login-cannon
quality:2440238-testcannon
quality:fix/calculator
quality:initrd-hang-cannon
quality:gnome-ibus-crash-cannon
quality:bash_syntax_fix
quality:keyring-kwallet-create
quality:updates-server-boot-iso
quality:plasmalogin-updates
quality:kernel-vmmouse-bisect
quality:fix-testdata-link
quality:overlay_attempts
quality:eol-cleanups-202601
quality:needle-cleanup-202601
quality:ci-f41-fix
quality:kde-plasma-setup-changes
quality:nmcli-discovery-refine
quality:blivet-custom-larger-boot
quality:vkcube-42-error
quality:vk-validate
quality:kde-dug-retry
quality:fix/update_to_new_repository
quality:2404267-poking
quality:usb-aarch64
quality:silverblue-aarch64
quality:aarch64-compose-misc
quality:updates-server-aarch64
quality:container-kiwi-aarch64
quality:no-aarch64-groups
quality:updates-kde-disk-aarch64
quality:boot_iso_as_usbdisk
quality:boot_iso_as_usbdisk_adam
quality:boot_iso_as_usbdisk_alternative
quality:update-upgrade-aarch64
quality:updates-cloud-aarch64
quality:support-server-link
quality:blivet-swraid-moar-raid
quality:better-ostree-fixes
quality:fix-updvercheck-canned
quality:webui-language-adams-version
quality:setup-repos-retry-downloads
quality:aarch64-ebi
quality:kde-updates-keyring
quality:fix/fullscreen
quality:fix/login2
quality:rmdepcheck
quality:iot-static-stop-greenboot
quality:whoami-output
quality:more-dnf-retry
quality:webui_european_language
quality:createrepo-retry
quality:rdp-aarch64-console
quality:desktop-login-kde
quality:updates-kde-aarch64
quality:remote_desktop_freerdp
quality:kde-anaconda-launch-welcome
quality:kde-unwanted-gtk2
quality:keyboard_layout_webui
quality:gis-tz-49
quality:kde-aarch64
quality:journal-avc-dump
quality:kleopatra-startstop
quality:fix/i3tiling
quality:updates-workstation-aarch64
quality:update-cloud
quality:package-ftp-autofs
quality:podman-tcp-flake
quality:webui-no-user
quality:iot-ignition
quality:no-kgpg
quality:fix/browser
quality:webui-datetime
quality:software-key-prompt
quality:updates-desktop-login
quality:show_details_when_failed
quality:podman-bats-rootless
quality:podman-full-adam
quality:podman-rootless
quality:unified_buttons
quality:rdp-server-wait
quality:cis-update
quality:kernel-mystery-permissive
quality:pass_KDE_webUI
quality:kde-webui-adamw
quality:fix-upgrade
quality:newtest/sofware2
quality:tag-reduce-updatepkgs
quality:kde-okular
quality:add_tests_for_papers
quality:webui-updates
quality:navigation-showtime
quality:uefi-fallback-no-transient
quality:openh264-change
quality:update-upgrade-best
quality:check-signed-packages
quality:gte-48
quality:fonts-adwaita
quality:fix/gnome_start_stop
quality:gnome-48
quality:reduce-pagure-usage
quality:boot_iso_as_usbdisk_old
quality:newtest/kwrite
quality:new_menu_launch_type
quality:fmw-ws-kde
quality:buildroot-repo
quality:anaconda-layout-switch-click
quality:newtest/dolphin
quality:webui-custom
quality:lukas_testing
quality:test-2325780
quality:os-release-addon
quality:error_reporting
quality:tweak-update-fwupd
quality:webui-lang-select
quality:onyx-test
quality:test-2329581
quality:live-install-retry
quality:workaround-2335913
quality:cpu-host
quality:vnc-to-rdp
quality:extend_navigation
quality:kde_kcalc
quality:kde_gwenview
quality:kiwi-live-refactor
quality:gnome_accessibility
quality:dnf5
quality:abstract-launch-terminal
quality:printing-robustify-maximize
quality:extend-desktop-update-tests
quality:kde-applications
quality:keyring-simplify-robustify
quality:i3-tests-rebased
quality:dm-login-factor
quality:kde62-update-fix
quality:eln-updates
quality:rawhide-ver-ge
quality:ptyxis
quality:update-fonts-test
quality:test-2442-revert
quality:lorax-check-packages
quality:aarch64-update-tests
quality:excludepkgs
quality:gnome-calculator-short
quality:updvercheck-dnf
quality:firefox-studies-update
quality:serial-mode-no-question
quality:silverblue_startstop
quality:fix_timer_needle
quality:desktop_keyring
quality:desktop_keyring_ssh
quality:updates-netinst-addrepos
quality:flatpak-proxy
quality:copr
quality:dnf5-fixes
quality:drop-1943943-workaround
quality:kiwi-container
quality:graphical_upgrade_workstation
quality:22747700-debug
quality:apps-startstop-optimize
quality:prerelease-softfail-iot
quality:newtest/navigation
quality:secure-boot-test
quality:fix-skip-repo-setup
quality:updates-silverblue-uefi
quality:iot-309-workaround
quality:guw-lukas
quality:fix/location
quality:numdisks-fix
quality:fix/startstop_kde
quality:toolbox-compose-test
quality:cockpit_partitioning
quality:workstation-osbuild
quality:gtk-test
quality:newtest/window-manager
quality:concdl
quality:revert-update-images
quality:needle-cleanup-202401
quality:aasetting-no-black
quality:flatpak_install
quality:rtt-tests
quality:sysmon-click
quality:cheese-snapshot
quality:fix/timestamp
quality:select_language
quality:newtest/loupe
quality:pikvm
quality:fix-gis
quality:webui
quality:domain-replica-decommission
quality:desktop_high_contrast
quality:podman-upstream
quality:samba-workaround
quality:new_anaconda_workstation
quality:http2
quality:fontfix
quality:fix/login
quality:ad-fix
quality:flock_talk
quality:samba-ad
quality:turkish_installation
quality:retire_modularity
quality:pagure-retry
quality:sumantro-review
quality:fix/volumebar
quality:test-tag
quality:fix/gnome-text-editor
quality:eln-more-tests
quality:newtest/tour
quality:update-image
quality:eln
quality:ocr-needles
quality:simplify-blivet-resize-ppc
quality:ostree-custom-ref
quality:needle-cleanup-202304
quality:kill-universal
quality:serialfixes
quality:newtest/gnome-panel
quality:fix-evince
quality:newtest/software
quality:newtest/fonts
quality:package-test-pandoc
quality:pykickstart-update-fix
quality:better-check-nonmatching
quality:ostree-generic
quality:image-build-rawhide-buildroot
quality:fix-maps
quality:lowlevel
quality:fix-nautilus
quality:ostree
quality:chunked-nvrs
quality:fix/deduplicate_needles
quality:tap2
quality:ostree-build
quality:newtest/maps
quality:gis-ipa
quality:move-vars
quality:fix/default_fonts
quality:newtest/contact
quality:fix/bugzilla-crash-reporting
quality:system_monitor
quality:fix/newtest-needle
quality:bugreporter
quality:newtest/archiver
quality:rebase-ro-workaround
quality:fix/text_editor
quality:ipa-enable-dnssec
quality:disable-updates-testing-upgradepre
quality:aarch64-more-workstation
quality:weston
quality:fix/2120433-workaround
quality:ostree-usroverlay
quality:fix/modularity_rawhide
quality:gtk4
quality:anaconda-gpt-default
quality:fix/startstop-tests
quality:fix/37-gnome-fixes
quality:nautilus-fixes
quality:newtest/weather
quality:calculator-flatpak
quality:newtest/calculator
quality:ci-latest-container-2
quality:large-updates
quality:perltidy
quality:perllint
quality:fix/desktop_login
quality:newtest/file_manager
quality:upstream-retry
quality:repodata_fix
quality:newtest/help
quality:newtest/clocks
quality:rhel-trial
quality:firefox-quit-fail-reboot
quality:fix/kde_setup
quality:firefox-ostree
quality:feature/i18n_default_fonts
quality:fix/vault
quality:drop-workarounds-36
quality:rawhide-updates
quality:update-tweak-again
quality:test/system-settings
quality:gte-old
quality:iot-uefi
quality:fix/desktop_printing_cupsless
quality:fix/fedora-release.pm
quality:newtest/gnome-text-editor
quality:fix/supporting_routines
quality:eog/defensive
quality:fix/boot_to_anaconda
quality:more-addrepo-fun
quality:newtest/gui-upgrade
quality:upgrade-postinstall
quality:postupgrade_tests
quality:ci-latest-container
quality:newtest/eog
quality:gnome-app-robust
quality:workaround-1999321
quality:freeipa-noresolved
quality:shell-overview-robustify
quality:fix-root
quality:update-install-source-check
quality:addrepo-metalink
quality:newtest/gedit
quality:needle-cleanup-2021
quality:fprint-auth
quality:newtest/evince
quality:cloud-uefi
quality:fix-osrelease-fedoralinux
quality:autococonut/hello_world
quality:fix/issue_228
quality:desktop-update-loop-tweak
quality:desktop-upgrade-aarch64
quality:updates-podman
quality:newtest/kde_plasma_disks_vault
quality:jpeglx-workaround
quality:japanese-input-method
quality:cleanup-update-needles
quality:delete_unused_needles
quality:smolkonsole-fix
quality:nonlive-fix
quality:fix-check-source
quality:fix-cloud
quality:fix/install_resize_lvm
quality:vnc-boxes-to-connections
quality:drop-1691487-workaround
quality:enhancement/modularity_list
quality:unwanted-packages
quality:move-blivet-resize-lvm
quality:newtest/modularity_test_all
quality:kde-notifications-f34
quality:fix-kde-updates
quality:test/btrfs_preserve_home_uefi
quality:aarch64-encrypt-workaround
quality:kde-system-monitor
quality:gnome-shell-overviewdefault
quality:kde-apps-lo
quality:kde-update-fix
quality:fix-preserve-home
quality:feature/custom_blivet_lvm_ext4
quality:feature/custom_blivet_standard
quality:feature/custom_blivet_preserve_home
quality:feature/custom_btrfs_preserve_home
quality:not-domain-local
quality:cockpit-234
quality:fix/search_for_textfield
quality:fix/standard
quality:fix/lvm_tests
quality:universal-overhaul
quality:apptest_gedit
quality:cockpit-232-fix
quality:unify-base-tests
quality:aarch64-images
quality:fix/configure_menu
quality:simplify-notifications
quality:freeipa-resolved
quality:no-pkgs-for-arch
quality:coreos
quality:gis-next
quality:reboot-gnome
quality:feature_mousedrag
quality:install-with-swap
quality:iot-zezere
quality:new-host-ip
quality:clevis-tpm
quality:base-update
quality:iot-rpmostree-overlay
quality:blivet_reset_resize
No reviewers
Labels
Clear labels
label for requesting AI code review
Closed with the reason of Duplicate
Closed with the reason of Fixed
Closed with the reason of Invalid
issues or enhancement requests related to FreeIPA in some way
some kind of improvement (but not bug fix) to an existing test
issues relating to test enablement on Fedora IoT
requests for new tests
issues relating to test enablement on Fedora Silverblue
tracker issue, only exists to track a set of related issues
Work items that have been created or updated but need review, refinement, or approval before they can be considered ready for sprint planning.
Work items that have been reviewed, refined, and are ready to be committed to a sprint. These items have clear requirements and can be worked on immediately when capacity is available.
Work that needs to be done but doesn't add new functionality or fix bugs. Maintenance tasks that keep the system running smoothly and the codebase clean.
Work focused on creating, updating, or improving documentation for users, developers, or system administrators.
A task that is simple, small, and has very little uncertainty. It should be easy enough for any team member to pick up and complete quickly, without a lot of discussion or research.
This is a task that is slightly more complex or larger than a "1." It might involve two or three simple steps, but the outcome is still very clear and there's little uncertainty.
Medium-sized task with some noticeable complexity. It might require a bit more thought or collaboration. The steps are well-defined, but it's not a trivial change.
A significant piece of work. It has more complexity and a higher degree of uncertainty than smaller tasks. It might require some research, a design discussion, or collaboration across multiple teams.
Complex task with a lot of uncertainty. It's often the largest size that a team will consider for a single sprint. It likely requires a detailed breakdown and multiple team members to complete.
Any task that feels like it's a "13" or more is considered an Epic. These are too large and uncertain to be worked on in a single sprint and should be broken down.
This is for work that is urgent and of critical importance and so and must be addressed immediately with a higher priority than all other work, even if not originally planned for the current sprint.
This is for work that is critical and needs to be addressed in the next sprint. It's often for urgent bugs, important features, or a major piece of technical debt that is blocking other work.
This is for work that is good to do but not urgent. It's a candidate for being worked on when there's extra time or when it rises in importance. It can stay in the backlog for a longer period.
This is for important work that should be done soon, but isn't as urgent as a high-priority item. It will likely be considered for the next 1-2 sprints.
Work items that cannot progress due to external dependencies, blockers, or issues that need resolution.
Work items that have been completed, reviewed, and integrated. No further work is needed within the current sprint.
Work items currently being worked on by a team member. Active development, research, or implementation is happening.
Work items that are complete but need review, testing, or approval before being marked as done.
Work items that are committed to the sprint but haven't been started yet. These items are ready to be picked up by team members.
Work that addresses shortcuts, workarounds, or suboptimal implementations that were done previously to meet deadlines. These items improve code quality, maintainability, or performance without adding new features.
Issues where the system is not working as intended or designed. Bugs represent deviations from expected behavior.
Large initiatives that are broken down into multiple smaller work items (user stories, tasks, bugs). Epics represent significant features or projects that span multiple sprints.
Time-boxed research, investigation, or proof-of-concept work to reduce uncertainty or explore solutions. Spikes help inform future development decisions.
Used to break down larger user stories into smaller, manageable implementation pieces. They focus on the specific technical steps needed to deliver the user story's value.
User-facing features or functionality that can be framed from a user perspective, describing what someone wants to accomplish and why.
ai-review-please
label for requesting AI code review
Closed As
Duplicate
Closed with the reason of Duplicate
Closed As
Fixed
Closed with the reason of Fixed
Closed As
Invalid
Closed with the reason of Invalid
easyfix
freeipa
issues or enhancement requests related to FreeIPA in some way
improvetest
some kind of improvement (but not bug fix) to an existing test
iot
issues relating to test enablement on Fedora IoT
newtest
requests for new tests
silverblue
issues relating to test enablement on Fedora Silverblue
tracker
tracker issue, only exists to track a set of related issues
Backlog Status
Needs Review
Work items that have been created or updated but need review, refinement, or approval before they can be considered ready for sprint planning.
Backlog Status
Ready
Work items that have been reviewed, refined, and are ready to be committed to a sprint. These items have clear requirements and can be worked on immediately when capacity is available.
chore
Work that needs to be done but doesn't add new functionality or fix bugs. Maintenance tasks that keep the system running smoothly and the codebase clean.
documentation
Work focused on creating, updating, or improving documentation for users, developers, or system administrators.
points
01
A task that is simple, small, and has very little uncertainty. It should be easy enough for any team member to pick up and complete quickly, without a lot of discussion or research.
points
02
This is a task that is slightly more complex or larger than a "1." It might involve two or three simple steps, but the outcome is still very clear and there's little uncertainty.
points
03
Medium-sized task with some noticeable complexity. It might require a bit more thought or collaboration. The steps are well-defined, but it's not a trivial change.
points
05
A significant piece of work. It has more complexity and a higher degree of uncertainty than smaller tasks. It might require some research, a design discussion, or collaboration across multiple teams.
points
08
Complex task with a lot of uncertainty. It's often the largest size that a team will consider for a single sprint. It likely requires a detailed breakdown and multiple team members to complete.
points
13
Any task that feels like it's a "13" or more is considered an Epic. These are too large and uncertain to be worked on in a single sprint and should be broken down.
Priority
Critical
This is for work that is urgent and of critical importance and so and must be addressed immediately with a higher priority than all other work, even if not originally planned for the current sprint.
Priority
High
This is for work that is critical and needs to be addressed in the next sprint. It's often for urgent bugs, important features, or a major piece of technical debt that is blocking other work.
Priority
Low
This is for work that is good to do but not urgent. It's a candidate for being worked on when there's extra time or when it rises in importance. It can stay in the backlog for a longer period.
Priority
Medium
This is for important work that should be done soon, but isn't as urgent as a high-priority item. It will likely be considered for the next 1-2 sprints.
Sprint Status
Blocked
Work items that cannot progress due to external dependencies, blockers, or issues that need resolution.
Sprint Status
Done
Work items that have been completed, reviewed, and integrated. No further work is needed within the current sprint.
Sprint Status
In Progress
Work items currently being worked on by a team member. Active development, research, or implementation is happening.
Sprint Status
Review
Work items that are complete but need review, testing, or approval before being marked as done.
Sprint Status
To Do
Work items that are committed to the sprint but haven't been started yet. These items are ready to be picked up by team members.
Technical Debt
Work that addresses shortcuts, workarounds, or suboptimal implementations that were done previously to meet deadlines. These items improve code quality, maintainability, or performance without adding new features.
Work Item
Bug
Issues where the system is not working as intended or designed. Bugs represent deviations from expected behavior.
Work Item
Epic
Large initiatives that are broken down into multiple smaller work items (user stories, tasks, bugs). Epics represent significant features or projects that span multiple sprints.
Work Item
Spike
Time-boxed research, investigation, or proof-of-concept work to reduce uncertainty or explore solutions. Spikes help inform future development decisions.
Work Item
Task
Used to break down larger user stories into smaller, manageable implementation pieces. They focus on the specific technical steps needed to deliver the user story's value.
Work Item
User Story
User-facing features or functionality that can be framed from a user perspective, describing what someone wants to accomplish and why.
No labels
ai-review-please
Closed As
Duplicate
Closed As
Fixed
Closed As
Invalid
easyfix
freeipa
improvetest
iot
newtest
silverblue
tracker
Backlog Status
Needs Review
Backlog Status
Ready
chore
documentation
points
01
points
02
points
03
points
05
points
08
points
13
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Sprint Status
Blocked
Sprint Status
Done
Sprint Status
In Progress
Sprint Status
Review
Sprint Status
To Do
Technical Debt
Work Item
Bug
Work Item
Epic
Work Item
Spike
Work Item
Task
Work Item
User Story
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".
No due date set.
Dependencies
No dependencies set.
Reference
quality/os-autoinst-distri-fedora!523
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "kickstart-badpackage"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
As requested by anaconda team in #336, add a test of a kickstart
install that specifies a non-existent package. This should
trigger a non-fatal warning, shortly after installation starts,
which we can click through to complete the install.
Note this is broken in Fedora 43+
https://bugzilla.redhat.com/show_bug.cgi?id=2459944
so I created the needle manually from a Fedora 42 install with
the kickstart.
Signed-off-by: Adam Williamson awilliam@redhat.com
Hmm, the needle isn't 1024x768, not sure if that'll cause problems. Once there's a fix for the bug I'll see if this works...if not, I'll replace the needle.
ah, wait, this can't work...
a0eb352b5865b24d5382Result report PR: quality/fedora_openqa#136
AI Code Review
📋 MR Summary
Adds a test case for Kickstart installations that include a non-existent package, expecting and bypassing a non-fatal warning.
install_kickstart_badpackagesetting theBADPACKAGEvariable.BADPACKAGEis set.Detailed Code Review
The implementation correctly maps the new kickstart test requirements and appropriately guards the interaction logic with the
BADPACKAGEvariable. The primary issue identified is a potential race condition/timeout during the assertion of the warning dialog, which could lead to test flakiness if the installer is slow to initialize.📂 File Reviews
📄 `tests/_boot_to_anaconda.pm` - Adds an assertion to click the bad package warning dialog before waiting for the post-install bootloader.
assert_and_click. The default timeout (typically 30 seconds) might be insufficient if Anaconda takes longer to initialize, download stage2, and parse the Kickstart file before presenting the warning. This can lead to flaky test failures.assert_and_clickto account for variable system performance during installer startup.✅ Summary
assert_and_clickcall in_boot_to_anaconda.pmto prevent race conditions during installer startup.🤖 AI Code Review | Generated with ai-code-review | Model:
gemini-3.1-pro-preview⚠️ AI-generated suggestions may be incorrect. Verify before applying. Not a replacement for human review.
Yeah, true. Fixing.
65b24d538267fcd650fdKinda blocked by https://bugzilla.redhat.com/show_bug.cgi?id=2459944 . I'd prefer the bug to be fixed before we merge the test, so we can check the test all the way, and update the needle if necessary.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.