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' wheel .pkg: _optional_hooks> python /tmp/venv-cV6b/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: get_requires_for_build_sdist> python /tmp/venv-cV6b/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: get_requires_for_build_wheel> python /tmp/venv-cV6b/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: install_requires_for_build_wheel> python -I -m pip install wheel .pkg: freeze> python -m pip freeze --all .pkg: pip==23.3.1,setuptools==69.0.2,wheel==0.42.0 .pkg: prepare_metadata_for_build_wheel> python /tmp/venv-cV6b/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: build_sdist> python /tmp/venv-cV6b/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.2.tar.gz code: freeze> python -m pip freeze --all code: async-timeout==4.0.3,certifi==2023.11.17,charset-normalizer==3.3.2,coverage==7.3.4,exceptiongroup==1.2.0,hiredis==2.0.0,idna==3.6,iniconfig==2.0.0,inotify==0.2.10,inotify-simple==1.3.5,mdclogpy==1.1.4,msgpack==1.0.7,nose==1.3.7,packaging==23.2,pip==23.3.1,pluggy==1.3.0,protobuf==3.20.3,pytest==7.4.3,pytest-cov==4.1.0,redis==4.3.6,requests==2.31.0,ricsdl==3.1.3,ricxappframe @ file:///w/workspace/ric-plt-xapp-frame-py-pypi-verify-master/.tox/.tmp/package/1/ricxappframe-3.2.2.tar.gz#sha256=9791f5e67cfdf5c60264b1c9d5de8a013a5b3833260067c900b5fbba006eb0a2,setuptools==69.0.2,six==1.16.0,tomli==2.0.1,urllib3==2.1.0,wheel==0.42.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-7.4.3, pluggy-1.3.0 cachedir: .tox/code/.pytest_cache rootdir: /w/workspace/ric-plt-xapp-frame-py-pypi-verify-master plugins: cov-4.1.0 collected 58 items / 4 errors ==================================== ERRORS ==================================== ____________________ ERROR collecting examples/xapp_test.py ____________________ .tox/code/lib/python3.10/site-packages/_pytest/python.py:617: in _importtestmodule mod = import_path(self.path, mode=importmode, root=self.config.rootpath) .tox/code/lib/python3.10/site-packages/_pytest/pathlib.py:567: in import_path importlib.import_module(module_name) /opt/pyenv/versions/3.10.6/lib/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1050: in _gcd_import ??? :1027: in _find_and_load ??? :1006: in _find_and_load_unlocked ??? :688: in _load_unlocked ??? .tox/code/lib/python3.10/site-packages/_pytest/assertion/rewrite.py:186: in exec_module exec(co, module.__dict__) examples/xapp_test.py:36: in from ricxappframe.xapp_frame import RMRXapp, rmr E File "/w/workspace/ric-plt-xapp-frame-py-pypi-verify-master/ricxappframe/xapp_frame.py", line 221 E if resp.status_code != 200 and resp.status_code != 201: E ^ E IndentationError: unindent does not match any outer indentation level ____________________ ERROR collecting tests/test_config.py _____________________ .tox/code/lib/python3.10/site-packages/_pytest/python.py:617: in _importtestmodule mod = import_path(self.path, mode=importmode, root=self.config.rootpath) .tox/code/lib/python3.10/site-packages/_pytest/pathlib.py:567: in import_path importlib.import_module(module_name) /opt/pyenv/versions/3.10.6/lib/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1050: in _gcd_import ??? :1027: in _find_and_load ??? :1006: in _find_and_load_unlocked ??? :688: in _load_unlocked ??? .tox/code/lib/python3.10/site-packages/_pytest/assertion/rewrite.py:186: in exec_module exec(co, module.__dict__) tests/test_config.py:24: in from ricxappframe.xapp_frame import RMRXapp E File "/w/workspace/ric-plt-xapp-frame-py-pypi-verify-master/ricxappframe/xapp_frame.py", line 221 E if resp.status_code != 200 and resp.status_code != 201: E ^ E IndentationError: unindent does not match any outer indentation level _____________________ ERROR collecting tests/test_init.py ______________________ .tox/code/lib/python3.10/site-packages/_pytest/python.py:617: in _importtestmodule mod = import_path(self.path, mode=importmode, root=self.config.rootpath) .tox/code/lib/python3.10/site-packages/_pytest/pathlib.py:567: in import_path importlib.import_module(module_name) /opt/pyenv/versions/3.10.6/lib/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1050: in _gcd_import ??? :1027: in _find_and_load ??? :1006: in _find_and_load_unlocked ??? :688: in _load_unlocked ??? .tox/code/lib/python3.10/site-packages/_pytest/assertion/rewrite.py:186: in exec_module exec(co, module.__dict__) tests/test_init.py:20: in from ricxappframe.xapp_frame import Xapp, RMRXapp E File "/w/workspace/ric-plt-xapp-frame-py-pypi-verify-master/ricxappframe/xapp_frame.py", line 221 E if resp.status_code != 200 and resp.status_code != 201: E ^ E IndentationError: unindent does not match any outer indentation level _____________________ ERROR collecting tests/test_xapps.py _____________________ .tox/code/lib/python3.10/site-packages/_pytest/python.py:617: in _importtestmodule mod = import_path(self.path, mode=importmode, root=self.config.rootpath) .tox/code/lib/python3.10/site-packages/_pytest/pathlib.py:567: in import_path importlib.import_module(module_name) /opt/pyenv/versions/3.10.6/lib/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1050: in _gcd_import ??? :1027: in _find_and_load ??? :1006: in _find_and_load_unlocked ??? :688: in _load_unlocked ??? .tox/code/lib/python3.10/site-packages/_pytest/assertion/rewrite.py:186: in exec_module exec(co, module.__dict__) tests/test_xapps.py:22: in from ricxappframe.xapp_frame import _BaseXapp, Xapp, RMRXapp E File "/w/workspace/ric-plt-xapp-frame-py-pypi-verify-master/ricxappframe/xapp_frame.py", line 221 E if resp.status_code != 200 and resp.status_code != 201: E ^ E IndentationError: unindent does not match any outer indentation level ---------------------- generated xml file: /tmp/tests.xml ---------------------- ---------- 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 94 47 50% 119-125, 154-166, 195, 214, 235-253, 270-271, 288-289, 306-309, 320-322 ricxappframe/alarm/exceptions.py 2 0 100% ricxappframe/constants.py 5 5 0% 1-12 ricxappframe/e2ap/__init__.py 0 0 100% ricxappframe/e2ap/asn1.py 224 111 50% 73, 77, 81, 85, 89, 93, 97, 101, 105, 109, 126-146, 155-157, 161, 165, 174-176, 180, 184, 194-197, 201, 205, 209, 230, 234, 238, 242, 246, 249, 266-282, 295-297, 311-314, 327, 358-404, 417, 447-465 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 133 97 27% 71-73, 79-90, 95, 107-114, 118, 122, 126, 130, 139-142, 146, 158, 162-189, 193-206, 209-217, 220-224, 227-234, 238-241, 245-248, 252 ricxappframe/metric/__init__.py 0 0 100% ricxappframe/metric/exceptions.py 2 0 100% ricxappframe/metric/metric.py 58 31 47% 76-79, 106-110, 122, 149-151, 167, 184-204, 221 ricxappframe/rmr/__init__.py 0 0 100% ricxappframe/rmr/exceptions.py 4 0 100% ricxappframe/rmr/helpers.py 28 25 11% 53-67, 93-109 ricxappframe/rmr/rmr.py 156 71 54% 186-189, 211, 233, 257, 302-328, 357, 379-380, 403, 428, 454, 481, 515-521, 544, 574-578, 608-611, 636, 654, 685, 705, 731, 758, 783, 808-810, 827-829, 846, 876-880, 892, 907-908, 925-928 ricxappframe/rmr/rmr_mocks/__init__.py 0 0 100% ricxappframe/rmr/rmr_mocks/rmr_mocks.py 78 66 15% 32-44, 54-62, 69-76, 79, 97, 105-157 ricxappframe/rmr/rmrclib/__init__.py 0 0 100% ricxappframe/rmr/rmrclib/rmrclib.py 38 14 63% 53, 86-95, 104-109 ricxappframe/util/__init__.py 0 0 100% ricxappframe/util/constants.py 11 0 100% ricxappframe/xapp_rest.py 91 74 19% 42, 48-52, 56-74, 99-120, 123-132, 135-143, 146-156, 175-177, 184, 191-193 ricxappframe/xapp_rmr.py 42 42 0% 18-137 ricxappframe/xapp_sdl.py 94 64 32% 50-53, 82-84, 115-118, 146-148, 173-179, 197, 226-229, 242, 271-273, 295-297, 319-321, 341, 367-370, 397-399, 425, 451-453, 488-491, 523-525, 542, 575-577, 592, 607, 620, 628, 645, 655 ricxappframe/xapp_subscribe.py 54 37 31% 45-57, 64, 68, 71, 74, 77, 80, 83, 100-103, 121-122, 138-139, 159-171 ricxappframe/xapp_symptomdata.py 119 97 18% 42-43, 65-80, 88-116, 123-124, 127-128, 135-162, 185-205, 221-224, 227-228 ----------------------------------------------------------------------- TOTAL 1251 781 38% Coverage HTML written to dir htmlcov Coverage XML written to file coverage.xml FAIL Required test coverage of 70% not reached. Total coverage: 37.57% =========================== short test summary info ============================ ERROR examples/xapp_test.py ERROR tests/test_config.py ERROR tests/test_init.py ERROR tests/test_xapps.py !!!!!!!!!!!!!!!!!!! Interrupted: 4 errors during collection !!!!!!!!!!!!!!!!!!!! ============================== 4 errors in 2.08s =============================== code: exit 2 (2.54 seconds) /w/workspace/ric-plt-xapp-frame-py-pypi-verify-master> pytest --cov ricxappframe --cov-report xml --cov-report term-missing --cov-report html --cov-fail-under=70 --junitxml=/tmp/tests.xml pid=28088 .pkg: _exit> python /tmp/venv-cV6b/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ code: FAIL ✖ in 17.88 seconds flake8: install_deps> python -I -m pip install flake8 flake8: freeze> python -m pip freeze --all flake8: flake8==6.1.0,mccabe==0.7.0,pip==23.3.1,pycodestyle==2.11.1,pyflakes==3.1.0,setuptools==69.0.2,wheel==0.42.0 flake8: commands[0]> flake8 setup.py ricxappframe tests ricxappframe/xapp_frame.py:221:64: E999 IndentationError: unindent does not match any outer indentation level ricxappframe/xapp_rmr.py:127:1: W293 blank line contains whitespace ricxappframe/xapp_rmr.py:130:76: F821 undefined name 'port' ricxappframe/xapp_rmr.py:133:1: W293 blank line contains whitespace ricxappframe/xapp_rmr.py:140:1: W391 blank line at end of file flake8: exit 1 (0.73 seconds) /w/workspace/ric-plt-xapp-frame-py-pypi-verify-master> flake8 setup.py ricxappframe tests pid=28122 code: FAIL code 2 (17.88=setup[15.34]+cmd[2.54] seconds) flake8: FAIL code 1 (3.11=setup[2.38]+cmd[0.73] seconds) evaluation failed :( (21.15 seconds)