Revert "Run logs collection after job finished in RDO CI"
This reverts commit 765389d178
.
Collect logs for all multinode jobs after job is finished, and
for ovb jobs during the job run. OVB nodes are wiped off after
job finishes.
Change-Id: I39ce8ef935c887ad650fcf5155639ed50efeae96
This commit is contained in:
parent
b27ca60c33
commit
4d9a412a6f
|
@ -160,6 +160,15 @@ sudo gzip -d -r /opt/stack/new/tempest/.testrepository || true
|
|||
|
||||
du -L -ch $LOGS_DIR/* | tail -n +1 | sort -rh | head -n 200 &> $LOGS_DIR/log-size.txt || true
|
||||
EOF
|
||||
|
||||
if [[ "${NODEPOOL_PROVIDER:-''}" == "rdo-cloud-tripleo" ]] || [[ "${NODEPOOL_PROVIDER:-''}" == "tripleo-test-cloud-rh1" ]]; then
|
||||
if [[ "$TOCI_JOBTYPE" =~ "ovb" ]]; then
|
||||
bash $LOGS_DIR/collect_logs.sh
|
||||
# rename script to not to run it in multinode jobs
|
||||
mv $LOGS_DIR/collect_logs.sh $LOGS_DIR/ovb_collect_logs.sh
|
||||
fi
|
||||
fi
|
||||
|
||||
popd
|
||||
|
||||
sudo unbound-control dump_cache > /tmp/dns_cache.txt
|
||||
|
|
Loading…
Reference in New Issue