aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/robot
AgeCommit message (Expand)AuthorFilesLines
2016-09-22CSIT-411 Show Vhost Userpmikus1-0/+6
2016-09-21Measure latency returns -1 if rate<=10kppsMiroslav Miklus1-16/+17
2016-09-20Documentation fix - show statsMiroslav Miklus1-1/+1
2016-09-15CSIT-408 sub-NDR latency measurementsMiroslav Miklus1-7/+63
2016-09-15CSIT-404 Adjust DPDK testpmd startup parameterspmikus1-8/+8
2016-09-14CSIT-241: IPv6 Router Advertisementselias1-5/+44
2016-09-12CSIT-384: IPSEC IPv6 negative test casesJan Gelety1-1/+1
2016-09-12CSIT-383: IPSEC IPv4 negative test casesJan Gelety1-0/+7
2016-09-12Fix of Qemu issuesJan Gelety1-0/+2
2016-09-08CSIT-390 Replace rate calculation Ipmikus1-0/+1
2016-09-06CSIT-353: MAP-T FIX: Add tx src mac to traffic scriptMatej Klotton1-3/+4
2016-09-05CSIT-229: ip4-lispgpe-ip4Tibor Frank2-2/+151
2016-08-26CSIT-124: IPv4 encapsulations - IP4-GRE-IP4Matej Klotton1-42/+97
2016-08-25CSIT-234 IPFIX - ipv4 functional scaleselias1-0/+44
2016-08-25CSIT-353: Add basic map-t testsMatej Klotton1-0/+93
2016-08-25CSIT-233 IPv4 IPFIX - baseline testsselias1-0/+67
2016-08-25CSIT-31 DHCPv6 Proxy testPatrik Hrnciar1-1/+43
2016-08-25CSIT-275 IPv4 DP - QoS - performancepmikus1-0/+30
2016-08-25CSIT-323 L2dp - Cross-connect - baseline vhost-userpmikus1-0/+26
2016-08-23CSIT-218 L2XC VXLANoIPv4 - performancepmikus1-0/+42
2016-08-23Small fixies in IPSEC resourcesJan Gelety1-1/+1
2016-08-23CSIT-369 Update Honeycomb persistence data locationselias1-70/+0
2016-08-22CSIT-324 L2dp - Bridge domain - baseline vhost-userpmikus1-0/+33
2016-08-22CSIT-366 IPv4dp - baseline vhost-userpmikus1-0/+172
2016-08-18CSIT-171 CSIT-172 Policer tests initial commitMatus Fabian1-0/+99
2016-08-18CSIT-200: Lisp performance testAndrej Kozemcak1-0/+250
2016-08-17CSIT-312 VPP vhost-user - VPP vhost-user driver, virtio in VMpmikus2-0/+132
2016-08-17CSIT-28: IPsec tests initial commitMatus Fabian1-0/+228
2016-08-10CSIT-321 L2 Cross-connect - baseline - NIC-to-NIC(XL710)Miroslav Miklus2-46/+49
2016-08-09CSIT-341 Refactor DHCPv4 proxy testPatrik Hrnciar2-97/+117
2016-08-08Update Honeycomb directory locationselias1-1/+2
2016-08-03CSIT-213 IPv6 iACL - performancepmikus1-0/+20
2016-08-01CSIT-25 DHCPv4 proxy testsPatrik Hrnciar1-1/+98
2016-08-01CSIT-179 IPv6 Scale - performancepmikus1-0/+40
2016-08-01CSIT-330: Fix small bug in LISP CSIT testAndrej Kozemcak1-4/+4
2016-07-28CSIT-169 IPv4 Scale - performancepmikus1-0/+42
2016-07-28CSIT-207: Update LISP Eid APIAndrej Kozemcak1-2/+2
2016-07-28CSIT-203: Expand LISP testAndrej Kozemcak2-2/+72
2016-07-28CSIT-136 IMIX T-REX driverMiroslav Miklus1-0/+22
2016-07-26CSIT-106 Vpp config - use only test-related interfacesMiroslav Miklus2-4/+9
2016-07-25CSIT-199: Use static adjacencies in LISP dp testsFlorin Coras1-21/+32
2016-07-25SSH timeout problemMatej Klotton2-2/+2
2016-07-22CSIT-158: Tap interface testsZdeno Olsovsky1-4/+4
2016-07-22CSIT-219: Realocate resources for Honeycomb testsTibor Frank3-4/+4
2016-07-22PATCH: Fix add ip neigbour in IPV6 librariespmikus1-8/+4
2016-07-21CSIT-49: HC Test: Policy - security groupsselias1-0/+339
2016-07-21CSIT-183: Vpn baseline routed forwarding (VRF)Zdeno Olsovsky1-2/+163
2016-07-20CSIT-190 Add honeycomb interface management testselias2-17/+62
2016-07-20CSIT-187 iacl with MAC classification testsPatrik Hrnciar1-2/+2
2016-07-20Fix VLAN subinterfaces initializationpmikus1-1/+1
****************************************************************\" &&\ echo \"* Sanity check failed, cannot run vpp\" &&\ echo \"*******************************************************************\" &&\ false)" .PHONY: ext ext: make -C ext test-dep: verify-test-dir $(PAPI_INSTALL_DONE) test: verify-test-dir $(PAPI_INSTALL_DONE) ext sanity reset $(call retest-func) retest: verify-test-dir sanity reset $(call retest-func) shell: verify-test-dir $(PAPI_INSTALL_DONE) @echo "source $(VENV_PATH)/bin/activate;\ echo '***';\ echo VPP_BUILD_DIR=$(VPP_BUILD_DIR);\ echo VPP_BIN=$(VPP_BIN);\ echo VPP_PLUGIN_PATH=$(VPP_PLUGIN_PATH);\ echo VPP_TEST_PLUGIN_PATH=$(VPP_TEST_PLUGIN_PATH);\ echo VPP_INSTALL_PATH=$(VPP_INSTALL_PATH);\ echo EXTERN_TESTS=$(EXTERN_TESTS);\ echo EXTERN_PLUGINS=$(EXTERN_PLUGINS);\ echo EXTERN_COV_DIR=$(EXTERN_COV_DIR);\ echo LD_LIBRARY_PATH=$(LD_LIBRARY_PATH);\ echo '***';\ exec </dev/tty" | bash -i .PHONY: wipe doc reset: @rm -f /dev/shm/vpp-unittest-* @rm -rf /tmp/vpp-unittest-* @rm -rf $(FAILED_DIR) @mkdir $(FAILED_DIR) wipe: reset @make -C ext clean @rm -rf $(VENV_PATH) @rm -f $(PAPI_INSTALL_FLAGS) doc: verify-test-dir $(PIP_PATCH_DONE) @bash -c "source $(VENV_PATH)/bin/activate && \ $(PYTHON_INTERP) -m pip install sphinx sphinx-rtd-theme" @bash -c "source $(VENV_PATH)/bin/activate && make -C doc WS_ROOT=$(WS_ROOT) BR=$(BR) html" .PHONY: wipe-doc wipe-doc: @make -C doc wipe BR=$(BR) cov: wipe-cov reset ext verify-test-dir $(PAPI_INSTALL_DONE) @lcov --zerocounters --directory $(VPP_BUILD_DIR) @test -z "$(EXTERN_COV_DIR)" || lcov --zerocounters --directory $(EXTERN_COV_DIR) $(call retest-func) @mkdir $(BUILD_COV_DIR) @lcov --capture --directory $(VPP_BUILD_DIR) --output-file $(BUILD_COV_DIR)/coverage.info @test -z "$(EXTERN_COV_DIR)" || lcov --capture --directory $(EXTERN_COV_DIR) --output-file $(BUILD_COV_DIR)/extern-coverage.info @genhtml $(BUILD_COV_DIR)/coverage.info --output-directory $(BUILD_COV_DIR)/html @test -z "$(EXTERN_COV_DIR)" || genhtml $(BUILD_COV_DIR)/extern-coverage.info --output-directory $(BUILD_COV_DIR)/extern-html @echo @echo "Build finished. Code coverage report is in $(BUILD_COV_DIR)/html/index.html" @test -z "$(EXTERN_COV_DIR)" || echo "Code coverage report for out-of-tree objects is in $(BUILD_COV_DIR)/extern-html/index.html" .PHONY: wipe-cov wipe-cov: wipe @rm -rf $(BUILD_COV_DIR) .PHONY: papi-wipe papi-wipe: @rm -rf $(PAPI_INSTALL_DONE) .PHONY: checkstyle checkstyle: verify-test-dir $(PIP_INSTALL_DONE) @bash -c "source $(VENV_PATH)/bin/activate &&\ $(PYTHON_INTERP) -m pip install pycodestyle" @bash -c "source $(VENV_PATH)/bin/activate &&\ pycodestyle --show-source --ignore=W504,E126,E241,E226,E305,E704,E741,E722 --exclude=$(WS_ROOT)/test/_*.py -v $(WS_ROOT)/test/*.py $(PLUGIN_SRC_DIR)/*/test/*.py ||\ (echo \"*******************************************************************\" &&\ echo \"* Test framework PEP8 compliance check FAILED \" &&\ echo \"*******************************************************************\" &&\ false)" @echo "*******************************************************************" @echo "* Test framework PEP8 compliance check passed" @echo "*******************************************************************" help: @echo "Running tests:" @echo "" @echo " test - build and run (basic) functional tests" @echo " test-debug - build and run (basic) functional tests (debug build)" @echo " test-all - build and run functional and extended tests" @echo " test-all-debug - build and run functional and extended tests (debug build)" @echo " retest - run functional tests" @echo " retest-debug - run functional tests (debug build)" @echo " papi-wipe - rebuild vpp_papi sources" @echo " test-wipe - wipe (temporary) files generated by unit tests" @echo " test-shell - enter shell with test environment" @echo " test-shell-debug - enter shell with test environment (debug build)" @echo "" @echo "Arguments controlling test runs:" @echo " V=[0|1|2] - set test verbosity level" @echo " 0=ERROR, 1=INFO, 2=DEBUG" @echo " TEST_JOBS=[<n>|auto] - use <n> parallel processes for test execution or automatic discovery of maximum acceptable processes (default: 1)" @echo " CACHE_OUTPUT=[0|1] - cache VPP stdout/stderr and log as one block after test finishes (default: 1)" @echo " FAILFAST=[0|1] - fail fast if 1, complete all tests if 0" @echo " TIMEOUT=<timeout> - fail test suite if any single test takes longer than <timeout> (in seconds) to finish (default: 600)" @echo " RETRIES=<n> - retry failed tests <n> times" @echo " DEBUG=<type> - set VPP debugging kind" @echo " DEBUG=core - detect coredump and load it in gdb on crash" @echo " DEBUG=gdb - allow easy debugging by printing VPP PID" @echo " and waiting for user input before running" @echo " and tearing down a testcase" @echo " DEBUG=gdbserver - run gdb inside a gdb server, otherwise" @echo " same as above" @echo " STEP=[yes|no] - ease debugging by stepping through a testcase" @echo " SANITY=[yes|no] - perform sanity import of vpp-api/sanity vpp run before running tests (default: yes)" @echo " EXTENDED_TESTS=[1|y] - used by 'test-all' & 'test-all-debug' to run extended tests" @echo " TEST=<filter> - filter the set of tests:" @echo " by file-name - only run tests from specified file, e.g. TEST=test_bfd selects all tests from test_bfd.py" @echo " by file-suffix - same as file-name, but 'test_' is omitted e.g. TEST=bfd selects all tests from test_bfd.py" @echo " by wildcard - wildcard filter is <file>.<class>.<test function>, each can be replaced by '*'" @echo " e.g. TEST='test_bfd.*.*' is equivalent to above example of filter by file-name" @echo " TEST='bfd.*.*' is equivalent to above example of filter by file-suffix" @echo " TEST='bfd.BFDAPITestCase.*' selects all tests from test_bfd.py which are part of BFDAPITestCase class" @echo " TEST='bfd.BFDAPITestCase.test_add_bfd' selects a single test named test_add_bfd from test_bfd.py/BFDAPITestCase" @echo " TEST='*.*.test_add_bfd' selects all test functions named test_add_bfd from all files/classes" @echo "" @echo " VPP_ZOMBIE_NOCHECK=1 - skip checking for vpp (zombie) processes (CAUTION)" @echo " COREDUMP_SIZE=<size> - pass <size> as unix { coredump-size <size> } argument to vpp" @echo " e.g. COREDUMP_SIZE=4g" @echo " COREDUMP_SIZE=unlimited" @echo " COREDUMP_COMPRESS=1 - compress core files if not debugging them" @echo " EXTERN_TESTS=<path> - path to out-of-tree test_<name>.py files containing test cases" @echo " EXTERN_PLUGINS=<path>- path to out-of-tree plugins to be loaded by vpp under test" @echo " EXTERN_COV_DIR=<path>- path to out-of-tree prefix, where source, object and .gcda files can be found for coverage report" @echo "" @echo " PROFILE=1 - enable profiling of test framework via cProfile module" @echo " PROFILE_SORT_BY=opt - sort profiling report by opt - consult cProfile documentation for possible values (default: cumtime)" @echo " PROFILE_OUTPUT=file - output profiling info to file - use absolute path (default: stdout)" @echo "" @echo " TEST_DEBUG=1 - turn on debugging of the test framework itself (expert)" @echo "" @echo " SKIP_AARCH64=1 - skip tests that are failing on the ARM platorm in FD.io CI" @echo "" @echo " SOCKET=1 - Communicate with VPP over Unix domain socket instead of SHM" @echo "" @echo " RND_SEED=seed - Seed RND with given seed" @echo "" @echo "Creating test documentation" @echo " test-doc - generate documentation for test framework" @echo " test-wipe-doc - wipe documentation for test framework" @echo "" @echo "Creating test code coverage report" @echo " test-cov - generate code coverage report for test framework" @echo " test-wipe-cov - wipe code coverage report for test framework" @echo "" @echo "Verifying code-style" @echo " test-checkstyle - check PEP8 compliance" @echo ""