diff --git a/.travis.yml b/.travis.yml index 72e45996..1f947e4f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,7 +2,7 @@ dist: xenial langauge: python -python: "3.6" +python: "3.6.8" before_install: - sudo apt-get update diff --git a/run_kraken.py b/run_kraken.py index 0bc1c6fc..aed6a2b0 100644 --- a/run_kraken.py +++ b/run_kraken.py @@ -160,11 +160,14 @@ def pod_scenarios(scenarios_list, config, failed_post_scenarios): pre_action_output = run_post_action(kubeconfig_path, pod_scenario[1]) else: pre_action_output = '' - runcommand.invoke("powerfulseal autonomous --use-pod-delete-instead-of-ssh-kill" + scenario_logs = runcommand.invoke("powerfulseal autonomous --use-pod-delete-instead-of-ssh-kill" " --policy-file %s --kubeconfig %s --no-cloud" " --inventory-kubernetes --headless" % (pod_scenario[0], kubeconfig_path)) + # Display pod scenario logs/actions + print(scenario_logs) + logging.info("Scenario: %s has been successfully injected!" % (pod_scenario[0])) logging.info("Waiting for the specified duration: %s" % (wait_duration)) time.sleep(wait_duration)