Update setup_ntp_context to detect NTP daemon type on PTF Host#18583
Merged
wangxin merged 1 commit intosonic-net:masterfrom May 27, 2025
Merged
Update setup_ntp_context to detect NTP daemon type on PTF Host#18583wangxin merged 1 commit intosonic-net:masterfrom
wangxin merged 1 commit intosonic-net:masterfrom
Conversation
Collaborator
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
saiarcot895
approved these changes
May 23, 2025
wangxin
approved these changes
May 27, 2025
bachalla
pushed a commit
to bachalla/sonic-mgmt
that referenced
this pull request
Jun 2, 2025
Bookworm uses ntpsec as the NTP daemon on the PTF host. The PR is modified to be backward compatible with Bullseye. It detects the NTP daemon type which is NTP on Bullseye and NTPSEC on Bookworm. Fixes test failures on Bookworm that rely on the NTP daemon setup like ip/test_mgmt_ipv6_only.py::test_ntp_ipv6_only
mssonicbld
pushed a commit
to mssonicbld/sonic-mgmt
that referenced
this pull request
Jun 17, 2025
Bookworm uses ntpsec as the NTP daemon on the PTF host. The PR is modified to be backward compatible with Bullseye. It detects the NTP daemon type which is NTP on Bullseye and NTPSEC on Bookworm. Fixes test failures on Bookworm that rely on the NTP daemon setup like ip/test_mgmt_ipv6_only.py::test_ntp_ipv6_only
Collaborator
|
Cherry-pick PR to 202505: #19048 |
11 tasks
11 tasks
yejianquan
pushed a commit
that referenced
this pull request
Jun 18, 2025
…9049) Description of PR Consolidated PR with all changes required for docker-ptf Bookworm based image. Based on these PRs for master - #18544 #18627 #18584 #18583 Summary: Fixes # (issue) Type of change Bug fix Testbed and Framework(new/improvement) New Test case Skipped for non-supported platforms Test case improvement Back port request 202205 202305 202311 202405 202411 202505 Approach What is the motivation for this PR? This change is backward compatible and is required to support running tests in docker-ptf Bookworm image. How did you do it? See description signed-off-by: [email protected]
bingwang-ms
added a commit
to Azure/sonic-mgmt.msft
that referenced
this pull request
Jul 30, 2025
This PR is to cherry-pick below PRs to 202503 branch - sonic-net/sonic-mgmt#17434 - sonic-net/sonic-mgmt#17629 - sonic-net/sonic-mgmt#18583 - sonic-net/sonic-mgmt#18627 - sonic-net/sonic-mgmt#18841 - sonic-net/sonic-mgmt#19444
opcoder0
added a commit
to opcoder0/sonic-mgmt
that referenced
this pull request
Dec 8, 2025
Bookworm uses ntpsec as the NTP daemon on the PTF host. The PR is modified to be backward compatible with Bullseye. It detects the NTP daemon type which is NTP on Bullseye and NTPSEC on Bookworm. Fixes test failures on Bookworm that rely on the NTP daemon setup like ip/test_mgmt_ipv6_only.py::test_ntp_ipv6_only Signed-off-by: opcoder0 <[email protected]>
AharonMalkin
pushed a commit
to AharonMalkin/sonic-mgmt
that referenced
this pull request
Dec 16, 2025
Bookworm uses ntpsec as the NTP daemon on the PTF host. The PR is modified to be backward compatible with Bullseye. It detects the NTP daemon type which is NTP on Bullseye and NTPSEC on Bookworm. Fixes test failures on Bookworm that rely on the NTP daemon setup like ip/test_mgmt_ipv6_only.py::test_ntp_ipv6_only Signed-off-by: Aharon Malkin <[email protected]>
gshemesh2
pushed a commit
to gshemesh2/sonic-mgmt
that referenced
this pull request
Dec 21, 2025
Bookworm uses ntpsec as the NTP daemon on the PTF host. The PR is modified to be backward compatible with Bullseye. It detects the NTP daemon type which is NTP on Bullseye and NTPSEC on Bookworm. Fixes test failures on Bookworm that rely on the NTP daemon setup like ip/test_mgmt_ipv6_only.py::test_ntp_ipv6_only Signed-off-by: Guy Shemesh <[email protected]>
gshemesh2
pushed a commit
to gshemesh2/sonic-mgmt
that referenced
this pull request
Jan 26, 2026
Bookworm uses ntpsec as the NTP daemon on the PTF host. The PR is modified to be backward compatible with Bullseye. It detects the NTP daemon type which is NTP on Bullseye and NTPSEC on Bookworm. Fixes test failures on Bookworm that rely on the NTP daemon setup like ip/test_mgmt_ipv6_only.py::test_ntp_ipv6_only Signed-off-by: Guy Shemesh <[email protected]>
auspham
pushed a commit
to auspham/sonic-mgmt
that referenced
this pull request
Feb 3, 2026
Bookworm uses ntpsec as the NTP daemon on the PTF host. The PR is modified to be backward compatible with Bullseye. It detects the NTP daemon type which is NTP on Bullseye and NTPSEC on Bookworm. Fixes test failures on Bookworm that rely on the NTP daemon setup like ip/test_mgmt_ipv6_only.py::test_ntp_ipv6_only
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of PR
Bookworm uses ntpsec as the NTP daemon on the PTF host. The PR is modified to be backward compatible with Bullseye. It detects the NTP daemon type which is NTP on Bullseye and NTPSEC on Bookworm. Fixes test failures on Bookworm that rely on the NTP daemon setup like
ip/test_mgmt_ipv6_only.py::test_ntp_ipv6_onlySummary:
Fixes # (issue)
Type of change
Back port request
Approach
What is the motivation for this PR?
Required for migration of Docker PTF to Bookworm.
How did you do it?
See description.
How did you verify/test it?
Manually.
Any platform specific information?
NA
Supported testbed topology if it's a new test case?
NA
Documentation
NA