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

Bug 689112

Summary: net-proxy/sshuttle-0.78.5 : [TEST] INTERNALERROR> pluggy.manager.PluginValidationError: unknown hook pytest_namespace in plugin <module pytest_raisesregexp.plugin from /usr/lib64/python3.6/site-packages/pytest_raisesregexp/plugin.py >
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Tim Harder <radhermit>
Status: RESOLVED INVALID    
Severity: normal Keywords: TESTFAILURE
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
net-proxy:sshuttle-0.78.5:20190701-185552.log
temp.tbz2
tests.tbz2

Description Toralf Förster gentoo-dev 2019-07-01 18:57:57 UTC
INTERNALERROR>   File "/usr/lib64/python3.6/site-packages/pluggy/manager.py", line 251, in check_pending
INTERNALERROR>     % (name, hookimpl.plugin),
INTERNALERROR> pluggy.manager.PluginValidationError: unknown hook 'pytest_namespace' in plugin <module 'pytest_raisesregexp.plugin' from '/usr/lib64/python3.6/site-packages/pytest_raisesregexp/plugin.py'>

========================== 1 warnings in 0.75 seconds ==========================
 * ERROR: net-proxy/sshuttle-0.78.5::gentoo failed (test phase):

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_libressl-abi32+64-test_20190624-213954

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-8.3.1
 [2] x86_64-pc-linux-gnu-9.1.0 *

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)

Available Rust versions:
  [1]   rust-1.35.0 *



emerge -qpvO net-proxy/sshuttle
[ebuild  N    ] net-proxy/sshuttle-0.78.5  USE="test" PYTHON_TARGETS="python2_7 python3_6 -python3_5 -python3_7"
Comment 1 Toralf Förster gentoo-dev 2019-07-01 18:58:00 UTC
Created attachment 581710 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-07-01 18:58:03 UTC
Created attachment 581712 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2019-07-01 18:58:06 UTC
Created attachment 581714 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2019-07-01 18:58:09 UTC
Created attachment 581716 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2019-07-01 18:58:11 UTC
Created attachment 581718 [details]
net-proxy:sshuttle-0.78.5:20190701-185552.log
Comment 6 Toralf Förster gentoo-dev 2019-07-01 18:58:14 UTC
Created attachment 581720 [details]
temp.tbz2
Comment 7 Toralf Förster gentoo-dev 2019-07-01 18:58:17 UTC
Created attachment 581722 [details]
tests.tbz2
Comment 8 Tim Harder gentoo-dev 2019-07-02 02:43:54 UTC
This looks like dev-python/pytest-raisesregexp is causing pytest runtime failures and has nothing to do with sshuttle tests.

I've run into this before with other pytest plugins and wish there was an easy way for projects to limit pytest to loading only the plugins they need.