diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-04-21 16:08:09 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-21 16:08:09 -0400 |
commit | 103eca67b720931869e1932002a384ac8ad889ff (patch) | |
tree | 9a005118d5a05bb90d8df2e6124ed685993751e4 | |
parent | 413929babd078f3d1281994398501997c1a2d4d1 (diff) | |
parent | 5c968b7693a5a4ebe8d03684a6a64347de8c32b2 (diff) | |
download | podman-103eca67b720931869e1932002a384ac8ad889ff.tar.gz podman-103eca67b720931869e1932002a384ac8ad889ff.tar.bz2 podman-103eca67b720931869e1932002a384ac8ad889ff.zip |
Merge pull request #5894 from baude/v2test
Enable integration tests (skip fails)
77 files changed, 78 insertions, 2 deletions
diff --git a/.cirrus.yml b/.cirrus.yml index 016ef8f2b..58f56798c 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -459,8 +459,6 @@ testing_task: # testing matrix. integration_test_temporary_task: - allow_failures: $CI == 'true' - depends_on: - "gating" - "varlink_api" diff --git a/test/e2e/attach_test.go b/test/e2e/attach_test.go index 7233d169c..6ca8a537c 100644 --- a/test/e2e/attach_test.go +++ b/test/e2e/attach_test.go @@ -20,6 +20,7 @@ var _ = Describe("Podman attach", func() { ) BeforeEach(func() { + Skip(v2fail) tempdir, err = CreateTempDirInTempDir() if err != nil { os.Exit(1) diff --git a/test/e2e/build_test.go b/test/e2e/build_test.go index 9e41fd231..3ccee3575 100644 --- a/test/e2e/build_test.go +++ b/test/e2e/build_test.go @@ -22,6 +22,7 @@ var _ = Describe("Podman build", func() { ) BeforeEach(func() { + Skip(v2fail) tempdir, err = CreateTempDirInTempDir() if err != nil { os.Exit(1) diff --git a/test/e2e/commit_test.go b/test/e2e/commit_test.go index 72387ed8c..ceb656a01 100644 --- a/test/e2e/commit_test.go +++ b/test/e2e/commit_test.go @@ -18,6 +18,7 @@ var _ = Describe("Podman commit", func() { ) BeforeEach(func() { + Skip(v2fail) tempdir, err = CreateTempDirInTempDir() if err != nil { os.Exit(1) diff --git a/test/e2e/config.go b/test/e2e/config.go index 49a47c7da..0e1850614 100644 --- a/test/e2e/config.go +++ b/test/e2e/config.go @@ -23,4 +23,8 @@ var ( // This image has a bogus/invalid seccomp profile which should // yield a json error when being read. alpineBogusSeccomp = "docker.io/libpod/alpine-with-bogus-seccomp:label" + + // v2fail is a temporary variable to help us track + // tests that fail in v2 + v2fail = "does not pass integration tests with v2 podman" ) diff --git a/test/e2e/container_inspect_test.go b/test/e2e/container_inspect_test.go index 91c025197..cc986f1a8 100644 --- a/test/e2e/container_inspect_test.go +++ b/test/e2e/container_inspect_test.go @@ -17,6 +17,7 @@ var _ = Describe("Podman container inspect", func() { ) BeforeEach(func() { + Skip(v2fail) tempdir, err = CreateTempDirInTempDir() if err != nil { os.Exit(1) diff --git a/test/e2e/containers_conf_test.go b/test/e2e/containers_conf_test.go index a2ef7eb4a..b984a35f3 100644 --- a/test/e2e/containers_conf_test.go +++ b/test/e2e/containers_conf_test.go @@ -23,6 +23,7 @@ var _ = Describe("Podman run", func() { ) BeforeEach(func() { + Skip(v2fail) tempdir, err = CreateTempDirInTempDir() if err != nil { os.Exit(1) diff --git a/test/e2e/cp_test.go b/test/e2e/cp_test.go index b71897cfd..2ff6fe65e 100644 --- a/test/e2e/cp_test.go +++ b/test/e2e/cp_test.go @@ -22,6 +22,7 @@ var _ = Describe("Podman cp", func() { ) BeforeEach(func() { + Skip(v2fail) tempdir, err = CreateTempDirInTempDir() if err != nil { os.Exit(1) diff --git a/test/e2e/create_staticip_test.go b/test/e2e/create_staticip_test.go index 693795637..5e6083734 100644 --- a/test/e2e/create_staticip_test.go +++ b/test/e2e/create_staticip_test.go @@ -19,6 +19,7 @@ var _ = Describe("Podman create with --ip flag", func() { ) BeforeEach(func() { + Skip(v2fail) SkipIfRootless() tempdir, err = CreateTempDirInTempDir() if err != nil { diff --git a/test/e2e/create_test.go b/test/e2e/create_test.go index 10742a0e8..82346823a 100644 --- a/test/e2e/create_test.go +++ b/test/e2e/create_test.go @@ -18,6 +18,7 @@ var _ = Describe("Podman create", func() { ) BeforeEach(func() { + Skip(v2fail) tempdir, err = CreateTempDirInTempDir() if err != nil { os.Exit(1) diff --git a/test/e2e/exec_test.go b/test/e2e/exec_test.go index 8b95794d2..3aac4b35b 100644 --- a/test/e2e/exec_test.go +++ b/test/e2e/exec_test.go @@ -18,6 +18,7 @@ var _ = Describe("Podman exec", func() { ) BeforeEach(func() { + Skip(v2fail) tempdir, err = CreateTempDirInTempDir() if err != nil { os.Exit(1) diff --git a/test/e2e/exists_test.go b/test/e2e/exists_test.go index 1486427c5..e25eb33c6 100644 --- a/test/e2e/exists_test.go +++ b/test/e2e/exists_test.go @@ -16,6 +16,7 @@ var _ = Describe("Podman image|container exists", func() { ) BeforeEach(func() { + Skip(v2fail) tempdir, err = CreateTempDirInTempDir() if err != nil { os.Exit(1) diff --git a/test/e2e/generate_kube_test.go b/test/e2e/generate_kube_test.go index 389f2c822..e4f487634 100644 --- a/test/e2e/generate_kube_test.go +++ b/test/e2e/generate_kube_test.go @@ -21,6 +21,7 @@ var _ = Describe("Podman generate kube", func() { ) BeforeEach(func() { + Skip(v2fail) tempdir, err = CreateTempDirInTempDir() if err != nil { os.Exit(1) diff --git a/test/e2e/generate_systemd_test.go b/test/e2e/generate_systemd_test.go index abfca4db9..2901e7ac6 100644 --- a/test/e2e/generate_systemd_test.go +++ b/test/e2e/generate_systemd_test.go @@ -18,6 +18,7 @@ var _ = Describe("Podman generate systemd", func() { ) BeforeEach(func() { + Skip(v2fail) tempdir, err = CreateTempDirInTempDir() if err != nil { os.Exit(1) diff --git a/test/e2e/healthcheck_run_test.go b/test/e2e/healthcheck_run_test.go index 19a8658ac..58d473ca8 100644 --- a/test/e2e/healthcheck_run_test.go +++ b/test/e2e/healthcheck_run_test.go @@ -18,6 +18,7 @@ var _ = Describe("Podman healthcheck run", func() { ) BeforeEach(func() { + Skip(v2fail) tempdir, err = CreateTempDirInTempDir() if err != nil { os.Exit(1) diff --git a/test/e2e/images_test.go b/test/e2e/images_test.go index 8b6b679a5..c0165e060 100644 --- a/test/e2e/images_test.go +++ b/test/e2e/images_test.go @@ -20,6 +20,7 @@ var _ = Describe("Podman images", func() { ) BeforeEach(func() { + Skip(v2fail) tempdir, err = CreateTempDirInTempDir() if err != nil { os.Exit(1) diff --git a/test/e2e/info_test.go b/test/e2e/info_test.go index 446dbc16e..e5173e7a1 100644 --- a/test/e2e/info_test.go +++ b/test/e2e/info_test.go @@ -16,6 +16,7 @@ var _ = Describe("Podman Info", func() { ) BeforeEach(func() { + Skip(v2fail) tempdir, err = CreateTempDirInTempDir() if err != nil { os.Exit(1) diff --git a/test/e2e/init_test.go b/test/e2e/init_test.go index 919fe4abf..6241f813f 100644 --- a/test/e2e/init_test.go +++ b/test/e2e/init_test.go @@ -16,6 +16,7 @@ var _ = Describe("Podman init", func() { ) BeforeEach(func() { + Skip(v2fail) tempdir, err = CreateTempDirInTempDir() if err != nil { os.Exit(1) diff --git a/test/e2e/inspect_test.go b/test/e2e/inspect_test.go index ebac087ac..5ec1b51bb 100644 --- a/test/e2e/inspect_test.go +++ b/test/e2e/inspect_test.go @@ -17,6 +17,7 @@ var _ = Describe("Podman inspect", func() { ) BeforeEach(func() { + Skip(v2fail) tempdir, err = CreateTempDirInTempDir() if err != nil { os.Exit(1) diff --git a/test/e2e/load_test.go b/test/e2e/load_test.go index 9a2cee9e1..6b6d3820a 100644 --- a/test/e2e/load_test.go +++ b/test/e2e/load_test.go @@ -20,6 +20,7 @@ var _ = Describe("Podman load", func() { ) BeforeEach(func() { + Skip(v2fail) tempdir, err = CreateTempDirInTempDir() if err != nil { os.Exit(1) diff --git a/test/e2e/login_logout_test.go b/test/e2e/login_logout_test.go index 3f76daa67..dd35d8489 100644 --- a/test/e2e/login_logout_test.go +++ b/test/e2e/login_logout_test.go @@ -32,6 +32,7 @@ var _ = Describe("Podman login and logout", func() { ) BeforeEach(func() { + Skip(v2fail) tempdir, err = CreateTempDirInTempDir() if err != nil { os.Exit(1) diff --git a/test/e2e/network_create_test.go b/test/e2e/network_create_test.go index 7eccaa9ab..19dabced7 100644 --- a/test/e2e/network_create_test.go +++ b/test/e2e/network_create_test.go @@ -76,6 +76,7 @@ var _ = Describe("Podman network create", func() { ) BeforeEach(func() { + Skip(v2fail) SkipIfRootless() tempdir, err = CreateTempDirInTempDir() if err != nil { diff --git a/test/e2e/network_test.go b/test/e2e/network_test.go index 440d307b5..2cb7eb144 100644 --- a/test/e2e/network_test.go +++ b/test/e2e/network_test.go @@ -34,6 +34,7 @@ var _ = Describe("Podman network", func() { ) BeforeEach(func() { + Skip(v2fail) tempdir, err = CreateTempDirInTempDir() if err != nil { os.Exit(1) diff --git a/test/e2e/pause_test.go b/test/e2e/pause_test.go index 39e08e2e8..66b888803 100644 --- a/test/e2e/pause_test.go +++ b/test/e2e/pause_test.go @@ -21,6 +21,7 @@ var _ = Describe("Podman pause", func() { createdState := "Created" BeforeEach(func() { + Skip(v2fail) SkipIfRootless() tempdir, err = CreateTempDirInTempDir() if err != nil { diff --git a/test/e2e/play_kube_test.go b/test/e2e/play_kube_test.go index 9daf266b8..16f7af55e 100644 --- a/test/e2e/play_kube_test.go +++ b/test/e2e/play_kube_test.go @@ -217,6 +217,7 @@ var _ = Describe("Podman generate kube", func() { ) BeforeEach(func() { + Skip(v2fail) tempdir, err = CreateTempDirInTempDir() if err != nil { os.Exit(1) diff --git a/test/e2e/pod_create_test.go b/test/e2e/pod_create_test.go index e0a10c202..30abe2be2 100644 --- a/test/e2e/pod_create_test.go +++ b/test/e2e/pod_create_test.go @@ -18,6 +18,7 @@ var _ = Describe("Podman pod create", func() { ) BeforeEach(func() { + Skip(v2fail) tempdir, err = CreateTempDirInTempDir() if err != nil { os.Exit(1) diff --git a/test/e2e/pod_infra_container_test.go b/test/e2e/pod_infra_container_test.go index c8072f308..88644188b 100644 --- a/test/e2e/pod_infra_container_test.go +++ b/test/e2e/pod_infra_container_test.go @@ -20,6 +20,7 @@ var _ = Describe("Podman pod create", func() { BeforeEach(func() { tempdir, err = CreateTempDirInTempDir() + Skip(v2fail) if err != nil { os.Exit(1) } diff --git a/test/e2e/pod_inspect_test.go b/test/e2e/pod_inspect_test.go index d86c36f58..06f36c751 100644 --- a/test/e2e/pod_inspect_test.go +++ b/test/e2e/pod_inspect_test.go @@ -16,6 +16,7 @@ var _ = Describe("Podman pod inspect", func() { ) BeforeEach(func() { + Skip(v2fail) tempdir, err = CreateTempDirInTempDir() if err != nil { os.Exit(1) diff --git a/test/e2e/pod_kill_test.go b/test/e2e/pod_kill_test.go index a3efec46c..29d7664df 100644 --- a/test/e2e/pod_kill_test.go +++ b/test/e2e/pod_kill_test.go @@ -17,6 +17,7 @@ var _ = Describe("Podman pod kill", func() { ) BeforeEach(func() { + Skip(v2fail) tempdir, err = CreateTempDirInTempDir() if err != nil { os.Exit(1) diff --git a/test/e2e/pod_pause_test.go b/test/e2e/pod_pause_test.go index 73707926d..bb1719203 100644 --- a/test/e2e/pod_pause_test.go +++ b/test/e2e/pod_pause_test.go @@ -18,6 +18,7 @@ var _ = Describe("Podman pod pause", func() { pausedState := "Paused" BeforeEach(func() { + Skip(v2fail) SkipIfRootless() tempdir, err = CreateTempDirInTempDir() if err != nil { diff --git a/test/e2e/pod_pod_namespaces.go b/test/e2e/pod_pod_namespaces.go index 83c877f5a..7acdfd356 100644 --- a/test/e2e/pod_pod_namespaces.go +++ b/test/e2e/pod_pod_namespaces.go @@ -19,6 +19,7 @@ var _ = Describe("Podman pod create", func() { ) BeforeEach(func() { + Skip(v2fail) tempdir, err = CreateTempDirInTempDir() if err != nil { os.Exit(1) diff --git a/test/e2e/pod_prune_test.go b/test/e2e/pod_prune_test.go index d98383331..d0725883c 100644 --- a/test/e2e/pod_prune_test.go +++ b/test/e2e/pod_prune_test.go @@ -16,6 +16,7 @@ var _ = Describe("Podman pod prune", func() { ) BeforeEach(func() { + Skip(v2fail) tempdir, err = CreateTempDirInTempDir() if err != nil { os.Exit(1) diff --git a/test/e2e/pod_ps_test.go b/test/e2e/pod_ps_test.go index 551ad3818..ea9118f37 100644 --- a/test/e2e/pod_ps_test.go +++ b/test/e2e/pod_ps_test.go @@ -18,6 +18,7 @@ var _ = Describe("Podman ps", func() { ) BeforeEach(func() { + Skip(v2fail) tempdir, err = CreateTempDirInTempDir() if err != nil { os.Exit(1) diff --git a/test/e2e/pod_restart_test.go b/test/e2e/pod_restart_test.go index 691fe5f0c..9938c70b8 100644 --- a/test/e2e/pod_restart_test.go +++ b/test/e2e/pod_restart_test.go @@ -16,6 +16,7 @@ var _ = Describe("Podman pod restart", func() { ) BeforeEach(func() { + Skip(v2fail) tempdir, err = CreateTempDirInTempDir() if err != nil { os.Exit(1) diff --git a/test/e2e/pod_rm_test.go b/test/e2e/pod_rm_test.go index 90f178be6..117b54987 100644 --- a/test/e2e/pod_rm_test.go +++ b/test/e2e/pod_rm_test.go @@ -19,6 +19,7 @@ var _ = Describe("Podman pod rm", func() { ) BeforeEach(func() { + Skip(v2fail) tempdir, err = CreateTempDirInTempDir() if err != nil { os.Exit(1) diff --git a/test/e2e/pod_start_test.go b/test/e2e/pod_start_test.go index 2722cb5b3..52ba03dae 100644 --- a/test/e2e/pod_start_test.go +++ b/test/e2e/pod_start_test.go @@ -16,6 +16,7 @@ var _ = Describe("Podman pod start", func() { ) BeforeEach(func() { + Skip(v2fail) tempdir, err = CreateTempDirInTempDir() if err != nil { os.Exit(1) diff --git a/test/e2e/pod_stats_test.go b/test/e2e/pod_stats_test.go index 347f33e62..bb3610a27 100644 --- a/test/e2e/pod_stats_test.go +++ b/test/e2e/pod_stats_test.go @@ -18,6 +18,7 @@ var _ = Describe("Podman pod stats", func() { ) BeforeEach(func() { + Skip(v2fail) cgroupsv2, err := cgroups.IsCgroup2UnifiedMode() Expect(err).To(BeNil()) diff --git a/test/e2e/pod_stop_test.go b/test/e2e/pod_stop_test.go index a61917adb..0c0085b82 100644 --- a/test/e2e/pod_stop_test.go +++ b/test/e2e/pod_stop_test.go @@ -16,6 +16,7 @@ var _ = Describe("Podman pod stop", func() { ) BeforeEach(func() { + Skip(v2fail) tempdir, err = CreateTempDirInTempDir() if err != nil { os.Exit(1) diff --git a/test/e2e/pod_top_test.go b/test/e2e/pod_top_test.go index c313b0675..2f75aaf30 100644 --- a/test/e2e/pod_top_test.go +++ b/test/e2e/pod_top_test.go @@ -20,6 +20,7 @@ var _ = Describe("Podman top", func() { ) BeforeEach(func() { + Skip(v2fail) tempdir, err = CreateTempDirInTempDir() if err != nil { os.Exit(1) diff --git a/test/e2e/port_test.go b/test/e2e/port_test.go index 5bb86d558..ce31c9ad2 100644 --- a/test/e2e/port_test.go +++ b/test/e2e/port_test.go @@ -20,6 +20,7 @@ var _ = Describe("Podman port", func() { ) BeforeEach(func() { + Skip(v2fail) tempdir, err = CreateTempDirInTempDir() if err != nil { os.Exit(1) diff --git a/test/e2e/prune_test.go b/test/e2e/prune_test.go index 83a8d3b18..e8a208c3c 100644 --- a/test/e2e/prune_test.go +++ b/test/e2e/prune_test.go @@ -22,6 +22,7 @@ var _ = Describe("Podman prune", func() { ) BeforeEach(func() { + Skip(v2fail) tempdir, err = CreateTempDirInTempDir() if err != nil { os.Exit(1) diff --git a/test/e2e/ps_test.go b/test/e2e/ps_test.go index adbb9c16c..26f283b9c 100644 --- a/test/e2e/ps_test.go +++ b/test/e2e/ps_test.go @@ -21,6 +21,7 @@ var _ = Describe("Podman ps", func() { ) BeforeEach(func() { + Skip(v2fail) tempdir, err = CreateTempDirInTempDir() if err != nil { os.Exit(1) diff --git a/test/e2e/pull_test.go b/test/e2e/pull_test.go index 96340ef30..153195825 100644 --- a/test/e2e/pull_test.go +++ b/test/e2e/pull_test.go @@ -22,6 +22,7 @@ var _ = Describe("Podman pull", func() { ) BeforeEach(func() { + Skip(v2fail) tempdir, err = CreateTempDirInTempDir() if err != nil { os.Exit(1) diff --git a/test/e2e/push_test.go b/test/e2e/push_test.go index 0747257be..0991da867 100644 --- a/test/e2e/push_test.go +++ b/test/e2e/push_test.go @@ -22,6 +22,7 @@ var _ = Describe("Podman push", func() { ) BeforeEach(func() { + Skip(v2fail) tempdir, err = CreateTempDirInTempDir() if err != nil { os.Exit(1) diff --git a/test/e2e/restart_test.go b/test/e2e/restart_test.go index 2b515f53b..9bbeb4f68 100644 --- a/test/e2e/restart_test.go +++ b/test/e2e/restart_test.go @@ -17,6 +17,7 @@ var _ = Describe("Podman restart", func() { ) BeforeEach(func() { + Skip(v2fail) tempdir, err = CreateTempDirInTempDir() if err != nil { os.Exit(1) diff --git a/test/e2e/rm_test.go b/test/e2e/rm_test.go index 4eb568879..83d20afa9 100644 --- a/test/e2e/rm_test.go +++ b/test/e2e/rm_test.go @@ -17,6 +17,7 @@ var _ = Describe("Podman rm", func() { ) BeforeEach(func() { + Skip(v2fail) tempdir, err = CreateTempDirInTempDir() if err != nil { os.Exit(1) diff --git a/test/e2e/rmi_test.go b/test/e2e/rmi_test.go index 80e877de1..765d2b19e 100644 --- a/test/e2e/rmi_test.go +++ b/test/e2e/rmi_test.go @@ -17,6 +17,7 @@ var _ = Describe("Podman rmi", func() { ) BeforeEach(func() { + Skip(v2fail) tempdir, err = CreateTempDirInTempDir() if err != nil { os.Exit(1) diff --git a/test/e2e/run_cgroup_parent_test.go b/test/e2e/run_cgroup_parent_test.go index 14294eeac..69b4f920c 100644 --- a/test/e2e/run_cgroup_parent_test.go +++ b/test/e2e/run_cgroup_parent_test.go @@ -18,6 +18,7 @@ var _ = Describe("Podman run with --cgroup-parent", func() { ) BeforeEach(func() { + Skip(v2fail) SkipIfRootless() tempdir, err = CreateTempDirInTempDir() if err != nil { diff --git a/test/e2e/run_device_test.go b/test/e2e/run_device_test.go index eae3f574c..2fc812948 100644 --- a/test/e2e/run_device_test.go +++ b/test/e2e/run_device_test.go @@ -18,6 +18,7 @@ var _ = Describe("Podman run device", func() { ) BeforeEach(func() { + Skip(v2fail) tempdir, err = CreateTempDirInTempDir() if err != nil { os.Exit(1) diff --git a/test/e2e/run_dns_test.go b/test/e2e/run_dns_test.go index 02b9ff8d1..749047b76 100644 --- a/test/e2e/run_dns_test.go +++ b/test/e2e/run_dns_test.go @@ -18,6 +18,7 @@ var _ = Describe("Podman run dns", func() { ) BeforeEach(func() { + Skip(v2fail) tempdir, err = CreateTempDirInTempDir() if err != nil { os.Exit(1) diff --git a/test/e2e/run_entrypoint_test.go b/test/e2e/run_entrypoint_test.go index b1344a371..ebc06b36c 100644 --- a/test/e2e/run_entrypoint_test.go +++ b/test/e2e/run_entrypoint_test.go @@ -18,6 +18,7 @@ var _ = Describe("Podman run entrypoint", func() { ) BeforeEach(func() { + Skip(v2fail) tempdir, err = CreateTempDirInTempDir() if err != nil { os.Exit(1) diff --git a/test/e2e/run_networking_test.go b/test/e2e/run_networking_test.go index 5be9db810..5946f3b7a 100644 --- a/test/e2e/run_networking_test.go +++ b/test/e2e/run_networking_test.go @@ -19,6 +19,7 @@ var _ = Describe("Podman run networking", func() { ) BeforeEach(func() { + Skip(v2fail) tempdir, err = CreateTempDirInTempDir() if err != nil { os.Exit(1) diff --git a/test/e2e/run_ns_test.go b/test/e2e/run_ns_test.go index c8ba68efc..9c914188a 100644 --- a/test/e2e/run_ns_test.go +++ b/test/e2e/run_ns_test.go @@ -19,6 +19,7 @@ var _ = Describe("Podman run ns", func() { ) BeforeEach(func() { + Skip(v2fail) tempdir, err = CreateTempDirInTempDir() if err != nil { os.Exit(1) diff --git a/test/e2e/run_passwd_test.go b/test/e2e/run_passwd_test.go index bd6a0e036..0868bce4f 100644 --- a/test/e2e/run_passwd_test.go +++ b/test/e2e/run_passwd_test.go @@ -18,6 +18,7 @@ var _ = Describe("Podman run passwd", func() { ) BeforeEach(func() { + Skip(v2fail) tempdir, err = CreateTempDirInTempDir() if err != nil { os.Exit(1) diff --git a/test/e2e/run_restart_test.go b/test/e2e/run_restart_test.go index 8bbdf2056..28ab23ab0 100644 --- a/test/e2e/run_restart_test.go +++ b/test/e2e/run_restart_test.go @@ -18,6 +18,7 @@ var _ = Describe("Podman run restart containers", func() { ) BeforeEach(func() { + Skip(v2fail) tempdir, err = CreateTempDirInTempDir() if err != nil { os.Exit(1) diff --git a/test/e2e/run_selinux_test.go b/test/e2e/run_selinux_test.go index 358137aa9..c2e4f2032 100644 --- a/test/e2e/run_selinux_test.go +++ b/test/e2e/run_selinux_test.go @@ -19,6 +19,7 @@ var _ = Describe("Podman run", func() { ) BeforeEach(func() { + Skip(v2fail) tempdir, err = CreateTempDirInTempDir() if err != nil { os.Exit(1) diff --git a/test/e2e/run_signal_test.go b/test/e2e/run_signal_test.go index fbdd3acec..58dde62da 100644 --- a/test/e2e/run_signal_test.go +++ b/test/e2e/run_signal_test.go @@ -29,6 +29,7 @@ var _ = Describe("Podman run with --sig-proxy", func() { ) BeforeEach(func() { + Skip(v2fail) tmpdir, err = CreateTempDirInTempDir() if err != nil { os.Exit(1) diff --git a/test/e2e/run_test.go b/test/e2e/run_test.go index 9b6de6f65..c84bbe91f 100644 --- a/test/e2e/run_test.go +++ b/test/e2e/run_test.go @@ -29,6 +29,7 @@ var _ = Describe("Podman run", func() { ) BeforeEach(func() { + Skip(v2fail) tempdir, err = CreateTempDirInTempDir() if err != nil { os.Exit(1) diff --git a/test/e2e/run_userns_test.go b/test/e2e/run_userns_test.go index 25f12ec2e..a4e99ab71 100644 --- a/test/e2e/run_userns_test.go +++ b/test/e2e/run_userns_test.go @@ -22,6 +22,7 @@ var _ = Describe("Podman UserNS support", func() { ) BeforeEach(func() { + Skip(v2fail) if os.Getenv("SKIP_USERNS") != "" { Skip("Skip userns tests.") } diff --git a/test/e2e/run_volume_test.go b/test/e2e/run_volume_test.go index 1f892d9f8..9da3c1340 100644 --- a/test/e2e/run_volume_test.go +++ b/test/e2e/run_volume_test.go @@ -27,6 +27,7 @@ var _ = Describe("Podman run with volumes", func() { ) BeforeEach(func() { + Skip(v2fail) tempdir, err = CreateTempDirInTempDir() if err != nil { os.Exit(1) diff --git a/test/e2e/runlabel_test.go b/test/e2e/runlabel_test.go index 41d61e9d9..83fdcabc9 100644 --- a/test/e2e/runlabel_test.go +++ b/test/e2e/runlabel_test.go @@ -31,6 +31,7 @@ var _ = Describe("podman container runlabel", func() { ) BeforeEach(func() { + Skip(v2fail) tempdir, err = CreateTempDirInTempDir() if err != nil { os.Exit(1) diff --git a/test/e2e/search_test.go b/test/e2e/search_test.go index 9ba0241fe..3c64fa05f 100644 --- a/test/e2e/search_test.go +++ b/test/e2e/search_test.go @@ -68,6 +68,7 @@ registries = ['{{.Host}}:{{.Port}}']` registryFileTwoTmpl := template.Must(template.New("registryFileTwo").Parse(regFileContents2)) BeforeEach(func() { + Skip(v2fail) tempdir, err = CreateTempDirInTempDir() if err != nil { os.Exit(1) diff --git a/test/e2e/start_test.go b/test/e2e/start_test.go index 47b058845..5f6f5a8cf 100644 --- a/test/e2e/start_test.go +++ b/test/e2e/start_test.go @@ -17,6 +17,7 @@ var _ = Describe("Podman start", func() { ) BeforeEach(func() { + Skip(v2fail) tempdir, err = CreateTempDirInTempDir() if err != nil { os.Exit(1) diff --git a/test/e2e/stats_test.go b/test/e2e/stats_test.go index 762417a17..32f7cc520 100644 --- a/test/e2e/stats_test.go +++ b/test/e2e/stats_test.go @@ -21,6 +21,7 @@ var _ = Describe("Podman stats", func() { ) BeforeEach(func() { + Skip(v2fail) cgroupsv2, err := cgroups.IsCgroup2UnifiedMode() Expect(err).To(BeNil()) diff --git a/test/e2e/stop_test.go b/test/e2e/stop_test.go index 54c64d66b..a0c573c55 100644 --- a/test/e2e/stop_test.go +++ b/test/e2e/stop_test.go @@ -18,6 +18,7 @@ var _ = Describe("Podman stop", func() { ) BeforeEach(func() { + Skip(v2fail) tempdir, err = CreateTempDirInTempDir() if err != nil { os.Exit(1) diff --git a/test/e2e/system_df_test.go b/test/e2e/system_df_test.go index bbbdf30b0..5f261fcbf 100644 --- a/test/e2e/system_df_test.go +++ b/test/e2e/system_df_test.go @@ -20,6 +20,7 @@ var _ = Describe("podman system df", func() { ) BeforeEach(func() { + Skip(v2fail) tempdir, err = CreateTempDirInTempDir() if err != nil { os.Exit(1) diff --git a/test/e2e/system_reset_test.go b/test/e2e/system_reset_test.go index e5ce69739..f17747648 100644 --- a/test/e2e/system_reset_test.go +++ b/test/e2e/system_reset_test.go @@ -17,6 +17,7 @@ var _ = Describe("podman system reset", func() { ) BeforeEach(func() { + Skip(v2fail) tempdir, err = CreateTempDirInTempDir() if err != nil { os.Exit(1) diff --git a/test/e2e/systemd_test.go b/test/e2e/systemd_test.go index 9ec48ba00..c56fb00f2 100644 --- a/test/e2e/systemd_test.go +++ b/test/e2e/systemd_test.go @@ -23,6 +23,7 @@ var _ = Describe("Podman systemd", func() { ) BeforeEach(func() { + Skip(v2fail) SkipIfRootless() tempdir, err = CreateTempDirInTempDir() if err != nil { diff --git a/test/e2e/trust_test.go b/test/e2e/trust_test.go index 8c97e6b28..2da370194 100644 --- a/test/e2e/trust_test.go +++ b/test/e2e/trust_test.go @@ -21,6 +21,7 @@ var _ = Describe("Podman trust", func() { ) BeforeEach(func() { + Skip(v2fail) tempdir, err = CreateTempDirInTempDir() if err != nil { os.Exit(1) diff --git a/test/e2e/untag_test.go b/test/e2e/untag_test.go index 17171cd41..8b4b454db 100644 --- a/test/e2e/untag_test.go +++ b/test/e2e/untag_test.go @@ -16,6 +16,7 @@ var _ = Describe("Podman untag", func() { ) BeforeEach(func() { + Skip(v2fail) tempdir, err = CreateTempDirInTempDir() if err != nil { os.Exit(1) diff --git a/test/e2e/version_test.go b/test/e2e/version_test.go index c2af613aa..036b6f621 100644 --- a/test/e2e/version_test.go +++ b/test/e2e/version_test.go @@ -17,6 +17,7 @@ var _ = Describe("Podman version", func() { ) BeforeEach(func() { + Skip(v2fail) tempdir, err = CreateTempDirInTempDir() if err != nil { os.Exit(1) diff --git a/test/e2e/volume_create_test.go b/test/e2e/volume_create_test.go index 71023f9e2..4cfc5bfc9 100644 --- a/test/e2e/volume_create_test.go +++ b/test/e2e/volume_create_test.go @@ -17,6 +17,7 @@ var _ = Describe("Podman volume create", func() { ) BeforeEach(func() { + Skip(v2fail) tempdir, err = CreateTempDirInTempDir() if err != nil { os.Exit(1) diff --git a/test/e2e/volume_inspect_test.go b/test/e2e/volume_inspect_test.go index 5015e0535..1197fa552 100644 --- a/test/e2e/volume_inspect_test.go +++ b/test/e2e/volume_inspect_test.go @@ -17,6 +17,7 @@ var _ = Describe("Podman volume inspect", func() { ) BeforeEach(func() { + Skip(v2fail) tempdir, err = CreateTempDirInTempDir() if err != nil { os.Exit(1) diff --git a/test/e2e/volume_ls_test.go b/test/e2e/volume_ls_test.go index da2d7ae77..4073df59d 100644 --- a/test/e2e/volume_ls_test.go +++ b/test/e2e/volume_ls_test.go @@ -16,6 +16,7 @@ var _ = Describe("Podman volume ls", func() { ) BeforeEach(func() { + Skip(v2fail) tempdir, err = CreateTempDirInTempDir() if err != nil { os.Exit(1) diff --git a/test/e2e/volume_prune_test.go b/test/e2e/volume_prune_test.go index 3049646b0..137a2c41b 100644 --- a/test/e2e/volume_prune_test.go +++ b/test/e2e/volume_prune_test.go @@ -18,6 +18,7 @@ var _ = Describe("Podman volume prune", func() { ) BeforeEach(func() { + Skip(v2fail) tempdir, err = CreateTempDirInTempDir() if err != nil { os.Exit(1) diff --git a/test/e2e/volume_rm_test.go b/test/e2e/volume_rm_test.go index 6f2020828..e67cfcd11 100644 --- a/test/e2e/volume_rm_test.go +++ b/test/e2e/volume_rm_test.go @@ -16,6 +16,7 @@ var _ = Describe("Podman volume rm", func() { ) BeforeEach(func() { + Skip(v2fail) tempdir, err = CreateTempDirInTempDir() if err != nil { os.Exit(1) |