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

Explicitly catch pkcon proceed prompt hit again as error #2210

Merged
merged 1 commit into from Dec 14, 2016

Conversation

okurz
Copy link
Member

@okurz okurz commented Dec 9, 2016

Local verification run: http://lord.arch/tests/5474

Related progress issue: https://progress.opensuse.org/issues/15410

@@ -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/;
Copy link
Contributor

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? :-)

Copy link
Member Author

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.

Copy link
Contributor

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

Copy link
Member Author

Choose a reason for hiding this comment

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

done

@okurz okurz force-pushed the fix/pkcon_proceed_hit_again branch from cf448c9 to c83abce Compare December 13, 2016 07:45
@coolo coolo merged commit 06f53f5 into os-autoinst:master Dec 14, 2016
@DimStar77
Copy link
Contributor

Local verification run: http://lord.arch/tests/5474

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)

@chuchingkai
Copy link
Contributor

prep_pidgin.pm use ensure_installed('pidgin') to install the pidgin, and it failed
due to this PR:

https://openqa.suse.de/tests/672071#step/prep_pidgin/10

@okurz
Copy link
Member Author

okurz commented Dec 15, 2016

on it

@okurz okurz deleted the fix/pkcon_proceed_hit_again branch December 15, 2016 09:32
@okurz
Copy link
Member Author

okurz commented Dec 15, 2016

fixed by #2224

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
5 participants