hs-test: add libunwind dependency to nginx dockerfile 61/40961/1
authorAdrian Villin <[email protected]>
Mon, 3 Jun 2024 08:58:58 +0000 (04:58 -0400)
committerAdrian Villin <[email protected]>
Mon, 3 Jun 2024 08:58:58 +0000 (04:58 -0400)
- Libunwind was missing in Dockerfile.nginx, causing some tests to fail.
  Tests that were temporarily disabled because of that issue
  are now re-enabled.

Type: test

Change-Id: I3f544be483784e8a7a1f22737cafca615b9f836b
Signed-off-by: Adrian Villin <[email protected]>
extras/hs-test/docker/Dockerfile.nginx
extras/hs-test/http_test.go
extras/hs-test/mirroring_test.go

index 11ec6af..386f8e9 100644 (file)
@@ -3,7 +3,7 @@ ARG UBUNTU_VERSION
 FROM ubuntu:${UBUNTU_VERSION}
 
 RUN apt-get update \
- && apt-get install -y nginx gdb less \
+ && apt-get install -y nginx gdb less libunwind-dev \
  && rm -rf /var/lib/apt/lists/*
 
 COPY vpp-data/lib/* /usr/lib/
index 0bb6a43..4f7ed93 100644 (file)
@@ -204,7 +204,6 @@ func HeaderServerTest(s *NoTopoSuite) {
 }
 
 func NginxAsServerTest(s *NoTopoSuite) {
-       s.skip("Broken in the CI")
        query := "return_ok"
        finished := make(chan error, 1)
 
@@ -279,17 +278,14 @@ func runNginxPerf(s *NoTopoSuite, mode, ab_or_wrk string) error {
 
 // unstable with multiple workers
 func NginxPerfCpsTest(s *NoTopoSuite) {
-       s.skip("Broken in the CI")
        s.SkipIfMultiWorker()
        s.assertNil(runNginxPerf(s, "cps", "ab"))
 }
 
 func NginxPerfRpsTest(s *NoTopoSuite) {
-       s.skip("Broken in the CI")
        s.assertNil(runNginxPerf(s, "rps", "ab"))
 }
 
 func NginxPerfWrkTest(s *NoTopoSuite) {
-       s.skip("Broken in the CI")
        s.assertNil(runNginxPerf(s, "", "wrk"))
 }
index daf3fc9..1fd15dd 100644 (file)
@@ -5,12 +5,11 @@ import (
 )
 
 func init() {
-       // registerNginxTests(MirroringTest)
+       registerNginxTests(MirroringTest)
 }
 
 // broken when CPUS > 1
 func MirroringTest(s *NginxSuite) {
-       s.skip("Broken in the CI")
        s.SkipIfMultiWorker()
        proxyAddress := s.getInterfaceByName(mirroringClientInterfaceName).peer.ip4AddressString()