summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEd Santiago <santiago@redhat.com>2019-07-09 12:03:35 -0600
committerEd Santiago <santiago@redhat.com>2019-07-09 13:33:30 -0600
commitb205e044d610cde27f0fb80ab3bdaab344d812b6 (patch)
treeec46aca84630a5c85ac18be4d5cb15b8f4f81eb4 /Makefile
parent76aa8f6d2dc11e170eea33b56c269020b12db7e5 (diff)
downloadpodman-b205e044d610cde27f0fb80ab3bdaab344d812b6.tar.gz
podman-b205e044d610cde27f0fb80ab3bdaab344d812b6.tar.bz2
podman-b205e044d610cde27f0fb80ab3bdaab344d812b6.zip
make localsystem: wipe all user config state
CI is experiencing failures in the system_test step, caused by podman commands issuing the following warning: time="2019-07-09T13:30:19-04:00" level=error msg="User-selected graph driver \"overlay\" overwritten by graph driver \"vfs\" from database - delete libpod local files to resolve Hypothesis: integration tests, which run just before us, are leaving user config files in an unstable state. Workaround: delete all user cache and config and db before running system tests. This should be safe, and should be a NOP when running as root. Signed-off-by: Ed Santiago <santiago@redhat.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index ed470fc7e..3f1ddc917 100644
--- a/Makefile
+++ b/Makefile
@@ -231,6 +231,8 @@ localintegration: varlink_generate test-binaries ginkgo
remoteintegration: varlink_generate test-binaries ginkgo-remote
localsystem:
+ # Wipe existing config, database, and cache: start with clean slate.
+ $(RM) -rf ${HOME}/.local/share/containers ${HOME}/.config/containers
if timeout -v 1 true; then PODMAN=./bin/podman bats test/system/; else echo "Skipping localsystem: 'timeout -v' unavailable'"; fi
remotesystem: