Closed touilleMan closed 4 years ago
Hi, it seems this plugin cause xdist to be unable to discover the tests:
$ py.test tests --runslow -x -n auto ================================================================================================ test session starts ================================================================================================ platform linux -- Python 3.6.1, pytest-3.8.0, py-1.5.4, pluggy-0.7.1 hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('/home/emmanuel/projects/parsec-cloud/.hypothesis/examples') rootdir: /home/emmanuel/projects/parsec-cloud, inifile: setup.cfg plugins: xdist-1.23.2, trio-0.5.0, profiling-1.3.0, forked-0.2, cov-2.5.1, hypothesis-3.74.0 gw0 [374] / gw1 [374] / gw2 [374] / gw3 [374] scheduling tests via LoadScheduling ...................................................................s................................s.....................................................................x..............................x... [ 54%] ..........................................................s......xssss.............x.................x............ssssss...................ssssssssss.sssssssss.......... [100%] ================================================================================ 337 passed, 32 skipped, 5 xfailed in 41.08 seconds ================================================================================= $ pip install pytest-clarity Collecting pytest-clarity Requirement already satisfied: pytest>=3.5.0 in ./venv/lib/python3.6/site-packages (from pytest-clarity) (3.8.0) Requirement already satisfied: termcolor==1.1.0 in ./venv/lib/python3.6/site-packages (from pytest-clarity) (1.1.0) Requirement already satisfied: atomicwrites>=1.0 in ./venv/lib/python3.6/site-packages (from pytest>=3.5.0->pytest-clarity) (1.1.5) Requirement already satisfied: attrs>=17.4.0 in ./venv/lib/python3.6/site-packages (from pytest>=3.5.0->pytest-clarity) (18.1.0) Requirement already satisfied: pluggy>=0.7 in ./venv/lib/python3.6/site-packages (from pytest>=3.5.0->pytest-clarity) (0.7.1) Requirement already satisfied: more-itertools>=4.0.0 in ./venv/lib/python3.6/site-packages (from pytest>=3.5.0->pytest-clarity) (4.3.0) Requirement already satisfied: six>=1.10.0 in ./venv/lib/python3.6/site-packages (from pytest>=3.5.0->pytest-clarity) (1.11.0) Requirement already satisfied: setuptools in ./venv/lib/python3.6/site-packages (from pytest>=3.5.0->pytest-clarity) (40.0.0) Requirement already satisfied: py>=1.5.0 in ./venv/lib/python3.6/site-packages (from pytest>=3.5.0->pytest-clarity) (1.5.4) Installing collected packages: pytest-clarity Successfully installed pytest-clarity-0.1.0a1 $ py.test tests --runslow -x -n auto ================================================================================================ test session starts ================================================================================================ platform linux -- Python 3.6.1, pytest-3.8.0, py-1.5.4, pluggy-0.7.1 -- /home/emmanuel/projects/parsec-cloud/venv/bin/python3.6 cachedir: .pytest_cache hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('/home/emmanuel/projects/parsec-cloud/.hypothesis/examples') rootdir: /home/emmanuel/projects/parsec-cloud, inifile: setup.cfg plugins: xdist-1.23.2, trio-0.5.0, profiling-1.3.0, forked-0.2, cov-2.5.1, clarity-0.1.0a1, hypothesis-3.74.0 [gw0] linux Python 3.6.1 cwd: /home/emmanuel/projects/parsec-cloud [gw1] linux Python 3.6.1 cwd: /home/emmanuel/projects/parsec-cloud [gw2] linux Python 3.6.1 cwd: /home/emmanuel/projects/parsec-cloud [gw3] linux Python 3.6.1 cwd: /home/emmanuel/projects/parsec-cloud [gw0] Python 3.6.1 (default, Jul 16 2017, 14:02:57) -- [GCC 5.4.0 20160609] [gw1] Python 3.6.1 (default, Jul 16 2017, 14:02:57) -- [GCC 5.4.0 20160609] [gw2] Python 3.6.1 (default, Jul 16 2017, 14:02:57) -- [GCC 5.4.0 20160609] [gw3] Python 3.6.1 (default, Jul 16 2017, 14:02:57) -- [GCC 5.4.0 20160609] gw0 [0] / gw1 [0] / gw2 [0] / gw3 [0] scheduling tests via LoadScheduling =========================================================================================== no tests ran in 1.95 seconds ============================================================================================ $
Thanks for the report, I can reproduce it. I'm unsure as to why this conflict happens, but I'll try to dig into it at some point.
Hi, it seems this plugin cause xdist to be unable to discover the tests: