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

CKI-project / skt / 1523
78%

Build:
DEFAULT BRANCH: master
Ran 12 Dec 2018 04:49PM UTC
Jobs 1
Files 10
Run time 3s
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
1523

push

travis-ci

veruu
silence/fix "Could not cancel job" bug

We get error like

"""
XML-RPC fault: <class 'bkr.common.bexceptions.BX'>:Could not cancel job
id 5105713. Please try later
"""

when jobs are cancelled. This is because Beaker cancels entire jobs when
asked to cancel any of recipsets of that job and afterwards we try to
cancel a job already cancelled.

This patch adjusts cancel_pending_jobs() and its test.
We cancel entire jobs, if they have any recipeset in watchlist.
(Watchlist contains only recipsets.) This way the code shouldn't try to
cancel anything else than watchlist.

V2:
* better sets2jobs filtering

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

359 of 448 branches covered (80.13%)

Branch coverage included in aggregate %.

1121 of 1341 relevant lines covered (83.59%)

0.84 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1523.1 (TOX_ENV=py27,flake8,pylint) 12 Dec 2018 04:49PM UTC 0
82.73
Travis Job 1523.1
Source Files on build 1523
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1523
  • f51b963e on github
  • Prev Build on master (#1521)
  • Next Build on master (#1526)
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