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

os-autoinst / openQA / 3079
100%

Build:
DEFAULT BRANCH: master
Ran 08 Sep 2016 06:37AM UTC
Jobs 1
Files 94
Run time 5s
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
3079

push

travis-ci

web-flow
Add new job state (#848)

* Avoid dead job detection for jobs uploading large files

When the job finishes, we set the job state to 'uploading' so the webui
can differ between those jobs and jobs that are supposed to update its
status every couple of seconds. This way we can have different timeouts
for these

* Give uploading jobs more time before considered dead

For this I reworked the dead worker detection not to work on timers, but
query every couple of minutes (I went from 20 minutes to 2 minutes not
to make this such an unlikely event) if the worker was updated in time.
And the timeout depends on the state of the job. 10 seconds for running,
1000 for uploading

* Prevent timeouts during uploading of files

by disabling keep alive for our webapi user agent

* Adopt the test case for dead worker detection

There is no timer trickery required anymore

* Send KILL to worker process group when not reacting to TERM

* Use a timeout for all jobs in execution

Make UPLOADING the exception. We used to ignore WAITING jobs for
dead workers, but this sounds unfair - these workers can die too

52 of 52 new or added lines in 8 files covered. (100.0%)

4252 of 5982 relevant lines covered (71.08%)

100.27 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
100.0
lib/OpenQA/Worker/Common.pm
2
100.0
lib/OpenQA/Worker/Engines/isotovideo.pm
3
100.0
lib/OpenQA/Schema/Result/Jobs.pm
3
100.0
lib/OpenQA/WebSockets/Server.pm
17
100.0
lib/OpenQA/Worker/Jobs.pm

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
lib/OpenQA/Schema/Result/Jobs.pm
1
100.0
lib/OpenQA/Worker/Jobs.pm
Jobs
ID Job ID Ran Files Coverage
1 3079.1 08 Sep 2016 06:37AM UTC 0
71.08
Travis Job 3079.1
Source Files on build 3079
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3079
  • 3fe8be97 on github
  • Prev Build on master (#3078)
  • Next Build on master (#3084)
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