-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Different results with -j4 and -j8 #4356
Closed
nedbat opened this issue
Apr 14, 2021
· 4 comments
· Fixed by pylint-dev/astroid#2208 or pylint-dev/astroid#2303
Closed
Different results with -j4 and -j8 #4356
nedbat opened this issue
Apr 14, 2021
· 4 comments
· Fixed by pylint-dev/astroid#2208 or pylint-dev/astroid#2303
Comments
nedbat
added a commit
to nedbat/coveragepy
that referenced
this issue
Apr 14, 2021
-j seems to introduce non-determinism: pylint-dev/pylint#4356 With -j4, we'd have occasional (1 in 20?) failures on CI.
Closing as duplicate of #374 |
Thanks for the beautiful reproducer. Working on a fix for this that seems distinct from the freeform discussion in #374. |
Regression in pylint-dev/astroid@55076ca. |
Never mind, the indeterminacy goes a little deeper than that commit. PR to come, with luck. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm not sure if this is a duplicate of #2573 or #374 because I don't know if those are particular to the specific checks they mention.
Steps to reproduce
git clone https://github.com/nedbat/coveragepy; cd coveragepy
git checkout 50cc68846f
pip install tox
tox -e lint --notest
.tox/lint/bin/python -m pylint --notes= -j 4 coverage tests doc ci igor.py setup.py __main__.py
.tox/lint/bin/python -m pylint --notes= -j 8 coverage tests doc ci igor.py setup.py __main__.py
A different manifestation of what might be the same underlying cause: in my CI, running -j4, I get occasional failures with these same violations reported.
Expected behavior
The number of processes shouldn't change the results, only the performance.
pylint --version output
Result of
pylint --version
output:The text was updated successfully, but these errors were encountered: