Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • autosubmit autosubmit
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 338
    • Issues 338
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 21
    • Merge requests 21
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Earth SciencesEarth Sciences
  • autosubmitautosubmit
  • Merge requests
  • !203

Implementing #484. Added job footer information

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged wuruchi requested to merge issue484 into master Oct 14, 2020
  • Overview 0
  • Commits 2
  • Pipelines 0
  • Changes 4

Added footer information after job completion.

The footer will be added to the end of the file .out file. This implies that the remote log should be successfully retrieved.

The footer has the format:

[INFO] HDATA={"name": "a29z_REMOTE_SETUP", "date": "", "section": "", "member": "REMOTE_SETUP", "chunk": 0, "submit": "2020-10-14-12:04:21", "start": "2020-10-14-12:04:31", "finish": "2020-10-14-12:05:22", "queue_time": "0:00:10", "run_time": "0:00:51", "wallclock": "00:05", "ncpus": 1, "nnodes": 0, "energy": 0}

Where the HDATA value is in JSON format.

Also, a safe threading closing operation has been added after CTRL-C is pressed. It follows the implementation done by @dbeltran.

@mcastril Please review the format.

Platform has been added to the format:

[INFO] HDATA={"name": "a29z_20000102_fc4_1_POST", "date": "2000-01-02 00:00:00", "section": "fc4", "member": "POST", "chunk": 1, "submit": "2020-10-14-12:33:46", "start": "2020-10-14-12:34:03", "finish": "2020-10-14-12:34:57", "queue_time": "0:00:17", "run_time": "0:00:54", "wallclock": "00:05", "ncpus": 1, "nnodes": 0, "energy": 0, "platform": "LOCAL"}

Edited Oct 14, 2020 by wuruchi
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: issue484