Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

[tests/Mgmt-vrf]:Adding script for management vrf #1210

Closed
wants to merge 1 commit into from

Conversation

chitra-raghavan
Copy link
Contributor

Summary:
Adding script for management vrf

Type of change

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

Approach

How did you do it?

How did you verify/test it?

root@15d676a9e0f5:/var/johnar/sonic-mgmt/tests# py.test --inventory=../ansible/lab --host-pattern=sonic-z9264f-03 --module-path ../ansible/library/ --testbed
=vms-t0-116  --testbed_file=../ansible/testbed.csv test_mgmtvrf.py   --disable_loganalyzer    -log-cli-level=INFO --log-level=INFO -v  --show-capture=stdout
--duration=0
==================================================================== test session starts ====================================================================
platform linux2 -- Python 2.7.12, pytest-4.6.5, py-1.8.0, pluggy-0.12.0 -- /usr/bin/python
cachedir: .pytest_cache
ansible: 2.0.0.2
rootdir: /var/johnar/sonic-mgmt/tests, inifile: pytest.ini
plugins: ansible-2.0.2
collected 10 items

test_mgmtvrf.py::TestMvrfInbound::test_ping PASSED                                                                                                    [ 10%]
test_mgmtvrf.py::TestMvrfInbound::test_snmp_fact PASSED                                                                                               [ 20%]
test_mgmtvrf.py::TestMvrfOutbound::test_ping PASSED                                                                                                   [ 30%]
test_mgmtvrf.py::TestMvrfOutbound::test_wget PASSED                                                                                                   [ 40%]
test_mgmtvrf.py::TestMvrfOutbound::test_curl PASSED                                                                                                   [ 50%]
test_mgmtvrf.py::TestServices::test_ntp PASSED                                                                                                        [ 60%]
test_mgmtvrf.py::TestServices::test_service_acl PASSED                                                                                                [ 70%]
test_mgmtvrf.py::TestReboot::test_warmboot PASSED                                                                                                     [ 80%]
test_mgmtvrf.py::TestReboot::test_reboot PASSED                                                                                                       [ 90%]
test_mgmtvrf.py::TestReboot::test_fastboot PASSED                                                                                                     [100%]

================================================================== slowest test durations ===================================================================
240.93s call     test_mgmtvrf.py::TestReboot::test_reboot
234.44s call     test_mgmtvrf.py::TestReboot::test_warmboot
181.07s call     test_mgmtvrf.py::TestReboot::test_fastboot
84.56s call     test_mgmtvrf.py::TestServices::test_service_acl
23.81s teardown test_mgmtvrf.py::TestReboot::test_fastboot
20.88s call     test_mgmtvrf.py::TestServices::test_ntp
20.72s setup    test_mgmtvrf.py::TestMvrfInbound::test_ping
7.88s setup    test_mgmtvrf.py::TestMvrfOutbound::test_wget
4.17s teardown test_mgmtvrf.py::TestMvrfOutbound::test_wget
3.28s call     test_mgmtvrf.py::TestMvrfInbound::test_snmp_fact
2.36s call     test_mgmtvrf.py::TestMvrfOutbound::test_ping
0.81s call     test_mgmtvrf.py::TestMvrfOutbound::test_wget
0.69s call     test_mgmtvrf.py::TestMvrfOutbound::test_curl
0.60s teardown test_mgmtvrf.py::TestReboot::test_reboot
0.59s teardown test_mgmtvrf.py::TestMvrfOutbound::test_ping
0.58s setup    test_mgmtvrf.py::TestMvrfOutbound::test_ping
0.57s teardown test_mgmtvrf.py::TestReboot::test_warmboot
0.56s setup    test_mgmtvrf.py::TestReboot::test_reboot
0.56s teardown test_mgmtvrf.py::TestMvrfInbound::test_snmp_fact
0.53s setup    test_mgmtvrf.py::TestReboot::test_fastboot
0.52s teardown test_mgmtvrf.py::TestMvrfOutbound::test_curl
0.51s teardown test_mgmtvrf.py::TestServices::test_ntp
0.51s setup    test_mgmtvrf.py::TestMvrfOutbound::test_curl
0.51s setup    test_mgmtvrf.py::TestReboot::test_warmboot
0.51s teardown test_mgmtvrf.py::TestServices::test_service_acl
0.51s setup    test_mgmtvrf.py::TestServices::test_service_acl
0.50s setup    test_mgmtvrf.py::TestServices::test_ntp
0.50s setup    test_mgmtvrf.py::TestMvrfInbound::test_snmp_fact
0.50s teardown test_mgmtvrf.py::TestMvrfInbound::test_ping
0.19s call     test_mgmtvrf.py::TestMvrfInbound::test_ping
================================================================ 10 passed in 834.44 seconds ================================================================

Any platform specific information?

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

Independent of topology

Documentation

@chitra-raghavan
Copy link
Contributor Author

Closing this pull request as 2 PRs are raised by mistake

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants