Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
etf
jess
Commits
229df422
Commit
229df422
authored
Mar 28, 2022
by
Marian Babik
Browse files
fix output download failure detection
parent
b8915309
Changes
1
Hide whitespace changes
Inline
Side-by-side
jess/backends/arc.py
View file @
229df422
...
...
@@ -96,7 +96,7 @@ class ARC(jess.backends.PluginBase):
if
not
stat
:
raise
jess
.
JobOutputError
(
"Failed to get job output"
,
ret_code
=
ret_code
,
details
=
stdout
,
cmd
=
' '
.
join
(
cmd
))
if
'WARN'
in
stdout
or
'ERROR'
in
stdout
:
if
'ERROR'
in
stdout
:
raise
jess
.
JobOutputError
(
"Failed to get job output"
,
ret_code
=
ret_code
,
details
=
stdout
,
cmd
=
' '
.
join
(
cmd
))
match
=
re
.
search
(
'Results stored at: (.*)'
,
stdout
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment