f8fb2e526ce6cf64f72e52ba7bf2bb8763513c08,reframe/core/schedulers/slurm.py,SlurmJobScheduler,submit,#SlurmJobScheduler#Any#,231
Before Change
completed = _run_strict(cmd, timeout=self._submit_timeout)
break
except SpawnedProcessError as e:
sbatch_error = "|".join(self._resubmit_on_errors)
if (not self._resubmit_on_errors or
not re.search(sbatch_error, e.stderr)):
raise e
After Change
raise
t = next(intervals)
self.log(
f"encountered a job submission error: {sbatch_error.group(1)}"
f"will resubmit after {t}s"
)
time.sleep(t)
jobid_match = re.search(r"Submitted batch job (?P<jobid>\d+)",
completed.stdout)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 2
Instances Project Name: eth-cscs/reframe
Commit Name: f8fb2e526ce6cf64f72e52ba7bf2bb8763513c08
Time: 2021-02-01
Author: karakasis@cscs.ch
File Name: reframe/core/schedulers/slurm.py
Class Name: SlurmJobScheduler
Method Name: submit
Project Name: pantsbuild/pants
Commit Name: c2425c81ddddf996b3aea6bf422031446382e245
Time: 2015-11-04
Author: john.sirois@gmail.com
File Name: contrib/go/src/python/pants/contrib/go/tasks/go_buildgen.py
Class Name: TemplateResult
Method Name: log
Project Name: eth-cscs/reframe
Commit Name: 19db3e8350cefa14a282073c6837ef1b5263f309
Time: 2020-11-03
Author: karakasis@cscs.ch
File Name: reframe/core/schedulers/slurm.py
Class Name: SlurmJobScheduler
Method Name: _merge_files