Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[master] Submodule advance sonic-swss #8915

Merged
merged 2 commits into from
Oct 9, 2021

Conversation

vaibhavhd
Copy link
Contributor

Why I did it

Include below commits to master image:

Cache routes for single nexthop for faster retrieval sonic-net/sonic-swss#1922

Reduce route count for route perf test (sonic-net/sonic-swss#1928)

[pytest]: Re-use DVS container when possible (sonic-net/sonic-swss#1816)

[PORTSYNCD] when no ports on config db on init, continue and set Port… (sonic-net/sonic-swss#1861)

[gearbox] Add gearbox unit test (sonic-net/sonic-swss#1920)

Reverted skipped test_buffer_dynamic test cases (sonic-net/sonic-swss#1937)

Revert "[buffer orch] Bugfix: Don't query counter SAI_BUFFER_POOL_STA… (sonic-net/sonic-swss#1945)

How I did it

How to verify it

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106

Description for the changelog

A picture of a cute animal (not mandatory but encouraged)

neethajohn
neethajohn previously approved these changes Oct 7, 2021
@vaibhavhd
Copy link
Contributor Author

/Azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@vaibhavhd
Copy link
Contributor Author

The PR test failures are consistently seen in vstest job.

This is likely due to changes in sonic-net/sonic-swss#1816 (that are also pulled in this submodule advance PR).

2021-10-07T18:52:43.9621146Z bgp/test_default_route.py::test_DefaultRoute PASSED                      [ 14%]
2021-10-07T18:52:45.4636948Z bgp/test_gr_livelock.py::test_gr_livelock ERROR                          [ 28%]
2021-10-07T18:53:53.3061363Z bgp/test_invalid_nexthop.py::test_InvalidNexthop FAILED                  [ 42%]
2021-10-07T18:54:54.5913205Z bgp/test_no_export.py::test_bounce ERROR                                 [ 57%]
2021-10-07T18:54:54.7085069Z breakout/test_breakout_cli.py::TestBreakoutCli::test_InitialBreakoutMode ERROR [ 71%]
2021-10-07T18:54:54.8158494Z breakout/test_breakout_cli.py::TestBreakoutCli::test_breakout_modes ERROR [ 85%]
2021-10-07T18:54:55.0494420Z teamd/test_portchannel.py::test_PortChannel ERROR                        [100%]
2021-10-07T18:54:55.0527882Z teamd/test_portchannel.py::test_PortChannel ERROR                        [100%]
2021-10-07T18:54:55.0529219Z 
2021-10-07T18:54:55.0530037Z ==================================== ERRORS ====================================
2021-10-07T18:54:55.0530887Z ______________________ ERROR at setup of test_gr_livelock ______________________
2021-10-07T18:54:55.0531300Z 
2021-10-07T18:54:55.0532618Z request = <SubRequest 'dvs' for <Function test_gr_livelock>>
2021-10-07T18:54:55.0533458Z manage_dvs = <function manage_dvs.<locals>.update_dvs at 0x7fd6924eb940>
2021-10-07T18:54:55.0534708Z 
2021-10-07T18:54:55.0535282Z     @pytest.yield_fixture(scope="module")
2021-10-07T18:54:55.0536538Z     def dvs(request, manage_dvs) -> DockerVirtualSwitch:
2021-10-07T18:54:55.0537797Z         dvs_env = getattr(request.module, "DVS_ENV", [])
2021-10-07T18:54:55.0538880Z         name = request.config.getoption("--dvsname")
2021-10-07T18:54:55.0539639Z         log_path = name if name else request.module.__name__
2021-10-07T18:54:55.0540164Z     
2021-10-07T18:54:55.0540677Z >       return manage_dvs(log_path, dvs_env)
2021-10-07T18:54:55.0540958Z 
2021-10-07T18:54:55.0541889Z ../../../src/sonic-swss/tests/conftest.py:1659: 
2021-10-07T18:54:55.0542749Z _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
2021-10-07T18:54:55.0544493Z ../../../src/sonic-swss/tests/conftest.py:1639: in update_dvs
2021-10-07T18:54:55.0545244Z     dvs.create_servers()
2021-10-07T18:54:55.0546278Z ../../../src/sonic-swss/tests/conftest.py:395: in create_servers
2021-10-07T18:54:55.0547047Z     server = VirtualServer(self.ctn_sw.name, self.ctn_sw_pid, i)
2021-10-07T18:54:55.0548058Z ../../../src/sonic-swss/tests/conftest.py:186: in __init__
2021-10-07T18:54:55.0548555Z     ensure_system(f"ip netns exec {self.nsname} ip link set {self.pifname} netns {pid}")
2021-10-07T18:54:55.0548992Z _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
2021-10-07T18:54:55.0549217Z 
2021-10-07T18:54:55.0549763Z cmd = 'ip netns exec mystifying_swanson-srv0 ip link set eth1 netns 375017'
2021-10-07T18:54:55.0549967Z 
2021-10-07T18:54:55.0550232Z     def ensure_system(cmd):
2021-10-07T18:54:55.0550549Z         rc, output = subprocess.getstatusoutput(cmd)
2021-10-07T18:54:55.0550852Z         if rc:
2021-10-07T18:54:55.0551241Z >           raise RuntimeError(f"Failed to run command: {cmd}. rc={rc}. output: {output}")
2021-10-07T18:54:55.0552198Z E           RuntimeError: Failed to run command: ip netns exec mystifying_swanson-srv0 ip link set eth1 netns 375017. rc=2. output: RTNETLINK answers: Invalid argument
2021-10-07T18:54:55.0552632Z 
2021-10-07T18:54:55.0553117Z ../../../src/sonic-swss/tests/conftest.py:44: RuntimeError

@vaibhavhd vaibhavhd merged commit 0780aea into sonic-net:master Oct 9, 2021
@vaibhavhd vaibhavhd deleted the update-sonic-swss branch October 9, 2021 00:30
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants