diff --git a/ci-scripts/ci_ueinfra.yaml b/ci-scripts/ci_ueinfra.yaml index 7cef916dd2..a0201b4f55 100644 --- a/ci-scripts/ci_ueinfra.yaml +++ b/ci-scripts/ci_ueinfra.yaml @@ -130,6 +130,13 @@ oai_ue_caracal: IF: oaitun_ue1 MTU: 1500 +lte_oai_ue_carabe: + Host: carabe + NetworkScript: docker exec lte-b200-ue-fdd-10Mhz-tm1 ip a show dev oaitun_ue1 + CmdPrefix: docker exec lte-b200-ue-fdd-10Mhz-tm1 + IF: oaitun_ue1 + MTU: 1500 + rfsim5g_gnb_nos1: Host: localhost NetworkScript: docker exec rfsim5g-oai-gnb ip a show dev oaitun_enb1 diff --git a/ci-scripts/cls_containerize.py b/ci-scripts/cls_containerize.py index 9a54f258eb..17243cbd08 100644 --- a/ci-scripts/cls_containerize.py +++ b/ci-scripts/cls_containerize.py @@ -742,6 +742,7 @@ class Containerize(): if lIpAddr == '' or lUserName == '' or lPassWord == '' or lSourcePath == '': HELP.GenericHelp(CONST.Version) sys.exit('Insufficient Parameter') + logging.debug('\u001B[1m Pulling image(s) on server: ' + lIpAddr + '\u001B[0m') myCmd = cls_cmd.getConnection(lIpAddr) imagePrefix = 'porcepix.sboai.cs.eurecom.fr' response = myCmd.run(f'docker login -u oaicicd -p oaicicd {imagePrefix}') @@ -1005,7 +1006,7 @@ class Containerize(): HTML.CreateHtmlTestRow('N/A', 'KO', CONST.ENB_PROCESS_NOLOGFILE_TO_ANALYZE) self.exitStatus = 1 # use function for UE log analysis, when oai-nr-ue container is used - elif 'oai-nr-ue' in services: + elif 'oai-nr-ue' in services or 'lte_ue0' in services: self.exitStatus == 0 logging.debug('\u001B[1m Analyzing UE logfile ' + filename + ' \u001B[0m') logStatus = cls_oaicitest.OaiCiTest().AnalyzeLogFile_UE(f'{filename}', HTML, RAN) diff --git a/ci-scripts/epc.py b/ci-scripts/epc.py index 73de5b96b8..af4699688d 100644 --- a/ci-scripts/epc.py +++ b/ci-scripts/epc.py @@ -659,6 +659,7 @@ class EPCManagement(): mySSH.command('if [ -d ' + self.SourceCodePath + '/scripts ]; then echo ' + self.Password + ' | sudo -S rm -Rf ' + self.SourceCodePath + '/scripts ; fi', '\$', 5) mySSH.command('if [ -d ' + self.SourceCodePath + '/logs ]; then echo ' + self.Password + ' | sudo -S rm -Rf ' + self.SourceCodePath + '/logs ; fi', '\$', 5) mySSH.command('mkdir -p ' + self.SourceCodePath + '/scripts ' + self.SourceCodePath + '/logs', '\$', 5) + mySSH.command('rm -f ' + self.SourceCodePath + '/*.log', '\$', 5) # deploying and configuring the cassandra database # container names and services are currently hard-coded. diff --git a/ci-scripts/xml_files/container_lte_b200_fdd_10Mhz_tm1_oaiue.xml b/ci-scripts/xml_files/container_lte_b200_fdd_10Mhz_tm1_oaiue.xml new file mode 100644 index 0000000000..a2f59a27af --- /dev/null +++ b/ci-scripts/xml_files/container_lte_b200_fdd_10Mhz_tm1_oaiue.xml @@ -0,0 +1,174 @@ + + + test-fdd-10-tm1 + Test-FDD-10MHz-TM1 + tasks + +100000 +100001 +111110 +111111 +030111 +000001 +030311 +000002 +040511 040613 040616 040651 +030411 +000001 +030211 +200000 +200001 + + + + + Pull_Local_Registry + Pull Images from Local Registry + 0 + oai-enb + + + Pull_Local_Registry + Pull Images from Local Registry + 1 + oai-lte-ue + + + Custom_Command + Disable Sleep States + hutch + sudo cpupower idle-set -D 0 + + + Custom_Command + Disable Sleep States + carabe + sudo cpupower idle-set -D 0 + + + Custom_Command + Enable Sleep States + hutch + sudo cpupower idle-set -E + + + Custom_Command + Enable Sleep States + carabe + sudo cpupower idle-set -E + + + + Deploy_Object + Deploy eNB (FDD/Band7/10MHz/B200) in a container + ci-scripts/yaml_files/lte_b200_fdd_10Mhz_tm1_magma + 0 + 0 + + + + Deploy_Object + Deploy LTE-UE (FDD/Band7/10MHz/B200) in a container + ci-scripts/yaml_files/lte_b200_fdd_10Mhz_oai_ue_magma + 1 + 1 + + + + IdleSleep + Sleep + 5 + + + + IdleSleep + Sleep + 10 + + + + Undeploy_Object + Undeploy eNB + ci-scripts/yaml_files/lte_b200_fdd_10Mhz_tm1_magma + 0 + 0 + + + + Undeploy_Object + Undeploy LTE-UE + ci-scripts/yaml_files/lte_b200_fdd_10Mhz_oai_ue_magma + 1 + 1 + + + + Ping + ping (10MHz - 20 sec) + -c 20 192.168.61.200 + 5 + lte_oai_ue_carabe + + + + Iperf + iperf (10MHz - DL/10Mbps/UDP)(30 sec)(balanced profile) + -u -b 10M -t 30 -i 1 + 50 + single-ue + DL + lte_oai_ue_carabe + + + + Iperf + iperf (10MHz - DL/TCP)(30 sec)(single-ue profile) + -t 30 -i 1 -fm + 50 + single-ue + DL + lte_oai_ue_carabe + + + + Iperf + iperf (10MHz - UL/10Mbps/UDP)(30 sec)(balanced profile) + -u -b 10M -t 30 -i 1 + 50 + single-ue + UL + lte_oai_ue_carabe + + + + Iperf + iperf (10MHz - UL/TCP)(30 sec)(balanced profile) + -t 30 -i 1 -fm + 50 + balanced + UL + lte_oai_ue_carabe + + + diff --git a/ci-scripts/xml_files/lte_oai_cn_deploy.xml b/ci-scripts/xml_files/lte_oai_cn_deploy.xml new file mode 100644 index 0000000000..0279c1f3b3 --- /dev/null +++ b/ci-scripts/xml_files/lte_oai_cn_deploy.xml @@ -0,0 +1,39 @@ + + + epc-deploy-tab + EPC-Deploy + log-in + + 000100 + + + + + + Deploy_EPC + Deploy all EPC containers + yaml_files/magma_lte_20892 + + + diff --git a/ci-scripts/xml_files/lte_oai_cn_undeploy.xml b/ci-scripts/xml_files/lte_oai_cn_undeploy.xml new file mode 100644 index 0000000000..76192efea1 --- /dev/null +++ b/ci-scripts/xml_files/lte_oai_cn_undeploy.xml @@ -0,0 +1,38 @@ + + + epc-undeploy-tab + EPC-Undeploy + log-out + + 000200 + + + + + + Undeploy_EPC + Undeploy all EPC containers + + +