Skip to content

Fix: Fix NTP config long jump test failure issue#13671

Merged
rlhui merged 3 commits intosonic-net:masterfrom
wumiaont:ntp
Jul 17, 2024
Merged

Fix: Fix NTP config long jump test failure issue#13671
rlhui merged 3 commits intosonic-net:masterfrom
wumiaont:ntp

Conversation

@wumiaont
Copy link
Contributor

Description of PR

NTP test_ntp_long_jump_enabled and test_ntp_long_jump_disabled tests are failing for master/202405 branch

Summary:
Fixes # (issue)
The restart command needs to be run using root privilege.

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • Test case(new/improvement)

Back port request

  • 202012
  • 202205
  • 202305
  • 202311
  • 202405

How did you do it?

How did you verify/test it?

Run NTP test_ntp_long_jump_enabled and test_ntp_long_jump_disabled test with fix. They all passed.

@wsycqyz
Copy link
Contributor

wsycqyz commented Jul 16, 2024

I am ok with the PR. Do we need this PR in 2024 or 2023 branch?

@wumiaont
Copy link
Contributor Author

I am ok with the PR. Do we need this PR in 2024 or 2023 branch?

We need for 202405. Not sure about 202305.

@wumiaont
Copy link
Contributor Author

@wsycqyz Can you review the PR again? Found logic issue in test_ntp_long_jump_disabled and fixed that. Also found this test passes after fix so we need to remove the xfail from test_mark_condition.py for test_ntp_long_jump_disabled.
Thx.

@rlhui rlhui merged commit 78d7d67 into sonic-net:master Jul 17, 2024
mrkcmo pushed a commit to Azarack/sonic-mgmt that referenced this pull request Jul 18, 2024
The restart command needs to be run using root privilege.
mssonicbld pushed a commit to mssonicbld/sonic-mgmt that referenced this pull request Aug 2, 2024
The restart command needs to be run using root privilege.
@mssonicbld
Copy link
Collaborator

Cherry-pick PR to 202405: #13947

@Janetxxx
Copy link
Contributor

@yxieca Please help to approve the request label

arista-hpandya pushed a commit to arista-hpandya/sonic-mgmt that referenced this pull request Oct 2, 2024
The restart command needs to be run using root privilege.
vikshaw-Nokia pushed a commit to vikshaw-Nokia/sonic-mgmt that referenced this pull request Oct 23, 2024
The restart command needs to be run using root privilege.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

6 participants