Skip to content

[advanced-reboot] Check OS version at runtime during upgrade path tests#7761

Merged
vaibhavhd merged 1 commit intosonic-net:masterfrom
vaibhavhd:check-os-at-runtime
Mar 16, 2023
Merged

[advanced-reboot] Check OS version at runtime during upgrade path tests#7761
vaibhavhd merged 1 commit intosonic-net:masterfrom
vaibhavhd:check-os-at-runtime

Conversation

@vaibhavhd
Copy link
Contributor

Description of PR

Summary: Fix bug where regex set is selected for the base image, rather than target image for the upgrade path testcase
Fixes # (issue)

Type of change

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

Back port request

  • 201911
  • 202012
  • 202205

Approach

What is the motivation for this PR?

During upgrade path, regex picking should be done based on the version currently running on the device.

This bug has created issues in 201911 to 202205 upgrade path, where for post upgrade timing collection the test picks 201911 regex.

How did you do it?

Fix this by checking the current running version to select that version's regex for timing data collection.

How did you verify/test it?

Tested on a physical device.

Any platform specific information?

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

Documentation

@vaibhavhd vaibhavhd requested review from kellyyeh and yxieca March 15, 2023 23:41
@vaibhavhd vaibhavhd requested a review from prgeor as a code owner March 15, 2023 23:41
@vaibhavhd vaibhavhd merged commit 19d597f into sonic-net:master Mar 16, 2023
wangxin pushed a commit that referenced this pull request Mar 17, 2023
…ts (#7761)

What is the motivation for this PR?
During upgrade path, regex picking should be done based on the version currently running on the device.

This bug has created issues in 201911 to 202205 upgrade path, where for post upgrade timing collection the test picks 201911 regex.

How did you do it?
Fix this by checking the current running version to select that version's regex for timing data collection.

How did you verify/test it?
Tested on a physical device.
wangxin pushed a commit that referenced this pull request Mar 17, 2023
…ts (#7761)

What is the motivation for this PR?
During upgrade path, regex picking should be done based on the version currently running on the device.

This bug has created issues in 201911 to 202205 upgrade path, where for post upgrade timing collection the test picks 201911 regex.

How did you do it?
Fix this by checking the current running version to select that version's regex for timing data collection.

How did you verify/test it?
Tested on a physical device.
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.

3 participants