action #95962
closed[sle][migration][sle15sp4][regression] test fails in bootloader - not switch to upgrade and boot from hdd directly
100%
Description
Observation¶
openQA test in scenario sle-15-SP3-Regression-on-Migration-from-SLE15-SPx-x86_64-offline_sles15sp2_pscc_lp-we-basesys-srv-desk-dev-contm-lgm-py2-tsm-wsm_all_full@GraceWang571/os-autoinst-distri-opensuse#pr12883omission@64bit fails in
bootloader
Test suite description¶
Reproducible¶
Fails since (at least) Build GraceWang571/os-autoinst-distri-opensuse#pr12883omission
Expected result¶
Last good: (unknown) (or more recent)
Further details¶
Always latest result in this scenario: latest
Updated by hjluo over 2 years ago
- Status changed from New to In Progress
- Assignee set to hjluo
Updated by hjluo over 2 years ago
- Subject changed from [sle][migration][sle15sp4] test fails in bootloader - not switch to upgrade and boot from hdd directly to [sle][migration][sle15sp4][regression] test fails in bootloader - not switch to upgrade and boot from hdd directly
- Assignee deleted (
hjluo) - Priority changed from High to Low
this failure is not from our 15sp4 project and is a regression test. now she/he can clone from our latest case from 15sp4 regression
which is works.
Updated by zoecao over 2 years ago
Also exists on cases:
https://openqa.nue.suse.com/tests/6903457#
https://openqa.nue.suse.com/tests/6903285#
Updated by leli over 2 years ago
- Priority changed from Low to High
- Estimated time changed from 8.00 h to 12.00 h
Updated by leli over 2 years ago
- Subject changed from [sle][migration][sle15sp4][regression] test fails in bootloader - not switch to upgrade and boot from hdd directly to [sle][migration][sle15sp4] test fails in bootloader - not switch to upgrade and boot from hdd directly
Updated by hjluo over 2 years ago
- Subject changed from [sle][migration][sle15sp4] test fails in bootloader - not switch to upgrade and boot from hdd directly to [sle][migration][sle15sp4][regression] test fails in bootloader - not switch to upgrade and boot from hdd directly
Updated by hjluo over 2 years ago
- Status changed from New to In Progress
- Assignee set to hjluo
Updated by hjluo over 2 years ago
clone as https://openqa.nue.suse.com/tests/6926818 *FAILED as describled"
add ./hj-tools/hj-clone.sh -j 6926818 -s "_GROUP=0 BOOT_MENU=1"
https://openqa.nue.suse.com/t7000022
https://openqa.nue.suse.com/t7000023
Updated by hjluo over 2 years ago
cloned chenzi's PR and rerun to verify https://openqa.nue.suse.com/t6927161
Updated by hjluo over 2 years ago
Updated by hjluo over 2 years ago
./hj-tools/hj-branch.sh -a chcao -b deregister_module -j 6903285 -s "_GROUP=0"
https://openqa.nue.suse.com/t7000001
https://openqa.nue.suse.com/t7000012
Updated by hjluo over 2 years ago
the reason is that it does not boot into the target version's Upgrade and boot into the local hard disk.
so can't find the inst-onupgrade tag.
Updated by hjluo over 2 years ago
./hj-tools/hj-branch.sh -a chcao -b deregister_module -j 6903285 -s "_GROUP=0 BOOT_MENU=1"
https://openqa.nue.suse.com/t7000019
https://openqa.nue.suse.com/t7000020
Updated by hjluo over 2 years ago
./hj-tools/hj-branch.sh -a chcao -b deregister_module -j 6903285 -s "_GROUP=0 BOOT_MENU=2"
https://openqa.nue.suse.com/t7011226 FAILED
https://openqa.nue.suse.com/t7011227 PASSED
https://openqa.nue.suse.com/t7011228 PASSED
Updated by hjluo over 2 years ago
./hj-tools/hj-branch.sh -a chcao -b deregister_module -j 6903285 -s "_GROUP=0 BOOT_MENU=1 QEMUVGA=std" all failed
https://openqa.nue.suse.com/tests/7011888
https://openqa.nue.suse.com/t7011695
https://openqa.nue.suse.com/t7011696
and a bug for your reference, https://bugzilla.suse.com/show_bug.cgi?id=1129504
Updated by hjluo over 2 years ago
./hj-tools/hj-branch.sh -a chcao -b deregister_module -j 6903285 -s "_GROUP=0
https://openqa.nue.suse.com/t7012004
https://openqa.nue.suse.com/t7012005
Updated by hjluo over 2 years ago
branch: https://github.com/hjluo/os-autoinst-distri-opensuse/pull/new/reboot_hdd
./hj-tools/hj-branch.sh -a hjluo -b reboot_hdd -j 6903285 -s "_GROUP=0"
https://openqa.nue.suse.com/t7012272
https://openqa.nue.suse.com/t7012274
Updated by hjluo over 2 years ago
./hj-tools/hj-branch.sh -a hjluo -b reboot_hdd -j 6995618 -s "_GROUP=0" ALL PASSED
https://openqa.nue.suse.com/t7014302
https://openqa.nue.suse.com/t7014303
https://openqa.nue.suse.com/t7014304
with a blank branch
https://openqa.nue.suse.com/t7029163 PASSED
https://openqa.nue.suse.com/t7029164 FAILED
https://openqa.nue.suse.com/t7029165 FAILED
Updated by hjluo over 2 years ago
rerun 5 cases to verify the fix:
./hj-tools/hj-branch.sh -a hjluo -b reboot_hdd -j 6995618 -s "_GROUP=0" ALL PASSED
https://openqa.nue.suse.com/t7038048
https://openqa.nue.suse.com/t7038049
https://openqa.nue.suse.com/t7038050
https://openqa.nue.suse.com/t7038051
https://openqa.nue.suse.com/t7038052
./hj-tools/hj-branch.sh -a hjluo -b boot_blank -j 6995618 -s "_GROUP=0"
https://openqa.nue.suse.com/t7038053
https://openqa.nue.suse.com/t7038054
https://openqa.nue.suse.com/t7038055
https://openqa.nue.suse.com/t7038056
https://openqa.nue.suse.com/t7038057
Updated by hjluo over 2 years ago
power_action:
https://openqa.nue.suse.com/t7039666 -> 73
blank
https://openqa.nue.suse.com/t7039675 -> 82
Updated by hjluo over 2 years ago
- % Done changed from 10 to 20
changed the code to avoid reset_tty and rerun:
https://openqa.nue.suse.com/t7068217 -> 24
Updated by hjluo over 2 years ago
change the code to send_key down and rerun:
https://openqa.nue.suse.com/t7069484 -> 87
Updated by hjluo over 2 years ago
- % Done changed from 20 to 60
- Estimated time changed from 12.00 h to 16.00 h
use disable_grub_timeout after reboot and rerun all passed.
https://openqa.nue.suse.com/tests/7068218#step/bootloader/1
https://openqa.nue.suse.com/tests/7071001#step/reboot_to_upgrade/5
https://openqa.nue.suse.com/tests/7071000#step/reboot_to_upgrade/5
Updated by hjluo over 2 years ago
for i in 1 2 3 4; 5 6 7 8 9 10 do ./hj-tools/hj-branch.sh -a hjluo -b reboot_hdd -j 6995618 -s "_GROUP=0" ; done
https://openqa.nue.suse.com/t7087181 -> 90
Updated by hjluo over 2 years ago
this is the original one https://openqa.nue.suse.com/tests/6995618, which costed 2 minutes to reload the needles.
[2021-09-01T22:02:35.606 CEST] [info] Listening at "http://[::]:20043"
Web application available at http://[::]:20043
[2021-09-01T22:02:35.607 CEST] [debug] git hash in sle/products/sle/needles: 4fcf726ecaf6c790220af88e003a9b28f6728beb
[2021-09-01T22:02:35.607 CEST] [debug] init needles from sle/products/sle/needles
[2021-09-01T22:02:37.502 CEST] [debug] loaded 13835 needles
this is the cloned one which costed 15 minutes to reload the needles
https://openqa.nue.suse.com/tests/7068219/logfile?filename=autoinst-log.txt
[2021-09-10T07:10:19.736 CEST] [debug] ||| starting version_switch_upgrade_target tests/migration/version_switch_upgrade_target.pm
[2021-09-10T07:10:21.193 CEST] [debug] git hash in needles: c965d928d7d30bdd8f437f8600f0cefe7b40c8ce
[2021-09-10T07:10:21.258 CEST] [debug] init needles from needles
[2021-09-10T07:25:16.305 CEST] [debug] loaded 14189 needles
This explains why the cloned job will fail and the original can pass.
the culprit is this line:
in tests/migration/version_switch_upgrade_target.pm
set_var('VERSION', $upgrade_target_version, reload_needles => 1);
Updated by hjluo over 2 years ago
regression on the other 3 platforms
for i in 6998680 6995540 6998748; do ./hj-tools/hj-branch.sh -a hjluo -b reboot_hdd -j $i -s "_GROUP=0" ; done
https://openqa.nue.suse.com/t7087286 ppc64le fail
https://openqa.nue.suse.com/t7088786 failed at record_disk_info
https://openqa.nue.suse.com/t7088788 PASSED
https://openqa.nue.suse.com/t7088789 PASSED
https://openqa.nue.suse.com/t7087287 aarch64 failed and change code and rerun https://openqa.nue.suse.com/t7088120 PASSED
https://openqa.nue.suse.com/t7087288 s390x PASSED
Updated by hjluo over 2 years ago
Updated by hjluo over 2 years ago
Please run a z/VM case also, https://openqa.nue.suse.com/tests/6995606
https://openqa.nue.suse.com/t7088244 PASSED
https://openqa.nue.suse.com/t7088245 PASSED
Updated by hjluo over 2 years ago
more offline regression:
barry:~/:[0]# for i in 6998680 6995540 6998748; do ./hj-tools/hj-branch.sh -a hjluo -b reboot_hdd -j $i -s "_GROUP=0" ; done
https://openqa.nue.suse.com/t7088862 PASSED
https://openqa.nue.suse.com/t7088863 failed at boot_to_desktop and rerun passed https://openqa.nue.suse.com/tests/7088866
https://openqa.nue.suse.com/t7088864 passed
https://openqa.nue.suse.com/t7088865 PASSED
https://openqa.nue.suse.com/t7088866 PASSED
https://openqa.nue.suse.com/t7088867 PASSED
Updated by hjluo over 2 years ago
for online regression:
for i in 6995520 6995567 6995596 7029082; do
./hj-tools/hj-branch.sh -a hjluo -b reboot_hdd -j $i -s "_GROUP=0" ; done
https://openqa.nue.suse.com/t7088868 PASSED
https://openqa.nue.suse.com/t7088869 PASSED
https://openqa.nue.suse.com/t7088870 PASSED
https://openqa.nue.suse.com/t7088871 PASSED
https://openqa.nue.suse.com/t7088873 PASSED
https://openqa.nue.suse.com/t7088874 PASSED
https://openqa.nue.suse.com/t7088875 PASSED
https://openqa.nue.suse.com/t7088876 failed at zypper_patch and rerun https://openqa.nue.suse.com/tests/7097511
Updated by hjluo over 2 years ago
- Status changed from In Progress to Resolved
- % Done changed from 90 to 100
verified on o.s.d https://openqa.nue.suse.com/tests/7124221
and close this ticket as resolved.