python:unit: [3.9]
Passed Started
by
@amrazek
Aleš Mrázek
1Running with gitlab-runner 16.11.4 (cf51e113)2 on ci-01.labs.nic.cz khjCS2NqM, system ID: s_dad871754e334Using Docker executor with image registry.nic.cz/knot/knot-resolver-ci/manager:ci-parallel-build ...5Authenticating with credentials from job payload (GitLab Registry)6Pulling docker image registry.nic.cz/knot/knot-resolver-ci/manager:ci-parallel-build ...7Using docker image sha256:3109d9a9c479743bbb88892eac903a338261ee003ef6289cfd2e6ffb38bbf264 for registry.nic.cz/knot/knot-resolver-ci/manager:ci-parallel-build with digest registry.nic.cz/knot/knot-resolver-ci/manager@sha256:3e0d1badca61976b0e8b515c31004e4fdf641293e345be15b73d291563127789 ...9Running on runner-khjcs2nqm-project-147-concurrent-8 via ci-01...11Fetching changes...12Initialized empty Git repository in /builds/knot/knot-resolver/.git/13Created fresh repository.14Checking out 3ff9d022 as detached HEAD (ref is ci-jobs-reorganization)...15Updating/initializing submodules recursively...16Submodule 'modules/policy/lua-aho-corasick' (https://gitlab.nic.cz/knot/3rdparty/lua-aho-corasick.git) registered for path 'modules/policy/lua-aho-corasick'17Submodule 'tests/config/tapered' (https://gitlab.nic.cz/knot/3rdparty/lua-tapered.git) registered for path 'tests/config/tapered'18Submodule 'tests/integration/deckard' (https://gitlab.nic.cz/knot/deckard.git) registered for path 'tests/integration/deckard'19Synchronizing submodule url for 'modules/policy/lua-aho-corasick'20Synchronizing submodule url for 'tests/config/tapered'21Synchronizing submodule url for 'tests/integration/deckard'22Cloning into '/builds/knot/knot-resolver/modules/policy/lua-aho-corasick'...23Cloning into '/builds/knot/knot-resolver/tests/config/tapered'...24Cloning into '/builds/knot/knot-resolver/tests/integration/deckard'...25Submodule path 'modules/policy/lua-aho-corasick': checked out '9f983c48af8ddddbcc38f34a4d589600b47645c1'26Submodule path 'tests/config/tapered': checked out 'a4ff55a9a59d7dc030f021439865117d1df7a845'27Submodule path 'tests/integration/deckard': checked out 'cc478cc04956916d1a946ae986a952732a837a8c'28Updated submodules29Synchronizing submodule url for 'modules/policy/lua-aho-corasick'30Synchronizing submodule url for 'tests/config/tapered'31Synchronizing submodule url for 'tests/integration/deckard'32Entering 'modules/policy/lua-aho-corasick'33Entering 'tests/config/tapered'34Entering 'tests/integration/deckard'35Entering 'modules/policy/lua-aho-corasick'36Entering 'tests/config/tapered'37Entering 'tests/integration/deckard'39Using docker image sha256:3109d9a9c479743bbb88892eac903a338261ee003ef6289cfd2e6ffb38bbf264 for registry.nic.cz/knot/knot-resolver-ci/manager:ci-parallel-build with digest registry.nic.cz/knot/knot-resolver-ci/manager@sha256:3e0d1badca61976b0e8b515c31004e4fdf641293e345be15b73d291563127789 ...40$ poetry --version41Poetry (version 2.1.1)42$ poetry env use python${PYTHON_VERSION}43Creating virtualenv knot-resolver-vZTdtcvL-py3.9 in /root/.cache/pypoetry/virtualenvs44Using virtualenv: /root/.cache/pypoetry/virtualenvs/knot-resolver-vZTdtcvL-py3.945$ poetry install --all-extras --only main,dev,test46Updating dependencies47Resolving dependencies...48Package operations: 70 installs, 0 updates, 0 removals49 - Installing pycparser (2.22)50 - Installing cffi (1.17.1)51 - Installing certifi (2025.1.31)52 - Installing charset-normalizer (3.4.1)53 - Installing cryptography (43.0.3)54 - Installing idna (3.10)55 - Installing jeepney (0.9.0)56 - Installing more-itertools (10.5.0)57 - Installing typing-extensions (4.12.2)58 - Installing urllib3 (2.2.3)59 - Installing zipp (3.20.2)60 - Installing exceptiongroup (1.2.2)61 - Installing distlib (0.3.9)62 - Installing frozenlist (1.5.0)63 - Installing msgpack (1.1.0)64 - Installing multidict (6.1.0)65 - Installing packaging (24.2)66 - Installing jaraco-classes (3.4.0)67 - Installing crashtest (0.4.1)68 - Installing pyproject-hooks (1.2.0)69 - Installing importlib-metadata (8.5.0)70 - Installing propcache (0.2.0)71 - Installing filelock (3.16.1)72 - Installing iniconfig (2.1.0)73 - Installing poetry-core (1.9.1)74 - Installing requests (2.32.3)75 - Installing platformdirs (4.3.6)76 - Installing secretstorage (3.3.3)77 - Installing rapidfuzz (3.9.7)78 - Installing ptyprocess (0.7.0)79 - Installing pluggy (1.5.0)80 - Installing tomli (2.2.1)81 - Installing aiohappyeyeballs (2.4.4)82 - Installing aiosignal (1.3.1)83 - Installing cachecontrol (0.14.2)84 - Installing cleo (2.1.0)85 - Installing dulwich (0.21.7)86 - Installing pastel (0.2.1)87 - Installing pkginfo (1.12.1.2)88 - Installing poetry-plugin-export (1.8.0)89 - Installing setuptools (75.3.2)90 - Installing fastjsonschema (2.21.1)91 - Installing markupsafe (2.1.5)92 - Installing attrs (25.3.0)93 - Installing installer (0.7.0)94 - Installing pytest (8.3.5)95 - Installing build (1.2.2.post1)96 - Installing async-timeout (5.0.1)97 - Installing pexpect (4.9.0)98 - Installing keyring (24.3.1)99 - Installing requests-toolbelt (1.0.0)100 - Installing coverage (7.6.1)101 - Installing shellingham (1.5.4)102 - Installing tomlkit (0.13.2)103 - Installing trove-classifiers (2025.3.19.19)104 - Installing virtualenv (20.29.3)105 - Installing yarl (1.15.2)106 - Installing aiohttp (3.10.11)107 - Installing pyyaml (6.0.2)108 - Installing pyparsing (3.1.4)109 - Installing jinja2 (3.1.6)110 - Installing debugpy (1.8.13)111 - Installing supervisor (4.2.5)112 - Installing pytest-asyncio (0.23.8)113 - Installing prometheus-client (0.21.1)114 - Installing watchdog (4.0.2)115 - Installing toml (0.10.2)116 - Installing pytest-cov (4.1.0)117 - Installing poethepoet (0.24.4)118 - Installing poetry (1.8.5)119Writing lock file120Installing the current project: knot-resolver (6.0.11)121A setup.py file already exists. Using it.122$ poe test123Poe => scripts/poe-tasks/test124============================= test session starts ==============================125platform linux -- Python 3.9.21, pytest-8.3.5, pluggy-1.5.0126rootdir: /builds/knot/knot-resolver127configfile: pyproject.toml128plugins: cov-4.1.0, asyncio-0.23.8129asyncio: mode=strict130collected 346 items131tests/manager/datamodel/templates/test_cache_macros.py .... [ 1%]132tests/manager/datamodel/templates/test_common_macros.py ....... [ 3%]133tests/manager/datamodel/templates/test_forward_macros.py . [ 3%]134tests/manager/datamodel/templates/test_network_macros.py . [ 3%]135tests/manager/datamodel/templates/test_policy_macros.py ........... [ 6%]136tests/manager/datamodel/templates/test_types_render.py ........... [ 10%]137tests/manager/datamodel/templates/test_view_macros.py .... [ 11%]138tests/manager/datamodel/test_config_schema.py ...... [ 13%]139tests/manager/datamodel/test_forward_schema.py .... [ 14%]140tests/manager/datamodel/test_local_data.py ........... [ 17%]141tests/manager/datamodel/test_lua_schema.py . [ 17%]142tests/manager/datamodel/test_management_schema.py .... [ 18%]143tests/manager/datamodel/test_network_schema.py ......................... [ 26%]144...... [ 27%]145tests/manager/datamodel/test_policy_schema.py .......................... [ 35%]146..... [ 36%]147tests/manager/datamodel/test_rpz_schema.py ........ [ 39%]148tests/manager/datamodel/types/test_base_types.py ........... [ 42%]149tests/manager/datamodel/types/test_custom_types.py ..................... [ 48%]150........................................................................ [ 69%]151............................. [ 77%]152tests/manager/datamodel/types/test_generic_types.py ............. [ 81%]153tests/manager/test_config_store.py . [ 81%]154tests/manager/test_knot_resolver_manager.py . [ 81%]155tests/manager/utils/modeling/test_base_schema.py ....................... [ 88%]156....... [ 90%]157tests/manager/utils/modeling/test_etag.py . [ 90%]158tests/manager/utils/modeling/test_json_pointer.py . [ 91%]159tests/manager/utils/modeling/test_query.py . [ 91%]160tests/manager/utils/modeling/test_renaming.py ... [ 92%]161tests/manager/utils/modeling/test_types.py ........................ [ 99%]162tests/manager/utils/test_functional.py ... [100%]163-------- generated xml file: /builds/knot/knot-resolver/unit.junit.xml ---------164---------- coverage: platform linux, python 3.9.21-final-0 -----------165Name Stmts Miss Cover166--------------------------------------------------------------------------------------167python/knot_resolver/__init__.py 4 0 100%168python/knot_resolver/client/__init__.py 3 3 0%169python/knot_resolver/client/__main__.py 3 3 0%170python/knot_resolver/client/client.py 28 28 0%171python/knot_resolver/client/command.py 164 164 0%172python/knot_resolver/client/main.py 37 37 0%173python/knot_resolver/constants.py 19 0 100%174python/knot_resolver/controller/__init__.py 44 44 0%175python/knot_resolver/controller/exceptions.py 8 8 0%176python/knot_resolver/controller/interface.py 170 170 0%177python/knot_resolver/controller/registered_workers.py 23 23 0%178python/knot_resolver/controller/supervisord/__init__.py 168 168 0%179python/knot_resolver/controller/supervisord/config_file.py 93 93 0%180python/knot_resolver/datamodel/__init__.py 2 0 100%181python/knot_resolver/datamodel/cache_schema.py 53 5 91%182python/knot_resolver/datamodel/config_schema.py 172 56 67%183python/knot_resolver/datamodel/defer_schema.py 5 0 100%184python/knot_resolver/datamodel/dns64_schema.py 7 0 100%185python/knot_resolver/datamodel/dnssec_schema.py 16 0 100%186python/knot_resolver/datamodel/forward_schema.py 36 1 97%187python/knot_resolver/datamodel/globals.py 25 4 84%188python/knot_resolver/datamodel/local_data_schema.py 38 2 95%189python/knot_resolver/datamodel/logging_schema.py 46 7 85%190python/knot_resolver/datamodel/lua_schema.py 10 0 100%191python/knot_resolver/datamodel/management_schema.py 9 0 100%192python/knot_resolver/datamodel/monitoring_schema.py 12 0 100%193python/knot_resolver/datamodel/network_schema.py 91 4 96%194python/knot_resolver/datamodel/options_schema.py 15 0 100%195python/knot_resolver/datamodel/policy_schema.py 52 0 100%196python/knot_resolver/datamodel/rate_limiting_schema.py 15 5 67%197python/knot_resolver/datamodel/rpz_schema.py 13 0 100%198python/knot_resolver/datamodel/slice_schema.py 7 7 0%199python/knot_resolver/datamodel/static_hints_schema.py 11 11 0%200python/knot_resolver/datamodel/stub_zone_schema.py 10 10 0%201python/knot_resolver/datamodel/templates/__init__.py 28 2 93%202python/knot_resolver/datamodel/types/__init__.py 5 0 100%203python/knot_resolver/datamodel/types/base_types.py 159 19 88%204python/knot_resolver/datamodel/types/enums.py 4 0 100%205python/knot_resolver/datamodel/types/files.py 124 50 60%206python/knot_resolver/datamodel/types/generic_types.py 25 2 92%207python/knot_resolver/datamodel/types/types.py 291 38 87%208python/knot_resolver/datamodel/view_schema.py 17 1 94%209python/knot_resolver/datamodel/webmgmt_schema.py 12 2 83%210python/knot_resolver/exceptions.py 1 0 100%211python/knot_resolver/manager/__init__.py 0 0 100%212python/knot_resolver/manager/__main__.py 3 3 0%213python/knot_resolver/manager/config_store.py 79 31 61%214python/knot_resolver/manager/constants.py 40 40 0%215python/knot_resolver/manager/exceptions.py 3 0 100%216python/knot_resolver/manager/files/__init__.py 3 3 0%217python/knot_resolver/manager/files/reload.py 11 11 0%218python/knot_resolver/manager/files/watchdog.py 85 85 0%219python/knot_resolver/manager/logging.py 58 58 0%220python/knot_resolver/manager/main.py 21 21 0%221python/knot_resolver/manager/manager.py 295 295 0%222python/knot_resolver/manager/metrics/__init__.py 3 3 0%223python/knot_resolver/manager/metrics/collect.py 25 25 0%224python/knot_resolver/manager/metrics/prometheus.py 129 129 0%225python/knot_resolver/manager/server.py 343 343 0%226python/knot_resolver/utils/__init__.py 16 11 31%227python/knot_resolver/utils/async_utils.py 62 62 0%228python/knot_resolver/utils/compat/__init__.py 2 0 100%229python/knot_resolver/utils/compat/asyncio.py 67 51 24%230python/knot_resolver/utils/compat/typing.py 5 2 60%231python/knot_resolver/utils/custom_atexit.py 10 10 0%232python/knot_resolver/utils/etag.py 8 0 100%233python/knot_resolver/utils/functional.py 44 14 68%234python/knot_resolver/utils/modeling/__init__.py 5 0 100%235python/knot_resolver/utils/modeling/base_generic_type_wrapper.py 5 0 100%236python/knot_resolver/utils/modeling/base_schema.py 424 53 88%237python/knot_resolver/utils/modeling/base_value_type.py 20 5 75%238python/knot_resolver/utils/modeling/exceptions.py 40 20 50%239python/knot_resolver/utils/modeling/json_pointer.py 41 4 90%240python/knot_resolver/utils/modeling/parsing.py 60 28 53%241python/knot_resolver/utils/modeling/query.py 111 37 67%242python/knot_resolver/utils/modeling/renaming.py 49 5 90%243python/knot_resolver/utils/modeling/types.py 58 7 88%244python/knot_resolver/utils/requests.py 74 74 0%245python/knot_resolver/utils/systemd_notify.py 41 41 0%246python/knot_resolver/utils/which.py 11 11 0%247--------------------------------------------------------------------------------------248TOTAL 4326 2449 43%249============================= 346 passed in 3.93s ==============================250$ poetry run bash -c "coverage combine .coverage; coverage xml"251No usable data files252Wrote XML report to coverage.xml254Uploading artifacts...255unit.junit.xml: found 1 matching artifact files and directories 256Uploading artifacts as "archive" to coordinator... 201 Created id=1303442 responseStatus=201 Created token=glcbt-64257Uploading artifacts...258unit.junit.xml: found 1 matching artifact files and directories 259Uploading artifacts as "junit" to coordinator... 201 Created id=1303442 responseStatus=201 Created token=glcbt-64260Uploading artifacts...261coverage.xml: found 1 matching artifact files and directories 262Uploading artifacts as "cobertura" to coordinator... 201 Created id=1303442 responseStatus=201 Created token=glcbt-64264Job succeeded