You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/running.rst
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -846,6 +846,14 @@ All handlers accept the following set of attributes (keys) in their configuratio
846
846
It can be configured on a per test basis by overriding the :func:`info <reframe.core.pipeline.RegressionTest.info>` method of a specific regression test.
847
847
- ``check_jobid``: Prints the job or process id of the job or process associated with the currently executing regression test.
848
848
If a job or process is not yet created, ``-1`` will be printed.
849
+
- ``check_job_completion_time``: *[new in 2.21]* The completion time of the job spawned by this regression test.
850
+
This timestamp will be formatted according to ``datefmt`` (see below).
851
+
The accuracy of the timestamp depends on the backend scheduler.
852
+
The ``slurm`` scheduler backend relies on job accounting and returns the actual termination time of the job.
853
+
The rest of the backends report as completion time the moment when the framework realizes that the spawned job has finished.
854
+
In this case, the accuracy depends on the execution policy used.
855
+
If tests are executed with the serial execution policy, this is close to the real completion time, but if the asynchronous execution policy is used, it can differ significantly.
856
+
If the job completion time cannot be retrieved, ``None`` will be printed.
849
857
- ``check_name``: Prints the name of the regression test on behalf of which ReFrame is currently executing.
850
858
If ReFrame is not in the context of regression test, ``reframe`` will be printed.
851
859
- ``check_num_tasks``: The number of tasks assigned to the regression test.
0 commit comments