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
Explicitly catch pkcon proceed prompt hit again as error #2210
Conversation
@@ -134,7 +134,8 @@ sub ensure_installed { | |||
testapi::assert_script_sudo("chown $testapi::username /dev/$testapi::serialdev"); | |||
my $retries = 5; # arbitrary | |||
$self->script_run("for i in {1..$retries} ; do pkcon install $pkglist && break ; done ; RET=\$?; echo \"\n pkcon finished\n\"; echo \"pkcon-\${RET}-\" > /dev/$testapi::serialdev", 0); | |||
my @tags = qw/Policykit Policykit-behind-window pkcon-proceed-prompt pkcon-finished/; | |||
my @tags = qw/Policykit Policykit-behind-window pkcon-proceed-prompt pkcon-finished/; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought we are using brackets now? :-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not yet, only after my after PR is merged. I don't like to change the style on single lines when the focus should be on something else, in this case that I changed other parts of the code.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
and I would like code touched to follow the style guide
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
Local verification run: http://lord.arch/tests/5474 Related progress issue: https://progress.opensuse.org/issues/15410
cf448c9
to
c83abce
Compare
That test seems invalid: as the live image has no root password, you won't get a polkit auth dialog to ask for permission to install https://openqa.opensuse.org/tests/321497#step/kate/9 Does not look like something would have gone wrong - except the sequence of seeing the old prompt again (still) |
prep_pidgin.pm use ensure_installed('pidgin') to install the pidgin, and it failed |
on it |
fixed by #2224 |
Local verification run: http://lord.arch/tests/5474
Related progress issue: https://progress.opensuse.org/issues/15410