test: Four fixes for RHEL for Edge tests
1. Remove ansible-blocking-io.py workaround. It's not required. 2. Variable should be PROD_REPO_URL, not STAGE_REPO_URL in ostree-raw-image.sh 3. Use --reboot in rpm-ostree install to reboot VM instead of a reboot ansible task 4. Wait until config file serviceinfo_api_server.yml exists, to avoid file not available to use flaky issue
This commit is contained in:
parent
6040c10e10
commit
2baaa20859
7 changed files with 14 additions and 51 deletions
|
|
@ -528,7 +528,7 @@ sudo mv boot.iso /var/lib/libvirt/images
|
|||
LOCAL_BOOT_LOCATION="/var/lib/libvirt/images/boot.iso"
|
||||
|
||||
# Workaround to fix issue https://github.com/osbuild/osbuild-composer/issues/3216
|
||||
if [[ "${ID}-${VERSION_ID}" == "fedora-37" ]]; then
|
||||
if [[ "${ID}" == "fedora" ]]; then
|
||||
location_arg="${LOCAL_BOOT_LOCATION}",initrd=images/pxeboot/initrd.img,kernel=images/pxeboot/vmlinuz
|
||||
else
|
||||
location_arg="${LOCAL_BOOT_LOCATION}"
|
||||
|
|
@ -742,10 +742,6 @@ ansible_private_key_file=${SSH_KEY}
|
|||
ansible_ssh_common_args="-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null"
|
||||
EOF
|
||||
|
||||
# Fix ansible error https://github.com/osbuild/osbuild-composer/issues/3309
|
||||
greenprint "fix stdio file non-blocking issue"
|
||||
sudo /usr/libexec/osbuild-composer-test/ansible-blocking-io.py
|
||||
|
||||
# Test IoT/Edge OS
|
||||
sudo ansible-playbook -v -i "${TEMPDIR}"/inventory \
|
||||
-e image_type=${IMAGE_TYPE} \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue