Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 867487 Details for
Bug 911980
app-portage/smart-live-rebuild-1.4.1 fails test - FAILED smartliverebuild/filtering.py::smartliverebuild.filtering.PackageFilter
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
app-portage:smart-live-rebuild-1.4.1:20230809-064209.log
app-portage:smart-live-rebuild-1.4.1:20230809-064209.log (text/plain), 8.39 KB, created by
Toralf Förster
on 2023-08-09 17:40:20 UTC
(
hide
)
Description:
app-portage:smart-live-rebuild-1.4.1:20230809-064209.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2023-08-09 17:40:20 UTC
Size:
8.39 KB
patch
obsolete
> * Package: app-portage/smart-live-rebuild-1.4.1:0 > * Repository: gentoo > * Maintainer: mgorny@gentoo.org > * Upstream: mgorny@gentoo.org https://github.com/projg2/smart-live-rebuild/issues/ > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python3_11 test > * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking smart-live-rebuild-1.4.1.tar.gz to /var/tmp/portage/app-portage/smart-live-rebuild-1.4.1/work >>>> Source unpacked in /var/tmp/portage/app-portage/smart-live-rebuild-1.4.1/work >>>> Preparing source in /var/tmp/portage/app-portage/smart-live-rebuild-1.4.1/work/smart-live-rebuild-1.4.1 ... > * Build system packages: > * dev-python/gpep517 : 13 > * dev-python/installer : 0.7.0 > * dev-python/flit-core : 3.9.0 >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/app-portage/smart-live-rebuild-1.4.1/work/smart-live-rebuild-1.4.1 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/app-portage/smart-live-rebuild-1.4.1/work/smart-live-rebuild-1.4.1 ... > * python3_11: running distutils-r1_run_phase distutils-r1_python_compile > * Building the wheel for smart-live-rebuild-1.4.1 via flit_core.buildapi >gpep517 build-wheel --backend flit_core.buildapi --output-fd 3 --wheel-dir /var/tmp/portage/app-portage/smart-live-rebuild-1.4.1/work/smart-live-rebuild-1.4.1-python3_11/wheel >2023-08-09 06:42:12,381 gpep517 INFO Building wheel via backend flit_core.buildapi >2023-08-09 06:42:12,388 flit_core.wheel INFO Copying package file(s) from smartliverebuild >2023-08-09 06:42:12,392 flit_core.wheel INFO Writing metadata files >2023-08-09 06:42:12,394 flit_core.wheel INFO Writing the record of files >2023-08-09 06:42:12,395 flit_core.wheel INFO Built wheel: /var/tmp/portage/app-portage/smart-live-rebuild-1.4.1/work/smart-live-rebuild-1.4.1-python3_11/wheel/smartliverebuild-1.4.1-py2.py3-none-any.whl >2023-08-09 06:42:12,395 gpep517 INFO The backend produced /var/tmp/portage/app-portage/smart-live-rebuild-1.4.1/work/smart-live-rebuild-1.4.1-python3_11/wheel/smartliverebuild-1.4.1-py2.py3-none-any.whl > * Installing smartliverebuild-1.4.1-py2.py3-none-any.whl to /var/tmp/portage/app-portage/smart-live-rebuild-1.4.1/work/smart-live-rebuild-1.4.1-python3_11/install >gpep517 install-wheel --destdir=/var/tmp/portage/app-portage/smart-live-rebuild-1.4.1/work/smart-live-rebuild-1.4.1-python3_11/install --interpreter=/usr/bin/python3.11 --prefix=/usr --optimize=all /var/tmp/portage/app-portage/smart-live-rebuild-1.4.1/work/smart-live-rebuild-1.4.1-python3_11/wheel/smartliverebuild-1.4.1-py2.py3-none-any.whl >2023-08-09 06:42:12,522 gpep517 INFO Installing /var/tmp/portage/app-portage/smart-live-rebuild-1.4.1/work/smart-live-rebuild-1.4.1-python3_11/wheel/smartliverebuild-1.4.1-py2.py3-none-any.whl into /var/tmp/portage/app-portage/smart-live-rebuild-1.4.1/work/smart-live-rebuild-1.4.1-python3_11/install >2023-08-09 06:42:12,577 gpep517 INFO Installation complete >>>> Source compiled. >>>> Test phase: app-portage/smart-live-rebuild-1.4.1 > * python3_11: running distutils-r1_run_phase python_test >python3.11 -m pytest -vv -ra -l -Wdefault --color=no -o console_output_style=count -p no:cov -p no:flake8 -p no:flakes -p no:pylint -p no:markdown -p no:sugar -p no:xvfb -p no:tavern >============================= test session starts ============================== >platform linux -- Python 3.11.4, pytest-7.4.0, pluggy-1.2.0 -- /var/tmp/portage/app-portage/smart-live-rebuild-1.4.1/work/smart-live-rebuild-1.4.1-python3_11/install/usr/bin/python3.11 >cachedir: .pytest_cache >hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('/var/tmp/portage/app-portage/smart-live-rebuild-1.4.1/work/smart-live-rebuild-1.4.1/.hypothesis/examples') >rootdir: /var/tmp/portage/app-portage/smart-live-rebuild-1.4.1/work/smart-live-rebuild-1.4.1 >configfile: pyproject.toml >plugins: mock-3.11.1, rerunfailures-12.0, libtmux-0.22.1, Faker-19.3.0, localftpserver-1.1.4, hypothesis-6.82.3 >collecting ... collected 2 items > >smartliverebuild/filtering.py::smartliverebuild.filtering PASSED [1/2] >smartliverebuild/filtering.py::smartliverebuild.filtering.PackageFilter FAILED [2/2] > >=================================== FAILURES =================================== >______________ [doctest] smartliverebuild.filtering.PackageFilter ______________ >030 >031 Package filtering framework. >032 >033 >>> pf = PackageFilter(['--pretend', '!*', 'app-foo/f*', 'smart-live-rebuild', '-avD']) >034 >>> [f for f in pf.nonmatched] # bang always matches >035 ['--pretend', 'app-foo/f*', 'smart-live-rebuild', '-avD'] >036 >>> import gentoopm; pm = gentoopm.get_package_manager() >UNEXPECTED EXCEPTION: Exception('None of the requested Package Managers is available.') >Traceback (most recent call last): > File "/usr/lib/python3.11/doctest.py", line 1351, in __run > exec(compile(example.source, filename, "single", > File "<doctest smartliverebuild.filtering.PackageFilter[2]>", line 1, in <module> > File "/usr/lib/python3.11/site-packages/gentoopm/__init__.py", line 24, in get_package_manager > return get_any_pm(get_preferred_pms()) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/usr/lib/python3.11/site-packages/gentoopm/submodules.py", line 48, in get_any_pm > raise Exception("None of the requested Package Managers is available.") >Exception: None of the requested Package Managers is available. >/var/tmp/portage/app-portage/smart-live-rebuild-1.4.1/work/smart-live-rebuild-1.4.1/smartliverebuild/filtering.py:36: UnexpectedException >=============================== warnings summary =============================== >../../../../../../../usr/lib/python3.11/site-packages/portage/versions.py:82 > /usr/lib/python3.11/site-packages/portage/versions.py:82: DeprecationWarning: typing.re is deprecated, import directly from typing instead. typing.re will be removed in Python 3.12. > def _get_slot_re(eapi_attrs: _eapi_attrs) -> typing.re.Pattern: > >../../../../../../../usr/lib/python3.11/site-packages/portage/versions.py:102 > /usr/lib/python3.11/site-packages/portage/versions.py:102: DeprecationWarning: typing.re is deprecated, import directly from typing instead. typing.re will be removed in Python 3.12. > def _get_pv_re(eapi_attrs: _eapi_attrs) -> typing.re.Pattern: > >-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html >=========================== short test summary info ============================ >FAILED smartliverebuild/filtering.py::smartliverebuild.filtering.PackageFilter >=================== 1 failed, 1 passed, 2 warnings in 0.99s ==================== > * ERROR: app-portage/smart-live-rebuild-1.4.1::gentoo failed (test phase): > * pytest failed with python3.11 > * > * Call stack: > * ebuild.sh, line 136: Called src_test > * environment, line 3938: Called distutils-r1_src_test > * environment, line 1956: Called _distutils-r1_run_foreach_impl 'python_test' > * environment, line 746: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' > * environment, line 3528: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > * environment, line 3055: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > * environment, line 3053: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' > * environment, line 1161: Called distutils-r1_run_phase 'python_test' > * environment, line 1879: Called python_test > * environment, line 3818: Called distutils-r1_python_test > * environment, line 1823: Called epytest > * environment, line 2485: Called die > * The specific snippet of code: > * "${@}" || die -n "pytest failed with ${EPYTHON}"; > * > * If you need support, post the output of `emerge --info '=app-portage/smart-live-rebuild-1.4.1::gentoo'`, > * the complete build log and the output of `emerge -pqv '=app-portage/smart-live-rebuild-1.4.1::gentoo'`. > * The complete build log is located at '/var/log/portage/app-portage:smart-live-rebuild-1.4.1:20230809-064209.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-portage/smart-live-rebuild-1.4.1/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/app-portage/smart-live-rebuild-1.4.1/temp/environment'. > * Working directory: '/var/tmp/portage/app-portage/smart-live-rebuild-1.4.1/work/smart-live-rebuild-1.4.1' > * S: '/var/tmp/portage/app-portage/smart-live-rebuild-1.4.1/work/smart-live-rebuild-1.4.1' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 911980
:
867486
| 867487 |
867488
|
867489
|
867490
|
867491
|
867492