Skip to content

Commit

Permalink
Add test boot_into-snapshot after upgrade
Browse files Browse the repository at this point in the history
add the test for opensuse at first.
adapt boot_into_snapshot to prevent failure, avoid issue on write-only partition
see https://progress.opensuse.org/issues/12964

verification runs:
http://10.162.23.47/tests/8030 (boot_to_snapshot TW)
http://10.162.23.47/tests/8028 (boot_to_snapshot SLES)
http://10.162.23.47/tests/8048 (boot_to_snapshot after upgrade)
  • Loading branch information
Zaoliang committed Aug 31, 2020
1 parent 544d103 commit cdb1767
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 2 deletions.
22 changes: 22 additions & 0 deletions schedule/functional/boot_into_snapshot_after_upgrade.yaml
@@ -0,0 +1,22 @@
---
name: boot_into_snapshot_after_upgrade
description: >
Maintainer: zluo
Boot into snapshoot after upgrade from DVD-Live installation
schedule:
- installation/isosize
- installation/bootloader
- installation/welcome
- installation/upgrade_select
- installation/online_repos
- installation/resolve_dependency_issues
- installation/installation_overview
- installation/disable_grub_timeout
- installation/start_install
- installation/await_install
- installation/logs_from_installation_system
- installation/reboot_after_installation
- installation/grub_test
- installation/first_boot
- installation/opensuse_welcome
- installation/boot_into_snapshot
3 changes: 1 addition & 2 deletions tests/installation/boot_into_snapshot.pm
Expand Up @@ -23,10 +23,9 @@ use base "opensusebasetest";

sub run {
my ($self) = @_;
assert_screen 'linux-login', 200;

select_console 'root-console';
# 1)
assert_script_run('touch /etc/NOWRITE;test ! -f /etc/NOWRITE');
# 1b) just debugging infos
assert_script_run("snapper --iso list");
assert_script_run("cat /etc/os-release");
Expand Down

0 comments on commit cdb1767

Please sign in to comment.