Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 918986 - dev-python/plette-0.4.4 fails tests
Summary: dev-python/plette-0.4.4 fails tests
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: OzTiram
URL:
Whiteboard:
Keywords: PullRequest, TESTFAILURE
Depends on:
Blocks: 916315 917996
  Show dependency tree
 
Reported: 2023-12-01 20:25 UTC by Jakov Smolić
Modified: 2023-12-02 06:11 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Build log (plette-log,26.17 KB, text/plain)
2023-12-01 20:25 UTC, Jakov Smolić
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jakov Smolić archtester gentoo-dev 2023-12-01 20:25:50 UTC
Created attachment 876261 [details]
Build log

===================================================== test session starts ======================================================
platform linux -- Python 3.10.13, pytest-7.4.0, pluggy-1.3.0 -- /var/tmp/portage/dev-python/plette-0.4.4/work/plette-0.4.4-python3_10/install/usr/bin/python3.10
cachedir: .pytest_cache
hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('/var/tmp/portage/dev-python/plette-0.4.4/work/plette-0.4.4/.hypothesis/examples')
rootdir: /var/tmp/portage/dev-python/plette-0.4.4/work/plette-0.4.4
configfile: pyproject.toml
plugins: console-scripts-1.4.1, timeout-2.1.0, anyio-3.7.1, tornasync-0.6.0.post2, nbval-0.10.0, mock-3.11.1, asyncio-0.21.1, httpbin-2.0.0, requests-mock-1.11.0, time-machine-2.11.0, aiohttp-1.0.4, forked-1.6.0, xdist-3.3.1, hypothesis-6.82.3, subprocess-1.5.0, rerunfailures-12.0, httpserver-1.0.8, Faker-20.0.3, pkgcore-0.12.23
asyncio: mode=strict
collecting ... collected 0 items

======================================================= warnings summary =======================================================
../../../../../../../usr/lib/python3.10/site-packages/_pytest/config/__init__.py:1433
  /usr/lib/python3.10/site-packages/_pytest/config/__init__.py:1433: PytestConfigWarning: No files were found in testpaths; consider removing or adjusting your testpaths configuration. Searching recursively from the current directory instead.
    self.args, self.args_source = self._decide_args(

../../../../../../../usr/lib/python3.10/site-packages/_pytest/config/__init__.py:1373
  /usr/lib/python3.10/site-packages/_pytest/config/__init__.py:1373: PytestConfigWarning: Unknown config option: strict
  
    self._warn_or_fail_if_strict(f"Unknown config option: {key}\n")

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
===================================================== 2 warnings in 8.63s ======================================================
 * ERROR: dev-python/plette-0.4.4::gentoo failed (test phase):
 *   pytest failed with python3.10
 * 
 * Call stack:
 *     ebuild.sh, line  136:  Called src_test
 *   environment, line 3977:  Called distutils-r1_src_test
 *   environment, line 1973:  Called _distutils-r1_run_foreach_impl 'python_test'
 *   environment, line  716:  Called python_foreach_impl 'distutils-r1_run_phase' 'python_test'
 *   environment, line 3582:  Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test'
 *   environment, line 3088:  Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test'
 *   environment, line 3086:  Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test'
 *   environment, line 1196:  Called distutils-r1_run_phase 'python_test'
 *   environment, line 1896:  Called python_test
 *   environment, line 3864:  Called distutils-r1_python_test
 *   environment, line 1839:  Called epytest
 *   environment, line 2510:  Called die
 * The specific snippet of code:
 *       "${@}" || die -n "pytest failed with ${EPYTHON}";
 * 
 * If you need support, post the output of `emerge --info '=dev-python/plette-0.4.4::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/plette-0.4.4::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-python/plette-0.4.4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/plette-0.4.4/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-python/plette-0.4.4/work/plette-0.4.4'
 * S: '/var/tmp/portage/dev-python/plette-0.4.4/work/plette-0.4.4'
Comment 1 Jakov Smolić archtester gentoo-dev 2023-12-01 20:26:12 UTC
# emerge --info:
Portage 3.0.55 (python 3.10.13-final-0, default/linux/riscv/20.0/rv64gc/lp64d/systemd, gcc-13, glibc-2.38-r7, 6.6.1-gentoo-riscv64 riscv64)
=================================================================
System uname: Linux-6.6.1-gentoo-riscv64-riscv64-with-glibc2.38
KiB Mem:    49054296 total,  31828720 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Wed, 29 Nov 2023 12:00:01 +0000
Head commit of repository gentoo: 0958d60361d2167f072673d0461c97e9a7b16467
sh bash 5.2_p21
ld GNU ld (Gentoo 2.41 p2) 2.41.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p21::gentoo
dev-lang/perl:             5.38.0-r1::gentoo
dev-lang/python:           3.10.13::gentoo, 3.11.6::gentoo, 3.12.0_p1::gentoo
dev-lang/rust-bin:         1.73.0::gentoo
dev-util/cmake:            3.27.7::gentoo
dev-util/meson:            1.3.0::gentoo
sys-apps/baselayout:       2.14-r1::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-apps/systemd:          254.6::gentoo
sys-devel/autoconf:        2.71-r7::gentoo
sys-devel/automake:        1.16.5-r1::gentoo
sys-devel/binutils:        2.41-r2::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           15.0.7-r1::gentoo, 16.0.6::gentoo
sys-devel/gcc:             13.2.1_p20231014::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/lld:             16.0.6::gentoo
sys-devel/llvm:            15.0.7::gentoo, 16.0.6::gentoo
sys-devel/make:            4.4.1-r1::gentoo
sys-kernel/linux-headers:  6.6::gentoo (virtual/os-headers)
sys-libs/glibc:            2.38-r7::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-verify-max-age: 3
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts:

ACCEPT_KEYWORDS="riscv ~riscv"
ACCEPT_LICENSE="@FREE"
CBUILD="riscv64-unknown-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="riscv64-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=10"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
MAKEOPTS="-j20 -l20"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="acl alsa bzip2 cli crypt dri fortran gdbm iconv ipv6 ncurses nls nptl openmp pam pcre readline riscv seccomp split-usr ssl systemd test-rust udev unicode xattr zlib" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_10 python3_11" RUBY_TARGETS="ruby31 ruby32" VIDEO_CARDS="fbdev v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SHELL, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 2 Larry the Git Cow gentoo-dev 2023-12-02 06:11:22 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6f8f3cd2de391a7215873e6b8dcbe081374d7b6

commit f6f8f3cd2de391a7215873e6b8dcbe081374d7b6
Author:     Jakov Smolić <jsmolic@gentoo.org>
AuthorDate: 2023-12-01 20:29:52 +0000
Commit:     Jakov Smolić <jsmolic@gentoo.org>
CommitDate: 2023-12-02 06:10:58 +0000

    dev-python/plette: Switch to github tarball for tests
    
    Pypi tarball doesn't include tests, so let's use the github one instead
    
    Closes: https://bugs.gentoo.org/918986
    Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
    Closes: https://github.com/gentoo/gentoo/pull/34087
    Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>

 dev-python/plette/Manifest                                        | 2 +-
 dev-python/plette/{plette-0.4.4.ebuild => plette-0.4.4-r1.ebuild} | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)