• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

CKI-project / skt / 1945 / 1
78%
master: 78%

Build:
DEFAULT BRANCH: master
Ran 11 Mar 2020 01:53PM UTC
Files 4
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

11 Mar 2020 01:52PM UTC coverage: 79.055% (+1.2%) from 77.903%
TOX_ENV=flake8,pylint

push

travis-ci

veruu
fix termination conditions

This patch fixes 4 subtle and related bugs.

We test when we've run out of attempts. However, because it's not the
only increment in the code, we can get into a situation where this
condition can no longer succeed. Let's fix that and end the watchloop
with a return.

We remove recipe_set_id from watchlist on 3 different places in total.
As a result, we may end-up trying to remove a recipe_set_id from watchlist,
that is not there anymore.
Quietly catch KeyError exception and keep going.

When we exit the watchloop, we have to process the results and evaluate
the overall testing status. Because there are multiple recipesets in a
job, we end-up missing at least 1 recipeset in a multi-recipeset job,
as we haven't saved results for it in the list. So instead, we always
save these results as we fetch them.

Finally, we fix some unit tests that have been quietly failing because
of an exception, the SKT's returncode being the same only because it was
evaluated as an infrastructure issue.

See
https://xci32.lab.eng.rdu2.redhat.com/cki-project/cki-pipeline/-/jobs/692695/

Signed-off-by: Jakub Racek <jracek@redhat.com>

134 of 183 branches covered (73.22%)

Branch coverage included in aggregate %.

368 of 452 relevant lines covered (81.42%)

0.81 hits per line

Source Files on job 1945.1 (TOX_ENV=flake8,pylint)
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 446
  • Travis Job 1945.1
  • 21d0cb47 on github
  • Prev Job for TOX_ENV=flake8,pylint on master (#1942.1)
  • Next Job for TOX_ENV=flake8,pylint on master (#1947.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc