Add beakerlib to Dockerfile.test

Also kill the lorax-composer process and remove /run/weldr/api.socket
so that when this is run with podman you don't get an error about
attempting to tar up the socket.
This commit is contained in:
Brian C. Lane 2018-10-02 16:23:42 -07:00
parent 8ed443ff58
commit acedb3a0ed
2 changed files with 5 additions and 0 deletions

View File

@ -18,6 +18,7 @@ RUN dnf -y install \
python3-semantic_version \ python3-semantic_version \
python3-sphinx \ python3-sphinx \
python3-rpmfluff \ python3-rpmfluff \
beakerlib \
sudo \ sudo \
tito \ tito \
which which

View File

@ -19,6 +19,10 @@ done;
./tests/cli/test_blueprints_sanity.sh ./tests/cli/test_blueprints_sanity.sh
./tests/cli/test_compose_sanity.sh ./tests/cli/test_compose_sanity.sh
# Stop lorax-composer and remove /run/weldr/api.socket
pkill -9 lorax-composer
rm -f /run/weldr/api.socket
# look for failures # look for failures
grep RESULT_STRING /var/tmp/beakerlib-*/TestResults | grep -v PASS && exit 1 grep RESULT_STRING /var/tmp/beakerlib-*/TestResults | grep -v PASS && exit 1