kytos-ng / kytos-end-to-end-tests

Kytos End-to-End Tests
0 stars 10 forks source link

test: added test_016_install_invalid_flow_cookie_overflowed #206

Closed viniarck closed 1 year ago

viniarck commented 1 year ago

Closes #205

Related to https://github.com/kytos-ng/of_core/issues/102

Summary

Added test_016_install_invalid_flow_cookie_overflowed. flow_manager still hasn't complete implemented API spec validation, but this was a case where it ended hitting a problem in msg_out queue so we're adding this as a regression test. In the future, more validation tests should be planned for

Local Tests

This individual test is passing building with the branches that it depends on https://github.com/kytos-ng/flow_manager/pull/137

+ python3 -m pytest tests/ --timeout=600 -k test_016_install_invalid_flow_cookie_overflowed
============================= test session starts ==============================
platform linux -- Python 3.9.2, pytest-6.2.5, py-1.11.0, pluggy-1.0.0
rootdir: /tests
plugins: timeout-2.0.2
timeout: 600.0s
timeout method: signal
timeout func_only: False
collected 206 items / 205 deselected / 1 selected

tests/test_e2e_20_flow_manager.py .                                      [100%]

=============================== warnings summary ===============================
viniarck commented 1 year ago

e2e tests are passing:

+ python3 -m pytest tests/ --reruns 2 -r fEr
============================= test session starts ==============================
platform linux -- Python 3.9.2, pytest-7.2.0, pluggy-1.0.0
rootdir: /builds/amlight/kytos-end-to-end-tester/kytos-end-to-end-tests
plugins: rerunfailures-10.2, timeout-2.1.0
collected 206 items
tests/test_e2e_01_kytos_startup.py ..                                    [  0%]
tests/test_e2e_05_topology.py ..................                         [  9%]
tests/test_e2e_10_mef_eline.py ..........ss.....x.....x.....             [ 23%]
tests/test_e2e_11_mef_eline.py .....                                     [ 26%]
tests/test_e2e_12_mef_eline.py .....xx.                                  [ 30%]
tests/test_e2e_13_mef_eline.py .....xxXx......xxXx.XXxX.xxxx..x......... [ 50%]
...                                                                      [ 51%]
tests/test_e2e_14_mef_eline.py x                                         [ 51%]
tests/test_e2e_15_mef_eline.py ..                                        [ 52%]
tests/test_e2e_20_flow_manager.py ....................                   [ 62%]
tests/test_e2e_21_flow_manager.py ..                                     [ 63%]
tests/test_e2e_22_flow_manager.py ...............                        [ 70%]
tests/test_e2e_23_flow_manager.py ..............                         [ 77%]
tests/test_e2e_30_of_lldp.py ....                                        [ 79%]
tests/test_e2e_31_of_lldp.py ...                                         [ 81%]
tests/test_e2e_32_of_lldp.py ...                                         [ 82%]
tests/test_e2e_40_sdntrace.py ....                                       [ 84%]
tests/test_e2e_41_kytos_auth.py ........                                 [ 88%]
tests/test_e2e_50_maintenance.py ........................                [100%]
=============================== warnings summary ===============================

------------------------------- start/stop times -------------------------------
= 182 passed, 2 skipped, 17 xfailed, 5 xpassed, 793 warnings in 10682.37s (2:58:02) =