Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-29632

PTP CI: event test failed to create consumer sidecar (Intermittent High)

XMLWordPrintable

    • No
    • CNF RAN Sprint 249, CNF RAN Sprint 250
    • 2
    • False
    • Hide

      None

      Show
      None

      The following test failed.

      {}The issue is intermittent. The frequency of this issue occurring is High.

      https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/test-platform-results/pr-logs/pull/openshift_release/48859/rehearse-48859-periodic-ci-openshift-release-master-nightly-4.16-e2e-telco5g-ptp/1758868312437035008/artifacts/e2e-telco5g-ptp/telco5g-ptp-tests/artifacts/test_results_all.html

      [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  [Feb 17 17:04:22.258][namespaces.go: 125] Is Present err=namespaces "ptp-event-framework-test" not found 
      ERROR  [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) 
      DEBUG  [Feb 17 17:04:22.432][parallel_suite_test.go: 81] lib.Ps=<nil>                        

       

              jacding@redhat.com Jack Ding
              jacding@redhat.com Jack Ding
              Bonnie Block Bonnie Block
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: