Project

General

Profile

Actions

action #95962

closed

[sle][migration][sle15sp4][regression] test fails in bootloader - not switch to upgrade and boot from hdd directly

Added by leli over 2 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
Bugs in existing tests
Target version:
-
Start date:
2021-07-26
Due date:
% Done:

100%

Estimated time:
16.00 h
Difficulty:

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

Actions #1

Updated by leli over 2 years ago

  • Priority changed from Normal to High
Actions #2

Updated by hjluo over 2 years ago

  • Status changed from New to In Progress
  • Assignee set to hjluo
Actions #3

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.

Actions #5

Updated by leli over 2 years ago

  • Priority changed from Low to High
  • Estimated time changed from 8.00 h to 12.00 h
Actions #6

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
Actions #7

Updated by leli over 2 years ago

  • Status changed from In Progress to New
Actions #8

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
Actions #9

Updated by hjluo over 2 years ago

  • Status changed from New to In Progress
  • Assignee set to hjluo
Actions #10

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

Actions #11

Updated by hjluo over 2 years ago

cloned chenzi's PR and rerun to verify https://openqa.nue.suse.com/t6927161

Actions #13

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

Actions #14

Updated by hjluo over 2 years ago

  • % Done changed from 0 to 10
Actions #15

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.

Actions #16

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

Actions #17

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

Actions #18

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

Actions #19

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

Actions #24

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

Actions #25

Updated by hjluo over 2 years ago

change the code to send_key down and rerun:
https://openqa.nue.suse.com/t7069484 -> 87

Actions #26

Updated by hjluo over 2 years ago

  • % Done changed from 20 to 60
  • Estimated time changed from 12.00 h to 16.00 h
Actions #27

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

Actions #28

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);

Actions #29

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

Actions #32

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

Actions #33

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

Actions #34

Updated by hjluo over 2 years ago

  • % Done changed from 60 to 90

PR merged

Actions #35

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.

Actions

Also available in: Atom PDF