When testcases fail, the jjobs is aborted and the result isn't
printed.
Change-Id: Ibda6268873303e631705c695a41c50980a3d29e5
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
_get_deployment_environment_creation_execution(
cfy_client, descriptor.get('name')),
self.__logger,
_get_deployment_environment_creation_execution(
cfy_client, descriptor.get('name')),
self.__logger,
self.__logger.info("Start the VNF Instance deployment")
execution = cfy_client.executions.start(descriptor.get('name'),
self.__logger.info("Start the VNF Instance deployment")
execution = cfy_client.executions.start(descriptor.get('name'),
-def wait_for_execution(client, execution, logger, timeout=2400, ):
+def wait_for_execution(client, execution, logger, timeout=1500, ):
"""Wait for a workflow execution on Cloudify Manager."""
# if execution already ended - return without waiting
if execution.status in Execution.END_STATES:
"""Wait for a workflow execution on Cloudify Manager."""
# if execution already ended - return without waiting
if execution.status in Execution.END_STATES:
self.logger.info("Waiting for Open Baton NFVO to be up and running...")
timeout = 0
self.logger.info("Waiting for Open Baton NFVO to be up and running...")
timeout = 0
if servertest(
self.mano['details']['fip'].ip,
"8080"):
if servertest(
self.mano['details']['fip'].ip,
"8080"):
time.sleep(60)
timeout += 1
time.sleep(60)
timeout += 1
duration = time.time() - start_time
self.details["orchestrator"].update(
status='FAIL', duration=duration)
duration = time.time() - start_time
self.details["orchestrator"].update(
status='FAIL', duration=duration)
self.logger.info("Waiting for Open Baton NFVO to be up and running...")
timeout = 0
self.logger.info("Waiting for Open Baton NFVO to be up and running...")
timeout = 0
if servertest(
self.mano['details']['fip'].ip,
"8080"):
if servertest(
self.mano['details']['fip'].ip,
"8080"):
time.sleep(60)
timeout += 1
time.sleep(60)
timeout += 1
duration = time.time() - start_time
self.details["orchestrator"].update(
status='FAIL', duration=duration)
duration = time.time() - start_time
self.details["orchestrator"].update(
status='FAIL', duration=duration)