From c605fd193f35aee1ddbe7ae08dc054d98d84d4f7 Mon Sep 17 00:00:00 2001 From: trown Date: Wed, 27 Jun 2018 15:01:52 -0400 Subject: [PATCH] Add back $WORKSPACE/logs directory creation This is required to exist by the following line where we write the fake subunit file. This works in CI because the directory is created already, but fails in a reproducer environment. It seems fine to just ensure this exists here. Closes-Bug: #1778974 Change-Id: I8f03c14f1636a33162c8ea904714f6154ec3623a --- toci_gate_test.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/toci_gate_test.sh b/toci_gate_test.sh index 576982ee7..73370f908 100755 --- a/toci_gate_test.sh +++ b/toci_gate_test.sh @@ -36,6 +36,9 @@ fi export NODEPOOL_PROVIDER=${NODEPOOL_PROVIDER:-""} +# create logs dir (check if collect-logs doesn't already do this) +mkdir -p $WORKSPACE/logs + # Set job as failed until it's overwritten by pingtest/tempest real test subunit cat $TRIPLEO_ROOT/tripleo-ci/scripts/fake_fail_subunit | gzip - > $WORKSPACE/logs/testrepository.subunit.gz