code: install_deps> python -I -m pip install coverage pytest pytest-cov six .pkg: install_requires> python -I -m pip install 'setuptools>=40.8.0' .pkg: _optional_hooks> python /tmp/venv-oYY0/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: get_requires_for_build_sdist> python /tmp/venv-oYY0/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: get_requires_for_build_wheel> python /tmp/venv-oYY0/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: freeze> python -m pip freeze --all .pkg: pip==25.2,setuptools==80.9.0 .pkg: prepare_metadata_for_build_wheel> python /tmp/venv-oYY0/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: build_sdist> python /tmp/venv-oYY0/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ code: install_package_deps> python -I -m pip install inotify inotify_simple mdclogpy msgpack 'protobuf<3.21.0' requests 'ricsdl<4.0.0,>=3.0.0' code: install_package> python -I -m pip install --force-reinstall --no-deps /w/workspace/ric-plt-xapp-frame-py-pypi-verify-master/.tox/.tmp/package/1/ricxappframe-3.2.3.tar.gz code: freeze> python -m pip freeze --all code: async-timeout==5.0.1,build==1.3.0,certifi==2025.8.3,charset-normalizer==3.4.3,coverage==7.10.7,exceptiongroup==1.3.0,hiredis==2.0.0,idna==3.10,iniconfig==2.1.0,inotify==0.2.12,inotify-simple==2.0.1,mdclogpy==1.1.4,msgpack==1.1.1,packaging==25.0,pip==25.2,pluggy==1.6.0,protobuf==3.20.3,Pygments==2.19.2,pyproject_hooks==1.2.0,pytest==8.4.2,pytest-cov==7.0.0,redis==4.3.6,requests==2.32.5,ricsdl==3.1.3,ricxappframe @ file:///w/workspace/ric-plt-xapp-frame-py-pypi-verify-master/.tox/.tmp/package/1/ricxappframe-3.2.3.tar.gz#sha256=9d5e60b3c97e72520d85e9ec3778d32726b3302ce0cadefdc47d0bfc70f2da60,setuptools==80.9.0,six==1.17.0,tomli==2.2.1,typing_extensions==4.15.0,urllib3==2.5.0 code: commands[0]> pytest --cov ricxappframe --cov-report xml --cov-report term-missing --cov-report html --cov-fail-under=70 --junitxml=/tmp/tests.xml ============================= test session starts ============================== platform linux -- Python 3.10.6, pytest-8.4.2, pluggy-1.6.0 cachedir: .tox/code/.pytest_cache rootdir: /w/workspace/ric-plt-xapp-frame-py-pypi-verify-master plugins: cov-7.0.0 collected 75 items tests/test_Logger.py .............. [ 18%] tests/test_alarm.py .. [ 21%] tests/test_config.py ... [ 25%] tests/test_e2ap.py ........ [ 36%] tests/test_init.py ... [ 40%] tests/test_metric.py .. [ 42%] tests/test_rest.py . [ 44%] tests/test_rmr.py ............. [ 61%] tests/test_rmr_mocks.py ... [ 65%] tests/test_rmrclib.py .. [ 68%] tests/test_sdl.py ..... [ 74%] tests/test_subscribe.py .... [ 80%] tests/test_symptomdata.py .... [ 85%] tests/test_xapps.py ........... [100%] ---------------------- generated xml file: /tmp/tests.xml ---------------------- ================================ tests coverage ================================ _______________ coverage: platform linux, python 3.10.6-final-0 ________________ Name Stmts Miss Cover Missing ----------------------------------------------------------------------- ricxappframe/__init__.py 0 0 100% ricxappframe/alarm/__init__.py 0 0 100% ricxappframe/alarm/alarm.py 93 2 98% 250-251 ricxappframe/alarm/exceptions.py 1 0 100% ricxappframe/constants.py 5 0 100% ricxappframe/e2ap/__init__.py 0 0 100% ricxappframe/e2ap/asn1.py 224 0 100% ricxappframe/e2ap/asn1clib/__init__.py 0 0 100% ricxappframe/e2ap/asn1clib/asn1clib.py 2 0 100% ricxappframe/e2ap/asn1clib/types.py 16 0 100% ricxappframe/logger/__init__.py 0 0 100% ricxappframe/logger/mdclogger.py 132 22 83% 83-87, 95, 188-189, 196, 198, 200, 202, 220-224, 227-234 ricxappframe/metric/__init__.py 0 0 100% ricxappframe/metric/exceptions.py 1 0 100% ricxappframe/metric/metric.py 57 3 95% 122, 201-202 ricxappframe/rmr/__init__.py 0 0 100% ricxappframe/rmr/exceptions.py 3 0 100% ricxappframe/rmr/helpers.py 28 0 100% ricxappframe/rmr/rmr.py 155 3 98% 257, 454, 544 ricxappframe/rmr/rmr_mocks/__init__.py 0 0 100% ricxappframe/rmr/rmr_mocks/rmr_mocks.py 77 6 92% 39, 59, 79, 115, 133, 148 ricxappframe/rmr/rmrclib/__init__.py 0 0 100% ricxappframe/rmr/rmrclib/rmrclib.py 38 1 97% 53 ricxappframe/util/__init__.py 0 0 100% ricxappframe/util/constants.py 11 0 100% ricxappframe/xapp_frame.py 300 45 85% 146-151, 173-174, 176-177, 181-183, 187-195, 222-236, 249-251, 256-257, 270-271, 273, 304-306, 335-336, 366-367, 680-681, 769, 813, 980 ricxappframe/xapp_rest.py 91 12 87% 66, 72-74, 131-132, 142-143, 155-156, 191-193 ricxappframe/xapp_rmr.py 39 0 100% ricxappframe/xapp_sdl.py 93 1 99% 53 ricxappframe/xapp_subscribe.py 54 3 94% 64, 103, 171 ricxappframe/xapp_symptomdata.py 119 20 83% 43, 111-116, 152, 154-156, 160-161, 200-201, 221-224, 228 ----------------------------------------------------------------------- TOTAL 1539 118 92% Coverage HTML written to dir htmlcov Coverage XML written to file coverage.xml Required test coverage of 70% reached. Total coverage: 92.33% ======================== 75 passed in 278.14s (0:04:38) ======================== code: commands[1]> coverage xml -i Wrote XML report to coverage.xml code: OK ✔ in 5 minutes 13.38 seconds flake8: install_deps> python -I -m pip install flake8 flake8: freeze> python -m pip freeze --all flake8: flake8==7.3.0,mccabe==0.7.0,pip==25.2,pycodestyle==2.14.0,pyflakes==3.4.0,setuptools==80.9.0 flake8: commands[0]> flake8 setup.py ricxappframe tests tests/test_sdl.py:136:9: F824 `nonlocal CH` is unused: name is never assigned in scope tests/test_sdl.py:137:9: F824 `nonlocal EVENT` is unused: name is never assigned in scope tests/test_sdl.py:191:9: F824 `nonlocal CH` is unused: name is never assigned in scope tests/test_sdl.py:192:9: F824 `nonlocal EVENT` is unused: name is never assigned in scope flake8: exit 1 (1.35 seconds) /w/workspace/ric-plt-xapp-frame-py-pypi-verify-master> flake8 setup.py ricxappframe tests pid=2990 code: OK (313.38=setup[31.34]+cmd[281.43,0.61] seconds) flake8: FAIL code 1 (4.84=setup[3.49]+cmd[1.35] seconds) evaluation failed :( (318.28 seconds)