Conflicting concurrency settings: ['multiprocessing', 'thread', 'greenlet', 'eventlet', 'gevent'] · Issue #1012 · nedbat/coveragepy (original) (raw)
Describe the bug
A clear and concise description of the bug.
In my application, I have used all of these ['multiprocessing', 'thread', 'greenlet', 'eventlet', 'gevent']
I set the below in my .coveragerc file:
[run]
branch = True
parallel = True
concurrency =
multiprocessing
greenlet
thread
gevent
eventlet
But when run, I got:
Conflicting concurrency settings: ['multiprocessing', 'thread', 'greenlet', 'eventlet', 'gevent']
Then I changed to just set concurrency=gevent or thread(the default), I still got no coverage data, the same as this issue:
#667
root@sc2-hs3-nsbu-ncp-dhcp--26-107:/usr/local/bin# coverage debug sys
-- sys -------------------------------------------------------
version: 5.2
coverage: /usr/local/lib/python3.5/dist-packages/coverage/init.py
tracer: -none-
CTracer: available
plugins.file_tracers: -none-
plugins.configurers: -none-
plugins.context_switchers: -none-
configs_attempted: .coveragerc
setup.cfg
tox.ini
pyproject.toml
configs_read: -none-
config_file: None
config_contents: -none-
data_file: -none-
python: 3.5.2 (default, Nov 12 2018, 13:43:14) [GCC 5.4.0 20160609]
platform: Linux-4.4.0-87-generic-x86_64-with-Ubuntu-16.04-xenial
implementation: CPython
executable: /usr/bin/python3
def_encoding: utf-8
fs_encoding: ascii
pid: 1536
cwd: /usr/local/bin
path: /usr/local/bin
/usr/lib/python35.zip
/usr/lib/python3.5
/usr/lib/python3.5/plat-x86_64-linux-gnu
/usr/lib/python3.5/lib-dynload
/usr/local/lib/python3.5/dist-packages
/usr/lib/python3/dist-packages
environment: -none-
command_line: /usr/local/bin/coverage debug sys
sqlite3_version: 2.6.0
sqlite3_sqlite_version: 3.11.0
sqlite3_temp_store: 0
sqlite3_compile_options: ENABLE_COLUMN_METADATA
ENABLE_DBSTAT_VTAB
ENABLE_FTS3
ENABLE_FTS3_PARENTHESIS
ENABLE_JSON1
ENABLE_LOAD_EXTENSION
ENABLE_RTREE
ENABLE_UNLOCK_NOTIFY
ENABLE_UPDATE_DELETE_LIMIT
HAVE_ISNAN
LIKE_DOESNT_MATCH_BLOBS
MAX_SCHEMA_RETRY=25
OMIT_LOOKASIDE
SECURE_DELETE
SOUNDEX
SYSTEM_MALLOC
TEMP_STORE=1
THREADSAFE=1
To Reproduce
How can we reproduce the problem? Please be specific. Don't just link to a failing CI job. Answer the questions below:
- What version of Python are you using?
- What version of coverage.py are you using? The output of
coverage debug sys
is helpful. - What versions of what packages do you have installed? The output of
pip freeze
is helpful. - What code are you running? Give us a specific commit of a specific repo that we can check out.
- What commands did you run?
Expected behavior
A clear and concise description of what you expected to happen.
Additional context
Add any other context about the problem here.