Skip to content

Commit e5d9fdf

Browse files
committed
[Tempest] Remove cirros image from logs
Up until now we were collecting cirros image that is downloaded during the discover-tempest-config phase into the logs folder. The cirros image is not needed artifact and in some edge cases it might happen that the cirros file is too big for it to be stored in the external PV. This patch removes the cirros image before the logs are collected.
1 parent 250504b commit e5d9fdf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

container-images/tcib/base/os/tempest/run_tempest.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,9 @@ function generate_test_results {
352352
echo "Generate html result"
353353
subunit2html ${TEMPEST_LOGS_DIR}testrepository.subunit ${TEMPEST_LOGS_DIR}stestr_results.html || true
354354

355+
# NOTE: Remove cirros image before copying of the logs.
356+
rm ${TEMPEST_DIR}/etc/*.img
357+
355358
echo Copying logs file
356359
cp -rf ${TEMPEST_DIR}/* ${TEMPEST_LOGS_DIR}
357360

0 commit comments

Comments
 (0)