WIP fr1 set up
This commit is contained in:
@@ -78,8 +78,8 @@ class CotsUe:
|
|||||||
current_state = self.Check_Airplane()
|
current_state = self.Check_Airplane()
|
||||||
retry+=1
|
retry+=1
|
||||||
if current_state != target_state:
|
if current_state != target_state:
|
||||||
print("ATTENTION : Could not toggle to : "+target_state_str)
|
logging.error("ATTENTION : Could not toggle to : "+target_state_str)
|
||||||
print("Current state is : "+ str(current_state))
|
logging.error("Current state is : "+ str(current_state))
|
||||||
else:
|
else:
|
||||||
print("Airplane mode is already "+ target_state_str)
|
print("Airplane mode is already "+ target_state_str)
|
||||||
mySSH.command('sudo ./adb kill-server','$',5)
|
mySSH.command('sudo ./adb kill-server','$',5)
|
||||||
|
|||||||
+2
-1
@@ -431,7 +431,8 @@ class RANManagement():
|
|||||||
os.remove('./tmp_build' + testcaseId + '.zip')
|
os.remove('./tmp_build' + testcaseId + '.zip')
|
||||||
mySSH.open(self.eNBIPAddress, self.eNBUserName, self.eNBPassword)
|
mySSH.open(self.eNBIPAddress, self.eNBUserName, self.eNBPassword)
|
||||||
mySSH.command('cd ' + self.eNBSourceCodePath + '/cmake_targets', '\$', 5)
|
mySSH.command('cd ' + self.eNBSourceCodePath + '/cmake_targets', '\$', 5)
|
||||||
mySSH.command('unzip -qq -DD tmp_build' + testcaseId + '.zip', '\$', 5)
|
#-qq quiet / -u update orcreate files
|
||||||
|
mySSH.command('unzip -u -qq -DD tmp_build' + testcaseId + '.zip', '\$', 5)
|
||||||
mySSH.command('rm -f tmp_build' + testcaseId + '.zip', '\$', 5)
|
mySSH.command('rm -f tmp_build' + testcaseId + '.zip', '\$', 5)
|
||||||
mySSH.close()
|
mySSH.close()
|
||||||
else:
|
else:
|
||||||
|
|||||||
@@ -25,41 +25,37 @@
|
|||||||
<htmlTabName>Build</htmlTabName>
|
<htmlTabName>Build</htmlTabName>
|
||||||
<htmlTabIcon>wrench</htmlTabIcon>
|
<htmlTabIcon>wrench</htmlTabIcon>
|
||||||
<TestCaseRequestedList>
|
<TestCaseRequestedList>
|
||||||
010101 010102
|
000001 000002
|
||||||
000101 000102
|
000003 000004
|
||||||
</TestCaseRequestedList>
|
</TestCaseRequestedList>
|
||||||
<TestCaseExclusionList></TestCaseExclusionList>
|
<TestCaseExclusionList></TestCaseExclusionList>
|
||||||
|
|
||||||
<testCase id="010101">
|
<testCase id="000001">
|
||||||
<class>Build_eNB</class>
|
<class>Build_eNB</class>
|
||||||
<desc>Build eNB</desc>
|
<desc>Build eNB</desc>
|
||||||
<Build_eNB_args>-w USRP -c --eNB --ninja</Build_eNB_args>
|
<Build_eNB_args>-w USRP -c --eNB</Build_eNB_args>
|
||||||
<eNB_instance>0</eNB_instance>
|
<eNB_instance>0</eNB_instance>
|
||||||
<eNB_serverId>0</eNB_serverId>
|
<eNB_serverId>0</eNB_serverId>
|
||||||
<backgroundBuild>True</backgroundBuild>
|
|
||||||
</testCase>
|
</testCase>
|
||||||
|
|
||||||
<testCase id="000101">
|
<testCase id="000002">
|
||||||
<class>WaitEndBuild_eNB</class>
|
<class>WaitEndBuild_eNB</class>
|
||||||
<desc>Wait for end of Build eNB</desc>
|
<desc>Wait for end of Build eNB</desc>
|
||||||
<Build_eNB_args>-w USRP -c --eNB --ninja</Build_eNB_args>
|
|
||||||
<eNB_instance>0</eNB_instance>
|
<eNB_instance>0</eNB_instance>
|
||||||
<eNB_serverId>0</eNB_serverId>
|
<eNB_serverId>0</eNB_serverId>
|
||||||
</testCase>
|
</testCase>
|
||||||
|
|
||||||
<testCase id="010102">
|
<testCase id="000003">
|
||||||
<class>Build_eNB</class>
|
<class>Build_eNB</class>
|
||||||
<desc>Build gNB</desc>
|
<desc>Build gNB</desc>
|
||||||
<Build_eNB_args>-w USRP -c --gNB --ninja</Build_eNB_args>
|
<Build_eNB_args>-w USRP -c --gNB</Build_eNB_args>
|
||||||
<eNB_instance>1</eNB_instance>
|
<eNB_instance>1</eNB_instance>
|
||||||
<eNB_serverId>1</eNB_serverId>
|
<eNB_serverId>1</eNB_serverId>
|
||||||
<backgroundBuild>True</backgroundBuild>
|
|
||||||
</testCase>
|
</testCase>
|
||||||
|
|
||||||
<testCase id="000102">
|
<testCase id="000004">
|
||||||
<class>WaitEndBuild_eNB</class>
|
<class>WaitEndBuild_eNB</class>
|
||||||
<desc>Wait for end of Build gNB</desc>
|
<desc>Wait for end of Build gNB</desc>
|
||||||
<Build_eNB_args>-w USRP -c --gNB --ninja</Build_eNB_args>
|
|
||||||
<eNB_instance>1</eNB_instance>
|
<eNB_instance>1</eNB_instance>
|
||||||
<eNB_serverId>1</eNB_serverId>
|
<eNB_serverId>1</eNB_serverId>
|
||||||
</testCase>
|
</testCase>
|
||||||
|
|||||||
@@ -25,11 +25,11 @@
|
|||||||
<htmlTabName>Airplane</htmlTabName>
|
<htmlTabName>Airplane</htmlTabName>
|
||||||
<htmlTabIcon>tasks</htmlTabIcon>
|
<htmlTabIcon>tasks</htmlTabIcon>
|
||||||
<TestCaseRequestedList>
|
<TestCaseRequestedList>
|
||||||
010101
|
010000
|
||||||
</TestCaseRequestedList>
|
</TestCaseRequestedList>
|
||||||
<TestCaseExclusionList></TestCaseExclusionList>
|
<TestCaseExclusionList></TestCaseExclusionList>
|
||||||
|
|
||||||
<testCase id="010101">
|
<testCase id="010000">
|
||||||
<class>COTS_UE_Airplane</class>
|
<class>COTS_UE_Airplane</class>
|
||||||
<desc>Toggle COTS Airplane mode ON</desc>
|
<desc>Toggle COTS Airplane mode ON</desc>
|
||||||
<cots_ue_airplane_args>ON</cots_ue_airplane_args>
|
<cots_ue_airplane_args>ON</cots_ue_airplane_args>
|
||||||
|
|||||||
Reference in New Issue
Block a user