hs-test: add libunwind dependency to nginx dockerfile

- 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 <avillin@cisco.com>
This commit is contained in:
Adrian Villin
2024-06-03 04:58:58 -04:00
parent 9d5be6ae2a
commit 05b0307962
3 changed files with 2 additions and 7 deletions

View 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/

View 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"))
}

View 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()