-
Bug
-
Resolution: Not a Bug
-
Minor
-
None
-
4.14.z, 4.15.0
-
No
-
CNF RAN Sprint 249
-
1
-
False
-
PTP CI Test has 2 failures when running with BC profile 4.15 on cnfocto2
Summarizing 2 Failures: [FAIL] [bc-serial] PTP e2e tests PTP ClockSync [It] Slave can sync to master /Users/jacding/workspace/openshift/ptp-operator/test/pkg/ptptesthelper/ptptesthelper.go:84 [FAIL] [bc-serial] PTP e2e tests PTP ClockSync [It] Can provide a profile with higher priority /Users/jacding/workspace/openshift/ptp-operator/test/pkg/ptptesthelper/ptptesthelper.go:84 Ran 13 of 20 Specs in 1318.600 seconds FAIL! -- 11 Passed | 2 Failed | 2 Pending | 5 Skipped
Frequency: Intermittent.
Command for running the test. (there is no ptpconfig prior to running the tests)
PTP_TEST_MODE=BC EXTERNAL_GM=true make functests
ptp-operator version: latest code in master branch.
Images:
% oc get pod linuxptp-daemon-rdbqj -o yaml | grep image image: quay.io/openshift/origin-kube-rbac-proxy:4.15 imagePullPolicy: IfNotPresent image: quay.io/openshift/origin-ptp:4.15 imagePullPolicy: IfNotPresent imagePullSecrets: image: quay.io/openshift/origin-kube-rbac-proxy:4.15 imageID: quay.io/openshift/origin-kube-rbac-proxy@sha256:e2def4213ec0657e72eb790ae8a115511d5b8f164a62d3568d2f1bff189917e8 image: quay.io/openshift/origin-ptp:4.15 imageID: quay.io/openshift/origin-ptp@sha256:0935a2b43b5ddb514dd047dc4618ca62e2b278a9437bff975abac7006eb5bfc9
Logs:
------------------------------ • [FAILED] [600.961 seconds] [bc-serial] PTP e2e tests PTP ClockSync [It] Slave can sync to master /Users/jacding/workspace/openshift/ptp-operator/test/conformance/serial/ptp.go:307 Captured StdOut/StdErr Output >> INFO [Jan 24 12:19:01.660][testconfig.go: 528] Getting ptp configuration for namespace:openshift-ptp INFO [Jan 24 12:19:01.721][testconfig.go: 1016] 1 ptpconfig objects recovered INFO [Jan 24 12:19:01.848][testconfig.go: 537] Current PTP test config=PtpModeDesired= BC, PtpModeDiscovered= BC, Status= discoverySuccess, DiscoveredClockUnderTestPtpConfig= test-bc-master1, DiscoveredClockUnderTestSecondaryPtpConfig= nil, DiscoveredGrandMasterPtpConfig= nil, DiscoveredSlave1PtpConfig= nil, DiscoveredSlave2PtpConfig= nil, PtpEventsIsSidecarReady= false, DiscoveredClockUnderTestPodName=linuxptp-daemon-wf2xf, DiscoveredClockUnderTestNodeName=cnfocto2.ptp.lab.eng.bos.redhat.com INFO [Jan 24 12:19:01.849][ptphelper.go: 658] EXTERNAL_GM=true INFO [Jan 24 12:19:02.394][ptptesthelper.go: 69] slave's Master=3c2c30.ffff.670e00 INFO [Jan 24 12:19:03.078][metrics.go: 234] nodeName=cnfocto2.ptp.lab.eng.bos.redhat.com, aIf=ens2f2, roleInt=FAULTY INFO [Jan 24 12:19:03.078][ptptesthelper.go: 81] CheckClockRoleAndOffset Failed because of err: incorrect role INFO [Jan 24 12:19:13.767][metrics.go: 234] nodeName=cnfocto2.ptp.lab.eng.bos.redhat.com, aIf=ens2f2, roleInt=FAULTY INFO [Jan 24 12:19:13.767][ptptesthelper.go: 81] CheckClockRoleAndOffset Failed because of err: incorrect role INFO [Jan 24 12:19:24.447][metrics.go: 234] nodeName=cnfocto2.ptp.lab.eng.bos.redhat.com, aIf=ens2f2, roleInt=FAULTY INFO [Jan 24 12:19:24.447][ptptesthelper.go: 81] CheckClockRoleAndOffset Failed because of err: incorrect role ... INFO [Jan 24 12:28:53.733][metrics.go: 234] nodeName=cnfocto2.ptp.lab.eng.bos.redhat.com, aIf=ens2f2, roleInt=FAULTY INFO [Jan 24 12:28:53.733][ptptesthelper.go: 81] CheckClockRoleAndOffset Failed because of err: incorrect role << Captured StdOut/StdErr Output Timeline >> STEP: Refreshing configuration @ 01/24/24 12:19:01.437 [FAILED] in [It] - /Users/jacding/workspace/openshift/ptp-operator/test/pkg/ptptesthelper/ptptesthelper.go:84 @ 01/24/24 12:29:02.395 << Timeline [FAILED] Timed out after 600.001s. Timeout to detect metrics for ptpconfig test-bc-master1 Expected <*errors.errorString | 0x1400069a240>: incorrect role {s: "incorrect role"} to be nil In [It] at: /Users/jacding/workspace/openshift/ptp-operator/test/pkg/ptptesthelper/ptptesthelper.go:84 @ 01/24/24 12:29:02.395 ------------------------------ • [FAILED] [632.788 seconds] [bc-serial] PTP e2e tests PTP ClockSync [It] Can provide a profile with higher priority /Users/jacding/workspace/openshift/ptp-operator/test/conformance/serial/ptp.go:357 Captured StdOut/StdErr Output >> INFO [Jan 24 12:29:03.002][testconfig.go: 528] Getting ptp configuration for namespace:openshift-ptp INFO [Jan 24 12:29:03.067][testconfig.go: 1016] 1 ptpconfig objects recovered INFO [Jan 24 12:29:03.428][testconfig.go: 537] Current PTP test config=PtpModeDesired= BC, PtpModeDiscovered= BC, Status= discoverySuccess, DiscoveredClockUnderTestPtpConfig= test-bc-master1, DiscoveredClockUnderTestSecondaryPtpConfig= nil, DiscoveredGrandMasterPtpConfig= nil, DiscoveredSlave1PtpConfig= nil, DiscoveredSlave2PtpConfig= nil, PtpEventsIsSidecarReady= false, DiscoveredClockUnderTestPodName=linuxptp-daemon-wf2xf, DiscoveredClockUnderTestNodeName=cnfocto2.ptp.lab.eng.bos.redhat.com INFO [Jan 24 12:29:03.429][ptphelper.go: 658] EXTERNAL_GM=true INFO [Jan 24 12:29:35.598][ptptesthelper.go: 69] slave's Master=3c2c30.ffff.670e00 INFO [Jan 24 12:29:36.171][metrics.go: 234] nodeName=cnfocto2.ptp.lab.eng.bos.redhat.com, aIf=ens2f2, roleInt=FAULTY INFO [Jan 24 12:29:36.172][ptptesthelper.go: 81] CheckClockRoleAndOffset Failed because of err: incorrect role ... INFO [Jan 24 12:39:18.555][metrics.go: 234] nodeName=cnfocto2.ptp.lab.eng.bos.redhat.com, aIf=ens2f2, roleInt=FAULTY INFO [Jan 24 12:39:18.556][ptptesthelper.go: 81] CheckClockRoleAndOffset Failed because of err: incorrect role INFO [Jan 24 12:39:29.114][metrics.go: 234] nodeName=cnfocto2.ptp.lab.eng.bos.redhat.com, aIf=ens2f2, roleInt=FAULTY INFO [Jan 24 12:39:29.114][ptptesthelper.go: 81] CheckClockRoleAndOffset Failed because of err: incorrect role << Captured StdOut/StdErr Output Timeline >> STEP: Refreshing configuration @ 01/24/24 12:29:02.814 STEP: Creating a config with higher priority @ 01/24/24 12:29:03.429 STEP: Checking if Node has Profile and check sync @ 01/24/24 12:29:06.361 [FAILED] in [It] - /Users/jacding/workspace/openshift/ptp-operator/test/pkg/ptptesthelper/ptptesthelper.go:84 @ 01/24/24 12:39:35.612 << Timeline [FAILED] Timed out after 600.001s. Timeout to detect metrics for ptpconfig temp Expected <*errors.errorString | 0x140006843a0>: incorrect role {s: "incorrect role"} to be nil In [It] at: /Users/jacding/workspace/openshift/ptp-operator/test/pkg/ptptesthelper/ptptesthelper.go:84 @ 01/24/24 12:39:35.612 ------------------------------