diff --git a/py/kubeflow/testing/run_e2e_workflow.py b/py/kubeflow/testing/run_e2e_workflow.py index 7bc31100724..0642ef8337a 100644 --- a/py/kubeflow/testing/run_e2e_workflow.py +++ b/py/kubeflow/testing/run_e2e_workflow.py @@ -156,6 +156,8 @@ def run(args, file_handler): # pylint: disable=too-many-statements,too-many-bran for d in w.include_dirs: if fnmatch.fnmatch(f, d): dir_modified = True + logging.info("Triggering workflow %s because %s in dir %s is modified.", + w.name, f, d) break if dir_modified: break diff --git a/py/kubeflow/testing/util.py b/py/kubeflow/testing/util.py index b69722444d5..93956eb5494 100755 --- a/py/kubeflow/testing/util.py +++ b/py/kubeflow/testing/util.py @@ -294,6 +294,7 @@ def wait_for_deployment(api_client, logging.error("Timeout waiting for deployment %s in namespace %s to be " "ready", name, namespace) + run(["kubectl", "describe", "deployment", "-n", namespace, name]) raise TimeoutError( "Timeout waiting for deployment {0} in namespace {1}".format( name, namespace))