Commit 54965235 authored by Robert Schmidt's avatar Robert Schmidt

Merge remote-tracking branch 'origin/ci-maintenance-fixes' into integration_2024_w09

parents 331fb1ce e9f0541a
...@@ -662,22 +662,26 @@ class Containerize(): ...@@ -662,22 +662,26 @@ class Containerize():
collectInfo['proxy'] = files collectInfo['proxy'] = files
mySSH.command('docker image inspect --format=\'Size = {{.Size}} bytes\' proxy:' + tag, '\$', 5) mySSH.command('docker image inspect --format=\'Size = {{.Size}} bytes\' proxy:' + tag, '\$', 5)
result = re.search('Size *= *(?P<size>[0-9\-]+) *bytes', mySSH.getBefore()) result = re.search('Size *= *(?P<size>[0-9\-]+) *bytes', mySSH.getBefore())
# Cleaning any created tmp volume
mySSH.command(self.cli + ' volume prune --force || true','\$', 15)
mySSH.close()
allImagesSize = {} allImagesSize = {}
if result is not None: if result is not None:
imageSize = float(result.group('size')) / 1000000 imageSize = float(result.group('size')) / 1000000
logging.debug('\u001B[1m proxy size is ' + ('%.0f' % imageSize) + ' Mbytes\u001B[0m') logging.debug('\u001B[1m proxy size is ' + ('%.0f' % imageSize) + ' Mbytes\u001B[0m')
allImagesSize['proxy'] = str(round(imageSize,1)) + ' Mbytes' allImagesSize['proxy'] = str(round(imageSize,1)) + ' Mbytes'
logging.info('\u001B[1m Building L2sim Proxy Image Pass\u001B[0m')
HTML.CreateHtmlTestRow('commit ' + tag, 'OK', CONST.ALL_PROCESSES_OK)
HTML.CreateHtmlNextTabHeaderTestRow(collectInfo, allImagesSize)
return True
else: else:
logging.debug('proxy size is unknown') logging.error('proxy size is unknown')
allImagesSize['proxy'] = 'unknown' allImagesSize['proxy'] = 'unknown'
logging.error('\u001B[1m Build of L2sim proxy failed\u001B[0m')
# Cleaning any created tmp volume HTML.CreateHtmlTestRow('commit ' + tag, 'KO', CONST.ALL_PROCESSES_OK)
mySSH.command(self.cli + ' volume prune --force || true','\$', 15) HTML.CreateHtmlTabFooter(False)
mySSH.close() return False
logging.info('\u001B[1m Building L2sim Proxy Image Pass\u001B[0m')
HTML.CreateHtmlTestRow('commit ' + tag, 'OK', CONST.ALL_PROCESSES_OK)
HTML.CreateHtmlNextTabHeaderTestRow(collectInfo, allImagesSize)
def BuildRunTests(self, HTML): def BuildRunTests(self, HTML):
if self.ranRepository == '' or self.ranBranch == '' or self.ranCommitID == '': if self.ranRepository == '' or self.ranBranch == '' or self.ranCommitID == '':
......
...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
000021 000021
000022 000022
000023 000023
000024
020021 020021
100021 100021
</TestCaseRequestedList> </TestCaseRequestedList>
...@@ -66,6 +67,12 @@ ...@@ -66,6 +67,12 @@
<nb_healthy>14</nb_healthy> <nb_healthy>14</nb_healthy>
</testCase> </testCase>
<testCase id="000024">
<class>Attach_UE</class>
<desc>Attach OAI UE (Wait for IP)</desc>
<id>rfsim5g_ue rfsim5g_ue2 rfsim5g_ue3</id>
</testCase>
<testCase id="020021"> <testCase id="020021">
<class>Ping</class> <class>Ping</class>
<desc>Ping ext-dn from all NR-UEs</desc> <desc>Ping ext-dn from all NR-UEs</desc>
......
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
100021 100021
000021 000021
000022 000022
000023
020021 020021
030021 030021
030022 030022
...@@ -59,6 +60,12 @@ ...@@ -59,6 +60,12 @@
<nb_healthy>8</nb_healthy> <nb_healthy>8</nb_healthy>
</testCase> </testCase>
<testCase id="000023">
<class>Attach_UE</class>
<desc>Attach OAI UE (Wait for IP)</desc>
<id>rfsim5g_ue</id>
</testCase>
<testCase id="020021"> <testCase id="020021">
<class>Ping</class> <class>Ping</class>
<desc>Ping ext-dn from all NR-UEs</desc> <desc>Ping ext-dn from all NR-UEs</desc>
......
...@@ -28,7 +28,6 @@ ...@@ -28,7 +28,6 @@
<TestCaseRequestedList> <TestCaseRequestedList>
111111 111111
100011 100011
000010
000011 000011
000012 000012
000013 000013
...@@ -47,36 +46,26 @@ ...@@ -47,36 +46,26 @@
<images_to_pull>oai-gnb-asan oai-nr-ue-asan</images_to_pull> <images_to_pull>oai-gnb-asan oai-nr-ue-asan</images_to_pull>
</testCase> </testCase>
<testCase id="000010">
<class>DeployGenObject</class>
<desc>Deploy MySql Database</desc>
<yaml_path>yaml_files/5g_fdd_rfsimulator</yaml_path>
<services>mysql</services>
<nb_healthy>1</nb_healthy>
</testCase>
<testCase id="000011"> <testCase id="000011">
<class>DeployGenObject</class> <class>DeployGenObject</class>
<desc>Deploy OAI 5G CoreNetwork</desc> <desc>Deploy OAI 5G CoreNetwork</desc>
<yaml_path>yaml_files/5g_fdd_rfsimulator</yaml_path> <yaml_path>yaml_files/5g_fdd_rfsimulator</yaml_path>
<services>oai-amf oai-smf oai-upf oai-ext-dn</services> <services>mysql oai-amf oai-smf oai-upf oai-ext-dn</services>
<nb_healthy>5</nb_healthy> <nb_healthy>5</nb_healthy>
</testCase> </testCase>
<testCase id="000012"> <testCase id="000012">
<class>DeployGenObject</class> <class>DeployGenObject</class>
<desc>Deploy OAI 5G gNB RF sim SA</desc> <desc>Deploy OAI 5G gNB+UE RF sim SA</desc>
<yaml_path>yaml_files/5g_fdd_rfsimulator</yaml_path> <yaml_path>yaml_files/5g_fdd_rfsimulator</yaml_path>
<services>oai-gnb</services> <services>oai-gnb oai-nr-ue</services>
<nb_healthy>6</nb_healthy> <nb_healthy>7</nb_healthy>
</testCase> </testCase>
<testCase id="000013"> <testCase id="000013">
<class>DeployGenObject</class> <class>Attach_UE</class>
<desc>Deploy OAI 5G NR-UE RF sim SA</desc> <desc>Attach OAI UE (Wait for IP)</desc>
<yaml_path>yaml_files/5g_fdd_rfsimulator</yaml_path> <id>rfsim5g_ue</id>
<services>oai-nr-ue</services>
<nb_healthy>7</nb_healthy>
</testCase> </testCase>
<testCase id="020011"> <testCase id="020011">
......
...@@ -28,7 +28,6 @@ ...@@ -28,7 +28,6 @@
<TestCaseRequestedList> <TestCaseRequestedList>
111111 111111
100001 100001
000000
000001 000001
000002 000002
000003 000003
...@@ -47,36 +46,26 @@ ...@@ -47,36 +46,26 @@
<images_to_pull>oai-gnb-asan oai-nr-ue-asan</images_to_pull> <images_to_pull>oai-gnb-asan oai-nr-ue-asan</images_to_pull>
</testCase> </testCase>
<testCase id="000000">
<class>DeployGenObject</class>
<desc>Deploy MySql Database</desc>
<yaml_path>yaml_files/5g_rfsimulator_24prb</yaml_path>
<services>mysql</services>
<nb_healthy>1</nb_healthy>
</testCase>
<testCase id="000001"> <testCase id="000001">
<class>DeployGenObject</class> <class>DeployGenObject</class>
<desc>Deploy OAI 5G CoreNetwork</desc> <desc>Deploy OAI 5G CoreNetwork</desc>
<yaml_path>yaml_files/5g_rfsimulator_24prb</yaml_path> <yaml_path>yaml_files/5g_rfsimulator_24prb</yaml_path>
<services>oai-amf oai-smf oai-upf oai-ext-dn</services> <services>mysql oai-amf oai-smf oai-upf oai-ext-dn</services>
<nb_healthy>5</nb_healthy> <nb_healthy>5</nb_healthy>
</testCase> </testCase>
<testCase id="000002"> <testCase id="000002">
<class>DeployGenObject</class> <class>DeployGenObject</class>
<desc>Deploy OAI 5G gNB RF sim SA</desc> <desc>Deploy OAI 5G gNB+UE RFsim SA</desc>
<yaml_path>yaml_files/5g_rfsimulator_24prb</yaml_path> <yaml_path>yaml_files/5g_rfsimulator_24prb</yaml_path>
<services>oai-gnb</services> <services>oai-gnb oai-nr-ue</services>
<nb_healthy>6</nb_healthy> <nb_healthy>7</nb_healthy>
</testCase> </testCase>
<testCase id="000003"> <testCase id="000003">
<class>DeployGenObject</class> <class>Attach_UE</class>
<desc>Deploy OAI 5G NR-UE RF sim SA</desc> <desc>Attach OAI UE (Wait for IP)</desc>
<yaml_path>yaml_files/5g_rfsimulator_24prb</yaml_path> <id>rfsim5g_ue</id>
<services>oai-nr-ue</services>
<nb_healthy>7</nb_healthy>
</testCase> </testCase>
<testCase id="020001"> <testCase id="020001">
......
...@@ -28,7 +28,6 @@ ...@@ -28,7 +28,6 @@
<TestCaseRequestedList> <TestCaseRequestedList>
111111 111111
100001 100001
000000
000001 000001
000002 000002
000003 000003
...@@ -47,36 +46,26 @@ ...@@ -47,36 +46,26 @@
<images_to_pull>oai-gnb-asan oai-nr-ue-asan</images_to_pull> <images_to_pull>oai-gnb-asan oai-nr-ue-asan</images_to_pull>
</testCase> </testCase>
<testCase id="000000">
<class>DeployGenObject</class>
<desc>Deploy MySql Database</desc>
<yaml_path>yaml_files/5g_rfsimulator_2x2</yaml_path>
<services>mysql</services>
<nb_healthy>1</nb_healthy>
</testCase>
<testCase id="000001"> <testCase id="000001">
<class>DeployGenObject</class> <class>DeployGenObject</class>
<desc>Deploy OAI 5G CoreNetwork</desc> <desc>Deploy OAI 5G CoreNetwork</desc>
<yaml_path>yaml_files/5g_rfsimulator_2x2</yaml_path> <yaml_path>yaml_files/5g_rfsimulator_2x2</yaml_path>
<services>oai-amf oai-smf oai-upf oai-ext-dn</services> <services>mysql oai-amf oai-smf oai-upf oai-ext-dn</services>
<nb_healthy>5</nb_healthy> <nb_healthy>5</nb_healthy>
</testCase> </testCase>
<testCase id="000002"> <testCase id="000002">
<class>DeployGenObject</class> <class>DeployGenObject</class>
<desc>Deploy OAI 5G gNB RF sim SA</desc> <desc>Deploy OAI 5G gNB+UE RF sim SA</desc>
<yaml_path>yaml_files/5g_rfsimulator_2x2</yaml_path> <yaml_path>yaml_files/5g_rfsimulator_2x2</yaml_path>
<services>oai-gnb</services> <services>oai-gnb oai-nr-ue</services>
<nb_healthy>6</nb_healthy> <nb_healthy>7</nb_healthy>
</testCase> </testCase>
<testCase id="000003"> <testCase id="000003">
<class>DeployGenObject</class> <class>Attach_UE</class>
<desc>Deploy OAI 5G NR-UE RF sim SA</desc> <desc>Attach OAI UE (Wait for IP)</desc>
<yaml_path>yaml_files/5g_rfsimulator_2x2</yaml_path> <id>rfsim5g_ue</id>
<services>oai-nr-ue</services>
<nb_healthy>7</nb_healthy>
</testCase> </testCase>
<testCase id="020001"> <testCase id="020001">
......
...@@ -43,18 +43,16 @@ ...@@ -43,18 +43,16 @@
<testCase id="000020"> <testCase id="000020">
<class>DeployGenObject</class> <class>DeployGenObject</class>
<desc>Deploy OAI-DU</desc> <desc>Deploy OAI-DU+nrUE</desc>
<yaml_path>yaml_files/5g_rfsimulator_accelleran</yaml_path> <yaml_path>yaml_files/5g_rfsimulator_accelleran</yaml_path>
<services>oai-du</services> <services>oai-du oai-nr-ue</services>
<nb_healthy>1</nb_healthy> <nb_healthy>2</nb_healthy>
</testCase> </testCase>
<testCase id="000021"> <testCase id="000021">
<class>DeployGenObject</class> <class>Attach_UE</class>
<desc>Deploy nrUE</desc> <desc>Attach OAI UE (Wait for IP)</desc>
<yaml_path>yaml_files/5g_rfsimulator_accelleran</yaml_path> <id>rfsim5g_ue</id>
<services>oai-nr-ue</services>
<nb_healthy>2</nb_healthy>
</testCase> </testCase>
<testCase id="020021"> <testCase id="020021">
......
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
<class>Custom_Command</class> <class>Custom_Command</class>
<desc>Clean-Up any residual volume</desc> <desc>Clean-Up any residual volume</desc>
<node>localhost</node> <node>localhost</node>
<command>docker volume rm 5g_rfsimulator_fdd_phytest_rrc.config</command> <command>docker volume rm 5g_rfsimulator_fdd_phytest_rrc.config -f</command>
</testCase> </testCase>
<testCase id="000010"> <testCase id="000010">
......
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
<class>Custom_Command</class> <class>Custom_Command</class>
<desc>Clean-Up any residual volume</desc> <desc>Clean-Up any residual volume</desc>
<node>localhost</node> <node>localhost</node>
<command>docker volume rm 5g_rfsimulator_tdd_dora_rrc.config</command> <command>docker volume rm 5g_rfsimulator_tdd_dora_rrc.config -f</command>
</testCase> </testCase>
<testCase id="000000"> <testCase id="000000">
......
...@@ -28,7 +28,6 @@ ...@@ -28,7 +28,6 @@
<TestCaseRequestedList> <TestCaseRequestedList>
111111 111111
100001 100001
000000
000001 000001
000002 000002
000003 000003
...@@ -47,36 +46,26 @@ ...@@ -47,36 +46,26 @@
<images_to_pull>oai-gnb-asan oai-nr-ue-asan</images_to_pull> <images_to_pull>oai-gnb-asan oai-nr-ue-asan</images_to_pull>
</testCase> </testCase>
<testCase id="000000">
<class>DeployGenObject</class>
<desc>Deploy MySql Database</desc>
<yaml_path>yaml_files/5g_rfsimulator_u0_25prb</yaml_path>
<services>mysql</services>
<nb_healthy>1</nb_healthy>
</testCase>
<testCase id="000001"> <testCase id="000001">
<class>DeployGenObject</class> <class>DeployGenObject</class>
<desc>Deploy OAI 5G CoreNetwork</desc> <desc>Deploy OAI 5G CoreNetwork</desc>
<yaml_path>yaml_files/5g_rfsimulator_u0_25prb</yaml_path> <yaml_path>yaml_files/5g_rfsimulator_u0_25prb</yaml_path>
<services>oai-amf oai-smf oai-upf oai-ext-dn</services> <services>mysql oai-amf oai-smf oai-upf oai-ext-dn</services>
<nb_healthy>5</nb_healthy> <nb_healthy>5</nb_healthy>
</testCase> </testCase>
<testCase id="000002"> <testCase id="000002">
<class>DeployGenObject</class> <class>DeployGenObject</class>
<desc>Deploy OAI 5G gNB RF sim SA</desc> <desc>Deploy OAI 5G gNB+nrUE RF sim SA</desc>
<yaml_path>yaml_files/5g_rfsimulator_u0_25prb</yaml_path> <yaml_path>yaml_files/5g_rfsimulator_u0_25prb</yaml_path>
<services>oai-gnb</services> <services>oai-gnb oai-nr-ue</services>
<nb_healthy>6</nb_healthy> <nb_healthy>7</nb_healthy>
</testCase> </testCase>
<testCase id="000003"> <testCase id="000003">
<class>DeployGenObject</class> <class>Attach_UE</class>
<desc>Deploy OAI 5G NR-UE RF sim SA</desc> <desc>Attach OAI UE (Wait for IP)</desc>
<yaml_path>yaml_files/5g_rfsimulator_u0_25prb</yaml_path> <id>rfsim5g_ue</id>
<services>oai-nr-ue</services>
<nb_healthy>7</nb_healthy>
</testCase> </testCase>
<testCase id="020001"> <testCase id="020001">
......
...@@ -26,6 +26,8 @@ ...@@ -26,6 +26,8 @@
<htmlTabIcon>tasks</htmlTabIcon> <htmlTabIcon>tasks</htmlTabIcon>
<repeatCount>1</repeatCount> <repeatCount>1</repeatCount>
<TestCaseRequestedList> <TestCaseRequestedList>
010001
010002
030202 030202
030201 030201
222220 222220
...@@ -33,6 +35,17 @@ ...@@ -33,6 +35,17 @@
</TestCaseRequestedList> </TestCaseRequestedList>
<TestCaseExclusionList></TestCaseExclusionList> <TestCaseExclusionList></TestCaseExclusionList>
<testCase id= "010001">
<class>Detach_UE</class>
<desc>Detach UE</desc>
<id>idefix</id>
</testCase>
<testCase id="010002">
<class>Terminate_UE</class>
<desc>Terminate Quectel</desc>
<id>idefix</id>
</testCase>
<testCase id="030201"> <testCase id="030201">
<class>Undeploy_Object</class> <class>Undeploy_Object</class>
<desc>Undeploy eNB</desc> <desc>Undeploy eNB</desc>
......
...@@ -26,10 +26,23 @@ ...@@ -26,10 +26,23 @@
<htmlTabIcon>tasks</htmlTabIcon> <htmlTabIcon>tasks</htmlTabIcon>
<repeatCount>1</repeatCount> <repeatCount>1</repeatCount>
<TestCaseRequestedList> <TestCaseRequestedList>
010001
010002
030201 030201
</TestCaseRequestedList> </TestCaseRequestedList>
<TestCaseExclusionList></TestCaseExclusionList> <TestCaseExclusionList></TestCaseExclusionList>
<testCase id= "010001">
<class>Detach_UE</class>
<desc>Detach UE</desc>
<id>idefix</id>
</testCase>
<testCase id="010002">
<class>Terminate_UE</class>
<desc>Terminate Quectel</desc>
<id>idefix</id>
</testCase>
<testCase id="030201"> <testCase id="030201">
<class>Undeploy_Object</class> <class>Undeploy_Object</class>
<desc>Undeploy gNB</desc> <desc>Undeploy gNB</desc>
......
...@@ -26,11 +26,24 @@ ...@@ -26,11 +26,24 @@
<htmlTabIcon>tasks</htmlTabIcon> <htmlTabIcon>tasks</htmlTabIcon>
<repeatCount>1</repeatCount> <repeatCount>1</repeatCount>
<TestCaseRequestedList> <TestCaseRequestedList>
010001
010002
330201 330201
222222 222222
</TestCaseRequestedList> </TestCaseRequestedList>
<TestCaseExclusionList></TestCaseExclusionList> <TestCaseExclusionList></TestCaseExclusionList>
<testCase id= "010001">
<class>Detach_UE</class>
<desc>Detach UE</desc>
<id>idefix</id>
</testCase>
<testCase id="010002">
<class>Terminate_UE</class>
<desc>Terminate Quectel</desc>
<id>idefix</id>
</testCase>
<testCase id="330201"> <testCase id="330201">
<class>Undeploy_Object</class> <class>Undeploy_Object</class>
<desc>Undeploy CU-CP/CU-UP/DU</desc> <desc>Undeploy CU-CP/CU-UP/DU</desc>
......
...@@ -26,10 +26,23 @@ ...@@ -26,10 +26,23 @@
<htmlTabIcon>tasks</htmlTabIcon> <htmlTabIcon>tasks</htmlTabIcon>
<repeatCount>1</repeatCount> <repeatCount>1</repeatCount>
<TestCaseRequestedList> <TestCaseRequestedList>
010001
010002
230201 230201
</TestCaseRequestedList> </TestCaseRequestedList>
<TestCaseExclusionList></TestCaseExclusionList> <TestCaseExclusionList></TestCaseExclusionList>
<testCase id= "010001">
<class>Detach_UE</class>
<desc>Detach UE</desc>
<id>idefix</id>
</testCase>
<testCase id="010002">
<class>Terminate_UE</class>
<desc>Terminate Quectel</desc>
<id>idefix</id>
</testCase>
<testCase id="230201"> <testCase id="230201">
<class>Undeploy_Object</class> <class>Undeploy_Object</class>
<desc>Undeploy CU-DU</desc> <desc>Undeploy CU-DU</desc>
......
...@@ -26,10 +26,23 @@ ...@@ -26,10 +26,23 @@
<htmlTabIcon>tasks</htmlTabIcon> <htmlTabIcon>tasks</htmlTabIcon>
<repeatCount>1</repeatCount> <repeatCount>1</repeatCount>
<TestCaseRequestedList> <TestCaseRequestedList>
010001
010002
030201 030201
</TestCaseRequestedList> </TestCaseRequestedList>
<TestCaseExclusionList></TestCaseExclusionList> <TestCaseExclusionList></TestCaseExclusionList>
<testCase id= "010001">
<class>Detach_UE</class>
<desc>Detach UE</desc>
<id>idefix</id>
</testCase>
<testCase id="010002">
<class>Terminate_UE</class>
<desc>Terminate Quectel</desc>
<id>idefix</id>
</testCase>
<testCase id="030201"> <testCase id="030201">
<class>Undeploy_Object</class> <class>Undeploy_Object</class>
<desc>Undeploy gNB</desc> <desc>Undeploy gNB</desc>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment