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
  • Issues
  • #873
Closed
Open
Issue created Sep 26, 2022 by Bruno de Paula Kinoshita@bdepaulaMaintainer

Comments in workflows files can lead to incorrect values

Another from Henrik Nortamo, using 3.13.4.

Inline comments are used in the documented but not parsed correctly when actually used: USER = nortamoh # <- your user lead to Check that the connection is passwd-less.(ssh nortamoh # <- your user@lumi) So the comments are not ignored.

I tested with AS 4 and the YAML comments didn't appear to cause that issue.

Henrik tested with 3.13.4, but I tested with 3.14 and had the same issue. My platforms file:

[local]
TYPE = PS
HOST = localhost # the host
PROJECT = test # the project
USER = kinow # <- your user
SCRATCH_DIR = /tmp/
TEMP_DIR = /tmp

autosubmit create -np a001 works with no issues. But then autosubmit run a001 reproduces the issue:

Starting job submission...
Creating jobs...
Loading JobList
Adding dependencies...
Removing redundant dependencies...
Using existing valid structure.
Checking scripts...
1 of 7 checked
2 of 7 checked
3 of 7 checked
4 of 7 checked
5 of 7 checked
6 of 7 checked
7 of 7 checked
Scripts OK
Autosubmit is running with v3.14.0
Checking the connection to all platforms in use
[ERROR] Trace: 
[local] Connection Unsuccessful to host localhost # the host 

 [CRITICAL] Issues while checking the connectivity of platforms. [eCode=7010]
More info at https://autosubmit.readthedocs.io/en/latest/faq.html
Assignee
Assign to
Time tracking