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

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

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

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).

3 of 3 new or added lines in 1 file covered. (100.0%)

450 of 963 relevant lines covered (46.73%)

0.47 hits per line

Jobs
ID Job ID Ran Files Coverage
1 970.1 12 Oct 2020 10:02AM UTC 0
46.73
Travis Job 970.1
Source Files on build 970
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #970
  • 99c9dcf5 on github
  • Prev Build on maint-0.7 (#968)
  • Next Build on maint-0.7 (#976)
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

© 2025 Coveralls, Inc