Created
August 31, 2016 10:04
-
-
Save bluecmd/84ac592962d1e23d9899aa8606d41394 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ops-ci]$ make testenv_rerun feature ops-supportability [ops-build] | |
Build System for openswitch | |
Platform: genericx86-64 | |
Collecting the requested code to run feature tests... | |
ops-supportability: fetching tests from git... | |
HEAD is now at 3135607 Remove connection code for direct socket paths | |
Starting feature tests execution... | |
Iterating the tests 1 times | |
Running the testsuite on iteration 1 | |
py34 installed: decorator==4.0.10,docker-py==1.9.0,flake8==3.0.4,ipaddress==1.0.16,ipdb==0.9.0,ipython==5.1.0,ipython-genutils==0.1.0,mccabe==0.5.2,pep8-naming==0.4.1,pexpect==4.2.1,pickleshare==0.7.4,pkg-resources==0.0.0,prompt-toolkit==1.0.7,ptyprocess==0.5.1,py==1.4.31,pycodestyle==2.0.0,pyflakes==1.2.3,Pygments==2.1.3,pynml==1.0.0,pyparsing==2.1.3,pytest==2.8.4,pytest-logging==2015.11.4,pytest-random==0.2,pytest-timeout==1.0.0,PyYAML==3.11,requests==2.11.1,retrying==1.3.3,rfc3986==0.4.1,simplegeneric==0.8.1,six==1.10.0,-e git+https://github.com/HPENetworking/topology.git@e4a509bbe8b9523c20483e07f7a3eb4677970c6c#egg=topology,-e git+https://git.openswitch.net/openswitch/ops-topology-common@39a7162ec036fde7b306c4db41c6cab8fe94f5bb#egg=topology_common,-e git+https://github.com/saenzpa/topology_docker.git@3716923848715d050bb139794c42a7932af87711#egg=topology_docker,-e git+https://github.com/saenzpa/topology_docker_oobmhost.git@cc6f1e0940550b29d59ed2374d024d3827f49451#egg=topology_docker_oobmhost,-e git+https://github.com/saenzpa/topology_docker_openswitch.git@a1392442cb24eec6a0a7c0edf2f56d84eb33e464#egg=topology_docker_openswitch,-e git+https://github.com/HPENetworking/topology_docker_openvswitch.git@fa48883b435c8a548a447689c150ad1b977fb98c#egg=topology_docker_openvswitch,-e git+https://github.com/HPENetworking/topology_docker_p4switch.git@0c3badc11f35a54a57901eaa56204587ec3ae8ea#egg=topology_docker_p4switch,-e git+https://github.com/HPENetworking/topology_lib_ip.git@a8fc3be9150593b6620241624bde19647ddebfc5#egg=topology_lib_ip,-e git+https://github.com/HPENetworking/topology_lib_iperf.git@4db75f90341a7d68d4a929a4e02e90aa79b13da7#egg=topology_lib_iperf,-e git+https://github.com/HPENetworking/topology_lib_ntpd@bacbaba21dda9fe88f8ef9b53bedecddadfe57c1#egg=topology_lib_ntpd,-e git+https://github.com/HPENetworking/topology_lib_ping.git@e0f602e9c339ccde8262537d7e920bccc7afcb42#egg=topology_lib_ping,-e git+https://github.com/HPENetworking/topology_lib_scapy.git@434745aa0d3de1c70138bb9e2312d398b021fd40#egg=topology_lib_scapy,-e git+https://github.com/HPENetworking/topology_lib_sflowtool.git@7011d17be53e6cf29b79915459c60c45e3e93671#egg=topology_lib_sflowtool,-e git+https://github.com/HPENetworking/topology_lib_tcpdump.git@e694cfb35836905cc1d27e20a98160e0a10deb54#egg=topology_lib_tcpdump,-e git+https://github.com/HPENetworking/topology_lib_vlan@e5f06e3080a746885afec28d987f4785adc7248f#egg=topology_lib_vlan,-e git+https://git.openswitch.net/openswitch/ops-topology-lib-vtysh@1a63487602e6ce7fc3f3f64369abc0769a86c298#egg=topology_lib_vtysh,traitlets==4.2.2,wcwidth==0.1.7,websocket-client==0.37.0 | |
py34 runtests: PYTHONHASHSEED='1855230324' | |
py34 runtests: commands[0] | flake8 /home/bluecmd/openswitch/ops-build/build/test/feature/code_under_test | |
py34 runtests: commands[1] | py.test --durations=10 --junitxml=/home/bluecmd/openswitch/ops-build/build/test/feature/test-results.xml --topology-nml-dir topologies --topology-plot-dir topologies --topology-plot-format svg --topology-inject /home/bluecmd/openswitch/ops-build/build/test/feature/attributes.json --topology-platform docker -x -v -s /home/bluecmd/openswitch/ops-build/build/test/feature/code_under_test | |
/home/bluecmd/openswitch/ops-build/build/test/feature/.tox/py34/src/topology/lib/topology/platforms/base.py:48: DeprecatedTopologyModule: This module is deprecated, please change all imports from it. | |
topology.platforms.base.BasePlatform => topology.platforms.platform.BasePlatform | |
topology.platforms.base.BaseNode => topology.platforms.node.BaseNode | |
topology.platforms.base.CommonNode => topology.platforms.node.CommonNode | |
category=DeprecatedTopologyModule, | |
===================================================================== test session starts ===================================================================== | |
platform linux -- Python 3.5.2, pytest-2.8.4, py-1.4.31, pluggy-0.3.1 -- /home/bluecmd/openswitch/ops-build/build/test/feature/.tox/py34/bin/python3.4 | |
cachedir: ../../../.cache | |
topology: platform='docker' | |
plot_dir='/home/bluecmd/openswitch/ops-build/build/test/feature/.tox/py34/tmp/topologies' (svg) | |
nml_dir='/home/bluecmd/openswitch/ops-build/build/test/feature/.tox/py34/tmp/topologies' | |
rootdir: /home/bluecmd/openswitch/ops-build/build/test/feature, inifile: | |
plugins: logging-2015.11.4, timeout-1.0.0, random-0.2, topology-1.7.2, topology-docker-openswitch-0.1.0 | |
collected 22 items | |
../../../code_under_test/ops-supportability/test_supportability_ft_core_dump.py::test_core_dump SKIPPED | |
../../../code_under_test/ops-supportability/test_supportability_ft_eventlog.py::test_ft_evtlog_feature INFO:root:Waiting for swns netns... | |
INFO:root:Waiting for hwdesc directory... | |
INFO:root:Creating interfaces... | |
INFO:root: - Not in swns/emulns ['bonding_masters', 'eth0', 'lo'] | |
INFO:root: - In swns/emulns ['bonding_masters', 'lo'] | |
INFO:root: - Port bonding_masters found | |
INFO:root: - Port eth0 found | |
INFO:root: - Port lo found | |
INFO:root: - Port 1 created. | |
INFO:root: - Port 2 created. | |
INFO:root: - Port 3 created. | |
INFO:root: - Port 4 created. | |
INFO:root: - Port 5 created. | |
INFO:root: - Port 6 created. | |
INFO:root: - Port 7 created. | |
INFO:root: - Port 8 created. | |
INFO:root: - Port 9 created. | |
INFO:root: - Port 10 created. | |
INFO:root: - Port 11 created. | |
INFO:root: - Port 12 created. | |
INFO:root: - Port 13 created. | |
INFO:root: - Port 14 created. | |
INFO:root: - Port 15 created. | |
INFO:root: - Port 16 created. | |
INFO:root: - Port 17 created. | |
INFO:root: - Port 18 created. | |
INFO:root: - Port 19 created. | |
INFO:root: - Port 20 created. | |
INFO:root: - Port 21 created. | |
INFO:root: - Port 22 created. | |
INFO:root: - Port 23 created. | |
INFO:root: - Port 24 created. | |
INFO:root: - Port 25 created. | |
INFO:root: - Port 26 created. | |
INFO:root: - Port 27 created. | |
INFO:root: - Port 28 created. | |
INFO:root: - Port 29 created. | |
INFO:root: - Port 30 created. | |
INFO:root: - Port 31 created. | |
INFO:root: - Port 32 created. | |
INFO:root: - Port 33 created. | |
INFO:root: - Port 34 created. | |
INFO:root: - Port 35 created. | |
INFO:root: - Port 36 created. | |
INFO:root: - Port 37 created. | |
INFO:root: - Port 38 created. | |
INFO:root: - Port 39 created. | |
INFO:root: - Port 40 created. | |
INFO:root: - Port 41 created. | |
INFO:root: - Port 42 created. | |
INFO:root: - Port 43 created. | |
INFO:root: - Port 44 created. | |
INFO:root: - Port 45 created. | |
INFO:root: - Port 46 created. | |
INFO:root: - Port 47 created. | |
INFO:root: - Port 48 created. | |
INFO:root: - Port 49 created. | |
INFO:root: - Port 49-1 created. | |
INFO:root: - Port 49-2 created. | |
INFO:root: - Port 49-3 created. | |
INFO:root: - Port 49-4 created. | |
INFO:root: - Port 50 created. | |
INFO:root: - Port 50-1 created. | |
INFO:root: - Port 50-2 created. | |
INFO:root: - Port 50-3 created. | |
INFO:root: - Port 50-4 created. | |
INFO:root: - Port 51 created. | |
INFO:root: - Port 51-1 created. | |
INFO:root: - Port 51-2 created. | |
INFO:root: - Port 51-3 created. | |
INFO:root: - Port 51-4 created. | |
INFO:root: - Port 52 created. | |
INFO:root: - Port 52-1 created. | |
INFO:root: - Port 52-2 created. | |
INFO:root: - Port 52-3 created. | |
INFO:root: - Port 52-4 created. | |
INFO:root: - Port 53 created. | |
INFO:root: - Port 53-1 created. | |
INFO:root: - Port 53-2 created. | |
INFO:root: - Port 53-3 created. | |
INFO:root: - Port 53-4 created. | |
INFO:root: - Port 54 created. | |
INFO:root: - Port 54-1 created. | |
INFO:root: - Port 54-2 created. | |
INFO:root: - Port 54-3 created. | |
INFO:root: - Port 54-4 created. | |
INFO:root: - Ports readiness notified to the image | |
INFO:root:Waiting for DB socket... | |
INFO:root:Waiting for cur_hw... | |
INFO:root:Waiting for cur_cfg... | |
INFO:root:Waiting for switchd pid... | |
INFO:root:Waiting for ops-switchd to become active... | |
INFO:root:Wait for final hostname... | |
INFO:root:Checking restd service status... | |
INFO:root:Starting restd daemon... | |
INFO:root:Checking restd service started... | |
>>> [001] :: test_ft_evtlog_feature:138 | |
... Test basic show events command | |
############################################ | |
Running Event Log Test Script | |
############################################ | |
---------- | |
=====---- | |
---------- | |
>>> [002] :: test_ft_evtlog_feature:141 | |
... Test show events event ID FIlter (Positive & negative case) | |
############################################ | |
Running Event Log Test Script 1.1 | |
############################################ | |
---------- | |
=====---- | |
---------- | |
############################################ | |
Running Event Log Test Script 1.2 | |
############################################ | |
---------- | |
=====---- | |
---------- | |
>>> [003] :: test_ft_evtlog_feature:147 | |
... Test show events event category Filter(negative case) | |
############################################ | |
Running Event Log Test Script | |
############################################ | |
---------- | |
=====---- | |
---------- | |
>>> [004] :: test_ft_evtlog_feature:150 | |
... Test show events severity negative test case | |
############################################ | |
Running Event Log Test Script | |
############################################ | |
---------- | |
=====---- | |
---------- | |
PASSED | |
../../../code_under_test/ops-supportability/test_supportability_ft_logging.py::test_logging_default INFO:root:Waiting for swns netns... | |
INFO:root:Waiting for hwdesc directory... | |
INFO:root:Creating interfaces... | |
INFO:root: - Not in swns/emulns ['bonding_masters', 'eth0', 'lo'] | |
INFO:root: - In swns/emulns ['bonding_masters', 'lo'] | |
INFO:root: - Port bonding_masters found | |
INFO:root: - Port eth0 found | |
INFO:root: - Port lo found | |
INFO:root: - Port 1 created. | |
INFO:root: - Port 2 created. | |
INFO:root: - Port 3 created. | |
INFO:root: - Port 4 created. | |
INFO:root: - Port 5 created. | |
INFO:root: - Port 6 created. | |
INFO:root: - Port 7 created. | |
INFO:root: - Port 8 created. | |
INFO:root: - Port 9 created. | |
INFO:root: - Port 10 created. | |
INFO:root: - Port 11 created. | |
INFO:root: - Port 12 created. | |
INFO:root: - Port 13 created. | |
INFO:root: - Port 14 created. | |
INFO:root: - Port 15 created. | |
INFO:root: - Port 16 created. | |
INFO:root: - Port 17 created. | |
INFO:root: - Port 18 created. | |
INFO:root: - Port 19 created. | |
INFO:root: - Port 20 created. | |
INFO:root: - Port 21 created. | |
INFO:root: - Port 22 created. | |
INFO:root: - Port 23 created. | |
INFO:root: - Port 24 created. | |
INFO:root: - Port 25 created. | |
INFO:root: - Port 26 created. | |
INFO:root: - Port 27 created. | |
INFO:root: - Port 28 created. | |
INFO:root: - Port 29 created. | |
INFO:root: - Port 30 created. | |
INFO:root: - Port 31 created. | |
INFO:root: - Port 32 created. | |
INFO:root: - Port 33 created. | |
INFO:root: - Port 34 created. | |
INFO:root: - Port 35 created. | |
INFO:root: - Port 36 created. | |
INFO:root: - Port 37 created. | |
INFO:root: - Port 38 created. | |
INFO:root: - Port 39 created. | |
INFO:root: - Port 40 created. | |
INFO:root: - Port 41 created. | |
INFO:root: - Port 42 created. | |
INFO:root: - Port 43 created. | |
INFO:root: - Port 44 created. | |
INFO:root: - Port 45 created. | |
INFO:root: - Port 46 created. | |
INFO:root: - Port 47 created. | |
INFO:root: - Port 48 created. | |
INFO:root: - Port 49 created. | |
INFO:root: - Port 49-1 created. | |
INFO:root: - Port 49-2 created. | |
INFO:root: - Port 49-3 created. | |
INFO:root: - Port 49-4 created. | |
INFO:root: - Port 50 created. | |
INFO:root: - Port 50-1 created. | |
INFO:root: - Port 50-2 created. | |
INFO:root: - Port 50-3 created. | |
INFO:root: - Port 50-4 created. | |
INFO:root: - Port 51 created. | |
INFO:root: - Port 51-1 created. | |
INFO:root: - Port 51-2 created. | |
INFO:root: - Port 51-3 created. | |
INFO:root: - Port 51-4 created. | |
INFO:root: - Port 52 created. | |
INFO:root: - Port 52-1 created. | |
INFO:root: - Port 52-2 created. | |
INFO:root: - Port 52-3 created. | |
INFO:root: - Port 52-4 created. | |
INFO:root: - Port 53 created. | |
INFO:root: - Port 53-1 created. | |
INFO:root: - Port 53-2 created. | |
INFO:root: - Port 53-3 created. | |
INFO:root: - Port 53-4 created. | |
INFO:root: - Port 54 created. | |
INFO:root: - Port 54-1 created. | |
INFO:root: - Port 54-2 created. | |
INFO:root: - Port 54-3 created. | |
INFO:root: - Port 54-4 created. | |
INFO:root: - Ports readiness notified to the image | |
INFO:root:Waiting for DB socket... | |
INFO:root:Waiting for cur_hw... | |
INFO:root:Waiting for cur_cfg... | |
INFO:root:Waiting for switchd pid... | |
INFO:root:Waiting for ops-switchd to become active... | |
INFO:root:Wait for final hostname... | |
INFO:root:Checking restd service status... | |
INFO:root:Starting restd daemon... | |
INFO:root:Checking restd service started... | |
PASSED | |
../../../code_under_test/ops-supportability/test_supportability_ft_logging.py::test_logging_severity PASSED | |
../../../code_under_test/ops-supportability/test_supportability_ft_logging.py::test_logging_transport PASSED | |
../../../code_under_test/ops-supportability/test_supportability_ft_logging.py::test_logging_transport_and_severity PASSED | |
../../../code_under_test/ops-supportability/test_supportability_ft_show_vlog.py::test_show_vlog_config INFO:root:Waiting for swns netns... | |
INFO:root:Waiting for hwdesc directory... | |
INFO:root:Creating interfaces... | |
INFO:root: - Not in swns/emulns ['bonding_masters', 'eth0', 'lo'] | |
INFO:root: - In swns/emulns ['bonding_masters', 'lo'] | |
INFO:root: - Port bonding_masters found | |
INFO:root: - Port eth0 found | |
INFO:root: - Port lo found | |
INFO:root: - Port 1 created. | |
INFO:root: - Port 2 created. | |
INFO:root: - Port 3 created. | |
INFO:root: - Port 4 created. | |
INFO:root: - Port 5 created. | |
INFO:root: - Port 6 created. | |
INFO:root: - Port 7 created. | |
INFO:root: - Port 8 created. | |
INFO:root: - Port 9 created. | |
INFO:root: - Port 10 created. | |
INFO:root: - Port 11 created. | |
INFO:root: - Port 12 created. | |
INFO:root: - Port 13 created. | |
INFO:root: - Port 14 created. | |
INFO:root: - Port 15 created. | |
INFO:root: - Port 16 created. | |
INFO:root: - Port 17 created. | |
INFO:root: - Port 18 created. | |
INFO:root: - Port 19 created. | |
INFO:root: - Port 20 created. | |
INFO:root: - Port 21 created. | |
INFO:root: - Port 22 created. | |
INFO:root: - Port 23 created. | |
INFO:root: - Port 24 created. | |
INFO:root: - Port 25 created. | |
INFO:root: - Port 26 created. | |
INFO:root: - Port 27 created. | |
INFO:root: - Port 28 created. | |
INFO:root: - Port 29 created. | |
INFO:root: - Port 30 created. | |
INFO:root: - Port 31 created. | |
INFO:root: - Port 32 created. | |
INFO:root: - Port 33 created. | |
INFO:root: - Port 34 created. | |
INFO:root: - Port 35 created. | |
INFO:root: - Port 36 created. | |
INFO:root: - Port 37 created. | |
INFO:root: - Port 38 created. | |
INFO:root: - Port 39 created. | |
INFO:root: - Port 40 created. | |
INFO:root: - Port 41 created. | |
INFO:root: - Port 42 created. | |
INFO:root: - Port 43 created. | |
INFO:root: - Port 44 created. | |
INFO:root: - Port 45 created. | |
INFO:root: - Port 46 created. | |
INFO:root: - Port 47 created. | |
INFO:root: - Port 48 created. | |
INFO:root: - Port 49 created. | |
INFO:root: - Port 49-1 created. | |
INFO:root: - Port 49-2 created. | |
INFO:root: - Port 49-3 created. | |
INFO:root: - Port 49-4 created. | |
INFO:root: - Port 50 created. | |
INFO:root: - Port 50-1 created. | |
INFO:root: - Port 50-2 created. | |
INFO:root: - Port 50-3 created. | |
INFO:root: - Port 50-4 created. | |
INFO:root: - Port 51 created. | |
INFO:root: - Port 51-1 created. | |
INFO:root: - Port 51-2 created. | |
INFO:root: - Port 51-3 created. | |
INFO:root: - Port 51-4 created. | |
INFO:root: - Port 52 created. | |
INFO:root: - Port 52-1 created. | |
INFO:root: - Port 52-2 created. | |
INFO:root: - Port 52-3 created. | |
INFO:root: - Port 52-4 created. | |
INFO:root: - Port 53 created. | |
INFO:root: - Port 53-1 created. | |
INFO:root: - Port 53-2 created. | |
INFO:root: - Port 53-3 created. | |
INFO:root: - Port 53-4 created. | |
INFO:root: - Port 54 created. | |
INFO:root: - Port 54-1 created. | |
INFO:root: - Port 54-2 created. | |
INFO:root: - Port 54-3 created. | |
INFO:root: - Port 54-4 created. | |
INFO:root: - Ports readiness notified to the image | |
INFO:root:Waiting for DB socket... | |
INFO:root:Waiting for cur_hw... | |
INFO:root:Waiting for cur_cfg... | |
INFO:root:Waiting for switchd pid... | |
INFO:root:Waiting for ops-switchd to become active... | |
INFO:root:Wait for final hostname... | |
INFO:root:Checking restd service status... | |
INFO:root:Starting restd daemon... | |
INFO:root:Checking restd service started... | |
1.0 show vlog config test passed | |
PASSED | |
../../../code_under_test/ops-supportability/test_supportability_ft_show_vlog.py::test_show_vlog_daemon 1.1 show vlog daemon test passed | |
PASSED | |
../../../code_under_test/ops-supportability/test_supportability_ft_show_vlog.py::test_show_vlog_severity 1.2 show vlog severity test passed | |
PASSED | |
../../../code_under_test/ops-supportability/test_supportability_ft_show_vlog.py::test_show_vlog_config_daemon show vlog config daemon test failed | |
PASSED | |
../../../code_under_test/ops-supportability/test_supportability_ft_show_vlog.py::test_show_vlog_config_feature 1.4 show vlog config feature test passed | |
PASSED | |
../../../code_under_test/ops-supportability/test_supportability_ft_show_vlog.py::test_show_vlog_config_list 1.5 show vlog config list passed | |
PASSED | |
../../../code_under_test/ops-supportability/test_supportability_ft_show_vlog.py::test_show_vlog_invalid_daemon 2.0 show vlog invalid daemon test passed | |
PASSED | |
../../../code_under_test/ops-supportability/test_supportability_ft_show_vlog.py::test_show_vlog_invalid_severity_level 2.1 show vlog invalid severity test passed | |
PASSED | |
../../../code_under_test/ops-supportability/test_supportability_ft_show_vlog.py::test_show_vlog_daemon_severity 1.6 show vlog daemon with severity test passed | |
PASSED | |
../../../code_under_test/ops-supportability/test_supportability_ft_show_vlog.py::test_show_vlog_severity_daemon 1.7 show vlog severity level with daemon test passed | |
PASSED | |
../../../code_under_test/ops-supportability/test_supportability_ft_show_vlog.py::test_show_vlog_subcommand 2.2 show vlog invalid sub-command test passed | |
PASSED | |
../../../code_under_test/ops-supportability/test_supportability_ft_show_vlog_config.py::test_supportability_show_vlog INFO:root:Waiting for swns netns... | |
INFO:root:Waiting for hwdesc directory... | |
INFO:root:Creating interfaces... | |
INFO:root: - Not in swns/emulns ['bonding_masters', 'eth0', 'lo'] | |
INFO:root: - In swns/emulns ['bonding_masters', 'bridge_normal', 'lo', 'ovs-netdev'] | |
INFO:root: - Port bonding_masters found | |
INFO:root: - Port eth0 found | |
INFO:root: - Port lo found | |
INFO:root: - Port 1 created. | |
INFO:root: - Port 2 created. | |
INFO:root: - Port 3 created. | |
INFO:root: - Port 4 created. | |
INFO:root: - Port 5 created. | |
INFO:root: - Port 6 created. | |
INFO:root: - Port 7 created. | |
INFO:root: - Port 8 created. | |
INFO:root: - Port 9 created. | |
INFO:root: - Port 10 created. | |
INFO:root: - Port 11 created. | |
INFO:root: - Port 12 created. | |
INFO:root: - Port 13 created. | |
INFO:root: - Port 14 created. | |
INFO:root: - Port 15 created. | |
INFO:root: - Port 16 created. | |
INFO:root: - Port 17 created. | |
INFO:root: - Port 18 created. | |
INFO:root: - Port 19 created. | |
INFO:root: - Port 20 created. | |
INFO:root: - Port 21 created. | |
INFO:root: - Port 22 created. | |
INFO:root: - Port 23 created. | |
INFO:root: - Port 24 created. | |
INFO:root: - Port 25 created. | |
INFO:root: - Port 26 created. | |
INFO:root: - Port 27 created. | |
INFO:root: - Port 28 created. | |
INFO:root: - Port 29 created. | |
INFO:root: - Port 30 created. | |
INFO:root: - Port 31 created. | |
INFO:root: - Port 32 created. | |
INFO:root: - Port 33 created. | |
INFO:root: - Port 34 created. | |
INFO:root: - Port 35 created. | |
INFO:root: - Port 36 created. | |
INFO:root: - Port 37 created. | |
INFO:root: - Port 38 created. | |
INFO:root: - Port 39 created. | |
INFO:root: - Port 40 created. | |
INFO:root: - Port 41 created. | |
INFO:root: - Port 42 created. | |
INFO:root: - Port 43 created. | |
INFO:root: - Port 44 created. | |
INFO:root: - Port 45 created. | |
INFO:root: - Port 46 created. | |
INFO:root: - Port 47 created. | |
INFO:root: - Port 48 created. | |
INFO:root: - Port 49 created. | |
INFO:root: - Port 49-1 created. | |
INFO:root: - Port 49-2 created. | |
INFO:root: - Port 49-3 created. | |
INFO:root: - Port 49-4 created. | |
INFO:root: - Port 50 created. | |
INFO:root: - Port 50-1 created. | |
INFO:root: - Port 50-2 created. | |
INFO:root: - Port 50-3 created. | |
INFO:root: - Port 50-4 created. | |
INFO:root: - Port 51 created. | |
INFO:root: - Port 51-1 created. | |
INFO:root: - Port 51-2 created. | |
INFO:root: - Port 51-3 created. | |
INFO:root: - Port 51-4 created. | |
INFO:root: - Port 52 created. | |
INFO:root: - Port 52-1 created. | |
INFO:root: - Port 52-2 created. | |
INFO:root: - Port 52-3 created. | |
INFO:root: - Port 52-4 created. | |
INFO:root: - Port 53 created. | |
INFO:root: - Port 53-1 created. | |
INFO:root: - Port 53-2 created. | |
INFO:root: - Port 53-3 created. | |
INFO:root: - Port 53-4 created. | |
INFO:root: - Port 54 created. | |
INFO:root: - Port 54-1 created. | |
INFO:root: - Port 54-2 created. | |
INFO:root: - Port 54-3 created. | |
INFO:root: - Port 54-4 created. | |
INFO:root: - Ports readiness notified to the image | |
INFO:root:Waiting for DB socket... | |
INFO:root:Waiting for cur_hw... | |
INFO:root:Waiting for cur_cfg... | |
INFO:root:Waiting for switchd pid... | |
INFO:root:Waiting for ops-switchd to become active... | |
INFO:root:Wait for final hostname... | |
INFO:root:Checking restd service status... | |
INFO:root:Starting restd daemon... | |
INFO:root:Checking restd service started... | |
>>> [001] :: check_show_vlog_list:48 | |
... ############################################ | |
>>> [002] :: check_show_vlog_list:49 | |
... 1.1 Running show-vlog config list test | |
>>> [003] :: check_show_vlog_list:50 | |
... ############################################ | |
>>> [004] :: check_show_vlog_list:54 | |
... ============================================== | |
... Features Description | |
... ============================================== | |
... sys System Daemon and Mgmt Info | |
... lldp Link Layer Discovery Protocol | |
... lacp Link Aggregation Control Protocol | |
... fan System Fan | |
... routing Routing protocols | |
... ospfv2 Open Shortest Path First Version 2 | |
... bgp Border Gateway Protocol | |
... subinterface Layer 3 sub-interface | |
... loopback Loopback interface | |
... rest REST interface | |
... ntp Network Time Protocol | |
... mstp Multiple Spanning Tree Protocol | |
... sflow Sampled Flow Protocol | |
... l3interface Layer 3 interface | |
... vlaninterface Vlan interface | |
... laginterface LAG interface | |
... copp Control plane policing | |
... hw-resource Hardware resource | |
... dhcp-tftp-server Dynamic Host Configuration & Trivial File Transfer Protocol Server | |
... interfaces Physical interfaces | |
... l2vlan Layer2 VLAN | |
... route-manager Routing Information Base (RIB) | |
... password-server Password Server | |
>>> [005] :: check_show_vlog_feature:61 | |
... ############################################ | |
>>> [006] :: check_show_vlog_feature:62 | |
... 1.2 Running show vlog feature test | |
>>> [007] :: check_show_vlog_feature:63 | |
... ############################################ | |
>>> [008] :: check_show_vlog_feature:67 | |
... ======================================== | |
... Feature Syslog File | |
... ======================================== | |
... lldp INFO I | |
>>> [009] :: check_show_vlog:74 | |
... ############################################ | |
>>> [010] :: check_show_vlog:75 | |
... 1.3 Running show vlog config test | |
>>> [011] :: check_show_vlog:76 | |
... ############################################ | |
>>> [012] :: check_show_vlog:80 | |
... ================================================= | |
... Feature Daemon Syslog File | |
... ================================================= | |
... sys ops-sysd INFO INFO | |
... | |
... lldp ops-lldpd INFO IN | |
... lacp ops-lacpd INFO INFO | |
... | |
... ops-portd INFO INFO | |
... | |
... fan ops-fand INFO INFO | |
... | |
... routing ops-ospfd INFO INFO | |
... | |
... ops-bgpd INFO INFO | |
... | |
... ospfv2 ops-ospfd INFO INFO | |
... | |
... bgp ops-bgpd INFO INFO | |
... | |
... subinterface ops-portd INFO INFO | |
... | |
... ops-switchd INFO INFO | |
... | |
... loopback ops-portd INFO INFO | |
... | |
... ops-switchd INFO INFO | |
... | |
... rest restd info info | |
... | |
... ntp ops_ntpd info info | |
... | |
... mstp ops-stpd INFO INFO | |
... | |
... sflow ops-switchd INFO INFO | |
... | |
... l3interface ops-switchd INFO INFO | |
... | |
... vlaninterface ops-switchd INFO INFO | |
... | |
... laginterface ops-switchd INFO INFO | |
... | |
... copp ops-switchd INFO INFO | |
... | |
... hw-resource ops-switchd INFO INFO | |
... | |
... dhcp-tftp-serve ops_dhcp_tftp info info | |
... | |
... interfaces ops-intfd INFO INFO | |
... | |
... l2vlan ops-vland INFO INFO | |
... | |
... ops-switchd INFO INFO | |
... | |
... route-manager ops-zebra INFO INFO | |
>>> [013] :: check_vlog_config_feature:88 | |
... ############################################ | |
>>> [014] :: check_vlog_config_feature:89 | |
... 1.4 Check basic Vlog Configuration Feature | |
>>> [015] :: check_vlog_config_feature:90 | |
... ############################################ | |
>>> [016] :: get_into_config:38 | |
... Getting into configure terminal | |
>>> [017] :: get_out_of_config:43 | |
... Getting out from configure terminal | |
>>> [018] :: check_vlog_config_feature:101 | |
>>> [019] :: check_vlog_config_feature:105 | |
... ======================================== | |
... Feature Syslog File | |
... ======================================== | |
... lacp INFO DBG | |
>>> [020] :: get_into_config:38 | |
... Getting into configure terminal | |
>>> [021] :: get_out_of_config:43 | |
... Getting out from configure terminal | |
>>> [022] :: check_vlog_config_feature:120 | |
>>> [023] :: check_vlog_config_feature:124 | |
... ======================================== | |
... Feature Syslog File | |
... ======================================== | |
... lacp DBG INFO | |
>>> [024] :: check_vlog_config_daemon:131 | |
... ############################################ | |
>>> [025] :: check_vlog_config_daemon:132 | |
... 1.5 Check basic Vlog Configuration for Daemon | |
>>> [026] :: check_vlog_config_daemon:133 | |
... ############################################ | |
>>> [027] :: get_into_config:38 | |
... Getting into configure terminal | |
>>> [028] :: get_out_of_config:43 | |
... Getting out from configure terminal | |
>>> [029] :: check_vlog_config_daemon:143 | |
>>> [030] :: check_vlog_config_daemon:147 | |
... ====================================== | |
... Daemon Syslog File | |
... ====================================== | |
... ops-lacpd INFO DBG | |
>>> [031] :: get_into_config:38 | |
... Getting into configure terminal | |
>>> [032] :: get_out_of_config:43 | |
... Getting out from configure terminal | |
>>> [033] :: check_vlog_config_daemon:162 | |
>>> [034] :: check_vlog_config_daemon:166 | |
... ====================================== | |
... Daemon Syslog File | |
... ====================================== | |
... ops-lacpd DBG INFO | |
>>> [035] :: check_invalid_daemon:173 | |
... ############################################ | |
>>> [036] :: check_invalid_daemon:174 | |
... 2.1 Run Show vlog for invalid daemon | |
>>> [037] :: check_invalid_daemon:175 | |
... ############################################ | |
>>> [038] :: check_invalid_daemon:179 | |
... Not able to communicate with daemon adsf@f$*ASDfjaklsdf@#Q@3r | |
>>> [039] :: check_invalid_feature:185 | |
... ############################################ | |
>>> [040] :: check_invalid_feature:186 | |
... 2.2 Run Show vlog for invalid feature | |
>>> [041] :: check_invalid_feature:187 | |
... ############################################ | |
>>> [042] :: check_invalid_feature:191 | |
... Feature not present | |
>>> [043] :: check_invalid_sub_command:197 | |
... ############################################ | |
>>> [044] :: check_invalid_sub_command:198 | |
... 2.3 Run Show vlog invalid subcommand | |
>>> [045] :: check_invalid_sub_command:199 | |
... ############################################ | |
>>> [046] :: check_invalid_sub_command:203 | |
... % Unknown command. | |
>>> [047] :: check_vlog_config_invalid_log_level:255 | |
... ############################################ | |
>>> [048] :: check_vlog_config_invalid_log_level:256 | |
... 2.7 Check Vlog Configuration for Invaild Loglevel | |
>>> [049] :: check_vlog_config_invalid_log_level:257 | |
... ############################################ | |
>>> [050] :: get_into_config:38 | |
... Getting into configure terminal | |
>>> [051] :: get_out_of_config:43 | |
... Getting out from configure terminal | |
>>> [052] :: check_vlog_config_invalid_destination:240 | |
... ############################################ | |
>>> [053] :: check_vlog_config_invalid_destination:241 | |
... 2.6 Check Vlog Configuration for Invaild Destination | |
>>> [054] :: check_vlog_config_invalid_destination:242 | |
... ############################################ | |
>>> [055] :: get_into_config:38 | |
... Getting into configure terminal | |
>>> [056] :: get_out_of_config:43 | |
... Getting out from configure terminal | |
>>> [057] :: check_vlog_config_invalid_daemon:224 | |
... ############################################ | |
>>> [058] :: check_vlog_config_invalid_daemon:225 | |
... 2.5 Check Vlog Configuration for Invaild Daemon | |
>>> [059] :: check_vlog_config_invalid_daemon:226 | |
... ############################################ | |
>>> [060] :: get_into_config:38 | |
... Getting into configure terminal | |
>>> [061] :: get_out_of_config:43 | |
... Getting out from configure terminal | |
>>> [062] :: check_vlog_config_invalid_feature:209 | |
... ############################################ | |
>>> [063] :: check_vlog_config_invalid_feature:210 | |
... 2.4 Check Vlog Configuration for Invaild Feature | |
>>> [064] :: check_vlog_config_invalid_feature:211 | |
... ############################################ | |
>>> [065] :: get_into_config:38 | |
... Getting into configure terminal | |
>>> [066] :: get_out_of_config:43 | |
... Getting out from configure terminal | |
PASSED | |
../../../code_under_test/ops-supportability/test_supportability_ft_subintf_lpbk.py::test_portd_events INFO:root:Waiting for swns netns... | |
INFO:root:Waiting for hwdesc directory... | |
INFO:root:Creating interfaces... | |
INFO:root: - Not in swns/emulns ['bonding_masters', 'eth0', 'lo'] | |
INFO:root: - In swns/emulns ['bonding_masters', 'lo'] | |
INFO:root: - Port bonding_masters found | |
INFO:root: - Port eth0 found | |
INFO:root: - Port lo found | |
INFO:root: - Port 1 created. | |
INFO:root: - Port 2 created. | |
INFO:root: - Port 3 created. | |
INFO:root: - Port 4 created. | |
INFO:root: - Port 5 created. | |
INFO:root: - Port 6 created. | |
INFO:root: - Port 7 created. | |
INFO:root: - Port 8 created. | |
INFO:root: - Port 9 created. | |
INFO:root: - Port 10 created. | |
INFO:root: - Port 11 created. | |
INFO:root: - Port 12 created. | |
INFO:root: - Port 13 created. | |
INFO:root: - Port 14 created. | |
INFO:root: - Port 15 created. | |
INFO:root: - Port 16 created. | |
INFO:root: - Port 17 created. | |
INFO:root: - Port 18 created. | |
INFO:root: - Port 19 created. | |
INFO:root: - Port 20 created. | |
INFO:root: - Port 21 created. | |
INFO:root: - Port 22 created. | |
INFO:root: - Port 23 created. | |
INFO:root: - Port 24 created. | |
INFO:root: - Port 25 created. | |
INFO:root: - Port 26 created. | |
INFO:root: - Port 27 created. | |
INFO:root: - Port 28 created. | |
INFO:root: - Port 29 created. | |
INFO:root: - Port 30 created. | |
INFO:root: - Port 31 created. | |
INFO:root: - Port 32 created. | |
INFO:root: - Port 33 created. | |
INFO:root: - Port 34 created. | |
INFO:root: - Port 35 created. | |
INFO:root: - Port 36 created. | |
INFO:root: - Port 37 created. | |
INFO:root: - Port 38 created. | |
INFO:root: - Port 39 created. | |
INFO:root: - Port 40 created. | |
INFO:root: - Port 41 created. | |
INFO:root: - Port 42 created. | |
INFO:root: - Port 43 created. | |
INFO:root: - Port 44 created. | |
INFO:root: - Port 45 created. | |
INFO:root: - Port 46 created. | |
INFO:root: - Port 47 created. | |
INFO:root: - Port 48 created. | |
INFO:root: - Port 49 created. | |
INFO:root: - Port 49-1 created. | |
INFO:root: - Port 49-2 created. | |
INFO:root: - Port 49-3 created. | |
INFO:root: - Port 49-4 created. | |
INFO:root: - Port 50 created. | |
INFO:root: - Port 50-1 created. | |
INFO:root: - Port 50-2 created. | |
INFO:root: - Port 50-3 created. | |
INFO:root: - Port 50-4 created. | |
INFO:root: - Port 51 created. | |
INFO:root: - Port 51-1 created. | |
INFO:root: - Port 51-2 created. | |
INFO:root: - Port 51-3 created. | |
INFO:root: - Port 51-4 created. | |
INFO:root: - Port 52 created. | |
INFO:root: - Port 52-1 created. | |
INFO:root: - Port 52-2 created. | |
INFO:root: - Port 52-3 created. | |
INFO:root: - Port 52-4 created. | |
INFO:root: - Port 53 created. | |
INFO:root: - Port 53-1 created. | |
INFO:root: - Port 53-2 created. | |
INFO:root: - Port 53-3 created. | |
INFO:root: - Port 53-4 created. | |
INFO:root: - Port 54 created. | |
INFO:root: - Port 54-1 created. | |
INFO:root: - Port 54-2 created. | |
INFO:root: - Port 54-3 created. | |
INFO:root: - Port 54-4 created. | |
INFO:root: - Ports readiness notified to the image | |
INFO:root:Waiting for DB socket... | |
INFO:root:Waiting for cur_hw... | |
INFO:root:Waiting for cur_cfg... | |
INFO:root:Waiting for switchd pid... | |
INFO:root:Waiting for ops-switchd to become active... | |
INFO:root:Wait for final hostname... | |
INFO:root:Checking restd service status... | |
INFO:root:Starting restd daemon... | |
INFO:root:Checking restd service started... | |
>>> [001] :: test_portd_events:401 | |
... Test the event logging for loopback interfaces | |
>>> [002] :: loopback_interface_events_test:51 | |
... Configure loopback interface and assign an IPv4 address | |
FAILED | |
========================================================================== FAILURES =========================================================================== | |
______________________________________________________________________ test_portd_events ______________________________________________________________________ | |
topology = <topology.manager.TopologyManager object at 0x7faffd725e80>, step = <topology.pytest.plugin.StepLogger object at 0x7faffd92dba8> | |
def test_portd_events(topology, step): | |
""" | |
Test case to verify the event logs in "show events" command | |
and the loopback interface information in "diag-dump loopback basic" | |
and "show tech loopback" | |
""" | |
sw1 = topology.get('sw1') | |
assert sw1 is not None | |
step("Test the event logging for loopback interfaces") | |
> loopback_interface_events_test(sw1, step) | |
../../../code_under_test/ops-supportability/test_supportability_ft_subintf_lpbk.py:402: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
dut = <topology_docker_openswitch.openswitch.OpenSwitchNode object at 0x7faffd7256d8>, step = <topology.pytest.plugin.StepLogger object at 0x7faffd92dba8> | |
def loopback_interface_events_test(dut, step): | |
""" | |
Testcase for Loopback interface events logging. | |
""" | |
loopback_created = False | |
loopback_deleted = False | |
loopback_ip_added = False | |
loopback_ip_deleted = False | |
loopback_ipv6_added = False | |
loopback_ipv6_deleted = False | |
step("Configure loopback interface and assign an IPv4 address") | |
with dut.libs.vtysh.ConfigInterfaceLoopback('10') as ctx: | |
ctx.ip_address("10.1.1.1/24") | |
lo_exp_out = "Loopback Interface lo10, created" | |
ip_exp_out = "Loopback Interface lo10, configured with ip address " \ | |
"10.1.1.1/24" | |
out = dut('show events') | |
lines = out.splitlines() | |
for line in lines: | |
if lo_exp_out in line: | |
loopback_created = True | |
if ip_exp_out in line: | |
loopback_ip_added = True | |
> assert (loopback_created is True), "Loopback interface not created." | |
E AssertionError: Loopback interface not created. | |
E assert False is True | |
../../../code_under_test/ops-supportability/test_supportability_ft_subintf_lpbk.py:65: AssertionError | |
--------------------------------- generated xml file: /home/bluecmd/openswitch/ops-build/build/test/feature/test-results.xml ---------------------------------- | |
================================================================== slowest 10 test durations ================================================================== | |
12.54s call code_under_test/ops-supportability/test_supportability_ft_show_vlog_config.py::test_supportability_show_vlog | |
11.73s teardown code_under_test/ops-supportability/test_supportability_ft_subintf_lpbk.py::test_portd_events | |
11.66s teardown code_under_test/ops-supportability/test_supportability_ft_show_vlog_config.py::test_supportability_show_vlog | |
11.66s teardown code_under_test/ops-supportability/test_supportability_ft_eventlog.py::test_ft_evtlog_feature | |
11.55s teardown code_under_test/ops-supportability/test_supportability_ft_show_vlog.py::test_show_vlog_subcommand | |
11.50s teardown code_under_test/ops-supportability/test_supportability_ft_logging.py::test_logging_transport_and_severity | |
10.44s call code_under_test/ops-supportability/test_supportability_ft_show_vlog.py::test_show_vlog_config | |
5.94s setup code_under_test/ops-supportability/test_supportability_ft_show_vlog.py::test_show_vlog_config | |
5.93s setup code_under_test/ops-supportability/test_supportability_ft_show_vlog_config.py::test_supportability_show_vlog | |
5.74s setup code_under_test/ops-supportability/test_supportability_ft_logging.py::test_logging_default | |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | |
====================================================== 1 failed, 17 passed, 1 skipped in 131.35 seconds ======================================================= | |
ERROR: InvocationError: '/home/bluecmd/openswitch/ops-build/build/test/feature/.tox/py34/bin/py.test --durations=10 --junitxml=/home/bluecmd/openswitch/ops-build/build/test/feature/test-results.xml --topology-nml-dir topologies --topology-plot-dir topologies --topology-plot-format svg --topology-inject /home/bluecmd/openswitch/ops-build/build/test/feature/attributes.json --topology-platform docker -x -v -s /home/bluecmd/openswitch/ops-build/build/test/feature/code_under_test' | |
___________________________________________________________________________ summary ___________________________________________________________________________ | |
ERROR: py34: commands failed | |
tools/Rules.make:806: recipe for target '_testenv_rerun' failed | |
make[1]: *** [_testenv_rerun] Error 1 | |
tools/Rules.make:708: recipe for target 'testenv_rerun' failed | |
make: *** [testenv_rerun] Error 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment