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
  • !527

4.1.12 recovery fixes

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged dbeltran requested to merge 4.1.12-dev-branch-recovery-fixes into 4.1.12-dev-branch Dec 04, 2024
  • Overview 9
  • Commits 6
  • Pipelines 0
  • Changes 4

Note: The target branch right now is 4.1.12-dev-branch because it is not merged but can be changed afterward.

This fixes the issue with the recovery #1481

How to test this issue:

  • Do an autosubmit create + run , wait a bit, and control + c it at the middle of the run ( any workflow is valid )

    • In the Target Branch: Do an autosubmit create -f and autosubmit recovery a000 --all -f -s -np
    • This branch: Do an autosubmit create -f and autosubmit recovery a000 --all -f -s -np
  • Do an autosubmit run

    • In the target Branch, autosubmit will complain about logs not being downloaded or/and ready_date doesn't exist
    • In this branch, there shouldn't be complaints about it.

The fix is to add two new functions which are called by autosubmit recovery:

Which will recover these four values:

  • job.ready_date from None to last_ready_date
  • job.update_logs from False to True/False depending if the log is already in the local
  • job.local_logs that points to the last log if available
  • job.remote_logs that is a copy of the ones in local_log
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: 4.1.12-dev-branch-recovery-fixes