Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing test module partitioning_warnings #4532

Merged
merged 4 commits into from Mar 14, 2018

Conversation

SergioAtSUSE
Copy link
Member

@SergioAtSUSE SergioAtSUSE commented Mar 1, 2018

Motivation


Remove invalid soft-failure

Manually verified partition role with DOS partition table.


Add BIOS boot partition

For this test suite it was not added. x86_64 on GTP table needs this partition.

rwx788
rwx788 previously requested changes Mar 1, 2018
Copy link
Member

@rwx788 rwx788 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure what exactly is fixed as test still fails and we have changed requirements. There is no missing swap warning on storage-ng, for example. We need to clarify what is expected (e.g. missing /boot/efi for UEFI installations). And we can also verify warning about missing bios-boot.

@SergioAtSUSE
Copy link
Member Author

SergioAtSUSE commented Mar 1, 2018

@rwx788, the test was intended to check for this: https://openqa.suse.de/tests/1477724#step/partitioning_warnings/19

It was not trying to catch all possible warnings. It was not trying to catch missing BIOS boot, nor missing EFI.

What I don't understand is, why after checking the warnings, we conduct a normal installation: https://openqa.suse.de/tests/1057979#step/partitioning_filesystem/4 overwriting with proposal.

@rwx788
Copy link
Member

rwx788 commented Mar 1, 2018

@SergioAtSUSE that's a good point, I guess we can exit after starting the installation. So is this PR WIP then?

@SergioAtSUSE SergioAtSUSE changed the title Fixing test module partitioning_warnings [WIP] Fixing test module partitioning_warnings Mar 1, 2018
@SergioAtSUSE SergioAtSUSE changed the title [WIP] Fixing test module partitioning_warnings Fixing test module partitioning_warnings Mar 12, 2018
@SergioAtSUSE
Copy link
Member Author

@@ -50,7 +49,7 @@ sub run {
assert_screen 'partition-warning-no-efi-boot';
wait_screen_change { send_key 'alt-y' }; # yes
}
if (is_storage_ng && !check_screen('partitioning-edit-proposal-button', 0)) {
if (is_storage_ng && check_screen('partitioning-edit-proposal-button', 0)) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should get rid of this, as bug is resolved and there will be no warning for missing swap, as we have new checkbox for that. So this change doesn't make sense anymore...

- bsc#1055743
- Manually verified partition role with DOS partition table.
- test fail in osd#1509521#step/partitioning_warnings/21
@SergioAtSUSE
Copy link
Member Author

New verification run: http://copland.arch.suse.de/tests/966#step/partitioning_warnings/38

Expected to fail there. The workaround should be removed with: https://progress.opensuse.org/issues/31066

- bsc#1055744 duplicates bsc#1057049
- bsc#1057049 is verified fixed
- bsc#1085131 is the new bug for missing warning
- On storage-ng the warning only appears when swap is mandatory.
@SergioAtSUSE
Copy link
Member Author

@okurz
Copy link
Member

okurz commented Mar 13, 2018

+1, ready to be merged?

@rwx788 rwx788 dismissed their stale review March 14, 2018 07:42

Code changed

@rwx788 rwx788 merged commit df1e2ed into os-autoinst:master Mar 14, 2018
@SergioAtSUSE SergioAtSUSE deleted the add_bios_boot_part branch March 15, 2018 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants