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

CKI-project / skt / 1874
78%

Build:
DEFAULT BRANCH: master
Ran 19 Sep 2019 12:32PM UTC
Jobs 1
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

pending completion
1874

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

Jobs
ID Job ID Ran Files Coverage
1 1874.1 (TOX_ENV=flake8,pylint) 19 Sep 2019 12:32PM UTC 0
76.33
Travis Job 1874.1
Source Files on build 1874
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1874
  • 572c45b9 on github
  • Prev Build on master (#1872)
  • Next Build on master (#1878)
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