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

t: Bump timeout for ui/26-jobs_restart.t #4020

Merged
merged 2 commits into from
Jul 8, 2021

Conversation

okurz
Copy link
Member

@okurz okurz commented Jul 8, 2021

Since recently same like other test files also t/ui/26-jobs_restart.t runs into
timeouts both in CI as well as locally.

Before changes locally count_fail_ratio prove -l t/ui/26-jobs_restart.t
using
https://github.com/okurz/scripts/tree/master/count_fail_ratio

t/ui/26-jobs_restart.t .. 4/? Bailout called.  Further testing stopped:  findElement: Server returned error message Label not found for "last T2_SUBTEST_WRAPPER" at /usr/lib/perl5/vendor_perl/5.26.1/Test2/Hub/Subtest.pm line 67. at /home/okurz/local/os-autoinst/openQA/t/ui/../lib/OpenQA/SeleniumTest.pm:95
FAILED--Further testing stopped: findElement: Server returned error message Label not found for "last T2_SUBTEST_WRAPPER" at /usr/lib/perl5/vendor_perl/5.26.1/Test2/Hub/Subtest.pm line 67. at /home/okurz/local/os-autoinst/openQA/t/ui/../lib/OpenQA/SeleniumTest.pm:95
…

Bumping timeout from 10s to 20s:

…
t/ui/26-jobs_restart.t .. ok
All tests successful.
Files=1, Tests=10, 17 wallclock secs ( 0.12 usr  0.01 sys +  6.61 cusr  0.57 csys =  7.31 CPU)
Result: PASS

Crosscheck on an older commit state of openQA, 80f3d69 from 2021-06-11
reproduces the timeout problems so our codebase did not recently introduce such
problems. Reproduced again on 627798b from 2021-03-05 the last time when I
was working on the same test file myself:

so it's slower on CI and on other people's computers as well as mine (Leap
15.2, not quite up-to-date right now). So most likely hypothesis (not entirely
serious) is that the climate change caused this.

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

okurz added 2 commits July 8, 2021 11:04
Since recently same like other test files also t/ui/26-jobs_restart.t runs into
timeouts both in CI as well as locally.

Before changes locally `count_fail_ratio prove -l t/ui/26-jobs_restart.t`
using
https://github.com/okurz/scripts/tree/master/count_fail_ratio

```
t/ui/26-jobs_restart.t .. 4/? Bailout called.  Further testing stopped:  findElement: Server returned error message Label not found for "last T2_SUBTEST_WRAPPER" at /usr/lib/perl5/vendor_perl/5.26.1/Test2/Hub/Subtest.pm line 67. at /home/okurz/local/os-autoinst/openQA/t/ui/../lib/OpenQA/SeleniumTest.pm:95
FAILED--Further testing stopped: findElement: Server returned error message Label not found for "last T2_SUBTEST_WRAPPER" at /usr/lib/perl5/vendor_perl/5.26.1/Test2/Hub/Subtest.pm line 67. at /home/okurz/local/os-autoinst/openQA/t/ui/../lib/OpenQA/SeleniumTest.pm:95
…
count_fail_ratio: Run: 3. Fails: 3. Fail ratio 100%
```

Bumping timeout from 10s to 30s:

```
…
t/ui/26-jobs_restart.t .. ok
All tests successful.
Files=1, Tests=10, 17 wallclock secs ( 0.12 usr  0.01 sys +  6.61 cusr  0.57 csys =  7.31 CPU)
Result: PASS
count_fail_ratio: Run: 5. Fails: 0. Fail ratio 0%
```

Crosscheck on an older commit state of openQA, 80f3d69 from 2021-06-11
reproduces the timeout problems so our codebase did not recently introduce such
problems. Reproduced again on 627798b from 2021-03-05 the last time when I
was working on the same test file myself:

```
count_fail_ratio: Run: 4. Fails: 4. Fail ratio 100%
```

so it's slower on CI and on other people's computers as well as mine (Leap
15.2, not quite up-to-date right now). So most likely hypothesis (not entirely
serious) is that the climate change caused this.

Related progress issue: https://progress.opensuse.org/issues/95024
@codecov
Copy link

codecov bot commented Jul 8, 2021

Codecov Report

Merging #4020 (b0547e0) into master (0013441) will increase coverage by 3.61%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #4020      +/-   ##
==========================================
+ Coverage   93.34%   96.95%   +3.61%     
==========================================
  Files         189      370     +181     
  Lines       11928    33033   +21105     
==========================================
+ Hits        11134    32028   +20894     
- Misses        794     1005     +211     
Impacted Files Coverage Δ
lib/OpenQA/BuildResults.pm 98.40% <ø> (+1.57%) ⬆️
lib/OpenQA/CLI.pm 100.00% <ø> (ø)
lib/OpenQA/CLI/api.pm 100.00% <ø> (ø)
lib/OpenQA/CLI/archive.pm 100.00% <ø> (ø)
lib/OpenQA/CacheService.pm 100.00% <ø> (+15.68%) ⬆️
lib/OpenQA/CacheService/Client.pm 100.00% <ø> (ø)
lib/OpenQA/CacheService/Controller/API.pm 100.00% <ø> (ø)
lib/OpenQA/CacheService/Model/Cache.pm 100.00% <ø> (+6.81%) ⬆️
lib/OpenQA/CacheService/Model/Downloads.pm 100.00% <ø> (ø)
lib/OpenQA/CacheService/Plugin/Helpers.pm 100.00% <ø> (ø)
... and 395 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 538c318...b0547e0. Read the comment docs.

@mergify mergify bot merged commit cc9b142 into os-autoinst:master Jul 8, 2021
@okurz okurz deleted the fix/t_jobs_restart branch July 8, 2021 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants