TestAccessPublishedPort* (rootful) and TestNetworkLocalhostTCPNat (rootless) are failing on almalinux-8 (kernel 4.18).
The test seems passing on oraclelinux-8 (kernel 5.15), so the CI is currently using oraclelinux-8 instead of almalinux-8.
Eventually the CI should migrate to almalinux-8 (or rockylinux-8), as they are closer to the RHEL 8 upstream.
|
# EL 8 is used for running the tests with cgroup v1. |
|
# Do not upgrade this to EL 9 until formally deprecating the cgroup v1 support. |
|
# |
|
# FIXME: use almalinux-8, then probably no need to keep oraclelinux-8 here. |
|
# On almalinux-8, port forwarding tests are failing: |
|
# https://github.com/moby/moby/pull/49819#issuecomment-2815676000 |
|
- template://oraclelinux-8 # Oracle's kernel 5.15 |
|
# - template://almalinux-8 # kernel 4.18 |
Failures on almalinux-8
Rootful
https://github.com/moby/moby/actions/runs/14537211827/job/40787925346?pr=49819
== Failed
=== FAIL: amd64.integration.networking TestAccessPublishedPortFromHost/userland-proxy=true/IPv6=false (1.09s)
port_mapping_linux_test.go:412: assertion failed: error is not nil: Get "http://127.0.0.1:1234": read tcp 127.0.0.1:55268->127.0.0.1:1234: read: connection reset by peer
--- FAIL: TestAccessPublishedPortFromHost/userland-proxy=true/IPv6=false (1.09s)
=== FAIL: amd64.integration.networking TestAccessPublishedPortFromHost/userland-proxy=false/IPv6=false (1.09s)
port_mapping_linux_test.go:412: assertion failed: error is not nil: Get "http://127.0.0.1:1235": dial tcp 127.0.0.1:1235: connect: connection refused
--- FAIL: TestAccessPublishedPortFromHost/userland-proxy=false/IPv6=false (1.09s)
=== FAIL: amd64.integration.networking TestAccessPublishedPortFromHost/userland-proxy=true/IPv6=true (1.13s)
port_mapping_linux_test.go:412: assertion failed: error is not nil: Get "http://[::1]:1236": read tcp [::1]:50406->[::1]:1236: read: connection reset by peer
--- FAIL: TestAccessPublishedPortFromHost/userland-proxy=true/IPv6=true (1.13s)
=== FAIL: amd64.integration.networking TestAccessPublishedPortFromHost (4.51s)
=== FAIL: amd64.integration.networking TestRestartUserlandProxyUnder2MSL (1.10s)
port_mapping_linux_test.go:621: assertion failed: error is not nil: Get "http://127.0.0.1:1780": read tcp 127.0.0.1:47610->127.0.0.1:1780: read: connection reset by peer
=== FAIL: amd64.integration.networking TestAccessPublishedPortFromAnotherNetwork/IPv4/Gateway (7.10s)
port_mapping_linux_test.go:899: Retrying...
port_mapping_linux_test.go:899: Retrying...
port_mapping_linux_test.go:899: Retrying...
port_mapping_linux_test.go:899: Retrying...
port_mapping_linux_test.go:903: assertion failed: string "" does not contain "foobar"
--- FAIL: TestAccessPublishedPortFromAnotherNetwork/IPv4/Gateway (7.10s)
=== FAIL: amd64.integration.networking TestAccessPublishedPortFromAnotherNetwork/IPv6/Gateway (7.07s)
port_mapping_linux_test.go:899: Retrying...
port_mapping_linux_test.go:899: Retrying...
port_mapping_linux_test.go:899: Retrying...
port_mapping_linux_test.go:899: Retrying...
port_mapping_linux_test.go:903: assertion failed: string "" does not contain "foobar"
--- FAIL: TestAccessPublishedPortFromAnotherNetwork/IPv6/Gateway (7.07s)
=== FAIL: amd64.integration.networking TestAccessPublishedPortFromAnotherNetwork/IPv4/Host (7.05s)
port_mapping_linux_test.go:899: Retrying...
port_mapping_linux_test.go:899: Retrying...
port_mapping_linux_test.go:899: Retrying...
port_mapping_linux_test.go:899: Retrying...
port_mapping_linux_test.go:903: assertion failed: string "" does not contain "foobar"
--- FAIL: TestAccessPublishedPortFromAnotherNetwork/IPv4/Host (7.05s)
=== FAIL: amd64.integration.networking TestAccessPublishedPortFromAnotherNetwork/IPv6/Host (7.05s)
port_mapping_linux_test.go:899: Retrying...
port_mapping_linux_test.go:899: Retrying...
port_mapping_linux_test.go:899: Retrying...
port_mapping_linux_test.go:899: Retrying...
port_mapping_linux_test.go:903: assertion failed: string "" does not contain "foobar"
--- FAIL: TestAccessPublishedPortFromAnotherNetwork/IPv6/Host (7.05s)
=== FAIL: amd64.integration.networking TestAccessPublishedPortFromAnotherNetwork (29.23s)
Rootless
https://github.com/moby/moby/actions/runs/14537211827/job/40787925685?pr=49819
=== Failed
=== FAIL: amd64.integration.container TestNetworkLocalhostTCPNat (0.38s)
nat_test.go:78: assertion failed: hi yall (msg string) != (string)
Originally posted by @AkihiroSuda in #49819 (comment)
TestAccessPublishedPort*(rootful) andTestNetworkLocalhostTCPNat(rootless) are failing onalmalinux-8(kernel 4.18).The test seems passing on
oraclelinux-8(kernel 5.15), so the CI is currently usingoraclelinux-8instead ofalmalinux-8.Eventually the CI should migrate to
almalinux-8(orrockylinux-8), as they are closer to the RHEL 8 upstream.moby/.github/workflows/test.yml
Lines 220 to 227 in b98046f
Originally posted by @AkihiroSuda in #49819 (comment)