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

Wait longer to show install overview in upgrade #4580

Merged
merged 1 commit into from Mar 12, 2018

Conversation

QingmingSu
Copy link
Contributor

@QingmingSu QingmingSu commented Mar 9, 2018

In upgrade, it takes longer time to check package
dependencies before system is ready to upgrade. And
even longer time is required if multiple addons are
selected during upgrade.

  • poo#31552

Many tests failed with this issue on o.s.d, such as:
https://openqa.suse.de/tests/1526008
https://openqa.suse.de/tests/1526165
https://openqa.suse.de/tests/1526200

It took ~130s at worst case.

assert_screen "installation-settings-overview-loaded";
# During upgrade, it takes longer time to check package dependencies,
# especially with multiple addons selected
my $timeout = get_var('UPGRADE') ? 60 + 30 * (scalar split(/,/, get_var('SCC_ADDONS', get_var('ADDONS', get_var('ADDONURL', ''))))) : undef;
Copy link
Member

Choose a reason for hiding this comment

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

I'm not sure if we need such a complicated structure here, it should be fine to increase timeout to some acceptable max value.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, I just didn't want to change the default timeout of installation.
Simply set timeout to 150s, since 130s is required at worst case observed.

In upgrade, it takes longer time to check package
dependencies before system is ready to upgrade. And
even longer time is required if multiple addons are
selected during upgrade.
- poo#31552
@mitiao mitiao merged commit 4e12c77 into os-autoinst:master Mar 12, 2018
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