action #99597
closed
Fix flaky coverage - lib/OpenQA/Worker/WebUIConnection.pm size:M
Added by okurz about 3 years ago.
Updated about 3 years ago.
Category:
Regressions/Crashes
Description
Observation¶
Flaky coverage. No logs available.
PR where it happened: https://github.com/os-autoinst/openQA/pull/4256#issuecomment-932021197 (look into the github comment history)
Acceptance criteria¶
- AC1: lib/OpenQA/Worker/WebUIConnection.pm is not showing up in codecov reports for multiple PRs with unrelated changes
Suggestions¶
- Find an occurence and preserve the results
- Try
24-worker-webui-connection.t
Files
- Copied from action #99594: Fix flaky coverage - t/lib/OpenQA/Test/FullstackUtils.pm size:M added
- Subject changed from Fix flaky coverage - lib/OpenQA/Worker/WebUIConnection.pm to Fix flaky coverage - lib/OpenQA/Worker/WebUIConnection.pm size:M
- Description updated (diff)
- Status changed from New to Workable
- Description updated (diff)
- Status changed from Workable to Feedback
Monitoring new pull requests to catch a new occurrence of this coverage decrease, in order to save the codecov.io report and see which code actually wasn't covered.
It happened again:
https://app.codecov.io/gh/os-autoinst/openQA/compare/4295/changes (note that the content of the url might change if the code in the PR is updated)
93.14% coverage, minus 0.98%
178
179 my $command_handler = OpenQA::Worker::CommandHandler->new($self);
180 $tx->on(
181 json => sub {
182 $command_handler->handle_command(@_);
183 });
184 $tx->on(
185 --- finish => sub ($tx, $code, $reason = undef) {
186 # uncoverable subroutine
187 # https://progress.opensuse.org/issues/55364
188 --- $reason //= 'no reason';
The lines marked with ---
lost coverage
- Status changed from Feedback to In Progress
- Due date set to 2021-10-29
Setting due date based on mean cycle time of SUSE QE Tools
- Status changed from In Progress to Feedback
- Status changed from Feedback to Resolved
I don't see WebUIConnection.pm changes in codecov reports anymore, so resolving.
Also available in: Atom
PDF