Repository navigation
Fix omit log files for tests of failed groups - #73145
Conversation
|
|
||
| for test_name, test_time in group_test_times.items(): | ||
| tests_times[test_name] = test_time | ||
| tests_log_paths[test_name] = log_paths |
There was a problem hiding this comment.
what was the problem with this line here?
There was a problem hiding this comment.
To debug it, I used the following patch locally:
diff --git a/tests/ci/integration_tests_runner.py b/tests/ci/integration_tests_runner.py
index 2db021ed63a..85164c9134d 100755
--- a/tests/ci/integration_tests_runner.py
+++ b/tests/ci/integration_tests_runner.py
@@ -310,6 +310,7 @@ class ClickhouseIntegrationTestsRunner:
return self.shuffle_groups != 0
def _pre_pull_images(self):
+ return
image_cmd = self._get_runner_image_cmd()
cmd = (
@@ -647,7 +648,7 @@ class ClickhouseIntegrationTestsRunner:
# -s -- (s)kipped
cmd = (
f"cd {self.repo_path}/tests/integration && "
- f"timeout --signal=KILL 1h ./runner {self._get_runner_opts()} "
+ f"timeout --signal=KILL 1h ./runner {self._get_runner_opts()} --memory=800m "
f"{image_cmd} -t {test_cmd} {parallel_cmd} {repeat_cmd} -- -rfEps --run-id={i} "
f"--color=no --durations=0 {_get_deselect_option(self.should_skip_tests())} "
f"| tee {info_path}"And launched the job like
RUN_BY_HASH_NUM=1 RUN_BY_HASH_TOTAL=50 python3 -m pdb integration_test_check.py 'Integration tests (release)'
And got the following output file https://pastila.nl/?00012fae/78201e1e9056983bddbff7e2ccabd7a7#AgNWkA8T7YS9bcICfq3MHw==
Parsing this file with functions parse_test_times(fname) and get_test_times(output) gives nothing for group_test_times, so tests_log_paths remained empty.
It looks like the complete runner script crash was pretty rare before we added memory limits.
|
This is an automated comment for commit 68b5034 with description of existing statuses. It's updated for the latest CI running ❌ Click here to open a full report in a separate page
Successful checks
|
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Fix an issue when the log files aren't added to the failed groups.
Example of a failed report
Documentation entry for user-facing changes
CI Settings (Only check the boxes if you know what you are doing):