Skip to content

Error submitting a SLURM job with no execution option #739

@laurentganne

Description

@laurentganne

Attempting to run a workflow with a slurm job containing no execution option, the workflow fails with this error:

The workflow run step TrainingJobComp_submit ended on error: failed to build job information: invalid execution options datatype for attribute "execution_options" for node "TrainingJobComp": '' expected a map, got 'string'

Stack trace in yorc:

'' expected a map, got 'string'
invalid execution options datatype for attribute "execution_options" for node "TrainingJobComp"
github.com/ystia/yorc/v4/prov/slurm.(*executionCommon).buildJobInfo
	/var/jenkins_home/workspace/yorc/v4.0.5+premium/2@2/prov/slurm/execution.go:385
github.com/ystia/yorc/v4/prov/slurm.(*executionCommon).execute
	/var/jenkins_home/workspace/yorc/v4.0.5+premium/2@2/prov/slurm/execution.go:169
github.com/ystia/yorc/v4/prov/slurm.(*defaultExecutor).ExecOperation

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions