Skip to content

Commit

Permalink
Cleanup and comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Nilsson committed Nov 26, 2024
1 parent 2c9290b commit a193065
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion PILOTVERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.9.2.31
3.9.2.32
2 changes: 2 additions & 0 deletions pilot/control/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,8 @@ def _stage_in(args: object, job: JobData) -> bool:
logger.info(" -- lfn=%s, status_code=%s, status=%s", infile.lfn, infile.status_code, status)

# write time stamps to pilot timing file

# MOVE THIS TO AFTER REMOTE FILE OPEN HAS BEEN VERIFIED (actually just before the payload starts)
add_to_pilot_timing(job.jobid, PILOT_POST_STAGEIN, time.time(), args)

remain_files = [infile for infile in job.indata if infile.status not in ['remote_io', 'transferred', 'no_transfer']]
Expand Down
2 changes: 0 additions & 2 deletions pilot/control/payloads/generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -492,8 +492,6 @@ def pre_payload(self, job: JobData):
"""
# write time stamps to pilot timing file
update_time = time.time()
logger.debug(f"setting pre-payload time to {update_time} s")
logger.debug(f"gmtime is {time.gmtime(update_time)}")
add_to_pilot_timing(job.jobid, PILOT_PRE_PAYLOAD, update_time, self.__args)

def post_payload(self, job: JobData):
Expand Down
2 changes: 1 addition & 1 deletion pilot/util/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
RELEASE = '3' # released number should be fixed at 3 for Pilot 3
VERSION = '9' # version number is '1' for first release, '0' until then, increased for bigger updates
REVISION = '2' # revision number should be reset to '0' for every new version release, increased for small updates
BUILD = '31' # build number should be reset to '1' for every new development cycle
BUILD = '32' # build number should be reset to '1' for every new development cycle

SUCCESS = 0
FAILURE = 1
Expand Down

0 comments on commit a193065

Please sign in to comment.