-
Bug
-
Resolution: Done
-
Normal
-
None
-
4.15.0
-
No
-
CNF RAN Sprint 249, CNF RAN Sprint 250
-
2
-
False
-
The following test failed.
{}The issue is intermittent. The frequency of this issue occurring is High.
[It] [dualnicbc-parallel] Event based tests PTP Slave Clock Sync
ft8.2: �[36mINFO �[0m[Feb 17 17:04:22.690][ptptestconfig.go: 101] PTP Test Config: {GlobalConfig:{MinOffset:-100 MaxOffset:100} SoakTestConfig:{DisableSoakTest:false FailureThreshold:1 Duration:10 EventOutputFile:/logs/artifacts/event_log_dualnicbc.csv SlaveClockSyncConfig:{TestSpec:{Enable:true FailureThreshold:1 Duration:5} Description:The test measures number of PTP time sync faults, and fails if > failure_threshold} CpuUtilization:{CpuTestSpec:{TestSpec:{Enable:true FailureThreshold:3 Duration:5} CustomParams:{PromTimeWindow:70s Node:{CpuUsageThreshold:100} Pod:[{PodType:ptp-operator Container:<nil> CpuUsageThreshold:30} {PodType:linuxptp-daemon Container:<nil> CpuUsageThreshold:80} {PodType:linuxptp-daemon Container:cloud-event-proxy CpuUsageThreshold:30} {PodType:linuxptp-daemon Container:linuxptp-daemon-container CpuUsageThreshold:40}]}} Description:The test measures PTP CPU usage and fails if >15mcores}}} �[37mDEBUG �[0m[Feb 17 17:05:22.730][ptp.go: 71] fullConfig=PtpModeDesired= DualNICBC, PtpModeDiscovered= DualNICBC, Status= discoverySuccess, DiscoveredClockUnderTestPtpConfig= test-bc-master1, DiscoveredClockUnderTestSecondaryPtpConfig= test-bc-master2, DiscoveredGrandMasterPtpConfig= test-grandmaster, DiscoveredSlave1PtpConfig= test-slave1, DiscoveredSlave2PtpConfig= test-slave2, PtpEventsIsSidecarReady= false, DiscoveredClockUnderTestPodName=linuxptp-daemon-zggn4, DiscoveredClockUnderTestNodeName=cnfdf30.telco5gran.eng.rdu2.redhat.com �[37mDEBUG �[0m[Feb 17 17:05:22.731][ptp.go: 93] sync test fullConfig=PtpModeDesired= DualNICBC, PtpModeDiscovered= DualNICBC, Status= discoverySuccess, DiscoveredClockUnderTestPtpConfig= test-bc-master1, DiscoveredClockUnderTestSecondaryPtpConfig= test-bc-master2, DiscoveredGrandMasterPtpConfig= test-grandmaster, DiscoveredSlave1PtpConfig= test-slave1, DiscoveredSlave2PtpConfig= test-slave2, PtpEventsIsSidecarReady= false, DiscoveredClockUnderTestPodName=linuxptp-daemon-zggn4, DiscoveredClockUnderTestNodeName=cnfdf30.telco5gran.eng.rdu2.redhat.com �[36mINFO �[0m[Feb 17 17:05:22.731][ptp.go: 109] Test description The test measures number of PTP time sync faults, and fails if > failure_threshold �[36mINFO �[0m[Feb 17 17:05:22.731][ptp.go: 119] Failure threshold = 1 �[36mINFO �[0m[Feb 17 17:05:22.731][ptp.go: 291] {Enable:true FailureThreshold:1 Duration:5} �[37mDEBUG �[0m[Feb 17 17:05:22.731][pubsublib.go: 31] lock Subscribe event.sync.sync-status.os-clock-sync-state-change �[37mDEBUG �[0m[Feb 17 17:05:22.731][pubsublib.go: 37] unlock Subscribe event.sync.sync-status.os-clock-sync-state-change �[37mDEBUG �[0m[Feb 17 17:05:22.744][pubsublib.go: 78] lock Unsubscribe �[37mDEBUG �[0m[Feb 17 17:05:22.744][pubsublib.go: 89] unlock Unsubscribe > Enter [BeforeEach] [dualnicbc-parallel] - /tmp/cnf-kCH2H/ptp-operator-conformance-test/test/pkg/execute/ginkgo.go:9 @ 02/17/24 17:04:22.69 < Exit [BeforeEach] [dualnicbc-parallel] - /tmp/cnf-kCH2H/ptp-operator-conformance-test/test/pkg/execute/ginkgo.go:9 @ 02/17/24 17:05:22.694 (1m0.004s) > Enter [BeforeEach] Event based tests - /tmp/cnf-kCH2H/ptp-operator-conformance-test/test/conformance/parallel/ptp.go:66 @ 02/17/24 17:05:22.694 < Exit [BeforeEach] Event based tests - /tmp/cnf-kCH2H/ptp-operator-conformance-test/test/conformance/parallel/ptp.go:66 @ 02/17/24 17:05:22.73 (36ms) > Enter [It] PTP Slave Clock Sync - /tmp/cnf-kCH2H/ptp-operator-conformance-test/test/conformance/parallel/ptp.go:77 @ 02/17/24 17:05:22.731 [FAILED] could not push initial event, err=could not retrieve log in ns=ptp-event-framework-test pod=cloud-proxy-sidecar, err=pods "cloud-proxy-sidecar" not found In [It] at: /tmp/cnf-kCH2H/ptp-operator-conformance-test/test/conformance/parallel/ptp.go:304 @ 02/17/24 17:05:22.745 < Exit [It] PTP Slave Clock Sync - /tmp/cnf-kCH2H/ptp-operator-conformance-test/test/conformance/parallel/ptp.go:77 @ 02/17/24 17:05:22.745 (14ms) > Enter [AfterEach] Event based tests - /tmp/cnf-kCH2H/ptp-operator-conformance-test/test/conformance/parallel/ptp.go:82 @ 02/17/24 17:05:22.745 < Exit [AfterEach] Event based tests - /tmp/cnf-kCH2H/ptp-operator-conformance-test/test/conformance/parallel/ptp.go:82 @ 02/17/24 17:05:22.745 (0s)
From build log the cloud-proxy-sidecar pod was failed to create due to PodSecurity restriction.
[37mDEBUG [0m[Feb 17 17:04:22.258][namespaces.go: 125] Is Present err=namespaces "ptp-event-framework-test" not found [31mERROR [0m[Feb 17 17:04:22.432][parallel_suite_test.go: 68] PTP events are not available due to Sidecar creation error err=pods "cloud-proxy-sidecar" is forbidden: violates PodSecurity "restricted:v1.24": privileged (containers "sidecar", "consumer" must not set securityContext.privileged=true), allowPrivilegeEscalation != false (containers "sidecar", "consumer" must set securityContext.allowPrivilegeEscalation=false), unrestricted capabilities (containers "sidecar", "consumer" must set securityContext.capabilities.drop=["ALL"]), runAsNonRoot != true (pod or containers "sidecar", "consumer" must set securityContext.runAsNonRoot=true), runAsUser=0 (containers "sidecar", "consumer" must not set runAsUser=0) [37mDEBUG [0m[Feb 17 17:04:22.432][parallel_suite_test.go: 81] lib.Ps=<nil>