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

T-GM: traceability flags 0 when clock class 6

XMLWordPrintable

    • None
    • CNF RAN Sprint 268
    • 1
    • False
    • Hide

      None

      Show
      None
    • Hide
      03/05: Hope to get PR out soon.
      02/27: Started investigation, familiarising myself with the code here.
      Show
      03/05: Hope to get PR out soon. 02/27: Started investigation, familiarising myself with the code here.

      The Jira  reports an issue where the traceability flags (currentUtcOffsetValid, timeTraceable, and frequencyTraceable) are announced as 0 after reloading the profile when the clock class is changed to 6. The logs indicate that the clock class change request is successful, but the flags do not update accordingly. This issue may impact the accuracy and reliability of the system's time synchronization. No clear decisions on technical approaches or tools have been made yet to address this issue. There are no known blockers or dependencies affecting progress. The overall purpose of the bug report is to document and resolve the issue. There are no relevant child issues at this time.

      After reloading the profile, flags currentUtcOffsetValid, timeTraceable and frequencyTraceable are announced as 0

      https://access.redhat.com/support/cases/#/case/04050507

      2025-02-04T08:49:14.000286249+00:00 stderr F I0204 08:49:14.000269 14775 stats.go:61] state updated for ts2phc =s2
      2025-02-04T08:49:14.000293710+00:00 stderr F I0204 08:49:14.000285 14775 event.go:427] dpll State s2, gnss State s2, tsphc state s2, gm state s2,
      2025-02-04T08:49:14.000309401+00:00 stderr F I0204 08:49:14.000299 14775 event.go:676] clock class change request from 248 to 6 
      2025-02-04T08:49:14.000329304+00:00 stdout F ts2phc[1738658954]:[ts2phc.0.config] ens1f0 nmea_status 1 offset -3 s2
      2025-02-04T08:49:14.000333529+00:00 stderr F I0204 08:49:14.000310 14775 event.go:693] PTP State: GM State s2, Clock Class 6 Time 2025-02-04 08:49:14.000304333 +0000 UTC m=+960159.792520652 sourceLost false
      2025-02-04T08:49:14.000340332+00:00 stdout F GM[1738658954]:[ts2phc.0.config] ens1f0 T-GM-STATUS s2
      2025-02-04T08:49:14.000349488+00:00 stderr F I0204 08:49:14.000344 14775 stats.go:61] state updated for ts2phc =s2
      2025-02-04T08:49:14.000422353+00:00 stdout F GM (Grand Master Clock) (State:Locked)
      2025-02-04T08:49:14.000422353+00:00 stdout F *├── GNSS (State:Locked)
      2025-02-04T08:49:14.000422353+00:00 stdout F *├── ClockClass (State:6)
      2025-02-04T08:49:14.000422353+00:00 stdout F *├── OVER-ALL-TS2PHC (State:Locked)
      2025-02-04T08:49:14.000422353+00:00 stdout F * ├── ts2phc (State:Locked)
      2025-02-04T08:49:14.000422353+00:00 stdout F * └── State: Locked Iface: ens1f0 Offset -3
      2025-02-04T08:49:14.000422353+00:00 stdout F * └── ts2phc (State:Locked)
      2025-02-04T08:49:14.000422353+00:00 stdout F * └── State: Locked Iface: ens2f0 Offset -3
      2025-02-04T08:49:14.000422353+00:00 stdout F *└── OVER-ALL-DPLL (State:Locked)
      2025-02-04T08:49:14.000422353+00:00 stdout F * ├── dpll (State:Locked)
      2025-02-04T08:49:14.000422353+00:00 stdout F * └── State: Locked Iface: ens2f0 Offset 0
      2025-02-04T08:49:14.000422353+00:00 stdout F * └── dpll (State:Locked)
      2025-02-04T08:49:14.000422353+00:00 stdout F * └── State: Locked Iface: ens1f0 Offset 1
      2025-02-04T08:49:14.000447755+00:00 stderr F I0204 08:49:14.000380 14775 pmc.go:65] pmc -u -b 0 -f /var/run/ptp4l.0.config "GET GRANDMASTER_SETTINGS_NP"
      2025-02-04T08:49:14.000447755+00:00 stderr F I0204 08:49:14.000390 14775 event.go:676] clock class change request from 248 to 6 
      2025-02-04T08:49:14.003720427+00:00 stdout F ptp4l[1738658954]:[ts2phc.0.config] CLOCK_CLASS_CHANGE 6
      2025-02-04T08:49:14.003737015+00:00 stderr F I0204 08:49:14.002560 14775 pmc.go:95] pmc result: sending: GET GRANDMASTER_SETTINGS_NP
      2025-02-04T08:49:14.003737015+00:00 stderr F 507c6f.fffe.4b9c98-0 seq 0 RESPONSE MANAGEMENT GRANDMASTER_SETTINGS_NP 
      2025-02-04T08:49:14.003737015+00:00 stderr F clockClass 6
      2025-02-04T08:49:14.003737015+00:00 stderr F clockAccuracy 0x27
      2025-02-04T08:49:14.003737015+00:00 stderr F offsetScaledLogVariance 0xffff
      2025-02-04T08:49:14.003737015+00:00 stderr F currentUtcOffset 37
      2025-02-04T08:49:14.003737015+00:00 stderr F leap61 0
      2025-02-04T08:49:14.003737015+00:00 stderr F leap59 0
      2025-02-04T08:49:14.003737015+00:00 stderr F currentUtcOffsetValid 0
      2025-02-04T08:49:14.003737015+00:00 stderr F ptpTimescale 1
      2025-02-04T08:49:14.003737015+00:00 stderr F timeTraceable 0
      2025-02-04T08:49:14.003737015+00:00 stderr F frequencyTraceable 0
      2025-02-04T08:49:14.003737015+00:00 stderr F timeSource 0x20
      2025-02-04T08:49:14.003737015+00:00 stderr F I0204 08:49:14.002991 14775 event.go:941] received ts2phc.0.config,6,GM
      2025-02-04T08:49:14.003737015+00:00 stderr F I0204 08:49:14.003004 14775 event.go:945] updated clock class for last clock class 248 to 6
      2025-02-04T08:49:14.003737015+00:00 stderr F I0204 08:49:14.003027 14775 pmc.go:65] pmc -u -b 0 -f /var/run/ptp4l.0.config "GET GRANDMASTER_SETTINGS_NP"
      2025-02-04T08:49:14.007943276+00:00 stderr F I0204 08:49:14.007917 14775 pmc.go:95] pmc result: sending: GET GRANDMASTER_SETTINGS_NP
      2025-02-04T08:49:14.007943276+00:00 stderr F 507c6f.fffe.4b9c98-0 seq 0 RESPONSE MANAGEMENT GRANDMASTER_SETTINGS_NP 
      2025-02-04T08:49:14.007943276+00:00 stderr F clockClass 6
      2025-02-04T08:49:14.007943276+00:00 stderr F clockAccuracy 0x27
      2025-02-04T08:49:14.007943276+00:00 stderr F offsetScaledLogVariance 0xffff
      2025-02-04T08:49:14.007943276+00:00 stderr F currentUtcOffset 37
      2025-02-04T08:49:14.007943276+00:00 stderr F leap61 0
      2025-02-04T08:49:14.007943276+00:00 stderr F leap59 0
      2025-02-04T08:49:14.007943276+00:00 stderr F currentUtcOffsetValid 0
      2025-02-04T08:49:14.007943276+00:00 stderr F ptpTimescale 1
      2025-02-04T08:49:14.007943276+00:00 stderr F timeTraceable 0
      2025-02-04T08:49:14.007943276+00:00 stderr F frequencyTraceable 0
      2025-02-04T08:49:14.007943276+00:00 stderr F timeSource 0x20
      2025-02-04T08:49:14.008282702+00:00 stderr F I0204 08:49:14.008195 14775 event.go:941] received ts2phc.0.config,6,GM
      2025-02-04T08:49:14.008345817+00:00 stderr F I0204 08:49:14.008216 14775 event.go:945] updated clock class for last clock class 6 to 6
      2025-02-04T08:49:14.008372720+00:00 stdout F ptp4l[1738658954]:[ts2phc.0.config] CLOCK_CLASS_CHANGE 6
      

              josricha@redhat.com Joseph Richard
              vgrinber@redhat.com Vitaly Grinberg
              Yang Liu Yang Liu
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: