hs-test: move hs-test to vpp/test-c 00/43600/13
authorAdrian Villin <[email protected]>
Mon, 8 Sep 2025 14:29:39 +0000 (16:29 +0200)
committerAdrian Villin <[email protected]>
Tue, 16 Sep 2025 06:22:35 +0000 (02:22 -0400)
commit9749352163d8fa2d05c97506a36e34335771d359
tree07321028eb7818a79372ee7521956e97f53d8875
parentd08f1524e764b29195e7b5743d2af34ebc585fd0
hs-test: move hs-test to vpp/test-c

- separated cluster tests from hs-test and moved them into
  test-c/kube-test
- cleaned up kube-test and hs-test
- kube-test setup-cluster.sh improvements
- Makefile in extras/hs-test is temporary
- kube-test stability improvements

Type: test

Change-Id: Iee9fc732ccd303d4b4635d329f673c03f95a4dd4
Signed-off-by: Adrian Villin <[email protected]>
139 files changed:
.gitignore
MAINTAINERS
Makefile
docs/developer/extras/hs_test.rst
extras/hs-test/Makefile
extras/hs-test/infra/common/suite_common.go [deleted file]
extras/hs-test/infra/kind/utils.go [deleted file]
extras/hs-test/vars [deleted file]
test-c/hs-test/Makefile [new file with mode: 0644]
test-c/hs-test/README.rst [moved from extras/hs-test/README.rst with 100% similarity]
test-c/hs-test/cpu_pinning_test.go [moved from extras/hs-test/cpu_pinning_test.go with 100% similarity]
test-c/hs-test/docker/Dockerfile.ab [moved from extras/hs-test/docker/Dockerfile.ab with 100% similarity]
test-c/hs-test/docker/Dockerfile.base [moved from extras/hs-test/docker/Dockerfile.base with 100% similarity]
test-c/hs-test/docker/Dockerfile.curl [moved from extras/hs-test/docker/Dockerfile.curl with 100% similarity]
test-c/hs-test/docker/Dockerfile.envoy [moved from extras/hs-test/docker/Dockerfile.envoy with 100% similarity]
test-c/hs-test/docker/Dockerfile.ginkgo [moved from extras/hs-test/docker/Dockerfile.ginkgo with 100% similarity]
test-c/hs-test/docker/Dockerfile.h2load [moved from extras/hs-test/docker/Dockerfile.h2load with 100% similarity]
test-c/hs-test/docker/Dockerfile.nginx [moved from extras/hs-test/docker/Dockerfile.nginx with 100% similarity]
test-c/hs-test/docker/Dockerfile.nginx-http3 [moved from extras/hs-test/docker/Dockerfile.nginx-http3 with 100% similarity]
test-c/hs-test/docker/Dockerfile.nginx-server [moved from extras/hs-test/docker/Dockerfile.nginx-server with 100% similarity]
test-c/hs-test/docker/Dockerfile.vpp [moved from extras/hs-test/docker/Dockerfile.vpp with 100% similarity]
test-c/hs-test/docker/Dockerfile.wrk [moved from extras/hs-test/docker/Dockerfile.wrk with 100% similarity]
test-c/hs-test/docker/setup-local-registry.sh [moved from extras/hs-test/docker/setup-local-registry.sh with 100% similarity]
test-c/hs-test/echo_test.go [moved from extras/hs-test/echo_test.go with 100% similarity]
test-c/hs-test/framework_test.go [moved from extras/hs-test/framework_test.go with 91% similarity]
test-c/hs-test/go.mod [moved from extras/hs-test/go.mod with 65% similarity]
test-c/hs-test/go.sum [moved from extras/hs-test/go.sum with 78% similarity]
test-c/hs-test/h2spec_extras/h2spec_extras.go [moved from extras/hs-test/h2spec_extras/h2spec_extras.go with 100% similarity]
test-c/hs-test/hs_test.sh [moved from extras/hs-test/hs_test.sh with 92% similarity]
test-c/hs-test/hsi_test.go [moved from extras/hs-test/hsi_test.go with 100% similarity]
test-c/hs-test/http1_test.go [moved from extras/hs-test/http1_test.go with 100% similarity]
test-c/hs-test/http2_test.go [moved from extras/hs-test/http2_test.go with 100% similarity]
test-c/hs-test/infra/address_allocator.go [moved from extras/hs-test/infra/address_allocator.go with 100% similarity]
test-c/hs-test/infra/asserts.go [new file with mode: 0644]
test-c/hs-test/infra/connect_udp_client.go [moved from extras/hs-test/infra/connect_udp_client.go with 100% similarity]
test-c/hs-test/infra/container.go [moved from extras/hs-test/infra/container.go with 99% similarity]
test-c/hs-test/infra/cpu.go [moved from extras/hs-test/infra/cpu.go with 99% similarity]
test-c/hs-test/infra/netconfig.go [moved from extras/hs-test/infra/netconfig.go with 100% similarity]
test-c/hs-test/infra/suite_base.go [moved from extras/hs-test/infra/hst_suite.go with 91% similarity]
test-c/hs-test/infra/suite_cpu_pinning.go [moved from extras/hs-test/infra/suite_cpu_pinning.go with 98% similarity]
test-c/hs-test/infra/suite_envoy_proxy.go [moved from extras/hs-test/infra/suite_envoy_proxy.go with 99% similarity]
test-c/hs-test/infra/suite_hsi.go [moved from extras/hs-test/infra/suite_hsi.go with 99% similarity]
test-c/hs-test/infra/suite_http1.go [moved from extras/hs-test/infra/suite_http1.go with 99% similarity]
test-c/hs-test/infra/suite_http2.go [moved from extras/hs-test/infra/suite_http2.go with 99% similarity]
test-c/hs-test/infra/suite_iperf_linux.go [moved from extras/hs-test/infra/suite_iperf_linux.go with 98% similarity]
test-c/hs-test/infra/suite_ldp.go [moved from extras/hs-test/infra/suite_ldp.go with 99% similarity]
test-c/hs-test/infra/suite_nginx_proxy.go [moved from extras/hs-test/infra/suite_nginx_proxy.go with 99% similarity]
test-c/hs-test/infra/suite_no_topo.go [moved from extras/hs-test/infra/suite_no_topo.go with 99% similarity]
test-c/hs-test/infra/suite_no_topo6.go [moved from extras/hs-test/infra/suite_no_topo6.go with 99% similarity]
test-c/hs-test/infra/suite_veth.go [moved from extras/hs-test/infra/suite_veth.go with 99% similarity]
test-c/hs-test/infra/suite_veth6.go [moved from extras/hs-test/infra/suite_veth6.go with 99% similarity]
test-c/hs-test/infra/suite_vpp_proxy.go [moved from extras/hs-test/infra/suite_vpp_proxy.go with 99% similarity]
test-c/hs-test/infra/suite_vpp_udp_proxy.go [moved from extras/hs-test/infra/suite_vpp_udp_proxy.go with 99% similarity]
test-c/hs-test/infra/topo.go [moved from extras/hs-test/infra/topo.go with 100% similarity]
test-c/hs-test/infra/utils.go [moved from extras/hs-test/infra/utils.go with 68% similarity]
test-c/hs-test/infra/vppinstance.go [moved from extras/hs-test/infra/vppinstance.go with 99% similarity]
test-c/hs-test/iperf_linux_test.go [moved from extras/hs-test/iperf_linux_test.go with 100% similarity]
test-c/hs-test/ldp_test.go [moved from extras/hs-test/ldp_test.go with 99% similarity]
test-c/hs-test/mem_leak_test.go [moved from extras/hs-test/mem_leak_test.go with 100% similarity]
test-c/hs-test/nginx_test.go [moved from extras/hs-test/nginx_test.go with 100% similarity]
test-c/hs-test/nsim_test.go [moved from extras/hs-test/nsim_test.go with 100% similarity]
test-c/hs-test/proxy_test.go [moved from extras/hs-test/proxy_test.go with 100% similarity]
test-c/hs-test/raw_session_test.go [moved from extras/hs-test/raw_session_test.go with 100% similarity]
test-c/hs-test/resources/cert/localhost.crt [moved from extras/hs-test/resources/cert/localhost.crt with 100% similarity]
test-c/hs-test/resources/cert/localhost.key [moved from extras/hs-test/resources/cert/localhost.key with 100% similarity]
test-c/hs-test/resources/curl/write_out_download [moved from extras/hs-test/resources/curl/write_out_download with 100% similarity]
test-c/hs-test/resources/curl/write_out_download_connect [moved from extras/hs-test/resources/curl/write_out_download_connect with 100% similarity]
test-c/hs-test/resources/curl/write_out_upload [moved from extras/hs-test/resources/curl/write_out_upload with 100% similarity]
test-c/hs-test/resources/curl/write_out_upload_connect [moved from extras/hs-test/resources/curl/write_out_upload_connect with 100% similarity]
test-c/hs-test/resources/envoy/envoy.log [moved from extras/hs-test/resources/envoy/envoy.log with 100% similarity]
test-c/hs-test/resources/envoy/proxy.yaml [moved from extras/hs-test/resources/envoy/proxy.yaml with 100% similarity]
test-c/hs-test/resources/envoy/vcl.conf [moved from extras/hs-test/resources/envoy/vcl.conf with 100% similarity]
test-c/hs-test/resources/nginx/html/index.html [moved from extras/hs-test/resources/nginx/html/index.html with 100% similarity]
test-c/hs-test/resources/nginx/nginx.conf [moved from extras/hs-test/resources/nginx/nginx.conf with 100% similarity]
test-c/hs-test/resources/nginx/nginx_http3.conf [moved from extras/hs-test/resources/nginx/nginx_http3.conf with 100% similarity]
test-c/hs-test/resources/nginx/nginx_proxy_mirroring.conf [moved from extras/hs-test/resources/nginx/nginx_proxy_mirroring.conf with 100% similarity]
test-c/hs-test/resources/nginx/nginx_server.conf [moved from extras/hs-test/resources/nginx/nginx_server.conf with 100% similarity]
test-c/hs-test/resources/nginx/nginx_server_mirroring.conf [moved from extras/hs-test/resources/nginx/nginx_server_mirroring.conf with 100% similarity]
test-c/hs-test/resources/nginx/vcl.conf [moved from extras/hs-test/resources/nginx/vcl.conf with 100% similarity]
test-c/hs-test/script/build-images.sh [moved from extras/hs-test/script/build-images.sh with 100% similarity]
test-c/hs-test/script/build_curl.sh [moved from extras/hs-test/script/build_curl.sh with 100% similarity]
test-c/hs-test/script/build_hst.sh [moved from extras/hs-test/script/build_hst.sh with 100% similarity]
test-c/hs-test/script/compress.sh [moved from extras/hs-test/script/compress.sh with 100% similarity]
test-c/hs-test/script/nginx_ldp.sh [moved from extras/hs-test/script/nginx_ldp.sh with 100% similarity]
test-c/hs-test/script/nginx_server_entrypoint.sh [moved from extras/hs-test/script/nginx_server_entrypoint.sh with 100% similarity]
test-c/hs-test/tls_test.go [moved from extras/hs-test/tls_test.go with 100% similarity]
test-c/hs-test/tools/http_server/http_server.go [moved from extras/hs-test/tools/http_server/http_server.go with 100% similarity]
test-c/hs-test/topo-containers/2containers.yaml [moved from extras/hs-test/topo-containers/2containers.yaml with 100% similarity]
test-c/hs-test/topo-containers/2peerVeth.yaml [moved from extras/hs-test/topo-containers/2peerVeth.yaml with 100% similarity]
test-c/hs-test/topo-containers/envoyProxy.yaml [moved from extras/hs-test/topo-containers/envoyProxy.yaml with 100% similarity]
test-c/hs-test/topo-containers/nginxProxy.yaml [moved from extras/hs-test/topo-containers/nginxProxy.yaml with 100% similarity]
test-c/hs-test/topo-containers/single.yaml [moved from extras/hs-test/topo-containers/single.yaml with 100% similarity]
test-c/hs-test/topo-containers/singleCpuPinning.yaml [moved from extras/hs-test/topo-containers/singleCpuPinning.yaml with 100% similarity]
test-c/hs-test/topo-containers/vppProxy.yaml [moved from extras/hs-test/topo-containers/vppProxy.yaml with 100% similarity]
test-c/hs-test/topo-network/2peerVeth.yaml [moved from extras/hs-test/topo-network/2peerVeth.yaml with 100% similarity]
test-c/hs-test/topo-network/2peerVeth6.yaml [moved from extras/hs-test/topo-network/2peerVeth6.yaml with 100% similarity]
test-c/hs-test/topo-network/2taps.yaml [moved from extras/hs-test/topo-network/2taps.yaml with 100% similarity]
test-c/hs-test/topo-network/ns.yaml [moved from extras/hs-test/topo-network/ns.yaml with 100% similarity]
test-c/hs-test/topo-network/tap.yaml [moved from extras/hs-test/topo-network/tap.yaml with 100% similarity]
test-c/hs-test/topo-network/tap6.yaml [moved from extras/hs-test/topo-network/tap6.yaml with 100% similarity]
test-c/hs-test/unittests_test.go [moved from extras/hs-test/unittests_test.go with 100% similarity]
test-c/hs-test/vcl_test.go [moved from extras/hs-test/vcl_test.go with 100% similarity]
test-c/kube-test/Makefile [new file with mode: 0644]
test-c/kube-test/docker/Dockerfile.ab [new file with mode: 0644]
test-c/kube-test/docker/Dockerfile.base [new file with mode: 0644]
test-c/kube-test/docker/Dockerfile.nginx [new file with mode: 0644]
test-c/kube-test/docker/Dockerfile.vpp [new file with mode: 0644]
test-c/kube-test/docker/Dockerfile.wrk [new file with mode: 0644]
test-c/kube-test/docker/setup-local-registry.sh [new file with mode: 0755]
test-c/kube-test/framework_test.go [new file with mode: 0644]
test-c/kube-test/go.mod [new file with mode: 0644]
test-c/kube-test/go.sum [new file with mode: 0644]
test-c/kube-test/infra/asserts.go [new file with mode: 0644]
test-c/kube-test/infra/deployment.go [moved from extras/hs-test/infra/kind/deployment.go with 89% similarity]
test-c/kube-test/infra/pod.go [moved from extras/hs-test/infra/kind/pod.go with 86% similarity]
test-c/kube-test/infra/suite_base.go [new file with mode: 0644]
test-c/kube-test/infra/suite_kube.go [moved from extras/hs-test/infra/kind/suite_kind.go with 66% similarity]
test-c/kube-test/infra/suite_large-mtu.go [moved from extras/hs-test/infra/kind/suite_large-mtu.go with 92% similarity]
test-c/kube-test/infra/utils.go [moved from extras/hs-test/infra/common/utils_common.go with 94% similarity]
test-c/kube-test/kube_test.go [moved from extras/hs-test/kind_test.go with 67% similarity]
test-c/kube-test/kube_test.sh [new file with mode: 0755]
test-c/kube-test/kubernetes/calico-config-template.yaml [moved from extras/hs-test/kubernetes/calico-config-template.yaml with 100% similarity]
test-c/kube-test/kubernetes/kind-config.yaml [moved from extras/hs-test/kubernetes/kind-config.yaml with 100% similarity]
test-c/kube-test/kubernetes/pod-definitions.yaml [moved from extras/hs-test/kubernetes/pod-definitions.yaml with 84% similarity]
test-c/kube-test/kubernetes/registry.yaml [moved from extras/hs-test/kubernetes/registry.yaml with 100% similarity]
test-c/kube-test/resources/cert/localhost.crt [new file with mode: 0644]
test-c/kube-test/resources/cert/localhost.key [new file with mode: 0644]
test-c/kube-test/resources/nginx/html/index.html [new file with mode: 0644]
test-c/kube-test/resources/nginx/nginx.conf [new file with mode: 0644]
test-c/kube-test/resources/nginx/nginx_http3.conf [new file with mode: 0644]
test-c/kube-test/resources/nginx/nginx_proxy_mirroring.conf [new file with mode: 0644]
test-c/kube-test/resources/nginx/nginx_server.conf [new file with mode: 0644]
test-c/kube-test/resources/nginx/nginx_server_mirroring.conf [new file with mode: 0644]
test-c/kube-test/resources/nginx/vcl.conf [new file with mode: 0644]
test-c/kube-test/script/build-images.sh [new file with mode: 0755]
test-c/kube-test/script/build_kube.sh [new file with mode: 0755]
test-c/kube-test/script/compress.sh [new file with mode: 0755]
test-c/kube-test/script/nginx_ldp.sh [new file with mode: 0755]
test-c/kube-test/script/setup-cluster.sh [moved from extras/hs-test/kubernetes/setup-cluster.sh with 92% similarity]