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

Test enhancements #1168

Merged
merged 5 commits into from Jun 18, 2019
Merged

Conversation

okurz
Copy link
Member

@okurz okurz commented Jun 17, 2019

  • t: Catch output of failing runcmd to potentially even adress sporadic failures
  • osutils: Let the "attempts" sound less harmful
  • t: Do not waste time waiting in test 13-osutils.t
  • t: Fix all uncaught output and warnings in 08-autotest.t
  • t: Fix warning about undefined variable in 17-basetest.t

Every openQA job had a warn-call about "attempts" without further context as
a warning. We can alarm the readers a little bit less :)
It is good to catch all output and strip away alarming "expected
errors".

Related progress issue: https://progress.opensuse.org/issues/52652
@okurz okurz force-pushed the fix/run_cmd_connection_loss branch from c99a5bd to d6f7384 Compare June 18, 2019 04:07
@codecov
Copy link

codecov bot commented Jun 18, 2019

Codecov Report

Merging #1168 into master will decrease coverage by 12.56%.
The diff coverage is 75%.

Impacted file tree graph

@@             Coverage Diff             @@
##           master    #1168       +/-   ##
===========================================
- Coverage   39.97%   27.41%   -12.57%     
===========================================
  Files          40       40               
  Lines        4865     4866        +1     
  Branches      827      827               
===========================================
- Hits         1945     1334      -611     
- Misses       2586     3314      +728     
+ Partials      334      218      -116
Impacted Files Coverage Δ
osutils.pm 73.07% <75%> (-3.4%) ⬇️
OpenQA/Benchmark/Stopwatch.pm 5% <0%> (-63.34%) ⬇️
consoles/network_console.pm 41.66% <0%> (-50%) ⬇️
consoles/VNC.pm 3.88% <0%> (-40.39%) ⬇️
ppmclibs/blib/lib/tinycv.pm 7.36% <0%> (-38.95%) ⬇️
backend/baseclass.pm 23.25% <0%> (-35.61%) ⬇️
consoles/vnc_base.pm 8.33% <0%> (-34.38%) ⬇️
consoles/console.pm 28.26% <0%> (-23.92%) ⬇️
consoles/sshIucvconn.pm 22.72% <0%> (-18.19%) ⬇️
needle.pm 36% <0%> (-14.86%) ⬇️
... and 3 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 99810fe...d6f7384. Read the comment docs.

@okurz okurz merged commit 6a126c0 into os-autoinst:master Jun 18, 2019
@okurz okurz deleted the fix/run_cmd_connection_loss branch June 18, 2019 12:28
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

2 participants