Skip to content

Commit

Permalink
skip ipv6 e2e tests on rootless
Browse files Browse the repository at this point in the history
The IPv6 e2e tests on the CI for rootles mode fails because
it needs the ip6tables modules loaded.

Example error:

stdout="", stderr="failed to list chains: running [/sbin/ip6tables -t nat -S --wait]: exit status 3: modprobe: can't change directory to '/lib/modules': No such file or directory\nip6tables v1.8.4 (legacy): can't initialize ip6tables table `nat': Table does not exist (do you need to insmod?)\nPerhaps ip6tables or your kernel needs to be upgraded.\n\n"

Signed-off-by: Antonio Ojea <[email protected]>
  • Loading branch information
Antonio Ojea committed Nov 10, 2020
1 parent 98d7707 commit aabf28a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/e2e/network_create_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ var _ = Describe("Podman network create", func() {
})

It("podman network create with name and IPv6 subnet", func() {
SkipIfRootless("FIXME It needs the ip6tables modules loaded")
var (
results []network.NcList
)
Expand Down Expand Up @@ -217,6 +218,7 @@ var _ = Describe("Podman network create", func() {
})

It("podman network create with name and IPv6 flag (dual-stack)", func() {
SkipIfRootless("FIXME It needs the ip6tables modules loaded")
var (
results []network.NcList
)
Expand Down

0 comments on commit aabf28a

Please sign in to comment.