Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
etf
cmssam
Commits
84609144
Commit
84609144
authored
Mar 06, 2019
by
Marian Babik
Browse files
Merge branch 'qa' of
ssh://gitlab.cern.ch:7999/etf/cmssam
into qa
parents
fcb9254c
3659f5d2
Changes
1
Hide whitespace changes
Inline
Side-by-side
SiteTests/testjob/tests/CE-cms-xrootd-fallback
View file @
84609144
...
...
@@ -379,7 +379,7 @@ def main():
no_trial
=
0
while
(
no_trial
<
3
):
if
(
opts
.
endtime
-
time
.
time
())
<
60
:
log
.
error
(
"Timed out before reaching 3 attempt
s limit
"
)
log
.
error
(
"Timed out before reaching 3
rd
attempt"
)
exitCode
=
8015
break
...
...
@@ -407,13 +407,14 @@ def main():
if
(
exitCode
==
0
):
break
log
.
error
(
"Failed cmsRun output:"
)
print
stdout
if
(
opts
.
endtime
-
time
.
time
())
<
60
:
log
.
error
(
"Not enough time left for another try"
)
exitCode
=
8015
break
log
.
error
(
"Failed cmsRun output:"
)
print
stdout
rndm_site
=
(
rndm_site
+
1
)
%
len
(
CSWNFB_SITES
)
if
(
CSWNFB_SITES
[
rndm_site
]
==
siteName
):
rndm_site
=
(
rndm_site
+
1
)
%
len
(
CSWNFB_SITES
)
...
...
@@ -422,7 +423,7 @@ def main():
if
exitCode
:
if
exitCode
==
8015
:
returnCode
=
NAG_WARNING
return
print_summary
(
"Test reached timeout
before the third attempt
; exit code %s"
%
exitCode
,
returnCode
)
return
print_summary
(
"Test reached timeout ; exit code %s"
%
exitCode
,
returnCode
)
returnCode
=
NAG_CRITICAL
return
print_summary
(
"Failed cmsRun; exit code %d"
%
exitCode
,
returnCode
)
...
...
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