-
Bug
-
Resolution: Done
-
Minor
-
None
-
4.15.0
-
No
-
CNF RAN Sprint 249, CNF RAN Sprint 250
-
2
-
False
-
The ci test scripts failed the test if configured prometheus rate time window is less than 2 times of cadvisor scrape interval. However the cadvisor scrape interval can vary from cluster to cluster and is not controlled by the ptp rest scripts. The rate time window should be adjusted according to the actual reading of cadvisor scrape interval in the cluster to avoid this failure.
INFO [Feb 15 14:41:22.746][ptp.go: 165] Configured rate timeWindow: 1m0s, cadvisor scrape interval: 60 secs. << Captured StdOut/StdErr Output [FAILED] configured time window (1m0s) is lower than twice the cadvisor scraping interval (60 secs) Expected <int>: 60 to be >= <int>: 120 In [It] at: /Users/jacding/workspace/openshift/ptp-operator/test/conformance/parallel/ptp.go:169 @ 02/15/24 14:41:22.747