Remove prematureExit/exitStatus, and implement in task main loop

Use the previous commit on returning success from each task execution
function, and implement handling of errors in the main loop. Add a
script with which this is visible using Custom_Commands.
This commit is contained in:
Robert Schmidt
2024-09-28 12:45:07 +02:00
parent 7b89548867
commit 041b2b2d7a
8 changed files with 91 additions and 94 deletions
-2
View File
@@ -900,7 +900,6 @@ class OaiCiTest():
CONTAINERS.UndeployObject(HTML,RAN)
else:
CONTAINERS.UndeployGenObject(HTML,RAN, self)
RAN.prematureExit=True
#this function is called only if eNB/gNB fails to start
#RH to be re-factored
@@ -930,7 +929,6 @@ class OaiCiTest():
CONTAINERS.UndeployObject(HTML,RAN)
else:
CONTAINERS.UndeployGenObject(HTML,RAN,self)
RAN.prematureExit=True
def LogCollectBuild(self,RAN):
# Some pipelines are using "none" IP / Credentials