python:unit: [3.12]
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-1 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.12 in /root/.cache/pypoetry/virtualenvs44Using virtualenv: /root/.cache/pypoetry/virtualenvs/knot-resolver-vZTdtcvL-py3.1245$ poetry install --all-extras --only main,dev,test46Updating dependencies47Resolving dependencies...48Package operations: 66 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 urllib3 (2.2.3)58 - Installing crashtest (0.4.1)59 - Installing iniconfig (2.1.0)60 - Installing jaraco-classes (3.4.0)61 - Installing multidict (6.1.0)62 - Installing filelock (3.16.1)63 - Installing packaging (24.2)64 - Installing platformdirs (4.3.6)65 - Installing pluggy (1.5.0)66 - Installing frozenlist (1.5.0)67 - Installing msgpack (1.1.0)68 - Installing pyproject-hooks (1.2.0)69 - Installing poetry-core (1.9.1)70 - Installing propcache (0.2.0)71 - Installing distlib (0.3.9)72 - Installing rapidfuzz (3.9.7)73 - Installing secretstorage (3.3.3)74 - Installing ptyprocess (0.7.0)75 - Installing requests (2.32.3)76 - Installing aiohappyeyeballs (2.4.4)77 - Installing cleo (2.1.0)78 - Installing installer (0.7.0)79 - Installing poetry-plugin-export (1.8.0)80 - Installing setuptools (75.3.2)81 - Installing aiosignal (1.3.1)82 - Installing pexpect (4.9.0)83 - Installing pytest (8.3.5)84 - Installing dulwich (0.21.7)85 - Installing requests-toolbelt (1.0.0)86 - Installing markupsafe (2.1.5)87 - Installing coverage (7.6.1)88 - Installing shellingham (1.5.4)89 - Installing build (1.2.2.post1)90 - Installing cachecontrol (0.14.2)91 - Installing fastjsonschema (2.21.1)92 - Installing keyring (24.3.1)93 - Installing pastel (0.2.1)94 - Installing pkginfo (1.12.1.2)95 - Installing attrs (25.3.0)96 - Installing tomli (2.2.1)97 - Installing tomlkit (0.13.2)98 - Installing trove-classifiers (2025.3.19.19)99 - Installing virtualenv (20.29.3)100 - Installing yarl (1.15.2)101 - Installing aiohttp (3.10.11)102 - Installing debugpy (1.8.13)103 - Installing jinja2 (3.1.6)104 - Installing prometheus-client (0.21.1)105 - Installing pytest-cov (4.1.0)106 - Installing toml (0.10.2)107 - Installing watchdog (4.0.2)108 - Installing pyparsing (3.1.4)109 - Installing poetry (1.8.5)110 - Installing pyyaml (6.0.2)111 - Installing supervisor (4.2.5)112 - Installing pytest-asyncio (0.23.8)113 - Installing poethepoet (0.24.4)114 - Installing typing-extensions (4.12.2)115Writing lock file116Installing the current project: knot-resolver (6.0.11)117A setup.py file already exists. Using it.118$ poe test119Poe => scripts/poe-tasks/test120============================= test session starts ==============================121platform linux -- Python 3.12.9, pytest-8.3.5, pluggy-1.5.0122rootdir: /builds/knot/knot-resolver123configfile: pyproject.toml124plugins: cov-4.1.0, asyncio-0.23.8125asyncio: mode=Mode.STRICT126collected 346 items127tests/manager/datamodel/templates/test_cache_macros.py .... [ 1%]128tests/manager/datamodel/templates/test_common_macros.py ....... [ 3%]129tests/manager/datamodel/templates/test_forward_macros.py . [ 3%]130tests/manager/datamodel/templates/test_network_macros.py . [ 3%]131tests/manager/datamodel/templates/test_policy_macros.py ........... [ 6%]132tests/manager/datamodel/templates/test_types_render.py ........... [ 10%]133tests/manager/datamodel/templates/test_view_macros.py .... [ 11%]134tests/manager/datamodel/test_config_schema.py ...... [ 13%]135tests/manager/datamodel/test_forward_schema.py .... [ 14%]136tests/manager/datamodel/test_local_data.py ........... [ 17%]137tests/manager/datamodel/test_lua_schema.py . [ 17%]138tests/manager/datamodel/test_management_schema.py .... [ 18%]139tests/manager/datamodel/test_network_schema.py ......................... [ 26%]140...... [ 27%]141tests/manager/datamodel/test_policy_schema.py .......................... [ 35%]142..... [ 36%]143tests/manager/datamodel/test_rpz_schema.py ........ [ 39%]144tests/manager/datamodel/types/test_base_types.py ........... [ 42%]145tests/manager/datamodel/types/test_custom_types.py ..................... [ 48%]146........................................................................ [ 69%]147............................. [ 77%]148tests/manager/datamodel/types/test_generic_types.py ............. [ 81%]149tests/manager/test_config_store.py . [ 81%]150tests/manager/test_knot_resolver_manager.py . [ 81%]151tests/manager/utils/modeling/test_base_schema.py ....................... [ 88%]152....... [ 90%]153tests/manager/utils/modeling/test_etag.py . [ 90%]154tests/manager/utils/modeling/test_json_pointer.py . [ 91%]155tests/manager/utils/modeling/test_query.py . [ 91%]156tests/manager/utils/modeling/test_renaming.py ... [ 92%]157tests/manager/utils/modeling/test_types.py ........................ [ 99%]158tests/manager/utils/test_functional.py ... [100%]159-------- generated xml file: /builds/knot/knot-resolver/unit.junit.xml ---------160---------- coverage: platform linux, python 3.12.9-final-0 -----------161Name Stmts Miss Cover162--------------------------------------------------------------------------------------163python/knot_resolver/__init__.py 4 0 100%164python/knot_resolver/client/__init__.py 3 3 0%165python/knot_resolver/client/__main__.py 3 3 0%166python/knot_resolver/client/client.py 29 29 0%167python/knot_resolver/client/command.py 164 164 0%168python/knot_resolver/client/main.py 37 37 0%169python/knot_resolver/constants.py 19 0 100%170python/knot_resolver/controller/__init__.py 45 45 0%171python/knot_resolver/controller/exceptions.py 8 8 0%172python/knot_resolver/controller/interface.py 170 170 0%173python/knot_resolver/controller/registered_workers.py 23 23 0%174python/knot_resolver/controller/supervisord/__init__.py 168 168 0%175python/knot_resolver/controller/supervisord/config_file.py 93 93 0%176python/knot_resolver/datamodel/__init__.py 2 0 100%177python/knot_resolver/datamodel/cache_schema.py 53 5 91%178python/knot_resolver/datamodel/config_schema.py 172 56 67%179python/knot_resolver/datamodel/defer_schema.py 5 0 100%180python/knot_resolver/datamodel/dns64_schema.py 7 0 100%181python/knot_resolver/datamodel/dnssec_schema.py 16 0 100%182python/knot_resolver/datamodel/forward_schema.py 36 1 97%183python/knot_resolver/datamodel/globals.py 25 4 84%184python/knot_resolver/datamodel/local_data_schema.py 38 2 95%185python/knot_resolver/datamodel/logging_schema.py 46 7 85%186python/knot_resolver/datamodel/lua_schema.py 10 0 100%187python/knot_resolver/datamodel/management_schema.py 9 0 100%188python/knot_resolver/datamodel/monitoring_schema.py 12 0 100%189python/knot_resolver/datamodel/network_schema.py 91 4 96%190python/knot_resolver/datamodel/options_schema.py 15 0 100%191python/knot_resolver/datamodel/policy_schema.py 52 0 100%192python/knot_resolver/datamodel/rate_limiting_schema.py 15 5 67%193python/knot_resolver/datamodel/rpz_schema.py 13 0 100%194python/knot_resolver/datamodel/slice_schema.py 7 7 0%195python/knot_resolver/datamodel/static_hints_schema.py 11 11 0%196python/knot_resolver/datamodel/stub_zone_schema.py 10 10 0%197python/knot_resolver/datamodel/templates/__init__.py 28 2 93%198python/knot_resolver/datamodel/types/__init__.py 5 0 100%199python/knot_resolver/datamodel/types/base_types.py 159 19 88%200python/knot_resolver/datamodel/types/enums.py 4 0 100%201python/knot_resolver/datamodel/types/files.py 124 50 60%202python/knot_resolver/datamodel/types/generic_types.py 25 2 92%203python/knot_resolver/datamodel/types/types.py 291 38 87%204python/knot_resolver/datamodel/view_schema.py 17 1 94%205python/knot_resolver/datamodel/webmgmt_schema.py 12 2 83%206python/knot_resolver/exceptions.py 1 0 100%207python/knot_resolver/manager/__init__.py 0 0 100%208python/knot_resolver/manager/__main__.py 3 3 0%209python/knot_resolver/manager/config_store.py 79 31 61%210python/knot_resolver/manager/constants.py 40 40 0%211python/knot_resolver/manager/exceptions.py 3 0 100%212python/knot_resolver/manager/files/__init__.py 3 3 0%213python/knot_resolver/manager/files/reload.py 11 11 0%214python/knot_resolver/manager/files/watchdog.py 85 85 0%215python/knot_resolver/manager/logging.py 58 58 0%216python/knot_resolver/manager/main.py 21 21 0%217python/knot_resolver/manager/manager.py 296 296 0%218python/knot_resolver/manager/metrics/__init__.py 3 3 0%219python/knot_resolver/manager/metrics/collect.py 25 25 0%220python/knot_resolver/manager/metrics/prometheus.py 129 129 0%221python/knot_resolver/manager/server.py 343 343 0%222python/knot_resolver/utils/__init__.py 16 11 31%223python/knot_resolver/utils/async_utils.py 63 63 0%224python/knot_resolver/utils/compat/__init__.py 2 0 100%225python/knot_resolver/utils/compat/asyncio.py 67 51 24%226python/knot_resolver/utils/compat/typing.py 5 2 60%227python/knot_resolver/utils/custom_atexit.py 10 10 0%228python/knot_resolver/utils/etag.py 8 0 100%229python/knot_resolver/utils/functional.py 44 14 68%230python/knot_resolver/utils/modeling/__init__.py 5 0 100%231python/knot_resolver/utils/modeling/base_generic_type_wrapper.py 5 0 100%232python/knot_resolver/utils/modeling/base_schema.py 424 53 88%233python/knot_resolver/utils/modeling/base_value_type.py 20 5 75%234python/knot_resolver/utils/modeling/exceptions.py 40 20 50%235python/knot_resolver/utils/modeling/json_pointer.py 41 4 90%236python/knot_resolver/utils/modeling/parsing.py 60 28 53%237python/knot_resolver/utils/modeling/query.py 111 37 67%238python/knot_resolver/utils/modeling/renaming.py 49 5 90%239python/knot_resolver/utils/modeling/types.py 58 7 88%240python/knot_resolver/utils/requests.py 74 74 0%241python/knot_resolver/utils/systemd_notify.py 41 41 0%242python/knot_resolver/utils/which.py 11 11 0%243--------------------------------------------------------------------------------------244TOTAL 4330 2453 43%245============================= 346 passed in 5.22s ==============================246$ poetry run bash -c "coverage combine .coverage; coverage xml"247No usable data files248Wrote XML report to coverage.xml250Uploading artifacts...251unit.junit.xml: found 1 matching artifact files and directories 252Uploading artifacts as "archive" to coordinator... 201 Created id=1303445 responseStatus=201 Created token=glcbt-64253Uploading artifacts...254unit.junit.xml: found 1 matching artifact files and directories 255Uploading artifacts as "junit" to coordinator... 201 Created id=1303445 responseStatus=201 Created token=glcbt-64256Uploading artifacts...257coverage.xml: found 1 matching artifact files and directories 258Uploading artifacts as "cobertura" to coordinator... 201 Created id=1303445 responseStatus=201 Created token=glcbt-64260Job succeeded