-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
Bug 🪲Duplicate 🐫Duplicate of an already existing issueDuplicate of an already existing issuemultiprocessing
Description
I'm looking into the strange result from pylint on Apache Beam Python SDK. Multiple runs return slightly different results. It looks something related to multi-processing thing because I couldn't find any pattern from this behavior.
Steps to reproduce
- Clone https://github.com/apache/beam and checkout
0c8ccae9aa608f4d64b22c08d57b9aaa8724bfee
- Go into sdks/python directory.
- Run scripts/run_pylint.sh multiple times and compare the result.
Current behavior
beam/sdks/python$ for i in `seq 100`; do scripts/run_pylint.sh; done > lint_100.txt
beam/sdks/python$ grep slots-on-old-class lint_100.txt | wc -l
100
beam/sdks/python$ grep no-self-argument lint_100.txt | wc -l
42
Expected behavior
Consistently return the same result
pylint --version output
Using config file beam/sdks/python/.pylintrc
pylint 1.9.3,
astroid 1.6.5
Python 2.7.13 (default, Nov 24 2017, 17:33:09)
[GCC 6.3.0 20170516]
Related issue: https://issues.apache.org/jira/browse/BEAM-5846
Metadata
Metadata
Assignees
Labels
Bug 🪲Duplicate 🐫Duplicate of an already existing issueDuplicate of an already existing issuemultiprocessing