Skip to content

Fix for bug 3359 - Incorrect job EndTime in infosys

nordugrid-arc-bot requested to merge floridop/arc:dev-fix3395 into next

Begin arcbot message
This merge request is automatically copied from !1438 (merged) orginally made by @floridop
End arcbot message

## Fix for bug 3359 - Incorrect job EndTime in infosys

Link to Bugzilla ticket

BUGZ-3359

Description

Job endtime was calculated in a wrong way. Now it should be more reliable.

Job endtime was calculated in GMJobsInfo.pm based on the last modification time of .status files. This is wrong because these files are touched several times by A-REX and other components after the job is finished. It resulted in an unreliable ever changing endtime for jobs.

Now this value is changed to the last modification of the .diag file, plus the values of start and end of jobs from LRMS are now published in GLUE2 to cross check the actual running time, taken from the .diag file as well.

Merge request reports