Skip to content

[configlet] Skip last_update_time for comparison per design#18610

Merged
qiluo-msft merged 1 commit intosonic-net:masterfrom
wen587:skip_time
May 27, 2025
Merged

[configlet] Skip last_update_time for comparison per design#18610
qiluo-msft merged 1 commit intosonic-net:masterfrom
wen587:skip_time

Conversation

@wen587
Copy link
Copy Markdown
Contributor

@wen587 wen587 commented May 26, 2025

Description of PR

Summary: Skip last_update_time per design.
Fixes # (issue) ADO: 32970571

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?

Due to recent change in sonic-net/sonic-platform-daemons#604, the last_udpate_time was added. It should be skipped for comparison per design.
The last_update_time field was added in four place including post_diagnostic_values_to_db, post_port_dom_flags_to_db, post_port_transceiver_hw_status_flags_to_db, post_port_vdm_thresholds_to_db.
So there are many table involved such as TRANSCEIVER_STATUS, TRANSCEIVER_STATUS_FLAG. Thus skip in the val comparison.

How did you do it?

Skip the last_update_time for comparison

How did you verify/test it?

E2E

Any platform specific information?

Supported testbed topology if it's a new test case?

Documentation

@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@wen587 wen587 changed the title Skip last_updat_time for comparison per design [configlet] Skip last_update_time for comparison per design May 26, 2025
@wen587 wen587 requested a review from qiluo-msft May 26, 2025 09:45
@wen587 wen587 marked this pull request as ready for review May 26, 2025 09:45
@qiluo-msft qiluo-msft requested a review from xincunli-sonic May 26, 2025 23:57
@qiluo-msft qiluo-msft merged commit c38e919 into sonic-net:master May 27, 2025
16 of 17 checks passed
bachalla pushed a commit to bachalla/sonic-mgmt that referenced this pull request Jun 2, 2025
Description of PR
Summary: Skip last_update_time per design.
Fixes # (issue) ADO: 32970571

Approach
What is the motivation for this PR?
Due to recent change in sonic-net/sonic-platform-daemons#604, the last_udpate_time was added. It should be skipped for comparison per design.
The last_update_time field was added in four place including post_diagnostic_values_to_db, post_port_dom_flags_to_db, post_port_transceiver_hw_status_flags_to_db, post_port_vdm_thresholds_to_db.
So there are many table involved such as TRANSCEIVER_STATUS, TRANSCEIVER_STATUS_FLAG. Thus skip in the val comparison.

How did you do it?
Skip the last_update_time for comparison

How did you verify/test it?
E2E
mssonicbld pushed a commit to mssonicbld/sonic-mgmt that referenced this pull request Jun 19, 2025
Description of PR
Summary: Skip last_update_time per design.
Fixes # (issue) ADO: 32970571

Approach
What is the motivation for this PR?
Due to recent change in sonic-net/sonic-platform-daemons#604, the last_udpate_time was added. It should be skipped for comparison per design.
The last_update_time field was added in four place including post_diagnostic_values_to_db, post_port_dom_flags_to_db, post_port_transceiver_hw_status_flags_to_db, post_port_vdm_thresholds_to_db.
So there are many table involved such as TRANSCEIVER_STATUS, TRANSCEIVER_STATUS_FLAG. Thus skip in the val comparison.

How did you do it?
Skip the last_update_time for comparison

How did you verify/test it?
E2E
@mssonicbld
Copy link
Copy Markdown
Collaborator

Cherry-pick PR to 202505: #19100

mssonicbld pushed a commit that referenced this pull request Jun 20, 2025
Description of PR
Summary: Skip last_update_time per design.
Fixes # (issue) ADO: 32970571

Approach
What is the motivation for this PR?
Due to recent change in sonic-net/sonic-platform-daemons#604, the last_udpate_time was added. It should be skipped for comparison per design.
The last_update_time field was added in four place including post_diagnostic_values_to_db, post_port_dom_flags_to_db, post_port_transceiver_hw_status_flags_to_db, post_port_vdm_thresholds_to_db.
So there are many table involved such as TRANSCEIVER_STATUS, TRANSCEIVER_STATUS_FLAG. Thus skip in the val comparison.

How did you do it?
Skip the last_update_time for comparison

How did you verify/test it?
E2E
@prabhataravind
Copy link
Copy Markdown
Contributor

hi @qiluo-msft is this needed in 202411 as well?

@qiluo-msft
Copy link
Copy Markdown
Contributor

hi @qiluo-msft is this needed in 202411 as well?

I believe no.

opcoder0 pushed a commit to opcoder0/sonic-mgmt that referenced this pull request Dec 8, 2025
Description of PR
Summary: Skip last_update_time per design.
Fixes # (issue) ADO: 32970571

Approach
What is the motivation for this PR?
Due to recent change in sonic-net/sonic-platform-daemons#604, the last_udpate_time was added. It should be skipped for comparison per design.
The last_update_time field was added in four place including post_diagnostic_values_to_db, post_port_dom_flags_to_db, post_port_transceiver_hw_status_flags_to_db, post_port_vdm_thresholds_to_db.
So there are many table involved such as TRANSCEIVER_STATUS, TRANSCEIVER_STATUS_FLAG. Thus skip in the val comparison.

How did you do it?
Skip the last_update_time for comparison

How did you verify/test it?
E2E

Signed-off-by: opcoder0 <110003254+opcoder0@users.noreply.github.com>
gshemesh2 pushed a commit to gshemesh2/sonic-mgmt that referenced this pull request Dec 21, 2025
Description of PR
Summary: Skip last_update_time per design.
Fixes # (issue) ADO: 32970571

Approach
What is the motivation for this PR?
Due to recent change in sonic-net/sonic-platform-daemons#604, the last_udpate_time was added. It should be skipped for comparison per design.
The last_update_time field was added in four place including post_diagnostic_values_to_db, post_port_dom_flags_to_db, post_port_transceiver_hw_status_flags_to_db, post_port_vdm_thresholds_to_db.
So there are many table involved such as TRANSCEIVER_STATUS, TRANSCEIVER_STATUS_FLAG. Thus skip in the val comparison.

How did you do it?
Skip the last_update_time for comparison

How did you verify/test it?
E2E

Signed-off-by: Guy Shemesh <gshemesh@nvidia.com>
@markx-arista
Copy link
Copy Markdown
Contributor

Need to backport to msft-202503

gshemesh2 pushed a commit to gshemesh2/sonic-mgmt that referenced this pull request Jan 26, 2026
Description of PR
Summary: Skip last_update_time per design.
Fixes # (issue) ADO: 32970571

Approach
What is the motivation for this PR?
Due to recent change in sonic-net/sonic-platform-daemons#604, the last_udpate_time was added. It should be skipped for comparison per design.
The last_update_time field was added in four place including post_diagnostic_values_to_db, post_port_dom_flags_to_db, post_port_transceiver_hw_status_flags_to_db, post_port_vdm_thresholds_to_db.
So there are many table involved such as TRANSCEIVER_STATUS, TRANSCEIVER_STATUS_FLAG. Thus skip in the val comparison.

How did you do it?
Skip the last_update_time for comparison

How did you verify/test it?
E2E

Signed-off-by: Guy Shemesh <gshemesh@nvidia.com>
@mssonicbld
Copy link
Copy Markdown
Collaborator

Cherry-pick PR to msft-202503: Azure/sonic-mgmt.msft#997

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants