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
lizhongxiao
OpenXG-RAN
Commits
627b8d92
Commit
627b8d92
authored
Oct 20, 2022
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/ci-local-registry' into integration_2022_wk42b
parents
d4536d20
1a0d91fd
Changes
45
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
45 changed files
with
795 additions
and
356 deletions
+795
-356
ci-scripts/cls_containerize.py
ci-scripts/cls_containerize.py
+240
-81
ci-scripts/cls_log_mgt.py
ci-scripts/cls_log_mgt.py
+0
-5
ci-scripts/cls_oai_html.py
ci-scripts/cls_oai_html.py
+17
-4
ci-scripts/cls_oaicitest.py
ci-scripts/cls_oaicitest.py
+6
-10
ci-scripts/cls_physim.py
ci-scripts/cls_physim.py
+2
-2
ci-scripts/cls_physim1.py
ci-scripts/cls_physim1.py
+2
-2
ci-scripts/cls_static_code_analysis.py
ci-scripts/cls_static_code_analysis.py
+4
-4
ci-scripts/main.py
ci-scripts/main.py
+59
-36
ci-scripts/ran.py
ci-scripts/ran.py
+2
-2
ci-scripts/sshconnection.py
ci-scripts/sshconnection.py
+26
-26
ci-scripts/xml_class_list.yml
ci-scripts/xml_class_list.yml
+3
-1
ci-scripts/xml_files/container_4g_l2sim_tdd.xml
ci-scripts/xml_files/container_4g_l2sim_tdd.xml
+8
-0
ci-scripts/xml_files/container_4g_l2sim_tdd_down.xml
ci-scripts/xml_files/container_4g_l2sim_tdd_down.xml
+7
-0
ci-scripts/xml_files/container_4g_rfsim_fdd_05MHz.xml
ci-scripts/xml_files/container_4g_rfsim_fdd_05MHz.xml
+10
-2
ci-scripts/xml_files/container_4g_rfsim_fdd_05MHz_down.xml
ci-scripts/xml_files/container_4g_rfsim_fdd_05MHz_down.xml
+7
-0
ci-scripts/xml_files/container_4g_rfsim_fdd_05MHz_noS1.xml
ci-scripts/xml_files/container_4g_rfsim_fdd_05MHz_noS1.xml
+10
-2
ci-scripts/xml_files/container_4g_rfsim_fdd_05MHz_noS1_down.xml
...ipts/xml_files/container_4g_rfsim_fdd_05MHz_noS1_down.xml
+7
-0
ci-scripts/xml_files/container_4g_rfsim_fdd_10MHz.xml
ci-scripts/xml_files/container_4g_rfsim_fdd_10MHz.xml
+10
-2
ci-scripts/xml_files/container_4g_rfsim_fdd_10MHz_down.xml
ci-scripts/xml_files/container_4g_rfsim_fdd_10MHz_down.xml
+7
-0
ci-scripts/xml_files/container_4g_rfsim_fdd_20MHz.xml
ci-scripts/xml_files/container_4g_rfsim_fdd_20MHz.xml
+10
-2
ci-scripts/xml_files/container_4g_rfsim_fdd_20MHz_down.xml
ci-scripts/xml_files/container_4g_rfsim_fdd_20MHz_down.xml
+7
-0
ci-scripts/xml_files/container_4g_rfsim_tdd_05MHz.xml
ci-scripts/xml_files/container_4g_rfsim_tdd_05MHz.xml
+11
-3
ci-scripts/xml_files/container_4g_rfsim_tdd_05MHz_down.xml
ci-scripts/xml_files/container_4g_rfsim_tdd_05MHz_down.xml
+7
-0
ci-scripts/xml_files/container_5g_f1_rfsim.xml
ci-scripts/xml_files/container_5g_f1_rfsim.xml
+9
-1
ci-scripts/xml_files/container_5g_f1_rfsim_down.xml
ci-scripts/xml_files/container_5g_f1_rfsim_down.xml
+7
-0
ci-scripts/xml_files/container_5g_fdd_rfsim.xml
ci-scripts/xml_files/container_5g_fdd_rfsim.xml
+9
-1
ci-scripts/xml_files/container_5g_fdd_rfsim_down.xml
ci-scripts/xml_files/container_5g_fdd_rfsim_down.xml
+7
-0
ci-scripts/xml_files/container_5g_l2sim_tdd.xml
ci-scripts/xml_files/container_5g_l2sim_tdd.xml
+8
-0
ci-scripts/xml_files/container_5g_l2sim_tdd_down.xml
ci-scripts/xml_files/container_5g_l2sim_tdd_down.xml
+7
-0
ci-scripts/xml_files/container_5g_rfsim.xml
ci-scripts/xml_files/container_5g_rfsim.xml
+10
-2
ci-scripts/xml_files/container_5g_rfsim_down.xml
ci-scripts/xml_files/container_5g_rfsim_down.xml
+7
-0
ci-scripts/xml_files/container_image_build.xml
ci-scripts/xml_files/container_image_build.xml
+7
-0
ci-scripts/xml_files/container_lte_b200_fdd_05Mhz_tm1.xml
ci-scripts/xml_files/container_lte_b200_fdd_05Mhz_tm1.xml
+168
-0
ci-scripts/xml_files/container_nsa_b200_quectel.xml
ci-scripts/xml_files/container_nsa_b200_quectel.xml
+16
-9
ci-scripts/xml_files/container_nsa_b200_terminate.xml
ci-scripts/xml_files/container_nsa_b200_terminate.xml
+14
-0
ci-scripts/xml_files/container_sa_b200_quectel.xml
ci-scripts/xml_files/container_sa_b200_quectel.xml
+8
-9
ci-scripts/xml_files/container_sa_b200_terminate.xml
ci-scripts/xml_files/container_sa_b200_terminate.xml
+7
-0
ci-scripts/xml_files/enb_usrp210_band7_test_05mhz_tm1.xml
ci-scripts/xml_files/enb_usrp210_band7_test_05mhz_tm1.xml
+0
-144
ci-scripts/yaml_files/4g_rfsimulator_fdd_05MHz/README.md
ci-scripts/yaml_files/4g_rfsimulator_fdd_05MHz/README.md
+1
-1
ci-scripts/yaml_files/4g_rfsimulator_fdd_05MHz/docker-compose.yml
...ts/yaml_files/4g_rfsimulator_fdd_05MHz/docker-compose.yml
+1
-1
ci-scripts/yaml_files/4g_rfsimulator_fdd_05MHz_noS1/docker-compose.yml
...ml_files/4g_rfsimulator_fdd_05MHz_noS1/docker-compose.yml
+1
-1
ci-scripts/yaml_files/4g_rfsimulator_fdd_10MHz/docker-compose.yml
...ts/yaml_files/4g_rfsimulator_fdd_10MHz/docker-compose.yml
+1
-1
ci-scripts/yaml_files/4g_rfsimulator_fdd_20MHz/docker-compose.yml
...ts/yaml_files/4g_rfsimulator_fdd_20MHz/docker-compose.yml
+1
-1
ci-scripts/yaml_files/4g_rfsimulator_tdd_05MHz/docker-compose.yml
...ts/yaml_files/4g_rfsimulator_tdd_05MHz/docker-compose.yml
+1
-1
ci-scripts/yaml_files/lte_b200_fdd_05Mhz_tm1/docker-compose.yml
...ipts/yaml_files/lte_b200_fdd_05Mhz_tm1/docker-compose.yml
+43
-0
No files found.
ci-scripts/cls_containerize.py
View file @
627b8d92
This diff is collapsed.
Click to expand it.
ci-scripts/cls_log_mgt.py
View file @
627b8d92
...
@@ -35,11 +35,6 @@ import re
...
@@ -35,11 +35,6 @@ import re
import
subprocess
import
subprocess
import
sshconnection
import
sshconnection
logging
.
basicConfig
(
level
=
logging
.
DEBUG
,
format
=
"[%(asctime)s] %(name)s:%(levelname)s: %(message)s"
)
class
Log_Mgt
:
class
Log_Mgt
:
def
__init__
(
self
,
Username
,
IPAddress
,
Password
,
Path
):
def
__init__
(
self
,
Username
,
IPAddress
,
Password
,
Path
):
...
...
ci-scripts/cls_oai_html.py
View file @
627b8d92
...
@@ -33,6 +33,7 @@
...
@@ -33,6 +33,7 @@
#-----------------------------------------------------------
#-----------------------------------------------------------
import
sys
# arg
import
sys
# arg
import
re
# reg
import
re
# reg
import
fileinput
import
logging
import
logging
import
os
import
os
import
time
import
time
...
@@ -102,9 +103,9 @@ class HTMLManagement():
...
@@ -102,9 +103,9 @@ class HTMLManagement():
def
CreateHtmlHeader
(
self
,
ADBIPAddress
):
def
CreateHtmlHeader
(
self
,
ADBIPAddress
):
if
(
not
self
.
htmlHeaderCreated
):
if
(
not
self
.
htmlHeaderCreated
):
logging
.
debug
(
'
\u001B
[1m----------------------------------------
\u001B
[0m'
)
logging
.
info
(
'
\u001B
[1m----------------------------------------
\u001B
[0m'
)
logging
.
debug
(
'
\u001B
[1m Creating HTML header
\u001B
[0m'
)
logging
.
info
(
'
\u001B
[1m Creating HTML header
\u001B
[0m'
)
logging
.
debug
(
'
\u001B
[1m----------------------------------------
\u001B
[0m'
)
logging
.
info
(
'
\u001B
[1m----------------------------------------
\u001B
[0m'
)
self
.
htmlFile
=
open
(
'test_results.html'
,
'w'
)
self
.
htmlFile
=
open
(
'test_results.html'
,
'w'
)
self
.
htmlFile
.
write
(
'<!DOCTYPE html>
\n
'
)
self
.
htmlFile
.
write
(
'<!DOCTYPE html>
\n
'
)
self
.
htmlFile
.
write
(
'<html class="no-js" lang="en-US">
\n
'
)
self
.
htmlFile
.
write
(
'<html class="no-js" lang="en-US">
\n
'
)
...
@@ -195,7 +196,10 @@ class HTMLManagement():
...
@@ -195,7 +196,10 @@ class HTMLManagement():
self
.
htmlFile
.
write
(
' <ul class="nav nav-pills">
\n
'
)
self
.
htmlFile
.
write
(
' <ul class="nav nav-pills">
\n
'
)
count
=
0
count
=
0
while
(
count
<
self
.
nbTestXMLfiles
):
while
(
count
<
self
.
nbTestXMLfiles
):
pillMsg
=
' <li><a data-toggle="pill" href="#'
if
count
==
0
:
pillMsg
=
' <li class="active"><a data-toggle="pill" href="#'
else
:
pillMsg
=
' <li><a data-toggle="pill" href="#'
pillMsg
+=
self
.
htmlTabRefs
[
count
]
pillMsg
+=
self
.
htmlTabRefs
[
count
]
pillMsg
+=
'">'
pillMsg
+=
'">'
pillMsg
+=
'__STATE_'
+
self
.
htmlTabNames
[
count
]
+
'__'
pillMsg
+=
'__STATE_'
+
self
.
htmlTabNames
[
count
]
+
'__'
...
@@ -269,6 +273,15 @@ class HTMLManagement():
...
@@ -269,6 +273,15 @@ class HTMLManagement():
def
CreateHtmlFooter
(
self
,
passStatus
):
def
CreateHtmlFooter
(
self
,
passStatus
):
if
(
os
.
path
.
isfile
(
'test_results.html'
)):
if
(
os
.
path
.
isfile
(
'test_results.html'
)):
# Tagging the 1st tab as active so it is automatically opened.
firstTabFound
=
False
for
line
in
fileinput
.
FileInput
(
"test_results.html"
,
inplace
=
1
):
if
re
.
search
(
'tab-pane fade'
,
line
)
and
not
firstTabFound
:
firstTabFound
=
True
print
(
line
.
replace
(
'tab-pane fade'
,
'tab-pane fade in active'
),
end
=
''
)
else
:
print
(
line
,
end
=
''
)
self
.
htmlFile
=
open
(
'test_results.html'
,
'a'
)
self
.
htmlFile
=
open
(
'test_results.html'
,
'a'
)
self
.
htmlFile
.
write
(
'</div>
\n
'
)
self
.
htmlFile
.
write
(
'</div>
\n
'
)
self
.
htmlFile
.
write
(
' <p></p>
\n
'
)
self
.
htmlFile
.
write
(
' <p></p>
\n
'
)
...
...
ci-scripts/cls_oaicitest.py
View file @
627b8d92
...
@@ -44,10 +44,6 @@ import datetime
...
@@ -44,10 +44,6 @@ import datetime
import
signal
import
signal
import
statistics
as
stat
import
statistics
as
stat
from
multiprocessing
import
Process
,
Lock
,
SimpleQueue
from
multiprocessing
import
Process
,
Lock
,
SimpleQueue
logging
.
basicConfig
(
level
=
logging
.
DEBUG
,
format
=
"[%(asctime)s] %(name)s:%(levelname)s: %(message)s"
)
#import our libs
#import our libs
import
helpreadme
as
HELP
import
helpreadme
as
HELP
...
@@ -263,10 +259,10 @@ class OaiCiTest():
...
@@ -263,10 +259,10 @@ class OaiCiTest():
if
self
.
ranAllowMerge
:
if
self
.
ranAllowMerge
:
if
self
.
ranTargetBranch
==
''
:
if
self
.
ranTargetBranch
==
''
:
if
(
self
.
ranBranch
!=
'develop'
)
and
(
self
.
ranBranch
!=
'origin/develop'
):
if
(
self
.
ranBranch
!=
'develop'
)
and
(
self
.
ranBranch
!=
'origin/develop'
):
SSH
.
command
(
'git merge --ff origin/develop -m "Temporary merge for CI"'
,
'\$'
,
5
)
SSH
.
command
(
'git merge --ff origin/develop -m "Temporary merge for CI"'
,
'\$'
,
30
)
else
:
else
:
logging
.
debug
(
'Merging with the target branch: '
+
self
.
ranTargetBranch
)
logging
.
debug
(
'Merging with the target branch: '
+
self
.
ranTargetBranch
)
SSH
.
command
(
'git merge --ff origin/'
+
self
.
ranTargetBranch
+
' -m "Temporary merge for CI"'
,
'\$'
,
5
)
SSH
.
command
(
'git merge --ff origin/'
+
self
.
ranTargetBranch
+
' -m "Temporary merge for CI"'
,
'\$'
,
30
)
SSH
.
command
(
'source oaienv'
,
'\$'
,
5
)
SSH
.
command
(
'source oaienv'
,
'\$'
,
5
)
SSH
.
command
(
'cd cmake_targets'
,
'\$'
,
5
)
SSH
.
command
(
'cd cmake_targets'
,
'\$'
,
5
)
SSH
.
command
(
'mkdir -p log'
,
'\$'
,
5
)
SSH
.
command
(
'mkdir -p log'
,
'\$'
,
5
)
...
@@ -3937,7 +3933,7 @@ class OaiCiTest():
...
@@ -3937,7 +3933,7 @@ class OaiCiTest():
sys
.
exit
(
1
)
sys
.
exit
(
1
)
def
ShowTestID
(
self
):
def
ShowTestID
(
self
):
logging
.
debug
(
'
\u001B
[1m----------------------------------------
\u001B
[0m'
)
logging
.
info
(
'
\u001B
[1m----------------------------------------
\u001B
[0m'
)
logging
.
debug
(
'
\u001B
[1mTest ID:'
+
self
.
testCase_id
+
'
\u001B
[0m'
)
logging
.
info
(
'
\u001B
[1mTest ID:'
+
self
.
testCase_id
+
'
\u001B
[0m'
)
logging
.
debug
(
'
\u001B
[1m'
+
self
.
desc
+
'
\u001B
[0m'
)
logging
.
info
(
'
\u001B
[1m'
+
self
.
desc
+
'
\u001B
[0m'
)
logging
.
debug
(
'
\u001B
[1m----------------------------------------
\u001B
[0m'
)
logging
.
info
(
'
\u001B
[1m----------------------------------------
\u001B
[0m'
)
ci-scripts/cls_physim.py
View file @
627b8d92
...
@@ -180,10 +180,10 @@ class PhySim:
...
@@ -180,10 +180,10 @@ class PhySim:
if
(
self
.
ranAllowMerge
):
if
(
self
.
ranAllowMerge
):
if
self
.
ranTargetBranch
==
''
:
if
self
.
ranTargetBranch
==
''
:
if
(
self
.
ranBranch
!=
'develop'
)
and
(
self
.
ranBranch
!=
'origin/develop'
):
if
(
self
.
ranBranch
!=
'develop'
)
and
(
self
.
ranBranch
!=
'origin/develop'
):
mySSH
.
command
(
'git merge --ff origin/develop -m "Temporary merge for CI"'
,
'\$'
,
5
)
mySSH
.
command
(
'git merge --ff origin/develop -m "Temporary merge for CI"'
,
'\$'
,
30
)
else
:
else
:
logging
.
info
(
'Merging with the target branch: '
+
self
.
ranTargetBranch
)
logging
.
info
(
'Merging with the target branch: '
+
self
.
ranTargetBranch
)
mySSH
.
command
(
'git merge --ff origin/'
+
self
.
ranTargetBranch
+
' -m "Temporary merge for CI"'
,
'\$'
,
5
)
mySSH
.
command
(
'git merge --ff origin/'
+
self
.
ranTargetBranch
+
' -m "Temporary merge for CI"'
,
'\$'
,
30
)
#build
#build
mySSH
.
command
(
'source oaienv'
,
'\$'
,
5
)
mySSH
.
command
(
'source oaienv'
,
'\$'
,
5
)
...
...
ci-scripts/cls_physim1.py
View file @
627b8d92
...
@@ -108,10 +108,10 @@ class PhySim:
...
@@ -108,10 +108,10 @@ class PhySim:
imageTag
=
"ci-temp"
imageTag
=
"ci-temp"
if
self
.
ranTargetBranch
==
''
:
if
self
.
ranTargetBranch
==
''
:
if
(
self
.
ranBranch
!=
'develop'
)
and
(
self
.
ranBranch
!=
'origin/develop'
):
if
(
self
.
ranBranch
!=
'develop'
)
and
(
self
.
ranBranch
!=
'origin/develop'
):
mySSH
.
command
(
'git merge --ff origin/develop -m "Temporary merge for CI"'
,
'\$'
,
5
)
mySSH
.
command
(
'git merge --ff origin/develop -m "Temporary merge for CI"'
,
'\$'
,
30
)
else
:
else
:
logging
.
debug
(
'Merging with the target branch: '
+
self
.
ranTargetBranch
)
logging
.
debug
(
'Merging with the target branch: '
+
self
.
ranTargetBranch
)
mySSH
.
command
(
'git merge --ff origin/'
+
self
.
ranTargetBranch
+
' -m "Temporary merge for CI"'
,
'\$'
,
5
)
mySSH
.
command
(
'git merge --ff origin/'
+
self
.
ranTargetBranch
+
' -m "Temporary merge for CI"'
,
'\$'
,
30
)
else
:
else
:
imageTag
=
"develop"
imageTag
=
"develop"
...
...
ci-scripts/cls_static_code_analysis.py
View file @
627b8d92
...
@@ -123,10 +123,10 @@ class StaticCodeAnalysis():
...
@@ -123,10 +123,10 @@ class StaticCodeAnalysis():
if
(
self
.
ranAllowMerge
):
if
(
self
.
ranAllowMerge
):
if
self
.
ranTargetBranch
==
''
:
if
self
.
ranTargetBranch
==
''
:
if
(
self
.
ranBranch
!=
'develop'
)
and
(
self
.
ranBranch
!=
'origin/develop'
):
if
(
self
.
ranBranch
!=
'develop'
)
and
(
self
.
ranBranch
!=
'origin/develop'
):
mySSH
.
command
(
'git merge --ff origin/develop -m "Temporary merge for CI"'
,
'\$'
,
5
)
mySSH
.
command
(
'git merge --ff origin/develop -m "Temporary merge for CI"'
,
'\$'
,
30
)
else
:
else
:
logging
.
debug
(
'Merging with the target branch: '
+
self
.
ranTargetBranch
)
logging
.
debug
(
'Merging with the target branch: '
+
self
.
ranTargetBranch
)
mySSH
.
command
(
'git merge --ff origin/'
+
self
.
ranTargetBranch
+
' -m "Temporary merge for CI"'
,
'\$'
,
5
)
mySSH
.
command
(
'git merge --ff origin/'
+
self
.
ranTargetBranch
+
' -m "Temporary merge for CI"'
,
'\$'
,
30
)
mySSH
.
command
(
'docker image rm oai-cppcheck:bionic oai-cppcheck:focal || true'
,
'\$'
,
60
)
mySSH
.
command
(
'docker image rm oai-cppcheck:bionic oai-cppcheck:focal || true'
,
'\$'
,
60
)
mySSH
.
command
(
'sed -e "s@xenial@bionic@" ci-scripts/docker/Dockerfile.cppcheck.xenial > ci-scripts/docker/Dockerfile.cppcheck.bionic'
,
'\$'
,
6
)
mySSH
.
command
(
'sed -e "s@xenial@bionic@" ci-scripts/docker/Dockerfile.cppcheck.xenial > ci-scripts/docker/Dockerfile.cppcheck.bionic'
,
'\$'
,
6
)
...
@@ -281,11 +281,11 @@ class StaticCodeAnalysis():
...
@@ -281,11 +281,11 @@ class StaticCodeAnalysis():
argToPass
=
'--build-arg MERGE_REQUEST=true --build-arg SRC_BRANCH='
+
self
.
ranBranch
argToPass
=
'--build-arg MERGE_REQUEST=true --build-arg SRC_BRANCH='
+
self
.
ranBranch
if
self
.
ranTargetBranch
==
''
:
if
self
.
ranTargetBranch
==
''
:
if
(
self
.
ranBranch
!=
'develop'
)
and
(
self
.
ranBranch
!=
'origin/develop'
):
if
(
self
.
ranBranch
!=
'develop'
)
and
(
self
.
ranBranch
!=
'origin/develop'
):
mySSH
.
command
(
'git merge --ff origin/develop -m "Temporary merge for CI"'
,
'\$'
,
5
)
mySSH
.
command
(
'git merge --ff origin/develop -m "Temporary merge for CI"'
,
'\$'
,
30
)
argToPass
+=
' --build-arg TARGET_BRANCH=develop '
argToPass
+=
' --build-arg TARGET_BRANCH=develop '
else
:
else
:
logging
.
debug
(
'Merging with the target branch: '
+
self
.
ranTargetBranch
)
logging
.
debug
(
'Merging with the target branch: '
+
self
.
ranTargetBranch
)
mySSH
.
command
(
'git merge --ff origin/'
+
self
.
ranTargetBranch
+
' -m "Temporary merge for CI"'
,
'\$'
,
5
)
mySSH
.
command
(
'git merge --ff origin/'
+
self
.
ranTargetBranch
+
' -m "Temporary merge for CI"'
,
'\$'
,
30
)
argToPass
+=
' --build-arg TARGET_BRANCH='
+
self
.
ranTargetBranch
+
' '
argToPass
+=
' --build-arg TARGET_BRANCH='
+
self
.
ranTargetBranch
+
' '
mySSH
.
command
(
'docker image rm oai-formatting-check:latest || true'
,
'\$'
,
60
)
mySSH
.
command
(
'docker image rm oai-formatting-check:latest || true'
,
'\$'
,
60
)
...
...
ci-scripts/main.py
View file @
627b8d92
This diff is collapsed.
Click to expand it.
ci-scripts/ran.py
View file @
627b8d92
...
@@ -203,10 +203,10 @@ class RANManagement():
...
@@ -203,10 +203,10 @@ class RANManagement():
if
(
self
.
ranAllowMerge
):
if
(
self
.
ranAllowMerge
):
if
self
.
ranTargetBranch
==
''
:
if
self
.
ranTargetBranch
==
''
:
if
(
self
.
ranBranch
!=
'develop'
)
and
(
self
.
ranBranch
!=
'origin/develop'
):
if
(
self
.
ranBranch
!=
'develop'
)
and
(
self
.
ranBranch
!=
'origin/develop'
):
mySSH
.
command
(
'git merge --ff origin/develop -m "Temporary merge for CI"'
,
'\$'
,
5
)
mySSH
.
command
(
'git merge --ff origin/develop -m "Temporary merge for CI"'
,
'\$'
,
30
)
else
:
else
:
logging
.
debug
(
'Merging with the target branch: '
+
self
.
ranTargetBranch
)
logging
.
debug
(
'Merging with the target branch: '
+
self
.
ranTargetBranch
)
mySSH
.
command
(
'git merge --ff origin/'
+
self
.
ranTargetBranch
+
' -m "Temporary merge for CI"'
,
'\$'
,
5
)
mySSH
.
command
(
'git merge --ff origin/'
+
self
.
ranTargetBranch
+
' -m "Temporary merge for CI"'
,
'\$'
,
30
)
logging
.
debug
(
mySSH
.
getBefore
())
# print what git said when merging/checking out
logging
.
debug
(
mySSH
.
getBefore
())
# print what git said when merging/checking out
mySSH
.
command
(
'source oaienv'
,
'\$'
,
5
)
mySSH
.
command
(
'source oaienv'
,
'\$'
,
5
)
mySSH
.
command
(
'cd cmake_targets'
,
'\$'
,
5
)
mySSH
.
command
(
'cd cmake_targets'
,
'\$'
,
5
)
...
...
ci-scripts/sshconnection.py
View file @
627b8d92
...
@@ -74,7 +74,7 @@ class SSHConnection():
...
@@ -74,7 +74,7 @@ class SSHConnection():
count
=
10
count
=
10
connect_status
=
True
connect_status
=
True
else
:
else
:
logging
.
debu
g
(
'self.sshresponse = '
+
str
(
self
.
sshresponse
))
logging
.
warnin
g
(
'self.sshresponse = '
+
str
(
self
.
sshresponse
))
elif
self
.
sshresponse
==
1
:
elif
self
.
sshresponse
==
1
:
self
.
ssh
.
sendline
(
password
)
self
.
ssh
.
sendline
(
password
)
self
.
sshresponse
=
self
.
ssh
.
expect
([
prompt
,
'Permission denied'
,
'password:'
,
pexpect
.
EOF
,
pexpect
.
TIMEOUT
])
self
.
sshresponse
=
self
.
ssh
.
expect
([
prompt
,
'Permission denied'
,
'password:'
,
pexpect
.
EOF
,
pexpect
.
TIMEOUT
])
...
@@ -82,7 +82,7 @@ class SSHConnection():
...
@@ -82,7 +82,7 @@ class SSHConnection():
count
=
10
count
=
10
connect_status
=
True
connect_status
=
True
else
:
else
:
logging
.
debu
g
(
'self.sshresponse = '
+
str
(
self
.
sshresponse
))
logging
.
warnin
g
(
'self.sshresponse = '
+
str
(
self
.
sshresponse
))
elif
self
.
sshresponse
==
2
:
elif
self
.
sshresponse
==
2
:
# We directly ended up on the remote server because of pubkey auth
# We directly ended up on the remote server because of pubkey auth
count
=
10
count
=
10
...
@@ -91,8 +91,8 @@ class SSHConnection():
...
@@ -91,8 +91,8 @@ class SSHConnection():
self
.
sshresponse
=
self
.
ssh
.
expect
([
prompt
])
self
.
sshresponse
=
self
.
ssh
.
expect
([
prompt
])
else
:
else
:
# debug output
# debug output
logging
.
debu
g
(
str
(
self
.
ssh
.
before
))
logging
.
warnin
g
(
str
(
self
.
ssh
.
before
))
logging
.
debu
g
(
'self.sshresponse = '
+
str
(
self
.
sshresponse
))
logging
.
warnin
g
(
'self.sshresponse = '
+
str
(
self
.
sshresponse
))
# adding a tempo when failure
# adding a tempo when failure
if
not
connect_status
:
if
not
connect_status
:
time
.
sleep
(
1
)
time
.
sleep
(
1
)
...
@@ -108,7 +108,7 @@ class SSHConnection():
...
@@ -108,7 +108,7 @@ class SSHConnection():
def
cde_check_value
(
self
,
commandline
,
expected
,
timeout
):
def
cde_check_value
(
self
,
commandline
,
expected
,
timeout
):
logging
.
debug
(
commandline
)
logging
.
info
(
commandline
)
self
.
ssh
.
timeout
=
timeout
self
.
ssh
.
timeout
=
timeout
self
.
ssh
.
sendline
(
commandline
)
self
.
ssh
.
sendline
(
commandline
)
expected
.
append
(
pexpect
.
EOF
)
expected
.
append
(
pexpect
.
EOF
)
...
@@ -118,7 +118,7 @@ class SSHConnection():
...
@@ -118,7 +118,7 @@ class SSHConnection():
def
command
(
self
,
commandline
,
expectedline
,
timeout
,
silent
=
False
,
resync
=
False
):
def
command
(
self
,
commandline
,
expectedline
,
timeout
,
silent
=
False
,
resync
=
False
):
if
not
silent
:
if
not
silent
:
logging
.
debug
(
commandline
)
logging
.
info
(
commandline
)
self
.
ssh
.
timeout
=
timeout
self
.
ssh
.
timeout
=
timeout
# Nasty patch when pexpect output is out of sync.
# Nasty patch when pexpect output is out of sync.
# Much pronounced when running back-to-back-back oc commands
# Much pronounced when running back-to-back-back oc commands
...
@@ -133,27 +133,27 @@ class SSHConnection():
...
@@ -133,27 +133,27 @@ class SSHConnection():
if
self
.
sshresponse
==
0
:
if
self
.
sshresponse
==
0
:
return
0
return
0
elif
self
.
sshresponse
==
1
:
elif
self
.
sshresponse
==
1
:
logging
.
debug
(
'
\u001B
[1;37;41m Unexpected EOF
\u001B
[0m'
)
logging
.
error
(
'
\u001B
[1;37;41m Unexpected EOF
\u001B
[0m'
)
logging
.
debug
(
'Expected Line : '
+
expectedline
)
logging
.
error
(
'Expected Line : '
+
expectedline
)
logging
.
debug
(
str
(
self
.
ssh
.
before
))
logging
.
error
(
str
(
self
.
ssh
.
before
))
sys
.
exit
(
self
.
sshresponse
)
sys
.
exit
(
self
.
sshresponse
)
elif
self
.
sshresponse
==
2
:
elif
self
.
sshresponse
==
2
:
logging
.
debug
(
'
\u001B
[1;37;41m Unexpected TIMEOUT
\u001B
[0m'
)
logging
.
error
(
'
\u001B
[1;37;41m Unexpected TIMEOUT
\u001B
[0m'
)
logging
.
debug
(
'Expected Line : '
+
expectedline
)
logging
.
error
(
'Expected Line : '
+
expectedline
)
result
=
re
.
search
(
'ping |iperf |picocom'
,
str
(
commandline
))
result
=
re
.
search
(
'ping |iperf |picocom'
,
str
(
commandline
))
if
result
is
None
:
if
result
is
None
:
logging
.
debu
g
(
str
(
self
.
ssh
.
before
))
logging
.
warnin
g
(
str
(
self
.
ssh
.
before
))
sys
.
exit
(
self
.
sshresponse
)
sys
.
exit
(
self
.
sshresponse
)
else
:
else
:
return
-
1
return
-
1
else
:
else
:
logging
.
debug
(
'
\u001B
[1;37;41m Unexpected Others
\u001B
[0m'
)
logging
.
error
(
'
\u001B
[1;37;41m Unexpected Others
\u001B
[0m'
)
logging
.
debug
(
'Expected Line : '
+
expectedline
)
logging
.
error
(
'Expected Line : '
+
expectedline
)
sys
.
exit
(
self
.
sshresponse
)
sys
.
exit
(
self
.
sshresponse
)
def
command2
(
self
,
commandline
,
timeout
,
silent
=
False
):
def
command2
(
self
,
commandline
,
timeout
,
silent
=
False
):
if
not
silent
:
if
not
silent
:
logging
.
debug
(
commandline
)
logging
.
info
(
commandline
)
self
.
cmd2Results
=
''
self
.
cmd2Results
=
''
noHistoryCmd
=
'unset HISTFILE; '
+
commandline
noHistoryCmd
=
'unset HISTFILE; '
+
commandline
myHost
=
self
.
username
+
'@'
+
self
.
ipaddress
myHost
=
self
.
username
+
'@'
+
self
.
ipaddress
...
@@ -165,7 +165,7 @@ class SSHConnection():
...
@@ -165,7 +165,7 @@ class SSHConnection():
def
command3
(
self
,
commandline
,
timeout
,
silent
=
False
):
def
command3
(
self
,
commandline
,
timeout
,
silent
=
False
):
if
not
silent
:
if
not
silent
:
logging
.
debug
(
commandline
)
logging
.
info
(
commandline
)
self
.
cmd2Results
=
''
self
.
cmd2Results
=
''
noHistoryCmd
=
'unset HISTFILE; '
+
commandline
noHistoryCmd
=
'unset HISTFILE; '
+
commandline
myHost
=
self
.
username
+
'@'
+
self
.
ipaddress
myHost
=
self
.
username
+
'@'
+
self
.
ipaddress
...
@@ -186,14 +186,14 @@ class SSHConnection():
...
@@ -186,14 +186,14 @@ class SSHConnection():
pass
pass
elif
self
.
sshresponse
==
1
:
elif
self
.
sshresponse
==
1
:
if
not
self
.
picocom_closure
:
if
not
self
.
picocom_closure
:
logging
.
debu
g
(
'
\u001B
[1;37;41m Unexpected TIMEOUT during closing
\u001B
[0m'
)
logging
.
warnin
g
(
'
\u001B
[1;37;41m Unexpected TIMEOUT during closing
\u001B
[0m'
)
else
:
else
:
logging
.
debu
g
(
'
\u001B
[1;37;41m Unexpected Others during closing
\u001B
[0m'
)
logging
.
warnin
g
(
'
\u001B
[1;37;41m Unexpected Others during closing
\u001B
[0m'
)
def
copyin
(
self
,
ipaddress
,
username
,
password
,
source
,
destination
):
def
copyin
(
self
,
ipaddress
,
username
,
password
,
source
,
destination
):
count
=
0
count
=
0
copy_status
=
False
copy_status
=
False
logging
.
debug
(
'scp -r '
+
username
+
'@'
+
ipaddress
+
':'
+
source
+
' '
+
destination
)
logging
.
info
(
'scp -r '
+
username
+
'@'
+
ipaddress
+
':'
+
source
+
' '
+
destination
)
while
count
<
10
:
while
count
<
10
:
scp_spawn
=
pexpect
.
spawn
(
'scp -r '
+
username
+
'@'
+
ipaddress
+
':'
+
source
+
' '
+
destination
,
timeout
=
100
)
scp_spawn
=
pexpect
.
spawn
(
'scp -r '
+
username
+
'@'
+
ipaddress
+
':'
+
source
+
' '
+
destination
,
timeout
=
100
)
scp_response
=
scp_spawn
.
expect
([
'Are you sure you want to continue connecting (yes/no)?'
,
'password:'
,
pexpect
.
EOF
,
pexpect
.
TIMEOUT
])
scp_response
=
scp_spawn
.
expect
([
'Are you sure you want to continue connecting (yes/no)?'
,
'password:'
,
pexpect
.
EOF
,
pexpect
.
TIMEOUT
])
...
@@ -206,7 +206,7 @@ class SSHConnection():
...
@@ -206,7 +206,7 @@ class SSHConnection():
count
=
10
count
=
10
copy_status
=
True
copy_status
=
True
else
:
else
:
logging
.
debu
g
(
'1 - scp_response = '
+
str
(
scp_response
))
logging
.
warnin
g
(
'1 - scp_response = '
+
str
(
scp_response
))
elif
scp_response
==
1
:
elif
scp_response
==
1
:
scp_spawn
.
sendline
(
password
)
scp_spawn
.
sendline
(
password
)
scp_response
=
scp_spawn
.
expect
([
'\$'
,
'Permission denied'
,
'password:'
,
pexpect
.
EOF
,
pexpect
.
TIMEOUT
])
scp_response
=
scp_spawn
.
expect
([
'\$'
,
'Permission denied'
,
'password:'
,
pexpect
.
EOF
,
pexpect
.
TIMEOUT
])
...
@@ -214,12 +214,12 @@ class SSHConnection():
...
@@ -214,12 +214,12 @@ class SSHConnection():
count
=
10
count
=
10
copy_status
=
True
copy_status
=
True
else
:
else
:
logging
.
debu
g
(
'2 - scp_response = '
+
str
(
scp_response
))
logging
.
warnin
g
(
'2 - scp_response = '
+
str
(
scp_response
))
elif
scp_response
==
2
:
elif
scp_response
==
2
:
count
=
10
count
=
10
copy_status
=
True
copy_status
=
True
else
:
else
:
logging
.
debu
g
(
'3 - scp_response = '
+
str
(
scp_response
))
logging
.
warnin
g
(
'3 - scp_response = '
+
str
(
scp_response
))
# adding a tempo when failure
# adding a tempo when failure
if
not
copy_status
:
if
not
copy_status
:
time
.
sleep
(
1
)
time
.
sleep
(
1
)
...
@@ -232,7 +232,7 @@ class SSHConnection():
...
@@ -232,7 +232,7 @@ class SSHConnection():
def
copyout
(
self
,
ipaddress
,
username
,
password
,
source
,
destination
):
def
copyout
(
self
,
ipaddress
,
username
,
password
,
source
,
destination
):
count
=
0
count
=
0
copy_status
=
False
copy_status
=
False
logging
.
debug
(
'scp -r '
+
source
+
' '
+
username
+
'@'
+
ipaddress
+
':'
+
destination
)
logging
.
info
(
'scp -r '
+
source
+
' '
+
username
+
'@'
+
ipaddress
+
':'
+
destination
)
while
count
<
4
:
while
count
<
4
:
scp_spawn
=
pexpect
.
spawn
(
'scp -r '
+
source
+
' '
+
username
+
'@'
+
ipaddress
+
':'
+
destination
,
timeout
=
100
)
scp_spawn
=
pexpect
.
spawn
(
'scp -r '
+
source
+
' '
+
username
+
'@'
+
ipaddress
+
':'
+
destination
,
timeout
=
100
)
scp_response
=
scp_spawn
.
expect
([
'Are you sure you want to continue connecting (yes/no)?'
,
'password:'
,
pexpect
.
EOF
,
pexpect
.
TIMEOUT
])
scp_response
=
scp_spawn
.
expect
([
'Are you sure you want to continue connecting (yes/no)?'
,
'password:'
,
pexpect
.
EOF
,
pexpect
.
TIMEOUT
])
...
@@ -245,7 +245,7 @@ class SSHConnection():
...
@@ -245,7 +245,7 @@ class SSHConnection():
count
=
10
count
=
10
copy_status
=
True
copy_status
=
True
else
:
else
:
logging
.
debu
g
(
'1 - scp_response = '
+
str
(
scp_response
))
logging
.
warnin
g
(
'1 - scp_response = '
+
str
(
scp_response
))
elif
scp_response
==
1
:
elif
scp_response
==
1
:
scp_spawn
.
sendline
(
password
)
scp_spawn
.
sendline
(
password
)
scp_response
=
scp_spawn
.
expect
([
'\$'
,
'Permission denied'
,
'password:'
,
pexpect
.
EOF
,
pexpect
.
TIMEOUT
])
scp_response
=
scp_spawn
.
expect
([
'\$'
,
'Permission denied'
,
'password:'
,
pexpect
.
EOF
,
pexpect
.
TIMEOUT
])
...
@@ -253,12 +253,12 @@ class SSHConnection():
...
@@ -253,12 +253,12 @@ class SSHConnection():
count
=
10
count
=
10
copy_status
=
True
copy_status
=
True
else
:
else
:
logging
.
debu
g
(
'2 - scp_response = '
+
str
(
scp_response
))
logging
.
warnin
g
(
'2 - scp_response = '
+
str
(
scp_response
))
elif
scp_response
==
2
:
elif
scp_response
==
2
:
count
=
10
count
=
10
copy_status
=
True
copy_status
=
True
else
:
else
:
logging
.
debu
g
(
'3 - scp_response = '
+
str
(
scp_response
))
logging
.
warnin
g
(
'3 - scp_response = '
+
str
(
scp_response
))
# adding a tempo when failure
# adding a tempo when failure
if
not
copy_status
:
if
not
copy_status
:
time
.
sleep
(
1
)
time
.
sleep
(
1
)
...
...
ci-scripts/xml_class_list.yml
View file @
627b8d92
...
@@ -40,7 +40,6 @@
...
@@ -40,7 +40,6 @@
-
IdleSleep
-
IdleSleep
-
Perform_X2_Handover
-
Perform_X2_Handover
-
Build_Image
-
Build_Image
-
Copy_Image_to_Test
-
Deploy_Object
-
Deploy_Object
-
Undeploy_Object
-
Undeploy_Object
-
Cppcheck_Analysis
-
Cppcheck_Analysis
...
@@ -51,3 +50,6 @@
...
@@ -51,3 +50,6 @@
-
IperfFromContainer
-
IperfFromContainer
-
StatsFromGenObject
-
StatsFromGenObject
-
LicenceAndFormattingCheck
-
LicenceAndFormattingCheck
-
Push_Local_Registry
-
Pull_Local_Registry
-
Clean_Test_Server_Images
ci-scripts/xml_files/container_4g_l2sim_tdd.xml
View file @
627b8d92
...
@@ -26,6 +26,7 @@
...
@@ -26,6 +26,7 @@
<htmlTabIcon>
wrench
</htmlTabIcon>
<htmlTabIcon>
wrench
</htmlTabIcon>
<repeatCount>
1
</repeatCount>
<repeatCount>
1
</repeatCount>
<TestCaseRequestedList>
<TestCaseRequestedList>
111111
100001
100001
000000
000000
000001
000001
...
@@ -42,6 +43,13 @@
...
@@ -42,6 +43,13 @@
</TestCaseRequestedList>
</TestCaseRequestedList>
<TestCaseExclusionList></TestCaseExclusionList>
<TestCaseExclusionList></TestCaseExclusionList>
<testCase
id=
"111111"
>
<class>
Pull_Local_Registry
</class>
<desc>
Pull Images from Local Registry
</desc>
<test_svr_id>
0
</test_svr_id>
<images_to_pull>
oai-enb oai-lte-ue
</images_to_pull>
</testCase>
<testCase
id=
"000000"
>
<testCase
id=
"000000"
>
<class>
DeployGenObject
</class>
<class>
DeployGenObject
</class>
<desc>
Deploy Cassandra Database
</desc>
<desc>
Deploy Cassandra Database
</desc>
...
...
ci-scripts/xml_files/container_4g_l2sim_tdd_down.xml
View file @
627b8d92
...
@@ -26,6 +26,7 @@
...
@@ -26,6 +26,7 @@
<htmlTabIcon>
trash
</htmlTabIcon>
<htmlTabIcon>
trash
</htmlTabIcon>
<TestCaseRequestedList>
<TestCaseRequestedList>
100002
100002
222222
</TestCaseRequestedList>
</TestCaseRequestedList>
<TestCaseExclusionList></TestCaseExclusionList>
<TestCaseExclusionList></TestCaseExclusionList>
...
@@ -35,4 +36,10 @@
...
@@ -35,4 +36,10 @@
<yaml_path>
yaml_files/4g_l2sim_fdd
</yaml_path>
<yaml_path>
yaml_files/4g_l2sim_fdd
</yaml_path>
</testCase>
</testCase>
<testCase
id=
"222222"
>
<class>
Clean_Test_Server_Images
</class>
<desc>
Clean Test Images on Test Server
</desc>
<test_svr_id>
0
</test_svr_id>
</testCase>
</testCaseList>
</testCaseList>
ci-scripts/xml_files/container_4g_rfsim_fdd_05MHz.xml
View file @
627b8d92
...
@@ -25,6 +25,7 @@
...
@@ -25,6 +25,7 @@
<htmlTabName>
Monolithic eNB - FDD 05MHz
</htmlTabName>
<htmlTabName>
Monolithic eNB - FDD 05MHz
</htmlTabName>
<htmlTabIcon>
wrench
</htmlTabIcon>
<htmlTabIcon>
wrench
</htmlTabIcon>
<TestCaseRequestedList>
<TestCaseRequestedList>
111111
100011
100011
000011
000011
000001
000001
...
@@ -42,6 +43,13 @@
...
@@ -42,6 +43,13 @@
</TestCaseRequestedList>
</TestCaseRequestedList>
<TestCaseExclusionList></TestCaseExclusionList>
<TestCaseExclusionList></TestCaseExclusionList>
<testCase
id=
"111111"
>
<class>
Pull_Local_Registry
</class>
<desc>
Pull Images from Local Registry
</desc>
<test_svr_id>
0
</test_svr_id>
<images_to_pull>
oai-enb oai-lte-ue
</images_to_pull>
</testCase>
<testCase
id=
"000011"
>
<testCase
id=
"000011"
>
<class>
DeployGenObject
</class>
<class>
DeployGenObject
</class>
<desc>
Deploy Cassandra Database
</desc>
<desc>
Deploy Cassandra Database
</desc>
...
@@ -74,7 +82,7 @@
...
@@ -74,7 +82,7 @@
<class>
DeployGenObject
</class>
<class>
DeployGenObject
</class>
<desc>
Deploy OAI 4G eNB RF sim (FDD 05MHz)
</desc>
<desc>
Deploy OAI 4G eNB RF sim (FDD 05MHz)
</desc>
<yaml_path>
yaml_files/4g_rfsimulator_fdd_05MHz
</yaml_path>
<yaml_path>
yaml_files/4g_rfsimulator_fdd_05MHz
</yaml_path>
<services>
enb
</services>
<services>
oai_enb0
</services>
<nb_healthy>
8
</nb_healthy>
<nb_healthy>
8
</nb_healthy>
</testCase>
</testCase>
...
@@ -97,7 +105,7 @@
...
@@ -97,7 +105,7 @@
<testCase
id=
"020012"
>
<testCase
id=
"020012"
>
<class>
PingFromContainer
</class>
<class>
PingFromContainer
</class>
<desc>
Ping LTE-UE from Traffic-Gen
</desc>
<desc>
Ping LTE-UE from Traffic-Gen
</desc>
<container_name>
rfsim4g-trf-gen
</container_name>
<container_name>
rfsim4g-trf-gen
</container_name>
<options>
-c 20 12.0.0.2
</options>
<options>
-c 20 12.0.0.2
</options>
<loss_threshold>
5
</loss_threshold>
<loss_threshold>
5
</loss_threshold>
</testCase>
</testCase>
...
...
ci-scripts/xml_files/container_4g_rfsim_fdd_05MHz_down.xml
View file @
627b8d92
...
@@ -26,6 +26,7 @@
...
@@ -26,6 +26,7 @@
<htmlTabIcon>
trash
</htmlTabIcon>
<htmlTabIcon>
trash
</htmlTabIcon>
<TestCaseRequestedList>
<TestCaseRequestedList>
100011
100011
222222
</TestCaseRequestedList>
</TestCaseRequestedList>
<TestCaseExclusionList></TestCaseExclusionList>
<TestCaseExclusionList></TestCaseExclusionList>
...
@@ -35,4 +36,10 @@
...
@@ -35,4 +36,10 @@
<yaml_path>
yaml_files/4g_rfsimulator_fdd_05MHz
</yaml_path>
<yaml_path>
yaml_files/4g_rfsimulator_fdd_05MHz
</yaml_path>
</testCase>
</testCase>
<testCase
id=
"222222"
>
<class>
Clean_Test_Server_Images
</class>
<desc>
Clean Test Images on Test Server
</desc>
<test_svr_id>
0
</test_svr_id>
</testCase>
</testCaseList>
</testCaseList>
ci-scripts/xml_files/container_4g_rfsim_fdd_05MHz_noS1.xml
View file @
627b8d92
...
@@ -25,6 +25,7 @@
...
@@ -25,6 +25,7 @@
<htmlTabName>
Monolithic eNB - FDD 05MHz - noS1
</htmlTabName>
<htmlTabName>
Monolithic eNB - FDD 05MHz - noS1
</htmlTabName>
<htmlTabIcon>
wrench
</htmlTabIcon>
<htmlTabIcon>
wrench
</htmlTabIcon>
<TestCaseRequestedList>
<TestCaseRequestedList>
111111
100011
100011
000013
000013
000001
000001
...
@@ -38,6 +39,13 @@
...
@@ -38,6 +39,13 @@
</TestCaseRequestedList>
</TestCaseRequestedList>
<TestCaseExclusionList></TestCaseExclusionList>
<TestCaseExclusionList></TestCaseExclusionList>
<testCase
id=
"111111"
>
<class>
Pull_Local_Registry
</class>
<desc>
Pull Images from Local Registry
</desc>
<test_svr_id>
0
</test_svr_id>
<images_to_pull>
oai-enb oai-lte-ue
</images_to_pull>
</testCase>
<testCase
id=
"000001"
>
<testCase
id=
"000001"
>
<class>
IdleSleep
</class>
<class>
IdleSleep
</class>
<desc>
Sleep
</desc>
<desc>
Sleep
</desc>
...
@@ -54,7 +62,7 @@
...
@@ -54,7 +62,7 @@
<class>
DeployGenObject
</class>
<class>
DeployGenObject
</class>
<desc>
Deploy OAI 4G eNB RF sim (FDD 05MHz)
</desc>
<desc>
Deploy OAI 4G eNB RF sim (FDD 05MHz)
</desc>
<yaml_path>
yaml_files/4g_rfsimulator_fdd_05MHz_noS1
</yaml_path>
<yaml_path>
yaml_files/4g_rfsimulator_fdd_05MHz_noS1
</yaml_path>
<services>
enb
</services>
<services>
oai_enb0
</services>
<nb_healthy>
1
</nb_healthy>
<nb_healthy>
1
</nb_healthy>
</testCase>
</testCase>
...
@@ -77,7 +85,7 @@
...
@@ -77,7 +85,7 @@
<testCase
id=
"020012"
>
<testCase
id=
"020012"
>
<class>
PingFromContainer
</class>
<class>
PingFromContainer
</class>
<desc>
Ping LTE-UE from eNB
</desc>
<desc>
Ping LTE-UE from eNB
</desc>
<container_name>
rfsim4g-oai-enb
</container_name>
<container_name>
rfsim4g-oai-enb
</container_name>
<options>
-I oaitun_enb1 -c 20 10.0.1.2
</options>
<options>
-I oaitun_enb1 -c 20 10.0.1.2
</options>
<loss_threshold>
5
</loss_threshold>
<loss_threshold>
5
</loss_threshold>
</testCase>
</testCase>
...
...
ci-scripts/xml_files/container_4g_rfsim_fdd_05MHz_noS1_down.xml
View file @
627b8d92
...
@@ -26,6 +26,7 @@
...
@@ -26,6 +26,7 @@
<htmlTabIcon>
trash
</htmlTabIcon>
<htmlTabIcon>
trash
</htmlTabIcon>
<TestCaseRequestedList>
<TestCaseRequestedList>
100011
100011
222222
</TestCaseRequestedList>
</TestCaseRequestedList>
<TestCaseExclusionList></TestCaseExclusionList>
<TestCaseExclusionList></TestCaseExclusionList>
...
@@ -35,4 +36,10 @@
...
@@ -35,4 +36,10 @@
<yaml_path>
yaml_files/4g_rfsimulator_fdd_05MHz_noS1
</yaml_path>
<yaml_path>
yaml_files/4g_rfsimulator_fdd_05MHz_noS1
</yaml_path>
</testCase>
</testCase>
<testCase
id=
"222222"
>
<class>
Clean_Test_Server_Images
</class>
<desc>
Clean Test Images on Test Server
</desc>
<test_svr_id>
0
</test_svr_id>
</testCase>
</testCaseList>
</testCaseList>
ci-scripts/xml_files/container_4g_rfsim_fdd_10MHz.xml
View file @
627b8d92
...
@@ -25,6 +25,7 @@
...
@@ -25,6 +25,7 @@
<htmlTabName>
Monolithic eNB - FDD 10MHz
</htmlTabName>
<htmlTabName>
Monolithic eNB - FDD 10MHz
</htmlTabName>
<htmlTabIcon>
wrench
</htmlTabIcon>
<htmlTabIcon>
wrench
</htmlTabIcon>
<TestCaseRequestedList>
<TestCaseRequestedList>
111111
100011
100011
000011
000011
000001
000001
...
@@ -42,6 +43,13 @@
...
@@ -42,6 +43,13 @@
</TestCaseRequestedList>
</TestCaseRequestedList>
<TestCaseExclusionList></TestCaseExclusionList>
<TestCaseExclusionList></TestCaseExclusionList>
<testCase
id=
"111111"
>
<class>
Pull_Local_Registry
</class>
<desc>
Pull Images from Local Registry
</desc>
<test_svr_id>
0
</test_svr_id>
<images_to_pull>
oai-enb oai-lte-ue
</images_to_pull>
</testCase>
<testCase
id=
"000011"
>
<testCase
id=
"000011"
>
<class>
DeployGenObject
</class>
<class>
DeployGenObject
</class>
<desc>
Deploy Cassandra Database
</desc>
<desc>
Deploy Cassandra Database
</desc>
...
@@ -74,7 +82,7 @@
...
@@ -74,7 +82,7 @@
<class>
DeployGenObject
</class>
<class>
DeployGenObject
</class>
<desc>
Deploy OAI 4G eNB RF sim (FDD 10MHz)
</desc>
<desc>
Deploy OAI 4G eNB RF sim (FDD 10MHz)
</desc>
<yaml_path>
yaml_files/4g_rfsimulator_fdd_10MHz
</yaml_path>
<yaml_path>
yaml_files/4g_rfsimulator_fdd_10MHz
</yaml_path>
<services>
enb
</services>
<services>
oai_enb0
</services>
<nb_healthy>
8
</nb_healthy>
<nb_healthy>
8
</nb_healthy>
</testCase>
</testCase>
...
@@ -97,7 +105,7 @@
...
@@ -97,7 +105,7 @@
<testCase
id=
"020012"
>
<testCase
id=
"020012"
>
<class>
PingFromContainer
</class>
<class>
PingFromContainer
</class>
<desc>
Ping LTE-UE from Traffic-Gen
</desc>
<desc>
Ping LTE-UE from Traffic-Gen
</desc>
<container_name>
rfsim4g-trf-gen
</container_name>
<container_name>
rfsim4g-trf-gen
</container_name>
<options>
-c 20 12.0.0.2
</options>
<options>
-c 20 12.0.0.2
</options>
<loss_threshold>
5
</loss_threshold>
<loss_threshold>
5
</loss_threshold>
</testCase>
</testCase>
...
...
ci-scripts/xml_files/container_4g_rfsim_fdd_10MHz_down.xml
View file @
627b8d92
...
@@ -26,6 +26,7 @@
...
@@ -26,6 +26,7 @@
<htmlTabIcon>
trash
</htmlTabIcon>
<htmlTabIcon>
trash
</htmlTabIcon>
<TestCaseRequestedList>
<TestCaseRequestedList>
100011
100011
222222
</TestCaseRequestedList>
</TestCaseRequestedList>
<TestCaseExclusionList></TestCaseExclusionList>
<TestCaseExclusionList></TestCaseExclusionList>
...
@@ -35,4 +36,10 @@
...
@@ -35,4 +36,10 @@
<yaml_path>
yaml_files/4g_rfsimulator_fdd_10MHz
</yaml_path>
<yaml_path>
yaml_files/4g_rfsimulator_fdd_10MHz
</yaml_path>
</testCase>
</testCase>
<testCase
id=
"222222"
>
<class>
Clean_Test_Server_Images
</class>
<desc>
Clean Test Images on Test Server
</desc>
<test_svr_id>
0
</test_svr_id>
</testCase>
</testCaseList>
</testCaseList>
ci-scripts/xml_files/container_4g_rfsim_fdd_20MHz.xml
View file @
627b8d92
...
@@ -25,6 +25,7 @@
...
@@ -25,6 +25,7 @@
<htmlTabName>
Monolithic eNB - FDD 20MHz
</htmlTabName>
<htmlTabName>
Monolithic eNB - FDD 20MHz
</htmlTabName>
<htmlTabIcon>
wrench
</htmlTabIcon>
<htmlTabIcon>
wrench
</htmlTabIcon>
<TestCaseRequestedList>
<TestCaseRequestedList>
111111
100011
100011
000011
000011
000001
000001
...
@@ -42,6 +43,13 @@
...
@@ -42,6 +43,13 @@
</TestCaseRequestedList>
</TestCaseRequestedList>
<TestCaseExclusionList></TestCaseExclusionList>
<TestCaseExclusionList></TestCaseExclusionList>
<testCase
id=
"111111"
>
<class>
Pull_Local_Registry
</class>
<desc>
Pull Images from Local Registry
</desc>
<test_svr_id>
0
</test_svr_id>
<images_to_pull>
oai-enb oai-lte-ue
</images_to_pull>
</testCase>
<testCase
id=
"000011"
>
<testCase
id=
"000011"
>
<class>
DeployGenObject
</class>
<class>
DeployGenObject
</class>
<desc>
Deploy Cassandra Database
</desc>
<desc>
Deploy Cassandra Database
</desc>
...
@@ -74,7 +82,7 @@
...
@@ -74,7 +82,7 @@
<class>
DeployGenObject
</class>
<class>
DeployGenObject
</class>
<desc>
Deploy OAI 4G eNB RF sim (FDD 20MHz)
</desc>
<desc>
Deploy OAI 4G eNB RF sim (FDD 20MHz)
</desc>
<yaml_path>
yaml_files/4g_rfsimulator_fdd_20MHz
</yaml_path>
<yaml_path>
yaml_files/4g_rfsimulator_fdd_20MHz
</yaml_path>
<services>
enb
</services>
<services>
oai_enb0
</services>
<nb_healthy>
8
</nb_healthy>
<nb_healthy>
8
</nb_healthy>
</testCase>
</testCase>
...
@@ -97,7 +105,7 @@
...
@@ -97,7 +105,7 @@
<testCase
id=
"020012"
>
<testCase
id=
"020012"
>
<class>
PingFromContainer
</class>
<class>
PingFromContainer
</class>
<desc>
Ping LTE-UE from Traffic-Gen
</desc>
<desc>
Ping LTE-UE from Traffic-Gen
</desc>
<container_name>
rfsim4g-trf-gen
</container_name>
<container_name>
rfsim4g-trf-gen
</container_name>
<options>
-c 20 12.0.0.2
</options>
<options>
-c 20 12.0.0.2
</options>
<loss_threshold>
5
</loss_threshold>
<loss_threshold>
5
</loss_threshold>
</testCase>
</testCase>
...
...
ci-scripts/xml_files/container_4g_rfsim_fdd_20MHz_down.xml
View file @
627b8d92
...
@@ -26,6 +26,7 @@
...
@@ -26,6 +26,7 @@
<htmlTabIcon>
trash
</htmlTabIcon>
<htmlTabIcon>
trash
</htmlTabIcon>
<TestCaseRequestedList>
<TestCaseRequestedList>
100011
100011
222222
</TestCaseRequestedList>
</TestCaseRequestedList>
<TestCaseExclusionList></TestCaseExclusionList>
<TestCaseExclusionList></TestCaseExclusionList>
...
@@ -35,4 +36,10 @@
...
@@ -35,4 +36,10 @@
<yaml_path>
yaml_files/4g_rfsimulator_fdd_20MHz
</yaml_path>
<yaml_path>
yaml_files/4g_rfsimulator_fdd_20MHz
</yaml_path>
</testCase>
</testCase>
<testCase
id=
"222222"
>
<class>
Clean_Test_Server_Images
</class>
<desc>
Clean Test Images on Test Server
</desc>
<test_svr_id>
0
</test_svr_id>
</testCase>
</testCaseList>
</testCaseList>
ci-scripts/xml_files/container_4g_rfsim_tdd_05MHz.xml
View file @
627b8d92
...
@@ -24,8 +24,9 @@
...
@@ -24,8 +24,9 @@
<htmlTabRef>
rfsim-4glte-tdd05mhz
</htmlTabRef>
<htmlTabRef>
rfsim-4glte-tdd05mhz
</htmlTabRef>
<htmlTabName>
Monolithic eNB - TDD 05MHz
</htmlTabName>
<htmlTabName>
Monolithic eNB - TDD 05MHz
</htmlTabName>
<htmlTabIcon>
wrench
</htmlTabIcon>
<htmlTabIcon>
wrench
</htmlTabIcon>
<repeatCount>
1
</repeatCount>
<repeatCount>
1
</repeatCount>
<TestCaseRequestedList>
<TestCaseRequestedList>
111111
100011
100011
000011
000011
000001
000001
...
@@ -43,6 +44,13 @@
...
@@ -43,6 +44,13 @@
</TestCaseRequestedList>
</TestCaseRequestedList>
<TestCaseExclusionList></TestCaseExclusionList>
<TestCaseExclusionList></TestCaseExclusionList>
<testCase
id=
"111111"
>
<class>
Pull_Local_Registry
</class>
<desc>
Pull Images from Local Registry
</desc>
<test_svr_id>
0
</test_svr_id>
<images_to_pull>
oai-enb oai-lte-ue
</images_to_pull>
</testCase>
<testCase
id=
"000011"
>
<testCase
id=
"000011"
>
<class>
DeployGenObject
</class>
<class>
DeployGenObject
</class>
<desc>
Deploy Cassandra Database
</desc>
<desc>
Deploy Cassandra Database
</desc>
...
@@ -75,7 +83,7 @@
...
@@ -75,7 +83,7 @@
<class>
DeployGenObject
</class>
<class>
DeployGenObject
</class>
<desc>
Deploy OAI 4G eNB RF sim (TDD 05MHz)
</desc>
<desc>
Deploy OAI 4G eNB RF sim (TDD 05MHz)
</desc>
<yaml_path>
yaml_files/4g_rfsimulator_tdd_05MHz
</yaml_path>
<yaml_path>
yaml_files/4g_rfsimulator_tdd_05MHz
</yaml_path>
<services>
enb
</services>
<services>
oai_enb0
</services>
<nb_healthy>
7
</nb_healthy>
<nb_healthy>
7
</nb_healthy>
</testCase>
</testCase>
...
@@ -98,7 +106,7 @@
...
@@ -98,7 +106,7 @@
<testCase
id=
"020012"
>
<testCase
id=
"020012"
>
<class>
PingFromContainer
</class>
<class>
PingFromContainer
</class>
<desc>
Ping LTE-UE from Traffic-Gen
</desc>
<desc>
Ping LTE-UE from Traffic-Gen
</desc>
<container_name>
rfsim4g-trf-gen
</container_name>
<container_name>
rfsim4g-trf-gen
</container_name>
<options>
-c 20 12.0.0.2
</options>
<options>
-c 20 12.0.0.2
</options>
<loss_threshold>
5
</loss_threshold>
<loss_threshold>
5
</loss_threshold>
</testCase>
</testCase>
...
...
ci-scripts/xml_files/container_4g_rfsim_tdd_05MHz_down.xml
View file @
627b8d92
...
@@ -26,6 +26,7 @@
...
@@ -26,6 +26,7 @@
<htmlTabIcon>
trash
</htmlTabIcon>
<htmlTabIcon>
trash
</htmlTabIcon>
<TestCaseRequestedList>
<TestCaseRequestedList>
100011
100011
222222
</TestCaseRequestedList>
</TestCaseRequestedList>
<TestCaseExclusionList></TestCaseExclusionList>
<TestCaseExclusionList></TestCaseExclusionList>
...
@@ -35,4 +36,10 @@
...
@@ -35,4 +36,10 @@
<yaml_path>
yaml_files/4g_rfsimulator_tdd_05MHz
</yaml_path>
<yaml_path>
yaml_files/4g_rfsimulator_tdd_05MHz
</yaml_path>
</testCase>
</testCase>
<testCase
id=
"222222"
>
<class>
Clean_Test_Server_Images
</class>
<desc>
Clean Test Images on Test Server
</desc>
<test_svr_id>
0
</test_svr_id>
</testCase>
</testCaseList>
</testCaseList>
ci-scripts/xml_files/container_5g_f1_rfsim.xml
View file @
627b8d92
...
@@ -25,6 +25,7 @@
...
@@ -25,6 +25,7 @@
<htmlTabName>
CU-DU F1 split
</htmlTabName>
<htmlTabName>
CU-DU F1 split
</htmlTabName>
<htmlTabIcon>
wrench
</htmlTabIcon>
<htmlTabIcon>
wrench
</htmlTabIcon>
<TestCaseRequestedList>
<TestCaseRequestedList>
111111
100021
100021
000020
000020
000021
000021
...
@@ -38,6 +39,13 @@
...
@@ -38,6 +39,13 @@
</TestCaseRequestedList>
</TestCaseRequestedList>
<TestCaseExclusionList></TestCaseExclusionList>
<TestCaseExclusionList></TestCaseExclusionList>
<testCase
id=
"111111"
>
<class>
Pull_Local_Registry
</class>
<desc>
Pull Images from Local Registry
</desc>
<test_svr_id>
0
</test_svr_id>
<images_to_pull>
oai-gnb oai-nr-ue
</images_to_pull>
</testCase>
<testCase
id=
"000020"
>
<testCase
id=
"000020"
>
<class>
DeployGenObject
</class>
<class>
DeployGenObject
</class>
<desc>
Deploy MySql Database
</desc>
<desc>
Deploy MySql Database
</desc>
...
@@ -89,7 +97,7 @@
...
@@ -89,7 +97,7 @@
<testCase
id=
"020022"
>
<testCase
id=
"020022"
>
<class>
PingFromContainer
</class>
<class>
PingFromContainer
</class>
<desc>
Ping NR-UE from ext-dn
</desc>
<desc>
Ping NR-UE from ext-dn
</desc>
<container_name>
rfsim5g-oai-ext-dn
</container_name>
<container_name>
rfsim5g-oai-ext-dn
</container_name>
<options>
-c 20 12.1.1.2
</options>
<options>
-c 20 12.1.1.2
</options>
<loss_threshold>
5
</loss_threshold>
<loss_threshold>
5
</loss_threshold>
</testCase>
</testCase>
...
...
ci-scripts/xml_files/container_5g_f1_rfsim_down.xml
View file @
627b8d92
...
@@ -26,6 +26,7 @@
...
@@ -26,6 +26,7 @@
<htmlTabIcon>
trash
</htmlTabIcon>
<htmlTabIcon>
trash
</htmlTabIcon>
<TestCaseRequestedList>
<TestCaseRequestedList>
100022
100022
222222
</TestCaseRequestedList>
</TestCaseRequestedList>
<TestCaseExclusionList></TestCaseExclusionList>
<TestCaseExclusionList></TestCaseExclusionList>
...
@@ -35,4 +36,10 @@
...
@@ -35,4 +36,10 @@
<yaml_path>
yaml_files/5g_f1_rfsimulator
</yaml_path>
<yaml_path>
yaml_files/5g_f1_rfsimulator
</yaml_path>
</testCase>
</testCase>
<testCase
id=
"222222"
>
<class>
Clean_Test_Server_Images
</class>
<desc>
Clean Test Images on Test Server
</desc>
<test_svr_id>
0
</test_svr_id>
</testCase>
</testCaseList>
</testCaseList>
ci-scripts/xml_files/container_5g_fdd_rfsim.xml
View file @
627b8d92
...
@@ -26,6 +26,7 @@
...
@@ -26,6 +26,7 @@
<htmlTabIcon>
wrench
</htmlTabIcon>
<htmlTabIcon>
wrench
</htmlTabIcon>
<repeatCount>
1
</repeatCount>
<repeatCount>
1
</repeatCount>
<TestCaseRequestedList>
<TestCaseRequestedList>
111111
100011
100011
000010
000010
000011
000011
...
@@ -39,6 +40,13 @@
...
@@ -39,6 +40,13 @@
</TestCaseRequestedList>
</TestCaseRequestedList>
<TestCaseExclusionList></TestCaseExclusionList>
<TestCaseExclusionList></TestCaseExclusionList>
<testCase
id=
"111111"
>
<class>
Pull_Local_Registry
</class>
<desc>
Pull Images from Local Registry
</desc>
<test_svr_id>
0
</test_svr_id>
<images_to_pull>
oai-gnb oai-nr-ue
</images_to_pull>
</testCase>
<testCase
id=
"000010"
>
<testCase
id=
"000010"
>
<class>
DeployGenObject
</class>
<class>
DeployGenObject
</class>
<desc>
Deploy MySql Database
</desc>
<desc>
Deploy MySql Database
</desc>
...
@@ -82,7 +90,7 @@
...
@@ -82,7 +90,7 @@
<testCase
id=
"020012"
>
<testCase
id=
"020012"
>
<class>
PingFromContainer
</class>
<class>
PingFromContainer
</class>
<desc>
Ping NR-UE from ext-dn
</desc>
<desc>
Ping NR-UE from ext-dn
</desc>
<container_name>
rfsim5g-oai-ext-dn
</container_name>
<container_name>
rfsim5g-oai-ext-dn
</container_name>
<options>
-c 20 12.1.1.2
</options>
<options>
-c 20 12.1.1.2
</options>
<loss_threshold>
5
</loss_threshold>
<loss_threshold>
5
</loss_threshold>
</testCase>
</testCase>
...
...
ci-scripts/xml_files/container_5g_fdd_rfsim_down.xml
View file @
627b8d92
...
@@ -26,6 +26,7 @@
...
@@ -26,6 +26,7 @@
<htmlTabIcon>
trash
</htmlTabIcon>
<htmlTabIcon>
trash
</htmlTabIcon>
<TestCaseRequestedList>
<TestCaseRequestedList>
100012
100012
222222
</TestCaseRequestedList>
</TestCaseRequestedList>
<TestCaseExclusionList></TestCaseExclusionList>
<TestCaseExclusionList></TestCaseExclusionList>
...
@@ -35,4 +36,10 @@
...
@@ -35,4 +36,10 @@
<yaml_path>
yaml_files/5g_fdd_rfsimulator
</yaml_path>
<yaml_path>
yaml_files/5g_fdd_rfsimulator
</yaml_path>
</testCase>
</testCase>
<testCase
id=
"222222"
>
<class>
Clean_Test_Server_Images
</class>
<desc>
Clean Test Images on Test Server
</desc>
<test_svr_id>
0
</test_svr_id>
</testCase>
</testCaseList>
</testCaseList>
ci-scripts/xml_files/container_5g_l2sim_tdd.xml
View file @
627b8d92
...
@@ -26,6 +26,7 @@
...
@@ -26,6 +26,7 @@
<htmlTabIcon>
wrench
</htmlTabIcon>
<htmlTabIcon>
wrench
</htmlTabIcon>
<repeatCount>
1
</repeatCount>
<repeatCount>
1
</repeatCount>
<TestCaseRequestedList>
<TestCaseRequestedList>
111111
100001
100001
000000
000000
000001
000001
...
@@ -40,6 +41,13 @@
...
@@ -40,6 +41,13 @@
</TestCaseRequestedList>
</TestCaseRequestedList>
<TestCaseExclusionList></TestCaseExclusionList>
<TestCaseExclusionList></TestCaseExclusionList>
<testCase
id=
"111111"
>
<class>
Pull_Local_Registry
</class>
<desc>
Pull Images from Local Registry
</desc>
<test_svr_id>
0
</test_svr_id>
<images_to_pull>
oai-gnb oai-nr-ue
</images_to_pull>
</testCase>
<testCase
id=
"000000"
>
<testCase
id=
"000000"
>
<class>
DeployGenObject
</class>
<class>
DeployGenObject
</class>
<desc>
Deploy MySql Database
</desc>
<desc>
Deploy MySql Database
</desc>
...
...
ci-scripts/xml_files/container_5g_l2sim_tdd_down.xml
View file @
627b8d92
...
@@ -26,6 +26,7 @@
...
@@ -26,6 +26,7 @@
<htmlTabIcon>
trash
</htmlTabIcon>
<htmlTabIcon>
trash
</htmlTabIcon>
<TestCaseRequestedList>
<TestCaseRequestedList>
100002
100002
222222
</TestCaseRequestedList>
</TestCaseRequestedList>
<TestCaseExclusionList></TestCaseExclusionList>
<TestCaseExclusionList></TestCaseExclusionList>
...
@@ -35,4 +36,10 @@
...
@@ -35,4 +36,10 @@
<yaml_path>
yaml_files/5g_l2sim_tdd
</yaml_path>
<yaml_path>
yaml_files/5g_l2sim_tdd
</yaml_path>
</testCase>
</testCase>
<testCase
id=
"222222"
>
<class>
Clean_Test_Server_Images
</class>
<desc>
Clean Test Images on Test Server
</desc>
<test_svr_id>
0
</test_svr_id>
</testCase>
</testCaseList>
</testCaseList>
ci-scripts/xml_files/container_5g_rfsim.xml
View file @
627b8d92
...
@@ -26,6 +26,7 @@
...
@@ -26,6 +26,7 @@
<htmlTabIcon>
wrench
</htmlTabIcon>
<htmlTabIcon>
wrench
</htmlTabIcon>
<repeatCount>
1
</repeatCount>
<repeatCount>
1
</repeatCount>
<TestCaseRequestedList>
<TestCaseRequestedList>
111111
100001
100001
000000
000000
000001
000001
...
@@ -42,6 +43,13 @@
...
@@ -42,6 +43,13 @@
</TestCaseRequestedList>
</TestCaseRequestedList>
<TestCaseExclusionList></TestCaseExclusionList>
<TestCaseExclusionList></TestCaseExclusionList>
<testCase
id=
"111111"
>
<class>
Pull_Local_Registry
</class>
<desc>
Pull Images from Local Registry
</desc>
<test_svr_id>
0
</test_svr_id>
<images_to_pull>
oai-gnb oai-nr-ue
</images_to_pull>
</testCase>
<testCase
id=
"000000"
>
<testCase
id=
"000000"
>
<class>
DeployGenObject
</class>
<class>
DeployGenObject
</class>
<desc>
Deploy MySql Database
</desc>
<desc>
Deploy MySql Database
</desc>
...
@@ -93,7 +101,7 @@
...
@@ -93,7 +101,7 @@
<testCase
id=
"020002"
>
<testCase
id=
"020002"
>
<class>
PingFromContainer
</class>
<class>
PingFromContainer
</class>
<desc>
Ping NR-UE from ext-dn
</desc>
<desc>
Ping NR-UE from ext-dn
</desc>
<container_name>
rfsim5g-oai-ext-dn
</container_name>
<container_name>
rfsim5g-oai-ext-dn
</container_name>
<options>
-c 20 12.1.1.2
</options>
<options>
-c 20 12.1.1.2
</options>
<loss_threshold>
5
</loss_threshold>
<loss_threshold>
5
</loss_threshold>
</testCase>
</testCase>
...
@@ -109,7 +117,7 @@
...
@@ -109,7 +117,7 @@
<testCase
id=
"020004"
>
<testCase
id=
"020004"
>
<class>
PingFromContainer
</class>
<class>
PingFromContainer
</class>
<desc>
Ping Second NR-UE from ext-dn
</desc>
<desc>
Ping Second NR-UE from ext-dn
</desc>
<container_name>
rfsim5g-oai-ext-dn
</container_name>
<container_name>
rfsim5g-oai-ext-dn
</container_name>
<options>
-c 20 12.1.1.3
</options>
<options>
-c 20 12.1.1.3
</options>
<loss_threshold>
5
</loss_threshold>
<loss_threshold>
5
</loss_threshold>
</testCase>
</testCase>
...
...
ci-scripts/xml_files/container_5g_rfsim_down.xml
View file @
627b8d92
...
@@ -26,6 +26,7 @@
...
@@ -26,6 +26,7 @@
<htmlTabIcon>
trash
</htmlTabIcon>
<htmlTabIcon>
trash
</htmlTabIcon>
<TestCaseRequestedList>
<TestCaseRequestedList>
100002
100002
222222
</TestCaseRequestedList>
</TestCaseRequestedList>
<TestCaseExclusionList></TestCaseExclusionList>
<TestCaseExclusionList></TestCaseExclusionList>
...
@@ -35,4 +36,10 @@
...
@@ -35,4 +36,10 @@
<yaml_path>
yaml_files/5g_rfsimulator
</yaml_path>
<yaml_path>
yaml_files/5g_rfsimulator
</yaml_path>
</testCase>
</testCase>
<testCase
id=
"222222"
>
<class>
Clean_Test_Server_Images
</class>
<desc>
Clean Test Images on Test Server
</desc>
<test_svr_id>
0
</test_svr_id>
</testCase>
</testCaseList>
</testCaseList>
ci-scripts/xml_files/container_image_build.xml
View file @
627b8d92
...
@@ -26,6 +26,7 @@
...
@@ -26,6 +26,7 @@
<htmlTabIcon>
wrench
</htmlTabIcon>
<htmlTabIcon>
wrench
</htmlTabIcon>
<TestCaseRequestedList>
<TestCaseRequestedList>
000001
000001
000010
</TestCaseRequestedList>
</TestCaseRequestedList>
<TestCaseExclusionList></TestCaseExclusionList>
<TestCaseExclusionList></TestCaseExclusionList>
...
@@ -38,4 +39,10 @@
...
@@ -38,4 +39,10 @@
<forced_workspace_cleanup>
True
</forced_workspace_cleanup>
<forced_workspace_cleanup>
True
</forced_workspace_cleanup>
</testCase>
</testCase>
<testCase
id=
"000010"
>
<class>
Push_Local_Registry
</class>
<desc>
Push Images to Local Registry
</desc>
<registry_svr_id>
0
</registry_svr_id>
</testCase>
</testCaseList>
</testCaseList>
ci-scripts/xml_files/container_lte_b200_fdd_05Mhz_tm1.xml
0 → 100644
View file @
627b8d92
<!--
Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The OpenAirInterface Software Alliance licenses this file to You under
the OAI Public License, Version 1.1 (the "License"); you may not use this file
except in compliance with the License.
You may obtain a copy of the License at
http://www.openairinterface.org/?page_id=698
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
For more information about the OpenAirInterface (OAI) Software Alliance:
contact@openairinterface.org
Replace xml_files/enb_usrp210_band7_test_05mhz_tm1.xml
-->
<testCaseList>
<htmlTabRef>
test-05-tm1
</htmlTabRef>
<htmlTabName>
Test-05MHz-TM1
</htmlTabName>
<htmlTabIcon>
tasks
</htmlTabIcon>
<TestCaseRequestedList>
111110
040101
030101
000001
040301 000001 040501 040603 040604 040605 040606 040607 040641 040642 040643 040644 040401 040201
030201
</TestCaseRequestedList>
<TestCaseExclusionList></TestCaseExclusionList>
<testCase
id=
"111110"
>
<class>
Pull_Local_Registry
</class>
<desc>
Pull Images from Local Registry
</desc>
<test_svr_id>
0
</test_svr_id>
<images_to_pull>
oai-enb
</images_to_pull>
</testCase>
<testCase
id=
"030101"
>
<class>
Deploy_Object
</class>
<desc>
Deploy eNB (FDD/Band7/5MHz/B200) in a container
</desc>
<yaml_path>
ci-scripts/yaml_files/lte_b200_fdd_05Mhz_tm1
</yaml_path>
<eNB_instance>
0
</eNB_instance>
<eNB_serverId>
0
</eNB_serverId>
</testCase>
<testCase
id=
"000001"
>
<class>
IdleSleep
</class>
<desc>
Sleep
</desc>
<idle_sleep_time_in_sec>
5
</idle_sleep_time_in_sec>
</testCase>
<testCase
id=
"030201"
>
<class>
Undeploy_Object
</class>
<desc>
Undeploy eNB
</desc>
<yaml_path>
ci-scripts/yaml_files/lte_b200_fdd_05Mhz_tm1
</yaml_path>
<eNB_instance>
0
</eNB_instance>
<eNB_serverId>
0
</eNB_serverId>
</testCase>
<testCase
id=
"040101"
>
<class>
Initialize_UE
</class>
<desc>
Initialize UE
</desc>
</testCase>
<testCase
id=
"040201"
>
<class>
Terminate_UE
</class>
<desc>
Terminate UE
</desc>
</testCase>
<testCase
id=
"040301"
>
<class>
Attach_UE
</class>
<desc>
Attach UE
</desc>
</testCase>
<testCase
id=
"040401"
>
<class>
Detach_UE
</class>
<desc>
Detach UE
</desc>
</testCase>
<testCase
id=
"040501"
>
<class>
Ping
</class>
<desc>
ping (5MHz - 20 sec)
</desc>
<ping_args>
-c 20
</ping_args>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
</testCase>
<testCase
id=
"040603"
>
<class>
Iperf
</class>
<desc>
iperf (5MHz - DL/15Mbps/UDP)(30 sec)(balanced profile)
</desc>
<iperf_args>
-u -b 15M -t 30 -i 1
</iperf_args>
<iperf_packetloss_threshold>
50
</iperf_packetloss_threshold>
<iperf_profile>
balanced
</iperf_profile>
</testCase>
<testCase
id=
"040604"
>
<class>
Iperf
</class>
<desc>
iperf (5MHz - DL/15Mbps/UDP)(30 sec)(single-ue profile)
</desc>
<iperf_args>
-u -b 15M -t 30 -i 1
</iperf_args>
<iperf_packetloss_threshold>
50
</iperf_packetloss_threshold>
<iperf_profile>
single-ue
</iperf_profile>
</testCase>
<testCase
id=
"040605"
>
<class>
Iperf
</class>
<desc>
iperf (5MHz - DL/15Mbps/UDP)(30 sec)(unbalanced profile)
</desc>
<iperf_args>
-u -b 15M -t 30 -i 1
</iperf_args>
<iperf_packetloss_threshold>
50
</iperf_packetloss_threshold>
<iperf_profile>
unbalanced
</iperf_profile>
</testCase>
<testCase
id=
"040606"
>
<class>
Iperf
</class>
<desc>
iperf (5MHz - DL/TCP)(30 sec)(single-ue profile)
</desc>
<iperf_args>
-t 30 -i 1 -fm
</iperf_args>
<iperf_packetloss_threshold>
50
</iperf_packetloss_threshold>
<iperf_profile>
single-ue
</iperf_profile>
</testCase>
<testCase
id=
"040607"
>
<class>
Iperf
</class>
<desc>
iperf (5MHz - DL/TCP)(30 sec)(balanced profile)
</desc>
<iperf_args>
-t 30 -i 1 -fm
</iperf_args>
<iperf_packetloss_threshold>
50
</iperf_packetloss_threshold>
<iperf_profile>
balanced
</iperf_profile>
</testCase>
<testCase
id=
"040641"
>
<class>
Iperf
</class>
<desc>
iperf (5MHz - UL/9Mbps/UDP)(30 sec)(balanced profile)
</desc>
<iperf_args>
-u -b 9M -t 30 -i 1 -R
</iperf_args>
<iperf_packetloss_threshold>
50
</iperf_packetloss_threshold>
<iperf_profile>
balanced
</iperf_profile>
</testCase>
<testCase
id=
"040642"
>
<class>
Iperf
</class>
<desc>
iperf (5MHz - UL/9Mbps/UDP)(30 sec)(single-ue profile)
</desc>
<iperf_args>
-u -b 9M -t 30 -i 1 -R
</iperf_args>
<iperf_packetloss_threshold>
50
</iperf_packetloss_threshold>
<iperf_profile>
single-ue
</iperf_profile>
</testCase>
<testCase
id=
"040643"
>
<class>
Iperf
</class>
<desc>
iperf (5MHz - UL/TCP)(30 sec)(single-ue profile)
</desc>
<iperf_args>
-t 30 -i 1 -fm -R
</iperf_args>
<iperf_packetloss_threshold>
50
</iperf_packetloss_threshold>
<iperf_profile>
single-ue
</iperf_profile>
</testCase>
<testCase
id=
"040644"
>
<class>
Iperf
</class>
<desc>
iperf (5MHz - UL/TCP)(30 sec)(balanced profile)
</desc>
<iperf_args>
-t 30 -i 1 -fm -R
</iperf_args>
<iperf_packetloss_threshold>
50
</iperf_packetloss_threshold>
<iperf_profile>
balanced
</iperf_profile>
</testCase>
</testCaseList>
ci-scripts/xml_files/container_nsa_b200_quectel.xml
View file @
627b8d92
...
@@ -26,9 +26,10 @@
...
@@ -26,9 +26,10 @@
<htmlTabIcon>
tasks
</htmlTabIcon>
<htmlTabIcon>
tasks
</htmlTabIcon>
<repeatCount>
1
</repeatCount>
<repeatCount>
1
</repeatCount>
<TestCaseRequestedList>
<TestCaseRequestedList>
111110
111111
000001
000001
010002
010002
030000
030101
030101
000001
000001
030102
030102
...
@@ -49,6 +50,20 @@
...
@@ -49,6 +50,20 @@
</TestCaseRequestedList>
</TestCaseRequestedList>
<TestCaseExclusionList></TestCaseExclusionList>
<TestCaseExclusionList></TestCaseExclusionList>
<testCase
id=
"111110"
>
<class>
Pull_Local_Registry
</class>
<desc>
Pull Images from Local Registry
</desc>
<test_svr_id>
0
</test_svr_id>
<images_to_pull>
oai-enb
</images_to_pull>
</testCase>
<testCase
id=
"111111"
>
<class>
Pull_Local_Registry
</class>
<desc>
Pull Images from Local Registry
</desc>
<test_svr_id>
1
</test_svr_id>
<images_to_pull>
oai-gnb
</images_to_pull>
</testCase>
<testCase
id=
"010000"
>
<testCase
id=
"010000"
>
<class>
Initialize_UE
</class>
<class>
Initialize_UE
</class>
<desc>
Initialize Quectel
</desc>
<desc>
Initialize Quectel
</desc>
...
@@ -62,14 +77,6 @@
...
@@ -62,14 +77,6 @@
<id>
idefix
</id>
<id>
idefix
</id>
</testCase>
</testCase>
<testCase
id=
"030000"
>
<class>
Copy_Image_to_Test
</class>
<desc>
Copy gNB image to test server
</desc>
<image_name>
oai-gnb
</image_name>
<registry_svr_id>
0
</registry_svr_id>
<test_svr_id>
1
</test_svr_id>
</testCase>
<testCase
id=
"030101"
>
<testCase
id=
"030101"
>
<class>
Deploy_Object
</class>
<class>
Deploy_Object
</class>
<desc>
Deploy eNB (FDD/Band7/5MHz/B200) in a container
</desc>
<desc>
Deploy eNB (FDD/Band7/5MHz/B200) in a container
</desc>
...
...
ci-scripts/xml_files/container_nsa_b200_terminate.xml
View file @
627b8d92
...
@@ -28,6 +28,8 @@
...
@@ -28,6 +28,8 @@
<TestCaseRequestedList>
<TestCaseRequestedList>
030202
030202
030201
030201
222220
222221
</TestCaseRequestedList>
</TestCaseRequestedList>
<TestCaseExclusionList></TestCaseExclusionList>
<TestCaseExclusionList></TestCaseExclusionList>
...
@@ -47,5 +49,17 @@
...
@@ -47,5 +49,17 @@
<eNB_serverId>
1
</eNB_serverId>
<eNB_serverId>
1
</eNB_serverId>
</testCase>
</testCase>
<testCase
id=
"222220"
>
<class>
Clean_Test_Server_Images
</class>
<desc>
Clean Test Images on Test Server
</desc>
<test_svr_id>
0
</test_svr_id>
</testCase>
<testCase
id=
"222221"
>
<class>
Clean_Test_Server_Images
</class>
<desc>
Clean Test Images on Test Server
</desc>
<test_svr_id>
1
</test_svr_id>
</testCase>
</testCaseList>
</testCaseList>
ci-scripts/xml_files/container_sa_b200_quectel.xml
View file @
627b8d92
...
@@ -26,8 +26,8 @@
...
@@ -26,8 +26,8 @@
<htmlTabIcon>
tasks
</htmlTabIcon>
<htmlTabIcon>
tasks
</htmlTabIcon>
<repeatCount>
1
</repeatCount>
<repeatCount>
1
</repeatCount>
<TestCaseRequestedList>
<TestCaseRequestedList>
111111
010002
010002
030000
030101
030101
000001
000001
010000
010000
...
@@ -47,6 +47,13 @@
...
@@ -47,6 +47,13 @@
-->
-->
<TestCaseExclusionList></TestCaseExclusionList>
<TestCaseExclusionList></TestCaseExclusionList>
<testCase
id=
"111111"
>
<class>
Pull_Local_Registry
</class>
<desc>
Pull Images from Local Registry
</desc>
<test_svr_id>
0
</test_svr_id>
<images_to_pull>
oai-gnb
</images_to_pull>
</testCase>
<testCase
id=
"010000"
>
<testCase
id=
"010000"
>
<class>
Initialize_UE
</class>
<class>
Initialize_UE
</class>
<desc>
Initialize Quectel
</desc>
<desc>
Initialize Quectel
</desc>
...
@@ -60,14 +67,6 @@
...
@@ -60,14 +67,6 @@
<id>
idefix
</id>
<id>
idefix
</id>
</testCase>
</testCase>
<testCase
id=
"030000"
>
<class>
Copy_Image_to_Test
</class>
<desc>
Copy gNB image to test server
</desc>
<image_name>
oai-gnb
</image_name>
<registry_svr_id>
1
</registry_svr_id>
<test_svr_id>
0
</test_svr_id>
</testCase>
<testCase
id=
"030101"
>
<testCase
id=
"030101"
>
<class>
Deploy_Object
</class>
<class>
Deploy_Object
</class>
<desc>
Deploy gNB (TDD/Band78/40MHz/B200) in a container
</desc>
<desc>
Deploy gNB (TDD/Band78/40MHz/B200) in a container
</desc>
...
...
ci-scripts/xml_files/container_sa_b200_terminate.xml
View file @
627b8d92
...
@@ -27,6 +27,7 @@
...
@@ -27,6 +27,7 @@
<repeatCount>
1
</repeatCount>
<repeatCount>
1
</repeatCount>
<TestCaseRequestedList>
<TestCaseRequestedList>
030201
030201
222222
</TestCaseRequestedList>
</TestCaseRequestedList>
<TestCaseExclusionList></TestCaseExclusionList>
<TestCaseExclusionList></TestCaseExclusionList>
...
@@ -39,4 +40,10 @@
...
@@ -39,4 +40,10 @@
<image_tag>
sa-test
</image_tag>
<image_tag>
sa-test
</image_tag>
</testCase>
</testCase>
<testCase
id=
"222222"
>
<class>
Clean_Test_Server_Images
</class>
<desc>
Clean Test Images on Test Server
</desc>
<test_svr_id>
0
</test_svr_id>
</testCase>
</testCaseList>
</testCaseList>
ci-scripts/xml_files/enb_usrp210_band7_test_05mhz_tm1.xml
deleted
100644 → 0
View file @
d4536d20
<!--
Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The OpenAirInterface Software Alliance licenses this file to You under
the OAI Public License, Version 1.1 (the "License"); you may not use this file
except in compliance with the License.
You may obtain a copy of the License at
http://www.openairinterface.org/?page_id=698
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
For more information about the OpenAirInterface (OAI) Software Alliance:
contact@openairinterface.org
-->
<testCaseList>
<htmlTabRef>
test-05-tm1
</htmlTabRef>
<htmlTabName>
Test-05MHz-TM1
</htmlTabName>
<htmlTabIcon>
tasks
</htmlTabIcon>
<TestCaseRequestedList>
030201
040101
030101 040301 040501 040603 040604 040605 040606 040607 040641 040642 040643 040644 040401 040201 030201
</TestCaseRequestedList>
<TestCaseExclusionList></TestCaseExclusionList>
<testCase
id=
"030101"
>
<class>
Initialize_eNB
</class>
<desc>
Initialize eNB (FDD/Band7/5MHz)
</desc>
<Initialize_eNB_args>
-O ci-scripts/conf_files/enb.band7.tm1.25PRB.usrpb210.conf --log_config.global_log_options level,nocolor,time
</Initialize_eNB_args>
</testCase>
<testCase
id=
"030201"
>
<class>
Terminate_eNB
</class>
<desc>
Terminate eNB
</desc>
</testCase>
<testCase
id=
"040101"
>
<class>
Initialize_UE
</class>
<desc>
Initialize UE
</desc>
</testCase>
<testCase
id=
"040201"
>
<class>
Terminate_UE
</class>
<desc>
Terminate UE
</desc>
</testCase>
<testCase
id=
"040301"
>
<class>
Attach_UE
</class>
<desc>
Attach UE
</desc>
</testCase>
<testCase
id=
"040401"
>
<class>
Detach_UE
</class>
<desc>
Detach UE
</desc>
</testCase>
<testCase
id=
"040501"
>
<class>
Ping
</class>
<desc>
ping (5MHz - 20 sec)
</desc>
<ping_args>
-c 20
</ping_args>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
</testCase>
<testCase
id=
"040603"
>
<class>
Iperf
</class>
<desc>
iperf (5MHz - DL/15Mbps/UDP)(30 sec)(balanced profile)
</desc>
<iperf_args>
-u -b 15M -t 30 -i 1
</iperf_args>
<iperf_packetloss_threshold>
50
</iperf_packetloss_threshold>
<iperf_profile>
balanced
</iperf_profile>
</testCase>
<testCase
id=
"040604"
>
<class>
Iperf
</class>
<desc>
iperf (5MHz - DL/15Mbps/UDP)(30 sec)(single-ue profile)
</desc>
<iperf_args>
-u -b 15M -t 30 -i 1
</iperf_args>
<iperf_packetloss_threshold>
50
</iperf_packetloss_threshold>
<iperf_profile>
single-ue
</iperf_profile>
</testCase>
<testCase
id=
"040605"
>
<class>
Iperf
</class>
<desc>
iperf (5MHz - DL/15Mbps/UDP)(30 sec)(unbalanced profile)
</desc>
<iperf_args>
-u -b 15M -t 30 -i 1
</iperf_args>
<iperf_packetloss_threshold>
50
</iperf_packetloss_threshold>
<iperf_profile>
unbalanced
</iperf_profile>
</testCase>
<testCase
id=
"040606"
>
<class>
Iperf
</class>
<desc>
iperf (5MHz - DL/TCP)(30 sec)(single-ue profile)
</desc>
<iperf_args>
-t 30 -i 1 -fm
</iperf_args>
<iperf_packetloss_threshold>
50
</iperf_packetloss_threshold>
<iperf_profile>
single-ue
</iperf_profile>
</testCase>
<testCase
id=
"040607"
>
<class>
Iperf
</class>
<desc>
iperf (5MHz - DL/TCP)(30 sec)(balanced profile)
</desc>
<iperf_args>
-t 30 -i 1 -fm
</iperf_args>
<iperf_packetloss_threshold>
50
</iperf_packetloss_threshold>
<iperf_profile>
balanced
</iperf_profile>
</testCase>
<testCase
id=
"040641"
>
<class>
Iperf
</class>
<desc>
iperf (5MHz - UL/9Mbps/UDP)(30 sec)(balanced profile)
</desc>
<iperf_args>
-u -b 9M -t 30 -i 1 -R
</iperf_args>
<iperf_packetloss_threshold>
50
</iperf_packetloss_threshold>
<iperf_profile>
balanced
</iperf_profile>
</testCase>
<testCase
id=
"040642"
>
<class>
Iperf
</class>
<desc>
iperf (5MHz - UL/9Mbps/UDP)(30 sec)(single-ue profile)
</desc>
<iperf_args>
-u -b 9M -t 30 -i 1 -R
</iperf_args>
<iperf_packetloss_threshold>
50
</iperf_packetloss_threshold>
<iperf_profile>
single-ue
</iperf_profile>
</testCase>
<testCase
id=
"040643"
>
<class>
Iperf
</class>
<desc>
iperf (5MHz - UL/TCP)(30 sec)(single-ue profile)
</desc>
<iperf_args>
-t 30 -i 1 -fm -R
</iperf_args>
<iperf_packetloss_threshold>
50
</iperf_packetloss_threshold>
<iperf_profile>
single-ue
</iperf_profile>
</testCase>
<testCase
id=
"040644"
>
<class>
Iperf
</class>
<desc>
iperf (5MHz - UL/TCP)(30 sec)(balanced profile)
</desc>
<iperf_args>
-t 30 -i 1 -fm -R
</iperf_args>
<iperf_packetloss_threshold>
50
</iperf_packetloss_threshold>
<iperf_profile>
balanced
</iperf_profile>
</testCase>
</testCaseList>
ci-scripts/yaml_files/4g_rfsimulator_fdd_05MHz/README.md
View file @
627b8d92
...
@@ -146,7 +146,7 @@ rfsim4g-trf-gen /bin/bash -c ip route add ... Up (healthy)
...
@@ -146,7 +146,7 @@ rfsim4g-trf-gen /bin/bash -c ip route add ... Up (healthy)
## 2.3. Deploy OAI eNB in RF simulator mode ##
## 2.3. Deploy OAI eNB in RF simulator mode ##
```
bash
```
bash
$
docker-compose up
-d
enb
$
docker-compose up
-d
oai_enb0
Creating rfsim4g-oai-enb ...
done
Creating rfsim4g-oai-enb ...
done
```
```
...
...
ci-scripts/yaml_files/4g_rfsimulator_fdd_05MHz/docker-compose.yml
View file @
627b8d92
...
@@ -179,7 +179,7 @@ services:
...
@@ -179,7 +179,7 @@ services:
timeout
:
5s
timeout
:
5s
retries
:
5
retries
:
5
enb
:
oai_enb0
:
image
:
oai-enb:develop
image
:
oai-enb:develop
privileged
:
true
privileged
:
true
container_name
:
rfsim4g-oai-enb
container_name
:
rfsim4g-oai-enb
...
...
ci-scripts/yaml_files/4g_rfsimulator_fdd_05MHz_noS1/docker-compose.yml
View file @
627b8d92
version
:
'
3.8'
version
:
'
3.8'
services
:
services
:
enb
:
oai_enb0
:
image
:
oai-enb:develop
image
:
oai-enb:develop
privileged
:
true
privileged
:
true
container_name
:
rfsim4g-oai-enb
container_name
:
rfsim4g-oai-enb
...
...
ci-scripts/yaml_files/4g_rfsimulator_fdd_10MHz/docker-compose.yml
View file @
627b8d92
...
@@ -179,7 +179,7 @@ services:
...
@@ -179,7 +179,7 @@ services:
timeout
:
5s
timeout
:
5s
retries
:
5
retries
:
5
enb
:
oai_enb0
:
image
:
oai-enb:develop
image
:
oai-enb:develop
privileged
:
true
privileged
:
true
container_name
:
rfsim4g-oai-enb
container_name
:
rfsim4g-oai-enb
...
...
ci-scripts/yaml_files/4g_rfsimulator_fdd_20MHz/docker-compose.yml
View file @
627b8d92
...
@@ -179,7 +179,7 @@ services:
...
@@ -179,7 +179,7 @@ services:
timeout
:
5s
timeout
:
5s
retries
:
5
retries
:
5
enb
:
oai_enb0
:
image
:
oai-enb:develop
image
:
oai-enb:develop
privileged
:
true
privileged
:
true
container_name
:
rfsim4g-oai-enb
container_name
:
rfsim4g-oai-enb
...
...
ci-scripts/yaml_files/4g_rfsimulator_tdd_05MHz/docker-compose.yml
View file @
627b8d92
...
@@ -179,7 +179,7 @@ services:
...
@@ -179,7 +179,7 @@ services:
timeout
:
5s
timeout
:
5s
retries
:
5
retries
:
5
enb
:
oai_enb0
:
image
:
oai-enb:develop
image
:
oai-enb:develop
privileged
:
true
privileged
:
true
container_name
:
rfsim4g-oai-enb
container_name
:
rfsim4g-oai-enb
...
...
ci-scripts/yaml_files/lte_b200_fdd_05Mhz_tm1/docker-compose.yml
0 → 100644
View file @
627b8d92
version
:
'
3.8'
services
:
enb_mono_fdd
:
image
:
oai-enb:latest
privileged
:
true
container_name
:
lte-b200-enb-fdd-05Mhz-tm1
environment
:
USE_FDD_MONO
:
'
yes'
USE_B2XX
:
'
yes'
ENB_NAME
:
eNB-in-docker
MCC
:
'
208'
MNC
:
'
92'
MNC_LENGTH
:
2
TAC
:
1
UTRA_BAND_ID
:
7
DL_FREQUENCY_IN_MHZ
:
2680
UL_FREQUENCY_OFFSET_IN_MHZ
:
120
NID_CELL
:
0
NB_PRB
:
25
ENABLE_MEASUREMENT_REPORTS
:
'
no'
ENABLE_X2
:
'
no'
MME_S1C_IP_ADDRESS
:
172.21.18.48
ENB_S1C_IF_NAME
:
eth0
ENB_S1C_IP_ADDRESS
:
172.21.18.46
ENB_S1U_IF_NAME
:
eth0
ENB_S1U_IP_ADDRESS
:
172.21.18.46
ENB_X2_IP_ADDRESS
:
172.21.18.46
RRC_INACTIVITY_THRESHOLD
:
30
FLEXRAN_ENABLED
:
'
no'
FLEXRAN_INTERFACE_NAME
:
eth0
FLEXRAN_IPV4_ADDRESS
:
172.21.18.48
THREAD_PARALLEL_CONFIG
:
PARALLEL_SINGLE_THREAD
USE_ADDITIONAL_OPTIONS
:
--log_config.global_log_options level,nocolor,time,line_num,function
volumes
:
-
/dev:/dev
network_mode
:
"
host"
healthcheck
:
# pgrep does NOT work
test
:
/bin/bash -c "ps aux | grep -v grep | grep -c softmodem"
interval
:
10s
timeout
:
5s
retries
:
5
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