vmtest: no-reboot prevents installed centos images from reporting success
Bug #1881011 reported by
Ryan Harper
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
curtin (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Centos vmtests install fine, the first boot phase fails as Centos requires an selinux relabling process which reboots after relabeling. The --no-reboot flag prevents this and we fail the test.
*** Warning -- SELinux targeted policy relabel is required.
*** Relabeling could take a very long time, depending on file
vmtest should not specify the --no-reboot flag for the first-boot phase if on centos.
Related branches
~raharper/curtin:ubuntu-devel-new-upstream-snapshot-20200528
Ready for review
for merging
into
curtin:ubuntu/devel
- Server Team CI bot: Approve (continuous-integration)
- Paride Legovini: Approve
- Chad Smith: Approve
-
Diff: 153 lines (+15/-14)9 files modifieddebian/changelog (+8/-0)
tests/vmtests/__init__.py (+3/-1)
tests/vmtests/test_basic.py (+0/-1)
tests/vmtests/test_mdadm_bcache.py (+1/-1)
tests/vmtests/test_network_ipv6_vlan.py (+0/-4)
tests/vmtests/test_network_vlan.py (+0/-2)
tests/vmtests/test_nvme.py (+1/-1)
tests/vmtests/test_raid5_bcache.py (+1/-1)
tests/vmtests/test_reuse_uefi_esp.py (+1/-3)
~raharper/curtin:ubuntu-focal-sru-20200527
- Chad Smith: Approve
- Server Team CI bot: Approve (continuous-integration)
-
Diff: 14285 lines (+9598/-1135)113 files modifiedHACKING.rst (+2/-2)
Makefile (+15/-6)
curtin/__init__.py (+3/-1)
curtin/block/__init__.py (+192/-14)
curtin/block/bcache.py (+242/-1)
curtin/block/clear_holders.py (+34/-51)
curtin/block/lvm.py (+44/-7)
curtin/block/mdadm.py (+10/-25)
curtin/block/mkfs.py (+8/-2)
curtin/block/multipath.py (+90/-11)
curtin/block/schemas.py (+13/-2)
curtin/commands/apply_net.py (+3/-0)
curtin/commands/apt_config.py (+6/-10)
curtin/commands/block_discover.py (+11/-2)
curtin/commands/block_meta.py (+599/-474)
curtin/commands/clear_holders.py (+44/-9)
curtin/commands/curthooks.py (+246/-95)
curtin/commands/install_grub.py (+406/-0)
curtin/commands/net_meta.py (+5/-2)
curtin/deps/__init__.py (+5/-2)
curtin/distro.py (+46/-1)
curtin/net/__init__.py (+6/-4)
curtin/net/deps.py (+4/-2)
curtin/net/network_state.py (+3/-1)
curtin/storage_config.py (+74/-41)
curtin/udev.py (+25/-2)
curtin/util.py (+13/-8)
debian/changelog (+64/-0)
dev/null (+0/-6)
doc/topics/config.rst (+4/-5)
doc/topics/storage.rst (+108/-19)
examples/tests/bcache-ceph-nvme-simple.yaml (+2/-2)
examples/tests/bcache-ceph-nvme.yaml (+2/-2)
examples/tests/crashdump.cfg (+33/-0)
examples/tests/filesystem_battery.yaml (+1/-0)
examples/tests/mirrorboot-uefi.yaml (+17/-1)
examples/tests/multipath-lvm-part-wipe.yaml (+125/-0)
examples/tests/multipath-lvm.yaml (+121/-0)
examples/tests/multipath.yaml (+6/-0)
examples/tests/network_config_disabled.yaml (+4/-0)
examples/tests/network_config_disabled_with_version.yaml (+5/-0)
examples/tests/network_disabled.yaml (+8/-0)
examples/tests/panic.yaml (+2/-0)
examples/tests/preserve-bcache.yaml (+82/-0)
examples/tests/preserve-lvm.yaml (+77/-0)
examples/tests/preserve-partition-wipe-vg-simple.yaml (+62/-0)
examples/tests/preserve-partition-wipe-vg.yaml (+116/-0)
examples/tests/preserve-raid.yaml (+4/-2)
examples/tests/reuse-lvm-member-partition.yaml (+94/-0)
examples/tests/reuse-msdos-partitions.yaml (+77/-0)
examples/tests/reuse-raid-member-wipe-partition.yaml (+2/-0)
examples/tests/reuse-raid-member-wipe.yaml (+2/-1)
examples/tests/uefi_reuse_esp.yaml (+4/-2)
examples/tests/vmtest_defaults.yaml (+19/-1)
helpers/common (+11/-5)
tests/data/probert_storage_bogus_wwn.json (+1258/-0)
tests/data/probert_storage_msdos_mbr_extended_v2.json (+537/-0)
tests/data/probert_storage_nvme_multipath.json (+310/-0)
tests/data/udevadm_info_sandisk_cruzer.txt (+54/-0)
tests/unittests/helpers.py (+52/-3)
tests/unittests/test_apt_custom_sources_list.py (+8/-5)
tests/unittests/test_apt_source.py (+10/-7)
tests/unittests/test_block.py (+104/-5)
tests/unittests/test_block_dasd.py (+2/-2)
tests/unittests/test_block_lvm.py (+31/-1)
tests/unittests/test_block_mdadm.py (+8/-6)
tests/unittests/test_block_mkfs.py (+9/-0)
tests/unittests/test_block_multipath.py (+45/-0)
tests/unittests/test_block_zfs.py (+24/-20)
tests/unittests/test_clear_holders.py (+51/-37)
tests/unittests/test_commands_block_meta.py (+996/-7)
tests/unittests/test_commands_clear_holders.py (+24/-0)
tests/unittests/test_commands_collect_logs.py (+2/-0)
tests/unittests/test_commands_install_grub.py (+1031/-0)
tests/unittests/test_commands_net_meta.py (+111/-0)
tests/unittests/test_curthooks.py (+529/-92)
tests/unittests/test_distro.py (+95/-2)
tests/unittests/test_gpg.py (+50/-44)
tests/unittests/test_make_dname.py (+3/-3)
tests/unittests/test_storage_config.py (+223/-3)
tests/unittests/test_udev.py (+43/-6)
tests/unittests/test_util.py (+25/-2)
tests/vmtests/__init__.py (+78/-18)
tests/vmtests/image_sync.py (+1/-1)
tests/vmtests/releases.py (+20/-3)
tests/vmtests/test_basic.py (+33/-20)
tests/vmtests/test_fs_battery.py (+9/-1)
tests/vmtests/test_mdadm_bcache.py (+35/-1)
tests/vmtests/test_multipath.py (+80/-3)
tests/vmtests/test_multipath_lvm.py (+76/-0)
tests/vmtests/test_network.py (+4/-1)
tests/vmtests/test_network_disabled.py (+72/-0)
tests/vmtests/test_network_ipv6_vlan.py (+0/-4)
tests/vmtests/test_network_vlan.py (+0/-2)
tests/vmtests/test_nvme.py (+1/-1)
tests/vmtests/test_old_apt_features.py (+2/-2)
tests/vmtests/test_panic.py (+31/-0)
tests/vmtests/test_preserve_bcache.py (+67/-0)
tests/vmtests/test_preserve_lvm.py (+80/-0)
tests/vmtests/test_preserve_partition_wipe_vg.py (+59/-0)
tests/vmtests/test_raid5_bcache.py (+1/-1)
tests/vmtests/test_reuse_lvm_member.py (+34/-0)
tests/vmtests/test_reuse_msdos_partitions.py (+31/-0)
tests/vmtests/test_reuse_raid_member.py (+1/-1)
tests/vmtests/test_reuse_uefi_esp.py (+1/-3)
tests/vmtests/test_ubuntu_core.py (+9/-0)
tools/block-discover-to-config (+1/-1)
tools/launch (+3/-1)
tools/schema-validate-storage (+1/-0)
tools/vmtest-filter (+2/-1)
tools/vmtest-sync-images (+1/-0)
tools/xkvm (+6/-1)
tox.ini (+23/-3)
~raharper/curtin:ubuntu-bionic-sru-20200527
- Chad Smith: Approve
- Server Team CI bot: Approve (continuous-integration)
-
Diff: 15324 lines (+10530/-1145)114 files modifiedHACKING.rst (+2/-2)
Makefile (+15/-6)
curtin/__init__.py (+3/-1)
curtin/block/__init__.py (+192/-14)
curtin/block/bcache.py (+242/-1)
curtin/block/clear_holders.py (+34/-51)
curtin/block/lvm.py (+44/-7)
curtin/block/mdadm.py (+10/-25)
curtin/block/mkfs.py (+8/-2)
curtin/block/multipath.py (+90/-11)
curtin/block/schemas.py (+15/-3)
curtin/commands/apply_net.py (+3/-0)
curtin/commands/apt_config.py (+6/-10)
curtin/commands/block_discover.py (+11/-2)
curtin/commands/block_meta.py (+599/-474)
curtin/commands/clear_holders.py (+44/-9)
curtin/commands/curthooks.py (+246/-95)
curtin/commands/install_grub.py (+406/-0)
curtin/commands/net_meta.py (+5/-2)
curtin/deps/__init__.py (+5/-2)
curtin/distro.py (+46/-1)
curtin/net/__init__.py (+6/-4)
curtin/net/deps.py (+4/-2)
curtin/net/network_state.py (+3/-1)
curtin/storage_config.py (+132/-46)
curtin/udev.py (+25/-2)
curtin/util.py (+13/-8)
debian/changelog (+65/-0)
dev/null (+0/-6)
doc/topics/config.rst (+4/-5)
doc/topics/storage.rst (+108/-19)
examples/tests/bcache-ceph-nvme-simple.yaml (+2/-2)
examples/tests/bcache-ceph-nvme.yaml (+2/-2)
examples/tests/crashdump.cfg (+33/-0)
examples/tests/filesystem_battery.yaml (+1/-0)
examples/tests/mirrorboot-uefi.yaml (+17/-1)
examples/tests/multipath-lvm-part-wipe.yaml (+125/-0)
examples/tests/multipath-lvm.yaml (+121/-0)
examples/tests/multipath.yaml (+6/-0)
examples/tests/network_config_disabled.yaml (+4/-0)
examples/tests/network_config_disabled_with_version.yaml (+5/-0)
examples/tests/network_disabled.yaml (+8/-0)
examples/tests/panic.yaml (+2/-0)
examples/tests/preserve-bcache.yaml (+82/-0)
examples/tests/preserve-lvm.yaml (+77/-0)
examples/tests/preserve-partition-wipe-vg-simple.yaml (+62/-0)
examples/tests/preserve-partition-wipe-vg.yaml (+116/-0)
examples/tests/preserve-raid.yaml (+4/-2)
examples/tests/reuse-lvm-member-partition.yaml (+94/-0)
examples/tests/reuse-msdos-partitions.yaml (+77/-0)
examples/tests/reuse-raid-member-wipe-partition.yaml (+2/-0)
examples/tests/reuse-raid-member-wipe.yaml (+2/-1)
examples/tests/uefi_reuse_esp.yaml (+4/-2)
examples/tests/vmtest_defaults.yaml (+19/-1)
helpers/common (+11/-5)
tests/data/probert_storage_bogus_wwn.json (+1258/-0)
tests/data/probert_storage_dasd.json (+809/-0)
tests/data/probert_storage_msdos_mbr_extended_v2.json (+537/-0)
tests/data/probert_storage_nvme_multipath.json (+310/-0)
tests/data/udevadm_info_sandisk_cruzer.txt (+54/-0)
tests/unittests/helpers.py (+52/-3)
tests/unittests/test_apt_custom_sources_list.py (+8/-5)
tests/unittests/test_apt_source.py (+10/-7)
tests/unittests/test_block.py (+104/-5)
tests/unittests/test_block_dasd.py (+2/-2)
tests/unittests/test_block_lvm.py (+31/-1)
tests/unittests/test_block_mdadm.py (+8/-6)
tests/unittests/test_block_mkfs.py (+9/-0)
tests/unittests/test_block_multipath.py (+45/-0)
tests/unittests/test_block_zfs.py (+24/-20)
tests/unittests/test_clear_holders.py (+51/-37)
tests/unittests/test_commands_block_meta.py (+996/-7)
tests/unittests/test_commands_clear_holders.py (+24/-0)
tests/unittests/test_commands_collect_logs.py (+2/-0)
tests/unittests/test_commands_install_grub.py (+1031/-0)
tests/unittests/test_commands_net_meta.py (+111/-0)
tests/unittests/test_curthooks.py (+529/-92)
tests/unittests/test_distro.py (+95/-2)
tests/unittests/test_gpg.py (+50/-44)
tests/unittests/test_make_dname.py (+3/-3)
tests/unittests/test_storage_config.py (+285/-7)
tests/unittests/test_udev.py (+43/-6)
tests/unittests/test_util.py (+25/-2)
tests/vmtests/__init__.py (+78/-18)
tests/vmtests/image_sync.py (+1/-1)
tests/vmtests/releases.py (+20/-3)
tests/vmtests/test_basic.py (+33/-20)
tests/vmtests/test_fs_battery.py (+9/-1)
tests/vmtests/test_mdadm_bcache.py (+35/-1)
tests/vmtests/test_multipath.py (+80/-3)
tests/vmtests/test_multipath_lvm.py (+76/-0)
tests/vmtests/test_network.py (+4/-1)
tests/vmtests/test_network_disabled.py (+72/-0)
tests/vmtests/test_network_ipv6_vlan.py (+0/-4)
tests/vmtests/test_network_vlan.py (+0/-2)
tests/vmtests/test_nvme.py (+1/-1)
tests/vmtests/test_old_apt_features.py (+2/-2)
tests/vmtests/test_panic.py (+31/-0)
tests/vmtests/test_preserve_bcache.py (+67/-0)
tests/vmtests/test_preserve_lvm.py (+80/-0)
tests/vmtests/test_preserve_partition_wipe_vg.py (+59/-0)
tests/vmtests/test_raid5_bcache.py (+1/-1)
tests/vmtests/test_reuse_lvm_member.py (+34/-0)
tests/vmtests/test_reuse_msdos_partitions.py (+31/-0)
tests/vmtests/test_reuse_raid_member.py (+1/-1)
tests/vmtests/test_reuse_uefi_esp.py (+1/-3)
tests/vmtests/test_ubuntu_core.py (+9/-0)
tools/block-discover-to-config (+1/-1)
tools/launch (+3/-1)
tools/schema-validate-storage (+1/-0)
tools/vmtest-filter (+2/-1)
tools/vmtest-sync-images (+1/-0)
tools/xkvm (+6/-1)
tox.ini (+23/-3)
~raharper/curtin:ubuntu-xenial-sru-20200527
- Server Team CI bot: Approve (continuous-integration)
- Chad Smith: Approve
-
Diff: 15324 lines (+10530/-1145)114 files modifiedHACKING.rst (+2/-2)
Makefile (+15/-6)
curtin/__init__.py (+3/-1)
curtin/block/__init__.py (+192/-14)
curtin/block/bcache.py (+242/-1)
curtin/block/clear_holders.py (+34/-51)
curtin/block/lvm.py (+44/-7)
curtin/block/mdadm.py (+10/-25)
curtin/block/mkfs.py (+8/-2)
curtin/block/multipath.py (+90/-11)
curtin/block/schemas.py (+15/-3)
curtin/commands/apply_net.py (+3/-0)
curtin/commands/apt_config.py (+6/-10)
curtin/commands/block_discover.py (+11/-2)
curtin/commands/block_meta.py (+599/-474)
curtin/commands/clear_holders.py (+44/-9)
curtin/commands/curthooks.py (+246/-95)
curtin/commands/install_grub.py (+406/-0)
curtin/commands/net_meta.py (+5/-2)
curtin/deps/__init__.py (+5/-2)
curtin/distro.py (+46/-1)
curtin/net/__init__.py (+6/-4)
curtin/net/deps.py (+4/-2)
curtin/net/network_state.py (+3/-1)
curtin/storage_config.py (+132/-46)
curtin/udev.py (+25/-2)
curtin/util.py (+13/-8)
debian/changelog (+65/-0)
dev/null (+0/-6)
doc/topics/config.rst (+4/-5)
doc/topics/storage.rst (+108/-19)
examples/tests/bcache-ceph-nvme-simple.yaml (+2/-2)
examples/tests/bcache-ceph-nvme.yaml (+2/-2)
examples/tests/crashdump.cfg (+33/-0)
examples/tests/filesystem_battery.yaml (+1/-0)
examples/tests/mirrorboot-uefi.yaml (+17/-1)
examples/tests/multipath-lvm-part-wipe.yaml (+125/-0)
examples/tests/multipath-lvm.yaml (+121/-0)
examples/tests/multipath.yaml (+6/-0)
examples/tests/network_config_disabled.yaml (+4/-0)
examples/tests/network_config_disabled_with_version.yaml (+5/-0)
examples/tests/network_disabled.yaml (+8/-0)
examples/tests/panic.yaml (+2/-0)
examples/tests/preserve-bcache.yaml (+82/-0)
examples/tests/preserve-lvm.yaml (+77/-0)
examples/tests/preserve-partition-wipe-vg-simple.yaml (+62/-0)
examples/tests/preserve-partition-wipe-vg.yaml (+116/-0)
examples/tests/preserve-raid.yaml (+4/-2)
examples/tests/reuse-lvm-member-partition.yaml (+94/-0)
examples/tests/reuse-msdos-partitions.yaml (+77/-0)
examples/tests/reuse-raid-member-wipe-partition.yaml (+2/-0)
examples/tests/reuse-raid-member-wipe.yaml (+2/-1)
examples/tests/uefi_reuse_esp.yaml (+4/-2)
examples/tests/vmtest_defaults.yaml (+19/-1)
helpers/common (+11/-5)
tests/data/probert_storage_bogus_wwn.json (+1258/-0)
tests/data/probert_storage_dasd.json (+809/-0)
tests/data/probert_storage_msdos_mbr_extended_v2.json (+537/-0)
tests/data/probert_storage_nvme_multipath.json (+310/-0)
tests/data/udevadm_info_sandisk_cruzer.txt (+54/-0)
tests/unittests/helpers.py (+52/-3)
tests/unittests/test_apt_custom_sources_list.py (+8/-5)
tests/unittests/test_apt_source.py (+10/-7)
tests/unittests/test_block.py (+104/-5)
tests/unittests/test_block_dasd.py (+2/-2)
tests/unittests/test_block_lvm.py (+31/-1)
tests/unittests/test_block_mdadm.py (+8/-6)
tests/unittests/test_block_mkfs.py (+9/-0)
tests/unittests/test_block_multipath.py (+45/-0)
tests/unittests/test_block_zfs.py (+24/-20)
tests/unittests/test_clear_holders.py (+51/-37)
tests/unittests/test_commands_block_meta.py (+996/-7)
tests/unittests/test_commands_clear_holders.py (+24/-0)
tests/unittests/test_commands_collect_logs.py (+2/-0)
tests/unittests/test_commands_install_grub.py (+1031/-0)
tests/unittests/test_commands_net_meta.py (+111/-0)
tests/unittests/test_curthooks.py (+529/-92)
tests/unittests/test_distro.py (+95/-2)
tests/unittests/test_gpg.py (+50/-44)
tests/unittests/test_make_dname.py (+3/-3)
tests/unittests/test_storage_config.py (+285/-7)
tests/unittests/test_udev.py (+43/-6)
tests/unittests/test_util.py (+25/-2)
tests/vmtests/__init__.py (+78/-18)
tests/vmtests/image_sync.py (+1/-1)
tests/vmtests/releases.py (+20/-3)
tests/vmtests/test_basic.py (+33/-20)
tests/vmtests/test_fs_battery.py (+9/-1)
tests/vmtests/test_mdadm_bcache.py (+35/-1)
tests/vmtests/test_multipath.py (+80/-3)
tests/vmtests/test_multipath_lvm.py (+76/-0)
tests/vmtests/test_network.py (+4/-1)
tests/vmtests/test_network_disabled.py (+72/-0)
tests/vmtests/test_network_ipv6_vlan.py (+0/-4)
tests/vmtests/test_network_vlan.py (+0/-2)
tests/vmtests/test_nvme.py (+1/-1)
tests/vmtests/test_old_apt_features.py (+2/-2)
tests/vmtests/test_panic.py (+31/-0)
tests/vmtests/test_preserve_bcache.py (+67/-0)
tests/vmtests/test_preserve_lvm.py (+80/-0)
tests/vmtests/test_preserve_partition_wipe_vg.py (+59/-0)
tests/vmtests/test_raid5_bcache.py (+1/-1)
tests/vmtests/test_reuse_lvm_member.py (+34/-0)
tests/vmtests/test_reuse_msdos_partitions.py (+31/-0)
tests/vmtests/test_reuse_raid_member.py (+1/-1)
tests/vmtests/test_reuse_uefi_esp.py (+1/-3)
tests/vmtests/test_ubuntu_core.py (+9/-0)
tools/block-discover-to-config (+1/-1)
tools/launch (+3/-1)
tools/schema-validate-storage (+1/-0)
tools/vmtest-filter (+2/-1)
tools/vmtest-sync-images (+1/-0)
tools/xkvm (+6/-1)
tox.ini (+23/-3)
~raharper/curtin:fix/vmtest-centos-requires-reboot-mode
Merged
into
curtin:master
- Paride Legovini: Approve
- Server Team CI bot: Approve (continuous-integration)
-
Diff: 16 lines (+3/-1)1 file modifiedtests/vmtests/__init__.py (+3/-1)
To post a comment you must log in.
This bug is fixed with commit f7458860 to curtin on branch master. /git.launchpad. net/curtin/ commit/ ?id=f7458860
To view that commit see the following URL:
https:/