* Package: dev-ros/ament_flake8-0.11.2 * Repository: gentoo * Maintainer: ros@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python3_9 test userland_GNU * FEATURES: compressdebug network-sandbox preserve-libs sandbox splitdebug test userpriv usersandbox >>> Unpacking source... >>> Unpacking ament_lint-0.11.2.tar.gz to /var/tmp/portage/dev-ros/ament_flake8-0.11.2/work >>> Source unpacked in /var/tmp/portage/dev-ros/ament_flake8-0.11.2/work >>> Preparing source in /var/tmp/portage/dev-ros/ament_flake8-0.11.2/work/ament_lint-0.11.2/ament_flake8 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-ros/ament_flake8-0.11.2/work/ament_lint-0.11.2/ament_flake8 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-ros/ament_flake8-0.11.2/work/ament_lint-0.11.2/ament_flake8 ... * python3_9: running distutils-r1_run_phase distutils-r1_python_compile python3.9 setup.py build -j 4 running build running build_py creating /var/tmp/portage/dev-ros/ament_flake8-0.11.2/work/ament_lint-0.11.2/ament_flake8-python3_9/lib/ament_flake8 copying ament_flake8/pytest_marker.py -> /var/tmp/portage/dev-ros/ament_flake8-0.11.2/work/ament_lint-0.11.2/ament_flake8-python3_9/lib/ament_flake8 copying ament_flake8/main.py -> /var/tmp/portage/dev-ros/ament_flake8-0.11.2/work/ament_lint-0.11.2/ament_flake8-python3_9/lib/ament_flake8 copying ament_flake8/legacy.py -> /var/tmp/portage/dev-ros/ament_flake8-0.11.2/work/ament_lint-0.11.2/ament_flake8-python3_9/lib/ament_flake8 copying ament_flake8/__init__.py -> /var/tmp/portage/dev-ros/ament_flake8-0.11.2/work/ament_lint-0.11.2/ament_flake8-python3_9/lib/ament_flake8 creating /var/tmp/portage/dev-ros/ament_flake8-0.11.2/work/ament_lint-0.11.2/ament_flake8-python3_9/lib/ament_flake8/configuration copying ament_flake8/configuration/ament_flake8.ini -> /var/tmp/portage/dev-ros/ament_flake8-0.11.2/work/ament_lint-0.11.2/ament_flake8-python3_9/lib/ament_flake8/configuration warning: build_py: byte-compiling is disabled, skipping. >>> Source compiled. >>> Test phase: dev-ros/ament_flake8-0.11.2 * python3_9: running distutils-r1_run_phase python_test python3.9 -m pytest -vv -ra -l -Wdefault ============================= test session starts ============================== platform linux -- Python 3.9.9, pytest-6.2.5, py-1.11.0, pluggy-1.0.0 -- /usr/bin/python3.9 cachedir: .pytest_cache metadata: {'Python': '3.9.9', 'Platform': 'Linux-5.14.17-x86_64-AMD_Ryzen_9_5950X_16-Core_Processor-with-glibc2.34', 'Packages': {'pytest': '6.2.5', 'py': '1.11.0', 'pluggy': '1.0.0'}, 'Plugins': {'plus': '0.2', 'anyio': '3.2.1', 'rerunfailures': '10.2', 'ordering': '0.6', 'trio': '0.7.0', 'env': '0.6.2', 'cov': '3.0.0', 'check': '1.0.4', 'toolbox': '0.4', 'datadir': '1.3.1', 'regressions': '2.2.0', 'mock': '3.6.1', 'testinfra': '6.4.0', 'forked': '1.3.0', 'xdist': '2.4.0', 'metadata': '1.11.0', 'html': '3.1.1', 'localserver': '0.5.1', 'ament-lint': '0.11.2', 'tornado': '0.8.1', 'pkgcore': '0.12.8', 'markdown': '1.0.2', 'flakes': '4.0.4', 'services': '2.2.1', 'django': '4.4.0', 'expect': '1.1.0', 'httpx': '0.13.0', 'asyncio': '0.16.0', 'hypothesis': '6.27.1'}} hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('/var/tmp/portage/dev-ros/ament_flake8-0.11.2/work/ament_lint-0.11.2/ament_flake8/.hypothesis/examples') rootdir: /var/tmp/portage/dev-ros/ament_flake8-0.11.2/work/ament_lint-0.11.2/ament_flake8, configfile: pytest.ini plugins: plus-0.2, anyio-3.2.1, rerunfailures-10.2, ordering-0.6, trio-0.7.0, env-0.6.2, cov-3.0.0, check-1.0.4, toolbox-0.4, datadir-1.3.1, regressions-2.2.0, mock-3.6.1, testinfra-6.4.0, forked-1.3.0, xdist-2.4.0, metadata-1.11.0, html-3.1.1, localserver-0.5.1, ament-lint-0.11.2, tornado-0.8.1, pkgcore-0.12.8, markdown-1.0.2, flakes-4.0.4, services-2.2.1, django-4.4.0, expect-1.1.0, httpx-0.13.0, asyncio-0.16.0, hypothesis-6.27.1 collecting ... collected 1 item test/test_flake8.py::test_flake8 FAILED [100%] =================================== FAILURES =================================== _________________________________ test_flake8 __________________________________ def test_flake8(): rc, errors = main_with_errors(argv=[]) > assert rc == 0, \ 'Found %d code style errors / warnings:\n' % len(errors) + \ '\n'.join(errors) E AssertionError: Found 1 code style errors / warnings: E ./ament_flake8/main.py:28:5: H306: imports not in alphabetical order (flake8.main.application, flake8.api.legacy.styleguide) E assert 1 == 0 E +1 E -0 errors = ['./ament_flake8/main.py:28:5: H306: imports not in alphabetical order ' '(flake8.main.application, flake8.api.legacy.styleguide)'] rc = 1 test/test_flake8.py:25: AssertionError ----------------------------- Captured stdout call ----------------------------- ./ament_flake8/main.py:28:5: H306: imports not in alphabetical order (flake8.main.application, flake8.api.legacy.styleguide) from flake8.api.legacy import StyleGuide ^ 1 H306: imports not in alphabetical order (flake8.main.application, flake8.api.legacy.styleguide) 6 files checked 1 errors 'H'-type errors: 1 Checked files: * ./setup.py * ./test/test_flake8.py * ./ament_flake8/pytest_marker.py * ./ament_flake8/main.py * ./ament_flake8/legacy.py * ./ament_flake8/__init__.py ------------------------------ Captured log call ------------------------------- WARNING flake8.options.manager:manager.py:207 option --max-complexity: please update from optparse string `type=` to argparse callable `type=` -- this will be an error in the future =========================== short test summary info ============================ FAILED test/test_flake8.py::test_flake8 - AssertionError: Found 1 code style ... ============================== 1 failed in 1.09s =============================== * ERROR: dev-ros/ament_flake8-0.11.2::gentoo failed (test phase): * pytest failed with python3.9 * * Call stack: * ebuild.sh, line 127: Called src_test * environment, line 2936: Called distutils-r1_src_test * environment, line 1278: Called _distutils-r1_run_foreach_impl 'python_test' * environment, line 512: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' * environment, line 2599: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 2129: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 2127: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' * environment, line 832: Called distutils-r1_run_phase 'python_test' * environment, line 1217: Called python_test * environment, line 2895: Called distutils-r1_python_test * environment, line 1174: Called epytest * environment, line 1645: Called die * The specific snippet of code: * "${@}" || die -n "pytest failed with ${EPYTHON}"; * * If you need support, post the output of `emerge --info '=dev-ros/ament_flake8-0.11.2::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-ros/ament_flake8-0.11.2::gentoo'`. * The complete build log is located at '/var/log/portage/dev-ros:ament_flake8-0.11.2:20211123-073233.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-ros/ament_flake8-0.11.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-ros/ament_flake8-0.11.2/temp/environment'. * Working directory: '/var/tmp/portage/dev-ros/ament_flake8-0.11.2/work/ament_lint-0.11.2/ament_flake8' * S: '/var/tmp/portage/dev-ros/ament_flake8-0.11.2/work/ament_lint-0.11.2/ament_flake8'