Skip to content

Commit 8a0a949

Browse files
committed
compress core files before saving them
1 parent 059f607 commit 8a0a949

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • configuration/steps/commands

configuration/steps/commands/mtr.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ def _save_logs(self) -> str:
7373
echo "Saving MTR logs to persistent volume because some tests failed"
7474
cd {self.log_path}
7575
mkdir -p {self.save_logs_path}
76+
time find . -iregex ".*/core\(\.[0-9]+\)" -ls -exec gzip {} \;
7677
find . -type f \( {patterns} \) -print0 | rsync -a --files-from=- --from0 ./ {self.save_logs_path}/
7778
exit 1
7879
"""

0 commit comments

Comments
 (0)