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

reanahub / reana-job-controller / 970 / 1
47%
master: 47%

Build:
Build:
LAST BUILD BRANCH: 110-condor-submission
DEFAULT BRANCH: master
Ran 12 Oct 2020 10:02AM UTC
Files 17
Run time 2s
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

12 Oct 2020 07:53AM UTC coverage: 46.729% (+0.2%) from 46.495%
970.1

push

travis-ci

diegodelemos
slurm: reace condition when consulting job state

* Because job IDs are reused in the Slurm DB when we consult the state
  of a job very quickly we get the state of an old job with the same
  ID which tipically is `COMPLETED`, causing REANA to think it is done
  and then try to find the output files (which do not exist because
  the actual job didn't finished).

  Technically speaking `sacct` queries `slurmdbd` but the job we submitted
  is still in memory only (`slurmctld`) and not yet committed to DB
  (`slurmdb`), where the old job ID lays (with its old information).

  This commit fixes the problem by using `scontrol show job` because it
  uses `slurmctld` directly and has the latest data (closes #272).

450 of 963 relevant lines covered (46.73%)

0.47 hits per line

Source Files on job 970.1
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 600
  • Travis Job 970.1
  • 99c9dcf5 on github
  • Prev Job for on maint-0.7 (#968.1)
  • Next Job for on maint-0.7 (#976.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