1. 11 Apr, 2019 5 commits
    • Morris Jette's avatar
      Job's --time-min used when not needed · 7dcde848
      Morris Jette authored
      This bug was observed once running test1.103 and found to be
      reproducible under some circumstances. How this works is when
      a job is submitted with a --time-min value, then the backfill
      scheduler set's the job's time limit to that value (see below),
      tries to start it, and if successful then set the time limit to
      the largest value possible without delaying the expected start
      time of any higher priority jobs. If the job can't be started,
      the job's (maximum) time limit is supposed to be restored to
      its previous value. That was happening in some, but not all
      places in the code. This patch rests the time limit in the missing
      cases.
      
      Note: The job's time limit is set to the --time-min value here:
      diff --git a/src/plugins/sched/backfill/backfill.c b/src/plugins/sched/backfill/backfill.c
      index 5600495e1d..e22a810394 100644
      --- a/src/plugins/sched/backfill/backfill.c
      +++ b/src/plugins/sched/backfill/backfill.c
      @@ -1930,7 +1930,7 @@ next_task:
       		    slurm_get_preempt_mode())
       			time_limit = job_ptr->time_limit = 1;
       		else if (job_ptr->time_min && (job_ptr->time_min < time_limit))
      -			time_limit = job_ptr->time_limit = job_ptr->time_min;
      +			time_limit = job_ptr->time_limit = job_ptr->time_min;		// SET HERE
      
       		later_start = now;
      7dcde848
    • Tim Wickberg's avatar
      Merge branch 'slurm-18.08' · f1837a40
      Tim Wickberg authored
      f1837a40
    • Tim Wickberg's avatar
    • Doug Jacobsen's avatar
      c39a9715
    • Morris Jette's avatar
      Add sleep to test · be016fd7
      Morris Jette authored
      What can happen without this sleep is the "JOBID" output from
      task 0 comes after the "HOST" output from task 1, which breaks
      the parsing just below this.
      be016fd7
  2. 10 Apr, 2019 17 commits
  3. 09 Apr, 2019 18 commits