-
Bug
-
Resolution: Not a Bug
-
Minor
-
4.21
Description of problem:
helix98 T-GM w/E825 GNR-D
ptp-operator.v4.21.0-202601292040
Bug is observed during test "should add leap event announcement in leap configmap when removing the last announcement", polarion.ID("75325")
Last announcement in leap file is deleted and linuxptp-daemon is restarted. It is expected that the last announcement in the leap file configmap will be the current date. Instead, an announcement is added for 28 Nov 2021.
[kni@registry.kni-qe-90 ~]$ oc get cm -n openshift-ptp leap-configmap -o yaml apiVersion: v1 data: helix98.telcoqe.eng.rdu2.dc.redhat.com: "# Do not edit\n# This file is generated automatically by linuxptp-daemon\n#$\t3979058157\n#@\t4291747200\n2272060800 10 \ # 1 Jan 1972\n2287785600 11 # 1 Jul 1972\n2303683200 12 # 1 Jan 1973\n2335219200 13 # 1 Jan 1974\n2366755200 14 # 1 Jan 1975\n2398291200 \ 15 # 1 Jan 1976\n2429913600 16 # 1 Jan 1977\n2461449600 17 \ # 1 Jan 1978\n2492985600 18 # 1 Jan 1979\n2524521600 19 # 1 Jan 1980\n2571782400 20 # 1 Jul 1981\n2603318400 21 # 1 Jul 1982\n2634854400 \ 22 # 1 Jul 1983\n2698012800 23 # 1 Jul 1985\n2776982400 24 \ # 1 Jan 1988\n2840140800 25 # 1 Jan 1990\n2871676800 26 # 1 Jan 1991\n2918937600 27 # 1 Jul 1992\n2950473600 28 # 1 Jul 1993\n2982009600 \ 29 # 1 Jul 1994\n3029443200 30 # 1 Jan 1996\n3076704000 31 \ # 1 Jul 1997\n3124137600 32 # 1 Jan 1999\n3345062400 33 # 1 Jan 2006\n3439756800 34 # 1 Jan 2009\n3550089600 35 # 1 Jul 2012\n3644697600 \ 36 # 1 Jul 2015\n3847046400 37 # 28 Nov 2021\n\n#h\t185e81e6 a155c590 4b4d822e b556756d 97426e88" kind: ConfigMap metadata: creationTimestamp: "2026-01-30T22:14:18Z" name: leap-configmap namespace: openshift-ptp ownerReferences: - apiVersion: ptp.openshift.io/v1 blockOwnerDeletion: true controller: true kind: PtpOperatorConfig name: default uid: 32d01dcb-e4d2-4ec1-9ccf-558f8e833be4 resourceVersion: "469409" uid: 62dd5b54-4d33-4ec8-9e41-4a0b7f524445
Version-Release number of selected component (if applicable):
4.21
How reproducible:
100%
Steps to Reproduce:
On GNR-D T-GM config:
1. Delete last announcement in leap file configmap
2. Restart linuxptp-daemon
3. View the last entry in the leap file configmap
Actual results:
2015\n3847046400 37 # 28 Nov 2021
Expected results:
Current date as last announcement
Additional info: