Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zzha zzha
OpenXG-RAN
Commits
3aab3bfa
Commit
3aab3bfa
authored
8 years ago
by
Rohit Gupta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update for Gitlab CI to detect failed machines
parent
8ada7ce5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
cmake_targets/autotests/run_exec_lte-softmodem_tests.py
cmake_targets/autotests/run_exec_lte-softmodem_tests.py
+8
-6
No files found.
cmake_targets/autotests/run_exec_lte-softmodem_tests.py
View file @
3aab3bfa
...
...
@@ -1525,16 +1525,17 @@ for testcase in testcaseList:
print
"Creating xml file for overall results..."
cmd
=
"cat $OPENAIR_DIR/cmake_targets/autotests/log/*/*.xml > $OPENAIR_DIR/cmake_targets/autotests/log/results_autotests.xml "
res
=
os
.
system
(
cmd
)
os
.
system
(
'sync'
)
print
"Now copying files to NFS Share"
oai_localhost
=
openair
(
'localdomain'
,
'localhost'
)
oai_localhost
.
connect
(
user
,
pw
)
tlocaldir
=
locallogdir
+
'/'
+
testcasename
tremotedir
=
NFSTestsResultsDir
+
'/log'
cmd
=
' mkdir -p '
+
tremotedir
+
' ; rm -fr '
+
tremotedir
+
'/'
+
testcasename
cmd
=
' rm -fr '
+
NFSTestsResultsDir
+
' ; mkdir -p '
+
NFSTestsResultsDir
res
=
oai_localhost
.
send_recv
(
cmd
)
print
"Copying files from GilabCI Runner Machine : "
+
host
+
" .tlocallogdir = "
+
tlocaldir
+
", tremotedir = "
+
tremotedir
SSHSessionWrapper
(
'localhost'
,
user
,
None
,
pw
,
tremotedir
,
tlocaldir
,
"put_all"
)
print
"Deleting NFSTestResults Dir..."
+
res
print
"Copying files from GilabCI Runner Machine : "
+
host
+
" .locallogdir = "
+
locallogdir
+
", NFSTestsResultsDir = "
+
NFSTestsResultsDir
SSHSessionWrapper
(
'localhost'
,
user
,
None
,
pw
,
NFSTestsResultsDir
,
locallogdir
,
"put_all"
)
oai_localhost
.
disconnect
()
elif
(
testcaseclass
==
'compilation'
):
threadListGlobal
=
handle_testcaseclass_generic
(
testcasename
,
threadListGlobal
,
CleanUpOldProgs
,
logdirOAI5GRepo
,
MachineListGeneric
,
user
,
pw
,
CleanUpAluLteBox
,
Timeout_execution
,
ExmimoRfStop
)
...
...
@@ -1573,5 +1574,6 @@ print "Deleting NFSTestResults Dir..." + res
print
"Copying files from GilabCI Runner Machine : "
+
host
+
" .locallogdir = "
+
locallogdir
+
", NFSTestsResultsDir = "
+
NFSTestsResultsDir
SSHSessionWrapper
(
'localhost'
,
user
,
None
,
pw
,
NFSTestsResultsDir
,
locallogdir
,
"put_all"
)
oai_localhost
.
disconnect
()
sys
.
exit
()
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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