name: pytest run_id: commands[0] env HOME: /home/jenkins env LANG: en_US.UTF-8 env PATH: /w/workspace/integration-pnf-simulator-master-simulator-cli-tox-verify/simulator-cli/.tox/pytest/bin:/opt/pyenv/bin:/tmp/venv-LbBb/bin:/opt/pyenv/shims:/home/jenkins/.local/bin:/home/jenkins/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/opt/puppetlabs/bin env PIP_DISABLE_PIP_VERSION_CHECK: 1 env PYTHONHASHSEED: 1934284561 env PYTHONIOENCODING: utf-8 env SSH_AUTH_SOCK: ********************************* env TOX_ENV_DIR: /w/workspace/integration-pnf-simulator-master-simulator-cli-tox-verify/simulator-cli/.tox/pytest env TOX_ENV_NAME: pytest env TOX_WORK_DIR: /w/workspace/integration-pnf-simulator-master-simulator-cli-tox-verify/simulator-cli/.tox env VIRTUAL_ENV: /w/workspace/integration-pnf-simulator-master-simulator-cli-tox-verify/simulator-cli/.tox/pytest metadata pid: 37821 cwd: /w/workspace/integration-pnf-simulator-master-simulator-cli-tox-verify/simulator-cli allow: /w/workspace/integration-pnf-simulator-master-simulator-cli-tox-verify/simulator-cli/.tox/pytest/bin/* cmd: pytest -v exit_code: 0 ============================= test session starts ============================== platform linux -- Python 3.8.13, pytest-8.3.5, pluggy-1.5.0 -- /w/workspace/integration-pnf-simulator-master-simulator-cli-tox-verify/simulator-cli/.tox/pytest/bin/python cachedir: .tox/pytest/.pytest_cache rootdir: /w/workspace/integration-pnf-simulator-master-simulator-cli-tox-verify/simulator-cli collecting ... collected 33 items tests/test_netconf_simulator.py::TestArgumentParser::test_should_properly_parse_delete_yang_model PASSED [ 3%] tests/test_netconf_simulator.py::TestArgumentParser::test_should_properly_parse_edit_config_with_all_params PASSED [ 6%] tests/test_netconf_simulator.py::TestArgumentParser::test_should_properly_parse_get_config PASSED [ 9%] tests/test_netconf_simulator.py::TestArgumentParser::test_should_properly_parse_load_yang_model PASSED [ 12%] tests/test_netconf_simulator.py::TestNetconfSimulatorClient::test_should_properly_delete_yang_model PASSED [ 15%] tests/test_netconf_simulator.py::TestNetconfSimulatorClient::test_should_properly_edit_config PASSED [ 18%] tests/test_netconf_simulator.py::TestNetconfSimulatorClient::test_should_properly_get_config PASSED [ 21%] tests/test_netconf_simulator.py::TestNetconfSimulatorClient::test_should_properly_get_config_for_given_module PASSED [ 24%] tests/test_netconf_simulator.py::TestNetconfSimulatorClient::test_should_properly_load_yang_model PASSED [ 27%] tests/test_netconf_simulator.py::TestNetconfSimulatorClient::test_should_properly_run_less_like_mode PASSED [ 30%] tests/test_netconf_simulator.py::TestNetconfSimulatorClient::test_should_raise_exception_when_module_is_absent_and_container_is_present PASSED [ 33%] tests/test_netconf_simulator.py::TestNetconfSimulatorClient::test_should_raise_exception_when_module_is_present_and_container_is_absent PASSED [ 36%] tests/test_pnf_simulator.py::TestArgumentParser::test_should_not_parse_arguments_when_mandatory_params_are_missing_for_event PASSED [ 39%] tests/test_pnf_simulator.py::TestArgumentParser::test_should_not_parse_arguments_when_mandatory_params_are_missing_for_template PASSED [ 42%] tests/test_pnf_simulator.py::TestArgumentParser::test_should_not_parse_arguments_when_mandatory_template_params_are_missing PASSED [ 45%] tests/test_pnf_simulator.py::TestArgumentParser::test_should_not_parse_template_action_when_only_override_is_given PASSED [ 48%] tests/test_pnf_simulator.py::TestArgumentParser::test_should_not_parse_template_action_with_all_params PASSED [ 51%] tests/test_pnf_simulator.py::TestArgumentParser::test_should_not_parse_template_action_with_empty_get_content_param PASSED [ 54%] tests/test_pnf_simulator.py::TestArgumentParser::test_should_parse_template_action_with_upload PASSED [ 57%] tests/test_pnf_simulator.py::TestArgumentParser::test_should_parse_template_action_with_upload_and_override PASSED [ 60%] tests/test_pnf_simulator.py::TestArgumentParser::test_should_properly_parse_configure_action_with_all_params PASSED [ 63%] tests/test_pnf_simulator.py::TestArgumentParser::test_should_properly_parse_filter_templates_action_with_all_params PASSED [ 66%] tests/test_pnf_simulator.py::TestArgumentParser::test_should_properly_parse_get_config_action_with_all_params PASSED [ 69%] tests/test_pnf_simulator.py::TestArgumentParser::test_should_properly_parse_send_event_action_with_all_params PASSED [ 72%] tests/test_pnf_simulator.py::TestArgumentParser::test_should_properly_parse_send_template_action_with_all_params PASSED [ 75%] tests/test_pnf_simulator.py::TestArgumentParser::test_should_properly_parse_template_action_with_get_content_param PASSED [ 78%] tests/test_pnf_simulator.py::TestArgumentParser::test_should_properly_parse_template_action_with_list_param PASSED [ 81%] tests/test_pnf_simulator.py::TestSimulatorClient::test_should_properly_retrieve_configuration PASSED [ 84%] tests/test_pnf_simulator.py::TestSimulatorClient::test_should_properly_send_event PASSED [ 87%] tests/test_pnf_simulator.py::TestSimulatorClient::test_should_properly_send_one_time_event PASSED [ 90%] tests/test_pnf_simulator.py::TestSimulatorClient::test_should_properly_trigger_filter_template_action PASSED [ 93%] tests/test_pnf_simulator.py::TestSimulatorClient::test_should_properly_update_configuration PASSED [ 96%] tests/test_tailf_client.py::TestTailfClient::test_should_connect_to_server_and_receive_message PASSED [100%] =============================== warnings summary =============================== .tox/pytest/lib64/python3.8/site-packages/websockets/framing.py:76 /w/workspace/integration-pnf-simulator-master-simulator-cli-tox-verify/simulator-cli/.tox/pytest/lib64/python3.8/site-packages/websockets/framing.py:76: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead def read(cls, reader, *, mask, max_size=None, extensions=None): .tox/pytest/lib64/python3.8/site-packages/websockets/http.py:53 /w/workspace/integration-pnf-simulator-master-simulator-cli-tox-verify/simulator-cli/.tox/pytest/lib64/python3.8/site-packages/websockets/http.py:53: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead def read_request(stream): .tox/pytest/lib64/python3.8/site-packages/websockets/http.py:98 /w/workspace/integration-pnf-simulator-master-simulator-cli-tox-verify/simulator-cli/.tox/pytest/lib64/python3.8/site-packages/websockets/http.py:98: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead def read_response(stream): .tox/pytest/lib64/python3.8/site-packages/websockets/http.py:142 /w/workspace/integration-pnf-simulator-master-simulator-cli-tox-verify/simulator-cli/.tox/pytest/lib64/python3.8/site-packages/websockets/http.py:142: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead def read_headers(stream): .tox/pytest/lib64/python3.8/site-packages/websockets/http.py:182 /w/workspace/integration-pnf-simulator-master-simulator-cli-tox-verify/simulator-cli/.tox/pytest/lib64/python3.8/site-packages/websockets/http.py:182: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead def read_line(stream): .tox/pytest/lib64/python3.8/site-packages/websockets/protocol.py:357 /w/workspace/integration-pnf-simulator-master-simulator-cli-tox-verify/simulator-cli/.tox/pytest/lib64/python3.8/site-packages/websockets/protocol.py:357: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead def wait_closed(self): .tox/pytest/lib64/python3.8/site-packages/websockets/protocol.py:370 /w/workspace/integration-pnf-simulator-master-simulator-cli-tox-verify/simulator-cli/.tox/pytest/lib64/python3.8/site-packages/websockets/protocol.py:370: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead def recv(self): .tox/pytest/lib64/python3.8/site-packages/websockets/protocol.py:447 /w/workspace/integration-pnf-simulator-master-simulator-cli-tox-verify/simulator-cli/.tox/pytest/lib64/python3.8/site-packages/websockets/protocol.py:447: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead def send(self, data): .tox/pytest/lib64/python3.8/site-packages/websockets/protocol.py:514 /w/workspace/integration-pnf-simulator-master-simulator-cli-tox-verify/simulator-cli/.tox/pytest/lib64/python3.8/site-packages/websockets/protocol.py:514: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead def close(self, code=1000, reason=''): .tox/pytest/lib64/python3.8/site-packages/websockets/protocol.py:564 /w/workspace/integration-pnf-simulator-master-simulator-cli-tox-verify/simulator-cli/.tox/pytest/lib64/python3.8/site-packages/websockets/protocol.py:564: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead def ping(self, data=None): .tox/pytest/lib64/python3.8/site-packages/websockets/protocol.py:603 /w/workspace/integration-pnf-simulator-master-simulator-cli-tox-verify/simulator-cli/.tox/pytest/lib64/python3.8/site-packages/websockets/protocol.py:603: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead def pong(self, data=b''): .tox/pytest/lib64/python3.8/site-packages/websockets/protocol.py:623 /w/workspace/integration-pnf-simulator-master-simulator-cli-tox-verify/simulator-cli/.tox/pytest/lib64/python3.8/site-packages/websockets/protocol.py:623: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead def ensure_open(self): .tox/pytest/lib64/python3.8/site-packages/websockets/protocol.py:665 /w/workspace/integration-pnf-simulator-master-simulator-cli-tox-verify/simulator-cli/.tox/pytest/lib64/python3.8/site-packages/websockets/protocol.py:665: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead def transfer_data(self): .tox/pytest/lib64/python3.8/site-packages/websockets/protocol.py:733 /w/workspace/integration-pnf-simulator-master-simulator-cli-tox-verify/simulator-cli/.tox/pytest/lib64/python3.8/site-packages/websockets/protocol.py:733: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead def read_message(self): .tox/pytest/lib64/python3.8/site-packages/websockets/protocol.py:804 /w/workspace/integration-pnf-simulator-master-simulator-cli-tox-verify/simulator-cli/.tox/pytest/lib64/python3.8/site-packages/websockets/protocol.py:804: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead def read_data_frame(self, max_size): .tox/pytest/lib64/python3.8/site-packages/websockets/protocol.py:875 /w/workspace/integration-pnf-simulator-master-simulator-cli-tox-verify/simulator-cli/.tox/pytest/lib64/python3.8/site-packages/websockets/protocol.py:875: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead def read_frame(self, max_size): .tox/pytest/lib64/python3.8/site-packages/websockets/protocol.py:890 /w/workspace/integration-pnf-simulator-master-simulator-cli-tox-verify/simulator-cli/.tox/pytest/lib64/python3.8/site-packages/websockets/protocol.py:890: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead def write_frame(self, fin, opcode, data, *, _expected_state=State.OPEN): .tox/pytest/lib64/python3.8/site-packages/websockets/protocol.py:941 /w/workspace/integration-pnf-simulator-master-simulator-cli-tox-verify/simulator-cli/.tox/pytest/lib64/python3.8/site-packages/websockets/protocol.py:941: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead def write_close_frame(self, data=b''): .tox/pytest/lib64/python3.8/site-packages/websockets/protocol.py:962 /w/workspace/integration-pnf-simulator-master-simulator-cli-tox-verify/simulator-cli/.tox/pytest/lib64/python3.8/site-packages/websockets/protocol.py:962: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead def keepalive_ping(self): .tox/pytest/lib64/python3.8/site-packages/websockets/protocol.py:1003 /w/workspace/integration-pnf-simulator-master-simulator-cli-tox-verify/simulator-cli/.tox/pytest/lib64/python3.8/site-packages/websockets/protocol.py:1003: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead def close_connection(self): .tox/pytest/lib64/python3.8/site-packages/websockets/protocol.py:1068 /w/workspace/integration-pnf-simulator-master-simulator-cli-tox-verify/simulator-cli/.tox/pytest/lib64/python3.8/site-packages/websockets/protocol.py:1068: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead def wait_for_connection_lost(self): .tox/pytest/lib64/python3.8/site-packages/websockets/client.py:61 /w/workspace/integration-pnf-simulator-master-simulator-cli-tox-verify/simulator-cli/.tox/pytest/lib64/python3.8/site-packages/websockets/client.py:61: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead def write_http_request(self, path, headers): .tox/pytest/lib64/python3.8/site-packages/websockets/client.py:77 /w/workspace/integration-pnf-simulator-master-simulator-cli-tox-verify/simulator-cli/.tox/pytest/lib64/python3.8/site-packages/websockets/client.py:77: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead def read_http_response(self): .tox/pytest/lib64/python3.8/site-packages/websockets/client.py:215 /w/workspace/integration-pnf-simulator-master-simulator-cli-tox-verify/simulator-cli/.tox/pytest/lib64/python3.8/site-packages/websockets/client.py:215: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead def handshake( .tox/pytest/lib64/python3.8/site-packages/websockets/client.py:443 /w/workspace/integration-pnf-simulator-master-simulator-cli-tox-verify/simulator-cli/.tox/pytest/lib64/python3.8/site-packages/websockets/client.py:443: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead def __iter__(self): # pragma: no cover .tox/pytest/lib64/python3.8/site-packages/websockets/server.py:101 /w/workspace/integration-pnf-simulator-master-simulator-cli-tox-verify/simulator-cli/.tox/pytest/lib64/python3.8/site-packages/websockets/server.py:101: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead def handler(self): .tox/pytest/lib64/python3.8/site-packages/websockets/server.py:200 /w/workspace/integration-pnf-simulator-master-simulator-cli-tox-verify/simulator-cli/.tox/pytest/lib64/python3.8/site-packages/websockets/server.py:200: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead def read_http_request(self): .tox/pytest/lib64/python3.8/site-packages/websockets/server.py:223 /w/workspace/integration-pnf-simulator-master-simulator-cli-tox-verify/simulator-cli/.tox/pytest/lib64/python3.8/site-packages/websockets/server.py:223: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead def write_http_response(self, status, headers, body=None): .tox/pytest/lib64/python3.8/site-packages/websockets/server.py:243 /w/workspace/integration-pnf-simulator-master-simulator-cli-tox-verify/simulator-cli/.tox/pytest/lib64/python3.8/site-packages/websockets/server.py:243: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead def process_request(self, path, request_headers): .tox/pytest/lib64/python3.8/site-packages/websockets/server.py:436 /w/workspace/integration-pnf-simulator-master-simulator-cli-tox-verify/simulator-cli/.tox/pytest/lib64/python3.8/site-packages/websockets/server.py:436: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead def handshake( .tox/pytest/lib64/python3.8/site-packages/websockets/server.py:602 /w/workspace/integration-pnf-simulator-master-simulator-cli-tox-verify/simulator-cli/.tox/pytest/lib64/python3.8/site-packages/websockets/server.py:602: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead def _close(self): .tox/pytest/lib64/python3.8/site-packages/websockets/server.py:643 /w/workspace/integration-pnf-simulator-master-simulator-cli-tox-verify/simulator-cli/.tox/pytest/lib64/python3.8/site-packages/websockets/server.py:643: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead def wait_closed(self): .tox/pytest/lib64/python3.8/site-packages/websockets/server.py:837 /w/workspace/integration-pnf-simulator-master-simulator-cli-tox-verify/simulator-cli/.tox/pytest/lib64/python3.8/site-packages/websockets/server.py:837: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead def __iter__(self): # pragma: no cover .tox/pytest/lib/python3.8/site-packages/asynctest/mock.py:434 /w/workspace/integration-pnf-simulator-master-simulator-cli-tox-verify/simulator-cli/.tox/pytest/lib/python3.8/site-packages/asynctest/mock.py:434: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead def wait(self, skip=0): .tox/pytest/lib/python3.8/site-packages/asynctest/mock.py:448 /w/workspace/integration-pnf-simulator-master-simulator-cli-tox-verify/simulator-cli/.tox/pytest/lib/python3.8/site-packages/asynctest/mock.py:448: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead def wait_next(self, skip=0): .tox/pytest/lib/python3.8/site-packages/asynctest/mock.py:468 /w/workspace/integration-pnf-simulator-master-simulator-cli-tox-verify/simulator-cli/.tox/pytest/lib/python3.8/site-packages/asynctest/mock.py:468: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead def wait_for(self, predicate): .tox/pytest/lib/python3.8/site-packages/asynctest/mock.py:489 /w/workspace/integration-pnf-simulator-master-simulator-cli-tox-verify/simulator-cli/.tox/pytest/lib/python3.8/site-packages/asynctest/mock.py:489: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead def _notify(self): .tox/pytest/lib/python3.8/site-packages/asynctest/case.py:357 /w/workspace/integration-pnf-simulator-master-simulator-cli-tox-verify/simulator-cli/.tox/pytest/lib/python3.8/site-packages/asynctest/case.py:357: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead def doCleanups(self): .tox/pytest/lib/python3.8/site-packages/asynctest/case.py:381 /w/workspace/integration-pnf-simulator-master-simulator-cli-tox-verify/simulator-cli/.tox/pytest/lib/python3.8/site-packages/asynctest/case.py:381: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead def assertAsyncRaises(self, exception, awaitable): .tox/pytest/lib/python3.8/site-packages/asynctest/case.py:392 /w/workspace/integration-pnf-simulator-master-simulator-cli-tox-verify/simulator-cli/.tox/pytest/lib/python3.8/site-packages/asynctest/case.py:392: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead def assertAsyncRaisesRegex(self, exception, regex, awaitable): .tox/pytest/lib/python3.8/site-packages/asynctest/case.py:403 /w/workspace/integration-pnf-simulator-master-simulator-cli-tox-verify/simulator-cli/.tox/pytest/lib/python3.8/site-packages/asynctest/case.py:403: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead def assertAsyncWarns(self, warning, awaitable): .tox/pytest/lib/python3.8/site-packages/asynctest/case.py:414 /w/workspace/integration-pnf-simulator-master-simulator-cli-tox-verify/simulator-cli/.tox/pytest/lib/python3.8/site-packages/asynctest/case.py:414: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead def assertAsyncWarnsRegex(self, warning, regex, awaitable): .tox/pytest/lib/python3.8/site-packages/asynctest/case.py:445 /w/workspace/integration-pnf-simulator-master-simulator-cli-tox-verify/simulator-cli/.tox/pytest/lib/python3.8/site-packages/asynctest/case.py:445: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead def advance(self, seconds): .tox/pytest/lib/python3.8/site-packages/asynctest/case.py:487 /w/workspace/integration-pnf-simulator-master-simulator-cli-tox-verify/simulator-cli/.tox/pytest/lib/python3.8/site-packages/asynctest/case.py:487: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead def _drain_loop(self): .tox/pytest/lib/python3.8/site-packages/asynctest/helpers.py:13 /w/workspace/integration-pnf-simulator-master-simulator-cli-tox-verify/simulator-cli/.tox/pytest/lib/python3.8/site-packages/asynctest/helpers.py:13: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead def exhaust_callbacks(loop): tests/test_tailf_client.py::TestTailfClient::test_should_connect_to_server_and_receive_message tests/test_tailf_client.py::TestTailfClient::test_should_connect_to_server_and_receive_message tests/test_tailf_client.py::TestTailfClient::test_should_connect_to_server_and_receive_message /w/workspace/integration-pnf-simulator-master-simulator-cli-tox-verify/simulator-cli/.tox/pytest/lib/python3.8/site-packages/asynctest/mock.py:599: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead def proxy(): -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ======================= 33 passed, 48 warnings in 0.21s ========================