This is an automated email from the ASF dual-hosted git repository. zhongjiajie pushed a commit to branch ci in repository https://gitbox.apache.org/repos/asf/dolphinscheduler-sdk-python.git
commit fe16a606cfdf3f8169da0b37b1b9ef3faa100b96 Author: Jay Chung <[email protected]> AuthorDate: Sun Apr 27 14:12:31 2025 +0800 add more log detail [run-it] --- tests/testing/docker_wrapper.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/testing/docker_wrapper.py b/tests/testing/docker_wrapper.py index 108a6e8..ce8ba0c 100644 --- a/tests/testing/docker_wrapper.py +++ b/tests/testing/docker_wrapper.py @@ -84,7 +84,13 @@ class DockerWrapper: # Stop container and raise error when reach timeout threshold but do not appear specific log output else: container_log = container.logs() + logger.error( + "Cannot find specific log `%s` in %d seconds, the whole log as below", + log, + timeout_threshold, + ) logger.error(container_log.decode("utf-8")) + container.remove(force=True) raise RuntimeError( "Can not capture specific log `%s` in %d seconds, remove container.",
