Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 835717

Summary: dev-python/pytest-testinfra: ~riscv keyword request
Product: Gentoo Linux Reporter: ArchFeh(Yu Gu) <guyu2876>
Component: KeywordingAssignee: Marek Szuba (RETIRED) <marecki>
Status: RESOLVED FIXED    
Severity: normal CC: guyu2876, jstein
Priority: Normal Keywords: CC-ARCHES
Version: unspecifiedFlags: nattka: sanity-check+
Hardware: riscv   
OS: Linux   
Whiteboard:
Package list:
dev-python/pytest-testinfra riscv app-admin/salt riscv dev-python/cherrypy riscv dev-python/ioflo riscv dev-python/pytest-salt-factories riscv dev-python/raet riscv
Runtime testing required: ---
Bug Depends on: 836438, 847925    
Bug Blocks:    
Attachments:
Description Flags
cherrypy-18.6.1-build.log.xz
none
libcloud-3.4.1-build.log.xz
none
pytest-salt-factories-0.911.0-build.log.xz
none
pywinrm-0.4.2-r1-build.log.xz none

Description ArchFeh(Yu Gu) 2022-03-21 08:06:16 UTC
I'm opening this mainly for tracking adding ARCH=riscv support


Reproducible: Always
Comment 1 Marek Szuba (RETIRED) archtester gentoo-dev 2022-03-22 12:41:00 UTC
This will hurt.
Comment 2 Marek Szuba (RETIRED) archtester gentoo-dev 2022-03-22 12:50:07 UTC
This is the whole package list as produced by nattka without any USE-flag masks. Unfortunately the list in question includes net-misc/memcached, which at least a few versions ago produced test failures on riscv... If this hasn't been fixed yet we might have to look into putting some masks in place, if possible.
Comment 3 ArchFeh(Yu Gu) 2022-03-22 13:01:09 UTC
Thank you for information! I have known about it.
Comment 4 Jakov Smolić archtester gentoo-dev 2022-03-22 17:42:52 UTC
(In reply to Marek Szuba from comment #2)
> This is the whole package list as produced by nattka without any USE-flag
> masks. Unfortunately the list in question includes net-misc/memcached, which
> at least a few versions ago produced test failures on riscv... If this
> hasn't been fixed yet we might have to look into putting some masks in
> place, if possible.

I think we could avoid it by masking dev-python/pytest-services[test]
Comment 5 Larry the Git Cow gentoo-dev 2022-03-24 19:54:29 UTC
The bug has been referenced in the following commit(s):

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

commit c216c09911f4c7ec6b8ba0023f3b42a9b958634a
Author:     Jakov Smolić <jsmolic@gentoo.org>
AuthorDate: 2022-03-24 19:53:13 +0000
Commit:     Jakov Smolić <jsmolic@gentoo.org>
CommitDate: 2022-03-24 19:53:13 +0000

    profiles/arch/riscv: Mask dev-python/pytest-services[test]
    
    ...to prevent pulling in net-misc/memcached which currently has test
    failures on riscv.
    
    Bug: https://bugs.gentoo.org/835717
    Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>

 profiles/arch/riscv/package.use.mask | 5 +++++
 1 file changed, 5 insertions(+)
Comment 6 Jakov Smolić archtester gentoo-dev 2022-03-24 19:57:11 UTC
I've went ahead and masked the problematic flag so Yu can give this a shot (refreshing the package list too).
Comment 7 Marek Szuba (RETIRED) archtester gentoo-dev 2022-03-25 15:54:14 UTC
=dev-python/cherrypy-18.6.1, =dev-python/libcloud-3.4.1, =dev-python/pytest-salt-factories-0.911.0 and =dev-python/pywinrm-0.4.2-r1 all fail tests on my Starlight. None of these happen on amd64. I'll attach all the logs here, unfortunately I'm too pressed for time at the moment to create individual bugs...

By the way, =app-admin/salt-3003.3 fails tests as well - that one however does happen on amd64 and is caused by all the pytest-salt-factories versions available in the tree being too new for salt versions older than 3004 (the module saltfactories.utils.compat has been absent since p-s-t-0.130.0).

With tests disabled on all of the aforementioned packages, pytest-testinfra passes its own tests - but IMHO that's too many test failures in the dependency chain to simply ignore.
Comment 8 Marek Szuba (RETIRED) archtester gentoo-dev 2022-03-25 15:54:40 UTC
Created attachment 767795 [details]
cherrypy-18.6.1-build.log.xz
Comment 9 Marek Szuba (RETIRED) archtester gentoo-dev 2022-03-25 15:54:55 UTC
Created attachment 767796 [details]
libcloud-3.4.1-build.log.xz
Comment 10 Marek Szuba (RETIRED) archtester gentoo-dev 2022-03-25 15:55:19 UTC
Created attachment 767797 [details]
pytest-salt-factories-0.911.0-build.log.xz
Comment 11 Marek Szuba (RETIRED) archtester gentoo-dev 2022-03-25 15:55:36 UTC
Created attachment 767798 [details]
pywinrm-0.4.2-r1-build.log.xz
Comment 12 Jakov Smolić archtester gentoo-dev 2022-03-30 12:41:57 UTC
(In reply to Marek Szuba from comment #9)
> Created attachment 767796 [details]
> libcloud-3.4.1-build.log.xz

I've hit this issue on amd64 too
Comment 13 NATTkA bot gentoo-dev Security 2022-03-31 01:32:24 UTC Comment hidden (obsolete)
Comment 14 NATTkA bot gentoo-dev Security 2022-03-31 08:04:21 UTC Comment hidden (obsolete)
Comment 15 Larry the Git Cow gentoo-dev 2022-04-01 08:18:25 UTC
The bug has been referenced in the following commit(s):

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

commit bdfef062dc1dfa35f6f46e6a019444cd55603b23
Author:     Marek Szuba <marecki@gentoo.org>
AuthorDate: 2022-03-30 09:39:14 +0000
Commit:     Marek Szuba <marecki@gentoo.org>
CommitDate: 2022-04-01 08:18:10 +0000

    profiles/arch/riscv: mask USE=test-full on dev-python/subprocess-tee
    
    Indirect revdep of dev-python/pytest-testinfra.
    
    Bug: https://bugs.gentoo.org/835717
    Signed-off-by: Marek Szuba <marecki@gentoo.org>

 profiles/arch/riscv/package.use.mask | 5 +++++
 1 file changed, 5 insertions(+)
Comment 16 Jakov Smolić archtester gentoo-dev 2022-05-31 07:16:06 UTC
riscv done

all arches done