Skip to content

e2e: Internete connection test should not rely on ICMP achievement #51145

@oomichi

Description

@oomichi

Is this a BUG REPORT or FEATURE REQUEST?:

/kind bug

What happened:

When operating conformance test for k8s cluster system on our company internal, only one test "should provide Internet connection for containers [Conformance]" 1 fails, because ICMP is denied between the internet and the company inside network.

What you expected to happen:

The test "should provide Internet connection for containers [Conformance]" should succeed on this environment because http/https is reachable from the company internal.
It would be better to use http/https to verify the Internet connection as a general way instead of ICMP.

How to reproduce it (as minimally and precisely as possible):

go run hack/e2e.go -- -v --test --test_args="--ginkgo.focus=[Conformance]"

Anything else we need to know?:

Environment:

  • Kubernetes version (use kubectl version):
  • Cloud provider or hardware configuration**:
  • OS (e.g. from /etc/os-release):
  • Kernel (e.g. uname -a):
  • Install tools:
  • Others:

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.sig/testingCategorizes an issue or PR as relevant to SIG Testing.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions