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

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

Build:
DEFAULT BRANCH: master
Ran 19 Sep 2019 12:32PM UTC
Files 4
Run time 0s
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

19 Sep 2019 12:30PM UTC coverage: 76.331%. First build
TOX_ENV=flake8,pylint

push

travis-ci

wizardofoz123
make sure state is saved on abrupt exit

In our pipeline, skt is being run with timeout utility to kill it after a
set timeout. This is used to timeout on infrastructure issues, but we
currently don't write out skt state to rc-file, so we don't get even a
partial report for that given arch.

This patch makes skt always call cleanup_handler() once on exit.
If the run isn't finished, this will result in SKT_ERROR retcode being
set and the rest of the jobs being cancelled.

The patch is structured in following way:
* move cleanup_handler() and signal_handler() to executable.py
* move code that saves state to cleanup_handler()
* add condition to check that cleanup_handler() was run only once
* adjust tests

No other functional changes intended.

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

140 of 202 branches covered (69.31%)

Branch coverage included in aggregate %.

376 of 474 relevant lines covered (79.32%)

0.79 hits per line

Source Files on job 1874.1 (TOX_ENV=flake8,pylint)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 383
  • Travis Job 1874.1
  • 572c45b9 on github
  • Prev Job for TOX_ENV=flake8,pylint on master (#1872.1)
  • Next Job for TOX_ENV=flake8,pylint on master (#1878.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