Skip to content

xdist does not report warnings #602

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
pytestbot opened this issue Sep 30, 2014 · 5 comments
Closed

xdist does not report warnings #602

pytestbot opened this issue Sep 30, 2014 · 5 comments
Labels
plugin: xdist related to the xdist external plugin type: bug problem that needs to be addressed

Comments

@pytestbot
Copy link
Contributor

Originally reported by: Andreas Pelme (BitBucket: pelme, GitHub: pelme)


Warnings raised with request.node.warn does not show warnings. -rw does not give any warning output either.

Here is the same test run without and with xdist:

$ py.test unit_tests/
......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
2166 passed, 78 warnings in 46.73 seconds
$ py.test unit_tests/ -n1
gw0 [2166]
scheduling tests via LoadScheduling
......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
2166 passed in 48.02 seconds

@pytestbot
Copy link
Contributor Author

Original comment by Anatoly Bubenkov (BitBucket: bubenkoff, GitHub: bubenkoff):


but why the issue is here, and not in pytest-xdist?

@pytestbot
Copy link
Contributor Author

Original comment by Andreas Pelme (BitBucket: pelme, GitHub: pelme):


The pytest-xdist repo does not have an active issue tracker, and the pytest issue tracker has an xdist component. I have reported xdist issues here before and think it is the correct place.

@pytestbot
Copy link
Contributor Author

Original comment by holger krekel (BitBucket: hpk42, GitHub: hpk42):


xdist issues are kept here under component "xdist". Often it's not clear if something needs to be fixed on the core or xdist side.

I think the warning information from the test processes is not sent back to the master so it needs fixing on the xdist side. We probably should send over all warnings when we close each testing subsession.

@pytestbot
Copy link
Contributor Author

Original comment by Anatoly Bubenkov (BitBucket: bubenkoff, GitHub: bubenkoff):


ah i see
a bit confusing though

@pytestbot pytestbot added type: bug problem that needs to be addressed plugin: xdist related to the xdist external plugin labels Jun 15, 2015
@lexrj
Copy link

lexrj commented Sep 13, 2016

This bug is still present in the most recent release of xdist (pytest-xdist==1.15.0). We are using another plugin (pytest-warnings) to issue warnings in specific cases during our tests that this prevents us from utilizing due to our reliance on xdist.

@RonnyPfannschmidt
Copy link
Member

superseeded by the xdist issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
plugin: xdist related to the xdist external plugin type: bug problem that needs to be addressed
Projects
None yet
Development

No branches or pull requests

3 participants