Project

General

Profile

Actions

action #29646

closed

[sle][functional][medium]test fails in zypper_lifecycle due to script_output is not always reliable

Added by JERiveraMoya almost 7 years ago. Updated almost 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Bugs in existing tests
Start date:
2017-12-20
Due date:
2018-02-13
% Done:

0%

Estimated time:
Difficulty:

Description

Observation

openQA test in scenario sle-15-Installer-DVD-aarch64-minimal_x@aarch64 fails in
zypper_lifecycle

We can notice that in zypper_lifecycle-script_output.tgz the variable is not replaced properly in line #43, because script_output is using what finds in the serial output and sometimes lines related with eth0, etc. are prompted so is not very reliable:

echo $(zypper -n -x se -i -t product -s Welcome to SUSE Linux Enterprise Server 15 Beta5 (aarch64) - Kernel 4.12.14-6.10-default (ttyAMA0).
eth0: 10.0.2.15 fec0::bd8f:1757:6964:bd2
susetest login: SLES)

Try to workaround this issue and modifying the test and verify if the Tool teams is working on improving this issue.

Reproducible

Fails since (at least) Build 407.1 (current job)

Expected result

Last good: 404.1 (or more recent)

Further details

Always latest result in this scenario: latest


Related issues 3 (0 open3 closed)

Related to openQA Tests - action #26112: [sle][functional] test fails in zypper_lifecycle - bash script failsRejected2017-10-172018-02-13

Actions
Related to openQA Project - action #30613: [functional][y][hard] script_output might include extra serial outputResolvedriafarov2018-01-222018-08-28

Actions
Related to openQA Tests - action #34330: [functional][hyperv][tool][fast][y] test fails in zypper_info - Missing space in serial output makes regexp to fail matching (WAS: info header for vim package is parsed incorrectly from the system output)Resolvedriafarov2018-04-052018-04-10

Actions
Actions #1

Updated by JERiveraMoya almost 7 years ago

  • Subject changed from test fails in zypper_lifecycle to test fails in zypper_lifecycle due to script_output is not always realiable
  • Description updated (diff)
Actions #2

Updated by nicksinger almost 7 years ago

  • Blocked by action #30613: [functional][y][hard] script_output might include extra serial output added
Actions #3

Updated by nicksinger almost 7 years ago

  • Status changed from New to Blocked

Doesn't make that much sense to me to work on this until https://progress.opensuse.org/issues/30613 is resolved. We could of course workaround the issue by filtering the output of script_output again but this is not always applicable or possible.

Actions #4

Updated by okurz almost 7 years ago

  • Blocked by deleted (action #30613: [functional][y][hard] script_output might include extra serial output)
Actions #5

Updated by okurz almost 7 years ago

  • Related to action #30613: [functional][y][hard] script_output might include extra serial output added
Actions #6

Updated by okurz almost 7 years ago

  • Subject changed from test fails in zypper_lifecycle due to script_output is not always realiable to [sle][functional]test fails in zypper_lifecycle due to script_output is not always realiable
  • Status changed from Blocked to New

We need to adapt the test code to account for unforeseen content. See #30613#note-2 for reasoning.

Actions #7

Updated by nicksinger almost 7 years ago

  • Related to deleted (action #30613: [functional][y][hard] script_output might include extra serial output)
Actions #8

Updated by nicksinger almost 7 years ago

  • Blocked by action #30613: [functional][y][hard] script_output might include extra serial output added
Actions #9

Updated by okurz almost 7 years ago

  • Subject changed from [sle][functional]test fails in zypper_lifecycle due to script_output is not always realiable to [sle][functional][medium]test fails in zypper_lifecycle due to script_output is not always reliable
  • Due date set to 2018-02-13
  • Target version set to Milestone 14
Actions #10

Updated by okurz almost 7 years ago

  • Status changed from New to Workable
  • Assignee set to riafarov
Actions #11

Updated by riafarov almost 7 years ago

  • Status changed from Workable to Feedback
Actions #12

Updated by riafarov almost 7 years ago

  • Related to action #26112: [sle][functional] test fails in zypper_lifecycle - bash script fails added
Actions #13

Updated by riafarov almost 7 years ago

  • Blocked by deleted (action #30613: [functional][y][hard] script_output might include extra serial output)
Actions #14

Updated by riafarov almost 7 years ago

  • Related to action #30613: [functional][y][hard] script_output might include extra serial output added
Actions #15

Updated by riafarov almost 7 years ago

  • Status changed from Feedback to Resolved

Workaround applied, better solution is expected in poo#30613

Actions #16

Updated by riafarov over 6 years ago

  • Related to action #34330: [functional][hyperv][tool][fast][y] test fails in zypper_info - Missing space in serial output makes regexp to fail matching (WAS: info header for vim package is parsed incorrectly from the system output) added
Actions

Also available in: Atom PDF