Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get rid of REPO_SLES_DEBUG, visual glitches fixes #1999

Merged
merged 2 commits into from Oct 22, 2016

Conversation

mnowaksuse
Copy link

Getting rid of REPO_SLES_DEBUG as it's not provided by rsync.pl
the information can be extracted from REPO_0 var as well.
Also removing 'screen-cleaning' because of previous test's
esses' random writes to TTY; reboot will rule them out.

Verification run: http://assam.suse.cz/tests/4057.

Copy link
Member

@okurz okurz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I recommend to not put two different things in one commit. Better separate them with an appropriate message for every unrelated change. Also, I guess some comments in the file could help understanding, e.g. the repo variable processing.

@@ -17,49 +17,25 @@ use utils;

sub install_kernel_debuginfo {
# kernel debug symbols are huge, this can take a while
assert_script_run 'zypper ref; zypper -n -v in kernel-default-base-debuginfo kernel-default-debuginfo', 1200;
script_run 'rpmquery -a kernel-default*';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is this command allowed to fail and how do you use it? is it just for debugging? It should help to also call this one with assert_script_run because if it fails, something is clearly wrong, isn't it?

Michal Nowak added 2 commits October 21, 2016 09:24
On PPC64LE, at least, the test which runs before `crash`, creates
post-mortem screen distortion. Previously we tried to clear the screen
before needle matching, but a more robust solution is to restart the
system and then do the matching. To achieve that code was reshuffled
here and there.
REPO_SLES_DEBUG variable formerly provided by `rsync.pl` script is now
not available. The information required - a directory on FTP server
which holds kernel debuginfos - is now get from REPO_0 variable and
couple of string transformations on it's content.
@coolo coolo merged commit 77fd9df into os-autoinst:master Oct 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants