From a86a9813d04dc968878d68ef0bec15628da3fe65 Mon Sep 17 00:00:00 2001 From: aabughosh <88486034+aabughosh@users.noreply.github.com> Date: Fri, 15 Dec 2023 17:36:18 +0200 Subject: [PATCH] to add a msg about the k8s bug (#1720) * to add a msg about the k8s bug * Update suite.go * Update suite.go --- cnf-certification-test/lifecycle/suite.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cnf-certification-test/lifecycle/suite.go b/cnf-certification-test/lifecycle/suite.go index f68232097..c71265ada 100644 --- a/cnf-certification-test/lifecycle/suite.go +++ b/cnf-certification-test/lifecycle/suite.go @@ -224,7 +224,9 @@ func testContainersPostStart(env *provider.TestEnvironment) { tnf.ClaimFilePrintf("%s does not have postStart defined", cut) nonCompliantObjects = append(nonCompliantObjects, testhelper.NewContainerReportObject(cut.Namespace, cut.Podname, cut.Name, "Container does not have postStart defined", false)) } else { - compliantObjects = append(compliantObjects, testhelper.NewContainerReportObject(cut.Namespace, cut.Podname, cut.Name, "Container has postStart defined", true)) + compliantObjects = append(compliantObjects, testhelper.NewContainerReportObject(cut.Namespace, cut.Podname, cut.Name, "Container has postStart defined."+ + "Attention: There is a known upstream bug where a pod with a still-running postStart lifecycle hook that is deleted may not be terminated even after "+ + "the terminationGracePeriod k8s bug link: kubernetes/kubernetes#116032", true)) } } testhelper.AddTestResultReason(compliantObjects, nonCompliantObjects, tnf.ClaimFilePrintf, ginkgo.Fail)