Commit dee9ce26 authored by Robert Schmidt's avatar Robert Schmidt

CI: Pull_Image_from_Registry(): harmonize code

- pass parameter directly instead of indirectly via class
- call it simply "images", to harmonize with clean-function later
- harmonize to svr_id as in the previous commit
- rewrite function to use with-statement with cls_cmd
- optionally pass a tag to use (which will be used in a test, and can be
  used to pull flexric)
- Introduce Pull_Image() which does the actual pulling, can pull from
  any registry, and will be reused in the case of pulling from cluster.
parent a48728ba
...@@ -335,7 +335,6 @@ class Containerize(): ...@@ -335,7 +335,6 @@ class Containerize():
self.imageToCopy = '' self.imageToCopy = ''
self.testSvrId = '' self.testSvrId = ''
self.imageToPull = []
#checkers from xml #checkers from xml
self.ran_checkers={} self.ran_checkers={}
...@@ -772,45 +771,44 @@ class Containerize(): ...@@ -772,45 +771,44 @@ class Containerize():
HTML.CreateHtmlTestRow('N/A', 'OK', CONST.ALL_PROCESSES_OK) HTML.CreateHtmlTestRow('N/A', 'OK', CONST.ALL_PROCESSES_OK)
return True return True
def Pull_Image_from_Local_Registry(self, HTML): def Pull_Image(cmd, images, tag, registry, username, password):
lIpAddr, lSourcePath = self.GetCredentials(self.testSvrId) if username is not None and password is not None:
logging.debug('\u001B[1m Pulling image(s) on server: ' + lIpAddr + '\u001B[0m') logging.info(f"logging into registry {username}@{registry}")
myCmd = cls_cmd.getConnection(lIpAddr) response = cmd.run(f'docker login -u {username} -p {password} {registry}', silent=True, reportNonZero=False)
imagePrefix = 'porcepix.sboai.cs.eurecom.fr'
response = myCmd.run(f'docker login -u oaicicd -p oaicicd {imagePrefix}')
if response.returncode != 0: if response.returncode != 0:
msg = 'Could not log into local registry' msg = f'Could not log into registry {username}@{registry}'
logging.error(msg) logging.error(msg)
myCmd.close() return False, msg
HTML.CreateHtmlTestRow(msg, 'KO', CONST.ALL_PROCESSES_OK)
return False
pulled_images = [] pulled_images = []
for image in self.imageToPull: for image in images:
tagToUse = CreateTag(self.ranCommitID, self.ranBranch, self.ranAllowMerge) imageTag = f"{image}:{tag}"
imageTag = f"{image}:{tagToUse}" response = cmd.run(f'docker pull {registry}/{imageTag}')
cmd = f'docker pull {imagePrefix}/{imageTag}'
response = myCmd.run(cmd, timeout=120)
if response.returncode != 0: if response.returncode != 0:
logging.debug(response) msg = f'Could not pull {image} from local registry: {imageTag}'
msg = f'Could not pull {image} from local registry : {imageTag}'
logging.error(msg) logging.error(msg)
myCmd.close() return False, msg
HTML.CreateHtmlTestRow('msg', 'KO', CONST.ALL_PROCESSES_OK) cmd.run(f'docker tag {registry}/{imageTag} oai-ci/{imageTag}')
return False cmd.run(f'docker rmi {registry}/{imageTag}')
myCmd.run(f'docker tag {imagePrefix}/{imageTag} oai-ci/{imageTag}')
myCmd.run(f'docker rmi {imagePrefix}/{imageTag}')
pulled_images += [f"oai-ci/{imageTag}"] pulled_images += [f"oai-ci/{imageTag}"]
response = myCmd.run(f'docker logout {imagePrefix}') if username is not None and password is not None:
if response.returncode != 0: response = cmd.run(f'docker logout {registry}')
msg = 'Could not log off from local registry' # we have the images, if logout fails it's no problem
logging.error(msg)
myCmd.close()
HTML.CreateHtmlTestRow(msg, 'KO', CONST.ALL_PROCESSES_OK)
return False
myCmd.close()
msg = "Pulled Images:\n" + '\n'.join(pulled_images) msg = "Pulled Images:\n" + '\n'.join(pulled_images)
HTML.CreateHtmlTestRowQueue('N/A', 'OK', [msg]) return True, msg
return True
def Pull_Image_from_Registry(self, HTML, svr_id, images, tag=None, registry="porcepix.sboai.cs.eurecom.fr", username="oaicicd", password="oaicicd"):
lIpAddr, lSourcePath = self.GetCredentials(svr_id)
logging.debug('\u001B[1m Pulling image(s) on server: ' + lIpAddr + '\u001B[0m')
if not tag:
tag = CreateTag(self.ranCommitID, self.ranBranch, self.ranAllowMerge)
with cls_cmd.getConnection(lIpAddr) as cmd:
success, msg = Containerize.Pull_Image(cmd, images, tag, registry, username, password)
param = f"on node {lIpAddr}"
if success:
HTML.CreateHtmlTestRowQueue(param, 'OK', [msg])
else:
HTML.CreateHtmlTestRowQueue(param, 'KO', [msg])
return success
def Clean_Test_Server_Images(self, HTML): def Clean_Test_Server_Images(self, HTML):
lIpAddr, lSourcePath = self.GetCredentials(self.testSvrId) lIpAddr, lSourcePath = self.GetCredentials(self.testSvrId)
......
...@@ -374,14 +374,9 @@ def ExecuteActionWithParam(action): ...@@ -374,14 +374,9 @@ def ExecuteActionWithParam(action):
success = CONTAINERS.Push_Image_to_Local_Registry(HTML, svr_id) success = CONTAINERS.Push_Image_to_Local_Registry(HTML, svr_id)
elif action == 'Pull_Local_Registry': elif action == 'Pull_Local_Registry':
string_field = test.findtext('test_svr_id') svr_id = test.findtext('svr_id')
if (string_field is not None): images = test.findtext('images').split()
CONTAINERS.testSvrId = string_field success = CONTAINERS.Pull_Image_from_Registry(HTML, svr_id, images)
CONTAINERS.imageToPull.clear()
string_field = test.findtext('images_to_pull')
if (string_field is not None):
CONTAINERS.imageToPull = string_field.split()
success = CONTAINERS.Pull_Image_from_Local_Registry(HTML)
elif action == 'Clean_Test_Server_Images': elif action == 'Clean_Test_Server_Images':
string_field = test.findtext('test_svr_id') string_field = test.findtext('test_svr_id')
......
...@@ -44,8 +44,8 @@ ...@@ -44,8 +44,8 @@
<testCase id="111111"> <testCase id="111111">
<class>Pull_Local_Registry</class> <class>Pull_Local_Registry</class>
<desc>Pull Images from Local Registry</desc> <desc>Pull Images from Local Registry</desc>
<test_svr_id>0</test_svr_id> <svr_id>0</svr_id>
<images_to_pull>oai-enb oai-lte-ue</images_to_pull> <images>oai-enb oai-lte-ue</images>
</testCase> </testCase>
<testCase id="800813"> <testCase id="800813">
<class>Create_Workspace</class> <class>Create_Workspace</class>
......
...@@ -52,8 +52,8 @@ ...@@ -52,8 +52,8 @@
<testCase id="111111"> <testCase id="111111">
<class>Pull_Local_Registry</class> <class>Pull_Local_Registry</class>
<desc>Pull Images from Local Registry</desc> <desc>Pull Images from Local Registry</desc>
<test_svr_id>0</test_svr_id> <svr_id>0</svr_id>
<images_to_pull>oai-enb-asan oai-lte-ue-asan</images_to_pull> <images>oai-enb-asan oai-lte-ue-asan</images>
</testCase> </testCase>
<testCase id="000011"> <testCase id="000011">
......
...@@ -43,8 +43,8 @@ ...@@ -43,8 +43,8 @@
<testCase id="111111"> <testCase id="111111">
<class>Pull_Local_Registry</class> <class>Pull_Local_Registry</class>
<desc>Pull Images from Local Registry</desc> <desc>Pull Images from Local Registry</desc>
<test_svr_id>0</test_svr_id> <svr_id>0</svr_id>
<images_to_pull>oai-enb-asan oai-lte-ue-asan</images_to_pull> <images>oai-enb-asan oai-lte-ue-asan</images>
</testCase> </testCase>
<testCase id="800813"> <testCase id="800813">
<class>Create_Workspace</class> <class>Create_Workspace</class>
......
...@@ -47,8 +47,8 @@ ...@@ -47,8 +47,8 @@
<testCase id="111111"> <testCase id="111111">
<class>Pull_Local_Registry</class> <class>Pull_Local_Registry</class>
<desc>Pull Images from Local Registry</desc> <desc>Pull Images from Local Registry</desc>
<test_svr_id>0</test_svr_id> <svr_id>0</svr_id>
<images_to_pull>oai-enb-asan oai-lte-ue-asan</images_to_pull> <images>oai-enb-asan oai-lte-ue-asan</images>
</testCase> </testCase>
<testCase id="800813"> <testCase id="800813">
<class>Create_Workspace</class> <class>Create_Workspace</class>
......
...@@ -47,8 +47,8 @@ ...@@ -47,8 +47,8 @@
<testCase id="111111"> <testCase id="111111">
<class>Pull_Local_Registry</class> <class>Pull_Local_Registry</class>
<desc>Pull Images from Local Registry</desc> <desc>Pull Images from Local Registry</desc>
<test_svr_id>0</test_svr_id> <svr_id>0</svr_id>
<images_to_pull>oai-enb-asan oai-lte-ue-asan</images_to_pull> <images>oai-enb-asan oai-lte-ue-asan</images>
</testCase> </testCase>
<testCase id="800813"> <testCase id="800813">
<class>Create_Workspace</class> <class>Create_Workspace</class>
......
...@@ -40,8 +40,8 @@ ...@@ -40,8 +40,8 @@
<testCase id="111111"> <testCase id="111111">
<class>Pull_Local_Registry</class> <class>Pull_Local_Registry</class>
<desc>Pull Images from Local Registry</desc> <desc>Pull Images from Local Registry</desc>
<test_svr_id>0</test_svr_id> <svr_id>0</svr_id>
<images_to_pull>oai-enb-asan oai-lte-ue-asan</images_to_pull> <images>oai-enb-asan oai-lte-ue-asan</images>
</testCase> </testCase>
<testCase id="800813"> <testCase id="800813">
<class>Create_Workspace</class> <class>Create_Workspace</class>
......
...@@ -40,8 +40,8 @@ ...@@ -40,8 +40,8 @@
<testCase id="111111"> <testCase id="111111">
<class>Pull_Local_Registry</class> <class>Pull_Local_Registry</class>
<desc>Pull Images from Local Registry</desc> <desc>Pull Images from Local Registry</desc>
<test_svr_id>0</test_svr_id> <svr_id>0</svr_id>
<images_to_pull>oai-enb-asan oai-lte-ue-asan</images_to_pull> <images>oai-enb-asan oai-lte-ue-asan</images>
</testCase> </testCase>
<testCase id="800813"> <testCase id="800813">
<class>Create_Workspace</class> <class>Create_Workspace</class>
......
...@@ -47,8 +47,8 @@ ...@@ -47,8 +47,8 @@
<testCase id="111111"> <testCase id="111111">
<class>Pull_Local_Registry</class> <class>Pull_Local_Registry</class>
<desc>Pull Images from Local Registry</desc> <desc>Pull Images from Local Registry</desc>
<test_svr_id>0</test_svr_id> <svr_id>0</svr_id>
<images_to_pull>oai-enb oai-lte-ue</images_to_pull> <images>oai-enb oai-lte-ue</images>
</testCase> </testCase>
<testCase id="800813"> <testCase id="800813">
<class>Create_Workspace</class> <class>Create_Workspace</class>
......
...@@ -40,8 +40,8 @@ ...@@ -40,8 +40,8 @@
<testCase id="111111"> <testCase id="111111">
<class>Pull_Local_Registry</class> <class>Pull_Local_Registry</class>
<desc>Pull Images from Local Registry</desc> <desc>Pull Images from Local Registry</desc>
<test_svr_id>0</test_svr_id> <svr_id>0</svr_id>
<images_to_pull>oai-gnb oai-nr-cuup oai-nr-ue</images_to_pull> <images>oai-gnb oai-nr-cuup oai-nr-ue</images>
</testCase> </testCase>
<testCase id="800813"> <testCase id="800813">
<class>Create_Workspace</class> <class>Create_Workspace</class>
......
...@@ -47,8 +47,8 @@ ...@@ -47,8 +47,8 @@
<testCase id="111111"> <testCase id="111111">
<class>Pull_Local_Registry</class> <class>Pull_Local_Registry</class>
<desc>Pull Images from Local Registry</desc> <desc>Pull Images from Local Registry</desc>
<test_svr_id>0</test_svr_id> <svr_id>0</svr_id>
<images_to_pull>oai-gnb-asan oai-nr-cuup-asan oai-nr-ue-asan</images_to_pull> <images>oai-gnb-asan oai-nr-cuup-asan oai-nr-ue-asan</images>
</testCase> </testCase>
<testCase id="800813"> <testCase id="800813">
<class>Create_Workspace</class> <class>Create_Workspace</class>
......
...@@ -42,8 +42,8 @@ ...@@ -42,8 +42,8 @@
<testCase id="111111"> <testCase id="111111">
<class>Pull_Local_Registry</class> <class>Pull_Local_Registry</class>
<desc>Pull Images from Local Registry</desc> <desc>Pull Images from Local Registry</desc>
<test_svr_id>0</test_svr_id> <svr_id>0</svr_id>
<images_to_pull>oai-gnb-asan oai-nr-ue-asan</images_to_pull> <images>oai-gnb-asan oai-nr-ue-asan</images>
</testCase> </testCase>
<testCase id="800813"> <testCase id="800813">
<class>Create_Workspace</class> <class>Create_Workspace</class>
......
...@@ -57,8 +57,8 @@ ...@@ -57,8 +57,8 @@
<testCase id="111111"> <testCase id="111111">
<class>Pull_Local_Registry</class> <class>Pull_Local_Registry</class>
<desc>Pull Images from Local Registry</desc> <desc>Pull Images from Local Registry</desc>
<test_svr_id>0</test_svr_id> <svr_id>0</svr_id>
<images_to_pull>oai-gnb-asan oai-nr-ue</images_to_pull> <images>oai-gnb-asan oai-nr-ue</images>
</testCase> </testCase>
<testCase id="800813"> <testCase id="800813">
<class>Create_Workspace</class> <class>Create_Workspace</class>
......
...@@ -42,8 +42,8 @@ ...@@ -42,8 +42,8 @@
<testCase id="111111"> <testCase id="111111">
<class>Pull_Local_Registry</class> <class>Pull_Local_Registry</class>
<desc>Pull Images from Local Registry</desc> <desc>Pull Images from Local Registry</desc>
<test_svr_id>0</test_svr_id> <svr_id>0</svr_id>
<images_to_pull>oai-gnb-asan oai-nr-ue-asan</images_to_pull> <images>oai-gnb-asan oai-nr-ue-asan</images>
</testCase> </testCase>
<testCase id="800813"> <testCase id="800813">
<class>Create_Workspace</class> <class>Create_Workspace</class>
......
...@@ -42,8 +42,8 @@ ...@@ -42,8 +42,8 @@
<testCase id="111111"> <testCase id="111111">
<class>Pull_Local_Registry</class> <class>Pull_Local_Registry</class>
<desc>Pull Images from Local Registry</desc> <desc>Pull Images from Local Registry</desc>
<test_svr_id>0</test_svr_id> <svr_id>0</svr_id>
<images_to_pull>oai-gnb-asan oai-nr-ue-asan</images_to_pull> <images>oai-gnb-asan oai-nr-ue-asan</images>
</testCase> </testCase>
<testCase id="800813"> <testCase id="800813">
<class>Create_Workspace</class> <class>Create_Workspace</class>
......
...@@ -42,8 +42,8 @@ ...@@ -42,8 +42,8 @@
<testCase id="111111"> <testCase id="111111">
<class>Pull_Local_Registry</class> <class>Pull_Local_Registry</class>
<desc>Pull Images from Local Registry</desc> <desc>Pull Images from Local Registry</desc>
<test_svr_id>0</test_svr_id> <svr_id>0</svr_id>
<images_to_pull>oai-gnb-asan oai-nr-ue-asan</images_to_pull> <images>oai-gnb-asan oai-nr-ue-asan</images>
</testCase> </testCase>
<testCase id="004000"> <testCase id="004000">
......
...@@ -39,8 +39,8 @@ ...@@ -39,8 +39,8 @@
<testCase id="111111"> <testCase id="111111">
<class>Pull_Local_Registry</class> <class>Pull_Local_Registry</class>
<desc>Pull Images from Local Registry</desc> <desc>Pull Images from Local Registry</desc>
<test_svr_id>0</test_svr_id> <svr_id>0</svr_id>
<images_to_pull>oai-gnb-asan oai-nr-ue-asan</images_to_pull> <images>oai-gnb-asan oai-nr-ue-asan</images>
</testCase> </testCase>
<testCase id="800813"> <testCase id="800813">
......
...@@ -41,8 +41,8 @@ ...@@ -41,8 +41,8 @@
<testCase id="111111"> <testCase id="111111">
<class>Pull_Local_Registry</class> <class>Pull_Local_Registry</class>
<desc>Pull Images from Local Registry</desc> <desc>Pull Images from Local Registry</desc>
<test_svr_id>0</test_svr_id> <svr_id>0</svr_id>
<images_to_pull>oai-gnb-asan oai-nr-ue-asan</images_to_pull> <images>oai-gnb-asan oai-nr-ue-asan</images>
</testCase> </testCase>
<testCase id="800813"> <testCase id="800813">
......
...@@ -39,8 +39,8 @@ ...@@ -39,8 +39,8 @@
<testCase id="111111"> <testCase id="111111">
<class>Pull_Local_Registry</class> <class>Pull_Local_Registry</class>
<desc>Pull Images from Local Registry</desc> <desc>Pull Images from Local Registry</desc>
<test_svr_id>0</test_svr_id> <svr_id>0</svr_id>
<images_to_pull>oai-nr-ue-asan</images_to_pull> <images>oai-nr-ue-asan</images>
</testCase> </testCase>
<testCase id="800813"> <testCase id="800813">
......
...@@ -41,8 +41,8 @@ ...@@ -41,8 +41,8 @@
<testCase id="111111"> <testCase id="111111">
<class>Pull_Local_Registry</class> <class>Pull_Local_Registry</class>
<desc>Pull Images from Local Registry</desc> <desc>Pull Images from Local Registry</desc>
<test_svr_id>0</test_svr_id> <svr_id>0</svr_id>
<images_to_pull>oai-gnb-asan oai-nr-ue-asan</images_to_pull> <images>oai-gnb-asan oai-nr-ue-asan</images>
</testCase> </testCase>
<testCase id="004000"> <testCase id="004000">
......
...@@ -42,8 +42,8 @@ ...@@ -42,8 +42,8 @@
<testCase id="111111"> <testCase id="111111">
<class>Pull_Local_Registry</class> <class>Pull_Local_Registry</class>
<desc>Pull Images from Local Registry</desc> <desc>Pull Images from Local Registry</desc>
<test_svr_id>0</test_svr_id> <svr_id>0</svr_id>
<images_to_pull>oai-gnb-asan oai-nr-ue-asan</images_to_pull> <images>oai-gnb-asan oai-nr-ue-asan</images>
</testCase> </testCase>
<testCase id="800813"> <testCase id="800813">
<class>Create_Workspace</class> <class>Create_Workspace</class>
......
...@@ -43,8 +43,8 @@ Replaces xml_files/enb_usrp210_band7_test_05mhz_tm1.xml ...@@ -43,8 +43,8 @@ Replaces xml_files/enb_usrp210_band7_test_05mhz_tm1.xml
<testCase id="111110"> <testCase id="111110">
<class>Pull_Local_Registry</class> <class>Pull_Local_Registry</class>
<desc>Pull Images from Local Registry</desc> <desc>Pull Images from Local Registry</desc>
<test_svr_id>0</test_svr_id> <svr_id>0</svr_id>
<images_to_pull>oai-enb</images_to_pull> <images>oai-enb</images>
</testCase> </testCase>
<testCase id="100000"> <testCase id="100000">
......
...@@ -42,8 +42,8 @@ ...@@ -42,8 +42,8 @@
<testCase id="111110"> <testCase id="111110">
<class>Pull_Local_Registry</class> <class>Pull_Local_Registry</class>
<desc>Pull Images from Local Registry</desc> <desc>Pull Images from Local Registry</desc>
<test_svr_id>0</test_svr_id> <svr_id>0</svr_id>
<images_to_pull>oai-enb</images_to_pull> <images>oai-enb</images>
</testCase> </testCase>
<testCase id="100000"> <testCase id="100000">
......
...@@ -42,8 +42,8 @@ Replaces xml_files/enb_usrp210_band7_test_05mhz_tm1_rrc_inactivity_no_flexran.xm ...@@ -42,8 +42,8 @@ Replaces xml_files/enb_usrp210_band7_test_05mhz_tm1_rrc_inactivity_no_flexran.xm
<testCase id="111110"> <testCase id="111110">
<class>Pull_Local_Registry</class> <class>Pull_Local_Registry</class>
<desc>Pull Images from Local Registry</desc> <desc>Pull Images from Local Registry</desc>
<test_svr_id>0</test_svr_id> <svr_id>0</svr_id>
<images_to_pull>oai-enb</images_to_pull> <images>oai-enb</images>
</testCase> </testCase>
<testCase id="100000"> <testCase id="100000">
<class>Custom_Command</class> <class>Custom_Command</class>
......
...@@ -44,8 +44,8 @@ Replaces xml_files/enb_usrp210_band7_test_10mhz_tm1.xml ...@@ -44,8 +44,8 @@ Replaces xml_files/enb_usrp210_band7_test_10mhz_tm1.xml
<testCase id="111110"> <testCase id="111110">
<class>Pull_Local_Registry</class> <class>Pull_Local_Registry</class>
<desc>Pull Images from Local Registry</desc> <desc>Pull Images from Local Registry</desc>
<test_svr_id>0</test_svr_id> <svr_id>0</svr_id>
<images_to_pull>oai-enb</images_to_pull> <images>oai-enb</images>
</testCase> </testCase>
<testCase id="100000"> <testCase id="100000">
<class>Custom_Command</class> <class>Custom_Command</class>
......
...@@ -43,8 +43,8 @@ Replaces xml_files/enb_usrp210_band7_test_10mhz_tm1.xml ...@@ -43,8 +43,8 @@ Replaces xml_files/enb_usrp210_band7_test_10mhz_tm1.xml
<testCase id="111110"> <testCase id="111110">
<class>Pull_Local_Registry</class> <class>Pull_Local_Registry</class>
<desc>Pull Images from Local Registry</desc> <desc>Pull Images from Local Registry</desc>
<test_svr_id>0</test_svr_id> <svr_id>0</svr_id>
<images_to_pull>oai-enb</images_to_pull> <images>oai-enb</images>
</testCase> </testCase>
<testCase id="100000"> <testCase id="100000">
<class>Custom_Command</class> <class>Custom_Command</class>
......
...@@ -49,14 +49,14 @@ ...@@ -49,14 +49,14 @@
<testCase id="111110"> <testCase id="111110">
<class>Pull_Local_Registry</class> <class>Pull_Local_Registry</class>
<desc>Pull Images from Local Registry</desc> <desc>Pull Images from Local Registry</desc>
<test_svr_id>0</test_svr_id> <svr_id>0</svr_id>
<images_to_pull>oai-enb</images_to_pull> <images>oai-enb</images>
</testCase> </testCase>
<testCase id="111111"> <testCase id="111111">
<class>Pull_Local_Registry</class> <class>Pull_Local_Registry</class>
<desc>Pull Images from Local Registry</desc> <desc>Pull Images from Local Registry</desc>
<test_svr_id>1</test_svr_id> <svr_id>1</svr_id>
<images_to_pull>oai-lte-ue</images_to_pull> <images>oai-lte-ue</images>
</testCase> </testCase>
<testCase id="100000"> <testCase id="100000">
<class>Custom_Command</class> <class>Custom_Command</class>
......
...@@ -43,8 +43,8 @@ Replaces xml_files/enb_usrp210_band7_test_10mhz_tm1.xml ...@@ -43,8 +43,8 @@ Replaces xml_files/enb_usrp210_band7_test_10mhz_tm1.xml
<testCase id="111110"> <testCase id="111110">
<class>Pull_Local_Registry</class> <class>Pull_Local_Registry</class>
<desc>Pull Images from Local Registry</desc> <desc>Pull Images from Local Registry</desc>
<test_svr_id>0</test_svr_id> <svr_id>0</svr_id>
<images_to_pull>oai-enb</images_to_pull> <images>oai-enb</images>
</testCase> </testCase>
<testCase id="100000"> <testCase id="100000">
<class>Custom_Command</class> <class>Custom_Command</class>
......
...@@ -43,8 +43,8 @@ Replaces xml_files/enb_usrp210_band40_test_05mhz_tm1.xml ...@@ -43,8 +43,8 @@ Replaces xml_files/enb_usrp210_band40_test_05mhz_tm1.xml
<testCase id="111110"> <testCase id="111110">
<class>Pull_Local_Registry</class> <class>Pull_Local_Registry</class>
<desc>Pull Images from Local Registry</desc> <desc>Pull Images from Local Registry</desc>
<test_svr_id>0</test_svr_id> <svr_id>0</svr_id>
<images_to_pull>oai-enb</images_to_pull> <images>oai-enb</images>
</testCase> </testCase>
<testCase id="100000"> <testCase id="100000">
......
...@@ -41,8 +41,8 @@ ...@@ -41,8 +41,8 @@
<testCase id="111110"> <testCase id="111110">
<class>Pull_Local_Registry</class> <class>Pull_Local_Registry</class>
<desc>Pull Images from Local Registry</desc> <desc>Pull Images from Local Registry</desc>
<test_svr_id>0</test_svr_id> <svr_id>0</svr_id>
<images_to_pull>oai-enb</images_to_pull> <images>oai-enb</images>
</testCase> </testCase>
<testCase id="100000"> <testCase id="100000">
......
...@@ -41,8 +41,8 @@ Replaces xml_files/enb_usrp210_band40_test_05mhz_tm2.xml ...@@ -41,8 +41,8 @@ Replaces xml_files/enb_usrp210_band40_test_05mhz_tm2.xml
<testCase id="111110"> <testCase id="111110">
<class>Pull_Local_Registry</class> <class>Pull_Local_Registry</class>
<desc>Pull Images from Local Registry</desc> <desc>Pull Images from Local Registry</desc>
<test_svr_id>0</test_svr_id> <svr_id>0</svr_id>
<images_to_pull>oai-enb</images_to_pull> <images>oai-enb</images>
</testCase> </testCase>
<testCase id="100000"> <testCase id="100000">
<class>Custom_Command</class> <class>Custom_Command</class>
......
...@@ -42,8 +42,8 @@ Replaces xml_files/enb_usrp210_band40_test_10mhz_tm1.xml ...@@ -42,8 +42,8 @@ Replaces xml_files/enb_usrp210_band40_test_10mhz_tm1.xml
<testCase id="111110"> <testCase id="111110">
<class>Pull_Local_Registry</class> <class>Pull_Local_Registry</class>
<desc>Pull Images from Local Registry</desc> <desc>Pull Images from Local Registry</desc>
<test_svr_id>0</test_svr_id> <svr_id>0</svr_id>
<images_to_pull>oai-enb</images_to_pull> <images>oai-enb</images>
</testCase> </testCase>
<testCase id="100000"> <testCase id="100000">
<class>Custom_Command</class> <class>Custom_Command</class>
......
...@@ -42,8 +42,8 @@ Replaces xml_files/enb_usrp210_band40_test_20mhz_tm1.xml ...@@ -42,8 +42,8 @@ Replaces xml_files/enb_usrp210_band40_test_20mhz_tm1.xml
<testCase id="111110"> <testCase id="111110">
<class>Pull_Local_Registry</class> <class>Pull_Local_Registry</class>
<desc>Pull Images from Local Registry</desc> <desc>Pull Images from Local Registry</desc>
<test_svr_id>0</test_svr_id> <svr_id>0</svr_id>
<images_to_pull>oai-enb</images_to_pull> <images>oai-enb</images>
</testCase> </testCase>
<testCase id="100000"> <testCase id="100000">
<class>Custom_Command</class> <class>Custom_Command</class>
......
...@@ -42,8 +42,8 @@ Replaces xml_files/enb_usrp210_band40_test_20mhz_tm1_default_scheduler.xml ...@@ -42,8 +42,8 @@ Replaces xml_files/enb_usrp210_band40_test_20mhz_tm1_default_scheduler.xml
<testCase id="111110"> <testCase id="111110">
<class>Pull_Local_Registry</class> <class>Pull_Local_Registry</class>
<desc>Pull Images from Local Registry</desc> <desc>Pull Images from Local Registry</desc>
<test_svr_id>0</test_svr_id> <svr_id>0</svr_id>
<images_to_pull>oai-enb</images_to_pull> <images>oai-enb</images>
</testCase> </testCase>
<testCase id="100000"> <testCase id="100000">
......
...@@ -48,8 +48,8 @@ ...@@ -48,8 +48,8 @@
<testCase id="111111"> <testCase id="111111">
<class>Pull_Local_Registry</class> <class>Pull_Local_Registry</class>
<desc>Pull Images from Local Registry</desc> <desc>Pull Images from Local Registry</desc>
<test_svr_id>0</test_svr_id> <svr_id>0</svr_id>
<images_to_pull>oai-enb</images_to_pull> <images>oai-enb</images>
</testCase> </testCase>
<testCase id="100000"> <testCase id="100000">
......
...@@ -48,8 +48,8 @@ ...@@ -48,8 +48,8 @@
<testCase id="111111"> <testCase id="111111">
<class>Pull_Local_Registry</class> <class>Pull_Local_Registry</class>
<desc>Pull Images from Local Registry</desc> <desc>Pull Images from Local Registry</desc>
<test_svr_id>0</test_svr_id> <svr_id>0</svr_id>
<images_to_pull>oai-enb</images_to_pull> <images>oai-enb</images>
</testCase> </testCase>
<testCase id="100000"> <testCase id="100000">
......
...@@ -57,15 +57,15 @@ ...@@ -57,15 +57,15 @@
<testCase id="111110"> <testCase id="111110">
<class>Pull_Local_Registry</class> <class>Pull_Local_Registry</class>
<desc>Pull Images from Local Registry</desc> <desc>Pull Images from Local Registry</desc>
<test_svr_id>0</test_svr_id> <svr_id>0</svr_id>
<images_to_pull>oai-enb</images_to_pull> <images>oai-enb</images>
</testCase> </testCase>
<testCase id="111111"> <testCase id="111111">
<class>Pull_Local_Registry</class> <class>Pull_Local_Registry</class>
<desc>Pull Images from Local Registry</desc> <desc>Pull Images from Local Registry</desc>
<test_svr_id>1</test_svr_id> <svr_id>1</svr_id>
<images_to_pull>oai-gnb</images_to_pull> <images>oai-gnb</images>
</testCase> </testCase>
<testCase id = "100000"> <testCase id = "100000">
......
...@@ -43,8 +43,8 @@ ...@@ -43,8 +43,8 @@
<testCase id="111111"> <testCase id="111111">
<class>Pull_Local_Registry</class> <class>Pull_Local_Registry</class>
<desc>Pull Images from Local Registry</desc> <desc>Pull Images from Local Registry</desc>
<test_svr_id>0</test_svr_id> <svr_id>0</svr_id>
<images_to_pull>oai-gnb-aerial</images_to_pull> <images>oai-gnb-aerial</images>
</testCase> </testCase>
<testCase id="800813"> <testCase id="800813">
......
...@@ -59,8 +59,8 @@ ...@@ -59,8 +59,8 @@
<testCase id="111111"> <testCase id="111111">
<class>Pull_Local_Registry</class> <class>Pull_Local_Registry</class>
<desc>Pull Images from Local Registry</desc> <desc>Pull Images from Local Registry</desc>
<test_svr_id>0</test_svr_id> <svr_id>0</svr_id>
<images_to_pull>oai-gnb</images_to_pull> <images>oai-gnb</images>
</testCase> </testCase>
<testCase id="100000"> <testCase id="100000">
......
...@@ -56,8 +56,8 @@ ...@@ -56,8 +56,8 @@
<testCase id="333333"> <testCase id="333333">
<class>Pull_Local_Registry</class> <class>Pull_Local_Registry</class>
<desc>Pull Images from Local Registry</desc> <desc>Pull Images from Local Registry</desc>
<test_svr_id>0</test_svr_id> <svr_id>0</svr_id>
<images_to_pull>oai-gnb oai-nr-cuup</images_to_pull> <images>oai-gnb oai-nr-cuup</images>
</testCase> </testCase>
<testCase id="310000"> <testCase id="310000">
......
...@@ -64,8 +64,8 @@ ...@@ -64,8 +64,8 @@
<testCase id="111111"> <testCase id="111111">
<class>Pull_Local_Registry</class> <class>Pull_Local_Registry</class>
<desc>Pull Images from Local Registry</desc> <desc>Pull Images from Local Registry</desc>
<test_svr_id>0</test_svr_id> <svr_id>0</svr_id>
<images_to_pull>oai-gnb</images_to_pull> <images>oai-gnb</images>
</testCase> </testCase>
<testCase id="110000"> <testCase id="110000">
......
...@@ -53,8 +53,8 @@ ...@@ -53,8 +53,8 @@
<testCase id="311111"> <testCase id="311111">
<class>Pull_Local_Registry</class> <class>Pull_Local_Registry</class>
<desc>Pull Images from Local Registry</desc> <desc>Pull Images from Local Registry</desc>
<test_svr_id>0</test_svr_id> <svr_id>0</svr_id>
<images_to_pull>oai-gnb</images_to_pull> <images>oai-gnb</images>
</testCase> </testCase>
<testCase id="300000"> <testCase id="300000">
......
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