[action] [PR:18841] Fix ntp synchronization issue for test_ntp#19405
[action] [PR:18841] Fix ntp synchronization issue for test_ntp#19405mssonicbld wants to merge 1 commit intosonic-net:202505from
Conversation
The test initiates an NTP server on PTF, which has a pool of 4 network NTP servers and sets the local clock as the preferred option. However, the local server's clock (crystal oscillator) has poor accuracy, causing the PTF's NTP server to dynamically switch to other network NTP servers in the pool. As a result, when DUT uses the PTF NTP server as the clock, synchronization becomes difficult. To resolve the issue, remove the network NTP configuration from the pool.
|
Original PR: #18841 |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
Re-trigger the PR test |
|
/azp run |
|
Azure Pipelines will not run the associated pipelines, because the pull request was updated after the run command was issued. Review the pull request again and issue a new run command. |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
Hi @JibinBao , could you check the test failure of cherry-picking to 202505 branch? |
I have seen the same error on other PRs. It looks like not related to my fix. |
|
/azpw run Azure.sonic-mgmt |
|
/AzurePipelines run Azure.sonic-mgmt |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
hi @yejianquan , |
|
/azpw run Azure.sonic-mgmt |
|
/AzurePipelines run Azure.sonic-mgmt |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
Any update here |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
has been included in #19948 |
Description of PR
The test initiates an NTP server on PTF, which has a pool of 4 network NTP servers and sets the local clock as the preferred option. However, the local server's clock (crystal oscillator) has poor accuracy, causing the PTF's NTP server to dynamically switch to other network NTP servers in the pool. As a result, when DUT uses the PTF NTP server as the clock, synchronization becomes difficult. To resolve the issue, remove the network NTP configuration from the pool.
Summary:
Fixes # (issue)
Type of change
Back port request
Approach
What is the motivation for this PR?
Fix ntp synchronization issue for test_ntp
How did you do it?
Just keep one ntp clock for the ptf ntp server
How did you verify/test it?
Run test_ntp.py
Any platform specific information?
Any
Supported testbed topology if it's a new test case?
Documentation