Project

General

Profile

Actions

action #29625

closed

[sle][functional][easy]test fails in hostname_inst on dirty shell -> cleanup in partitioning_lvm before resuming

Added by okurz about 7 years ago. Updated almost 7 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
Bugs in existing tests
Start date:
2017-12-20
Due date:
2018-01-16
% Done:

0%

Estimated time:
Difficulty:

Description

Observation

openQA test in scenario sle-12-SP4-Server-DVD-x86_64-cryptlvm+activate_existing@64bit fails in
hostname_inst
trying to find the needle "install-shell" which it can not find because in a previous step in https://openqa.suse.de/tests/1335732#step/partitioning_lvm/39 we were using the shell in a different directory.

Reproducible

Fails since (at least) Build 0073

Expected result

The "install-shell" should be left in a consistent state after partitioning_lvm has been executed -> go back to '/' directory before resuming installation

Further details

Always latest result in this scenario: latest

Actions #1

Updated by mgriessmeier almost 7 years ago

  • Assignee set to mgriessmeier
Actions #2

Updated by mgriessmeier almost 7 years ago

so we have some cleanup code already in hostname_inst
I see different options to solve this

  1. duplicate the code and execute it in partitioning_lvm as well < BAD
  2. create a helper function and call it in both testcases < better but lib/utils is already too overloaded
  3. clean the console on every switch to 'install-shell' to start freshly < I like this by far the most, but there might be some pitfall here
Actions #3

Updated by mgriessmeier almost 7 years ago

  • Status changed from In Progress to Feedback

PR created: https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/4157

I was trying to reuse clear_console, but "clear" is not available in the installer, so this is the fastest approach

Actions #4

Updated by mgriessmeier almost 7 years ago

  • Status changed from Feedback to Resolved

PR merged,
verification on o.s.d: https://openqa.suse.de/tests/1368814

Actions #5

Updated by okurz almost 7 years ago

This is an autogenerated message for openQA integration by the openqa_review script:

This bug is still referenced in a failing openQA test: cryptlvm+activate_existing+force_recompute
https://openqa.suse.de/tests/1407986

Actions #6

Updated by okurz almost 7 years ago

This is an autogenerated message for openQA integration by the openqa_review script:

This bug is still referenced in a failing openQA test: cryptlvm+activate_existing+force_recompute
https://openqa.suse.de/tests/1407986

Actions #7

Updated by okurz almost 7 years ago

This is an autogenerated message for openQA integration by the openqa_review script:

This bug is still referenced in a failing openQA test: cryptlvm+activate_existing+force_recompute
https://openqa.suse.de/tests/1535908

Actions

Also available in: Atom PDF