From: Matus Fabian Date: Mon, 18 Aug 2025 09:07:57 +0000 (-0400) Subject: hs-test: NginxHttp3Test add worker crash check X-Git-Tag: v26.02-rc0~84 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F84%2F43584%2F2;p=vpp.git hs-test: NginxHttp3Test add worker crash check Type: test Change-Id: Ic214c4af369c93e88b03405f1961dd24f15a873b Signed-off-by: Matus Fabian --- diff --git a/extras/hs-test/nginx_test.go b/extras/hs-test/nginx_test.go index 6a219e9568c..ef810674a16 100644 --- a/extras/hs-test/nginx_test.go +++ b/extras/hs-test/nginx_test.go @@ -6,6 +6,7 @@ import ( "strings" . "fd.io/hs-test/infra" + "github.com/edwarnicke/exechelper" . "github.com/onsi/ginkgo/v2" ) @@ -38,6 +39,12 @@ func NginxHttp3Test(s *NoTopoSuite) { s.AssertNotContains(stats, "refused") s.AssertContains(stats, "100") s.AssertContains(body, "", " not found in the result!") + + // check worker crash + logPath := s.Containers.NginxHttp3.GetHostWorkDir() + "/" + s.Containers.NginxHttp3.Name + "-error.log" + logContents, err := exechelper.Output("cat " + logPath) + s.AssertNil(err) + s.AssertNotContains(string(logContents), "signal 17 (SIGCHLD) received from") } func NginxAsServerTest(s *NoTopoSuite) {