Skip to content

allow upgrade sonic via onie or sonic-to-sonic upgrade method#413

Merged
lguohan merged 2 commits intosonic-net:masterfrom
lguohan:up
Jan 5, 2018
Merged

allow upgrade sonic via onie or sonic-to-sonic upgrade method#413
lguohan merged 2 commits intosonic-net:masterfrom
lguohan:up

Conversation

@lguohan
Copy link
Copy Markdown
Contributor

@lguohan lguohan commented Jan 4, 2018

Type of change

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

Approach

How did you do it?
integrate boot_onie into upgrade sonic yml.

How did you verify/test it?
run local via both onie and sonic methods.
once boot into onie, we can use root to login and run onie-discover-stop and onie-nos-install to install new image. The assumption here is the dhcp server will assign correct IP to the DUT so that we can ssh to the onie.

Any platform specific information?
no.

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

Documentation

Copy link
Copy Markdown
Contributor

@stcheng stcheng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no need to add become: no or become: false since the command doesn't have -b.

@lguohan lguohan merged commit af55175 into sonic-net:master Jan 5, 2018
praveen-li pushed a commit to praveen-li/sonic-mgmt that referenced this pull request Jun 20, 2019
* msft_github/master:
  [PFCWD]: Add Add support for t0 toplogy and arista fanout testbed (sonic-net#424)
  add orchagent process check before each test and sanity after each test (sonic-net#431)
  Move mem_check.sh into helpers/ directory to conform with location of other helper scripts (sonic-net#435)
  fix tests for t0-116 topology (sonic-net#430)
  Updated labinfo file with Arista fanout sku (sonic-net#429)
  add missing snmp testcases to top level snmp.yml; fixed wrong test file for neighbour test; change arp test comment more readable (sonic-net#428)
  Fix sku-sensors-data for 7060 (sonic-net#427)
  Fix port alias mapping for Arista-7050QX-32S (sonic-net#426)
  [Lag 2] Allow lacp timing tests to retry limited times until succeeded (sonic-net#403)
  [hwsku]: Add Accton-AS7716-32X (sonic-net#405)
  add generate minigrah using testbed_name option (sonic-net#425)
  Update README.testbed.md
  Create README.testbed.Example.md
  Update README.testbed.Config.md
  add missing test case name (sonic-net#417)
  fix typo when assign dscp_mode for decap test (sonic-net#418)
  [repeat harness] rework repeat harness and introduce test case continuous reboot (sonic-net#416)
  allow upgrade sonic via onie or sonic-to-sonic upgrade method (sonic-net#413)
  [topology]: Fix t1-64-lag topology device link base indices (sonic-net#414)
  Run sudo command with log_analyzer (sonic-net#415)
  [sonic tests] use host time instead of ansible time (sonic-net#410)
  [upgrade_sonic]: Fix the hostname in the wait_for condition (sonic-net#411)
  [Test cases] clean up some test cases changes and enabling more tests (sonic-net#409)
  add restart_swss (sonic-net#412)
  [sonic test] introduce a repeat harness (sonic-net#402)
  Update README.test.md
  [bgp_speaker]: always clean up test environment after it finishes (sonic-net#406)
  [vlan]: add vlan test to test by testname (sonic-net#408)
  [bug]: convert the interface from unicode to string (sonic-net#407)
  [VLAN test] Add VLAN test (sonic-net#375)
  [vm]: change the default Front plane port to 4 instead of 8 (sonic-net#404)
  Update README.testbed.Setup.md
  [acl]: Adopt tests with acl-loader to t0 and t1-lag topo. (sonic-net#370)
  add connect_topo command for testbed-cli.sh (sonic-net#398)
  [FIB, BGP speaker] fix t0-116 topology source port list (sonic-net#396)
  [bgp_speaker]: Specify VLAN IP route in case LPM to other nexthop (sonic-net#394)
  [sensor]: Change sensor labels for Arista 7050 and 7260 (sonic-net#395)
  Delete Arista DPMs sensors data (sonic-net#393)
  [bug]: change maximum packet to 9114 to send in the mtu test (sonic-net#391)
sdszhang pushed a commit to sdszhang/sonic-mgmt that referenced this pull request Jun 30, 2025
<!--
Please make sure you've read and understood our contributing guidelines;
https://github.com/sonic-net/SONiC/blob/gh-pages/CONTRIBUTING.md

Please provide following information to help code review process a bit easier:
-->
### Description of PR
<!--
- Please include a summary of the change and which issue is fixed.
- Please also include relevant motivation and context. Where should reviewer start? background context?
- List any dependencies that are required for this change.
-->

Summary:
Fixes # (issue)

### Type of change

<!--
- Fill x for your type of change.
- e.g.
- [x] Bug fix
-->

- [ ] Bug fix
- [ ] Testbed and Framework(new/improvement)
- [x] Test case(new/improvement)

### Back port request
- [ ] 202012
- [ ] 202205
- [ ] 202305
- [ ] 202311
- [ ] 202405

### Approach
#### What is the motivation for this PR?

Add support for testing chrony.

#### How did you do it?

Refactor the existing test code to differentiate between ntpd, ntpsec, and chrony.

#### How did you verify/test it?

#### Any platform specific information?

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

### Documentation
<!--
(If it's a new feature, new test case)
Did you update documentation/Wiki relevant to your implementation?
Link to the wiki page?
-->
anders-nexthop added a commit to nexthop-ai/sonic-mgmt that referenced this pull request Nov 2, 2025
Summary:
Some tests which use ACLs can fail when all ACLs have been programmed.
We can detect this case and compensate for it by storing the table info
and re-instating it at the end of the test.

Fixes 2960

### Type of change

<!--
- Fill x for your type of change.
- e.g.
- [x] Bug fix
-->

- [] Bug fix
- [ ] Testbed and Framework(new/improvement)
- [ ] New Test case
    - [ ] Skipped for non-supported platforms
- [x] Test case improvement


### Back port request
- [ ] 202205
- [ ] 202305
- [ ] 202311
- [ ] 202405
- [ ] 202411
- [x] 202505

### Approach
#### What is the motivation for this PR?

Increase code coverage.

#### How did you do it?

In the test infra, store the contents of the DATAACL table and restore
those contents at the end of the test.

#### How did you verify/test it?

Test fails without this change,  but passes with the change.

#### Any platform specific information?

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

### Documentation
<!--
(If it's a new feature, new test case)
Did you update documentation/Wiki relevant to your implementation?
Link to the wiki page?
-->
kazinator-arista pushed a commit to kazinator-arista/sonic-mgmt that referenced this pull request Mar 4, 2026
…nch (sonic-net#2526)

* [submodule 201811] advance sairedis and swss submodule for 201811 branch

Submodule src/sonic-sairedis 60f97c3..bdb0074:
  > Add more information on failed map sizes (sonic-net#416)
  > Add WRED specific comparison logic (sonic-net#413)
  > Initialize notification queue pointer before switch create (sonic-net#411)
  > Add log info for not matching SG/IPG/QUEUES (sonic-net#409)
  > Add support for any number of ports in virtual switch using lane map (sonic-net#407)

Submodule src/sonic-swss 85f6322..65a0256:
  > Increase the watermark polling interval to 10s (sonic-net#777)
  > [vstest]: fix test_port_an_warm.py test (sonic-net#779)
  > [wartermarkorch] Fix repeated m_pg_ids and m_unicast_queue_ids add up issue (sonic-net#752)
  > [teammgrd] Fix inconsistent port admin status (sonic-net#755)
  > Remove AclTableGroup upon removal of port/lag/vlan (sonic-net#751)


Signed-off-by: Ying Xie <ying.xie@microsoft.com>

* [submodule] advance sonic-swss submodule

Submodule src/sonic-swss 65a0256..bf21ee3:
  > On a routing vlan, the neighbor entry in the /31 subnet is not added … (sonic-net#784)
  > portsorch ports init done flag should means buffer, autoneg, speed, m… (sonic-net#747) (sonic-net#783)

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
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.

2 participants