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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
OpenXG
OpenXG-RAN
Commits
276c7be5
Commit
276c7be5
authored
Apr 04, 2022
by
hardy
Committed by
Robert Schmidt
Apr 06, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix SYNC_STATUS flag mgt to get the final status correct
parent
0a03755f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
1 deletion
+32
-1
ci-scripts/runTestOnVM.sh
ci-scripts/runTestOnVM.sh
+32
-1
No files found.
ci-scripts/runTestOnVM.sh
View file @
276c7be5
...
...
@@ -1939,6 +1939,12 @@ function run_test_on_vm {
SA_106PRB_STATUS
=
0
fi
done
#manage SYNC issue after try_cnt
if
[
$SYNC_STATUS
-ne
0
]
then
echo
"SA 106PRB test NOT OK, NOT SYNC'ED"
SA_106PRB_STATUS
=
-1
fi
########### end SA test
sleep
30
...
...
@@ -2022,6 +2028,12 @@ function run_test_on_vm {
SA_24PRB_STATUS
=
0
fi
done
#manage SYNC issue after try_cnt
if
[
$SYNC_STATUS
-ne
0
]
then
echo
"SA 24PRB test NOT OK, NOT SYNC'ED"
SA_24PRB_STATUS
=
-1
fi
########### end SA test
sleep
30
...
...
@@ -2110,6 +2122,12 @@ function run_test_on_vm {
try_cnt
=
$((
try_cnt+10
))
fi
done
#manage SYNC issue after try_cnt
if
[
$SYNC_STATUS
-ne
0
]
then
echo
"RA FR2 test NOT OK, NOT SYNC'ED"
RA_FR2_STATUS
=
-1
fi
########### end RA FR2 test
sleep
30
...
...
@@ -2212,6 +2230,13 @@ function run_test_on_vm {
try_cnt
=
$((
try_cnt+10
))
fi
done
#manage SYNC issue after try_cnt
if
[
$SYNC_STATUS
-ne
0
]
then
echo
"RA FR1 test NOT OK, NOT SYNC'ED"
RA_FR1_STATUS
=
-1
fi
done
########### end RA test
...
...
@@ -2332,6 +2357,13 @@ function run_test_on_vm {
try_cnt
=
$((
try_cnt+10
))
fi
done
#manage SYNC issue after try_cnt
if
[
$SYNC_STATUS
-ne
0
]
then
echo
"PHY test NOT OK, NOT SYNC'ED"
IPERF_STATUS
=
-1
fi
done
######### end of loop
full_l2_sim_destroy
...
...
@@ -2345,7 +2377,6 @@ function run_test_on_vm {
if
[
$SA_24PRB_STATUS
-ne
0
]
;
then
NR_STATUS
=
-1
;
fi
if
[
$RA_FR2_STATUS
-ne
0
]
;
then
NR_STATUS
=
-1
;
fi
if
[
$RA_FR1_STATUS
-ne
0
]
;
then
NR_STATUS
=
-1
;
fi
if
[
$SYNC_STATUS
-ne
0
]
;
then
NR_STATUS
=
-1
;
fi
if
[
$PING_STATUS
-ne
0
]
;
then
NR_STATUS
=
-1
;
fi
if
[
$IPERF_STATUS
-ne
0
]
;
then
NR_STATUS
=
-1
;
fi
if
[
$NR_STATUS
-eq
0
]
...
...
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