Project

General

Profile

Actions

action #92875

closed

[sle][Migration][SLE15SP4] Enhance y2log upload function

Added by tinawang123 almost 3 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
Enhancement to existing tests
Target version:
-
Start date:
2021-05-20
Due date:
% Done:

100%

Estimated time:
16.00 h
Difficulty:

Description

Sometimes, y2log cannot upload successfully.
Need enhance this make sure we can get y2log file if test modules failed.

Actions #1

Updated by tjyrinki_suse almost 3 years ago

  • Category set to Enhancement to existing tests
Actions #2

Updated by leli almost 3 years ago

  • Priority changed from Normal to Low
Actions #3

Updated by leli almost 3 years ago

  • Subject changed from [sle][Migration][SLE15SP3] Enhance y2log upload function to [sle][Migration][SLE15SP4] Enhance y2log upload function
  • Estimated time set to 16.00 h
Actions #4

Updated by coolgw almost 3 years ago

Need specific failed log to continue this ticket.

Actions #5

Updated by leli almost 3 years ago

This is a scenario for can't upload y2log which I have used branch to workaround to support yast2 log to developer.

https://bugzilla.suse.com/show_bug.cgi?id=1176163#c29

Actions #6

Updated by hjluo almost 3 years ago

please add your test run job here once you've hit this kind of error. thanks

Actions #7

Updated by leli over 2 years ago

This the job that can't upload y2log, https://openqa.nue.suse.com/tests/6834821/logfile?filename=autoinst-log.txt

Unable to load logfile: Not Found

Actions #8

Updated by leli over 2 years ago

  • Priority changed from Low to Normal
Actions #9

Updated by zoecao over 2 years ago

Please take a look at this case, when it failed, the case didn't save and upload y2log.
https://openqa.nue.suse.com/tests/7263382#step/start_install/2 ->offline_sled15sp3_pscc_basesys-desk-we-phub-python2_def_full
log file still existed.

Actions #10

Updated by zoecao over 2 years ago

The following cases didn't upload y2log:
https://openqa.nue.suse.com/tests/7628374#step/start_install/1 ->offline_sled15sp3_pscc_basesys-desk-we-phub-python2_def_full
https://openqa.nue.suse.com/tests/7620182#step/yast2_migration/1 ->online_sled15sp3_pscc_basesys-desk-we-dev-python2_all_full_y
https://openqa.nue.suse.com/tests/7628373#step/start_install/2 ->offline_sled15sp3_media_basesys-desk-we-dev-python2_all_full
log file still existed.

Actions #11

Updated by leli over 2 years ago

  • Priority changed from Normal to High
Actions #12

Updated by hjluo over 2 years ago

  • Status changed from New to In Progress
  • Assignee set to hjluo

The login issue is from the remove of the softfail '
Soft Failure:
bsc#1154156 - After upgrade from 12SP5, SuSEfirewall2 blocks xvnc.socket on s390x

Actions #15

Updated by hjluo over 2 years ago

  • % Done changed from 0 to 20

yast2_migration

./hj-tools/hj-branch.sh -a hjluo -b yast2log -j 7807377 -s "_GROUP=0"
https://openqa.nue.suse.com/t7810070 https://openqa.nue.suse.com/tests/7810102#downloads have y2log
https://openqa.nue.suse.com/t7810071 have y2log
https://openqa.nue.suse.com/t7850196

Actions #16

Updated by hjluo over 2 years ago

start_install

for i in 7806897 7806893; do

./hj-tools/hj-branch.sh -a hjluo -b yast2log -j $i -s "_GROUP=0"
done
https://openqa.nue.suse.com/t7843085
https://openqa.nue.suse.com/t7843086

both Not Work need to dive into the dev mode to get the log.

Actions #17

Updated by hjluo over 2 years ago

zypper migration enhancement
./hj-tools/hj-branch.sh -a hjluo -b yast2log -j 7809995 -s "_GROUP=0"

https://openqa.nue.suse.com/t7843071
Works and has https://openqa.nue.suse.com/tests/7843071/file/zypper_migration-zypper.log after 'zypper migration' failed.

changed code after lemon's comments:
https://openqa.nue.suse.com/t7850224 PASSED

Actions #19

Updated by hjluo over 2 years ago

wait more PR review

Actions #20

Updated by hjluo over 2 years ago

changed code after lemon's comments, and rerun
https://openqa.nue.suse.com/tests/7858253

./hj-tools/hj-branch.sh -a hjluo -b yast2log -j 7858253 -s "_GROUP=0"
https://openqa.nue.suse.com/t7871319 WORKS https://openqa.nue.suse.com/tests/7871319/file/start_install-y2logs.tar.bz2

Actions #21

Updated by hjluo over 2 years ago

  • % Done changed from 20 to 90

PR merged.

Actions #23

Updated by hjluo over 2 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 90 to 100

close this ticket as resolved.

Actions

Also available in: Atom PDF