You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
E AttributeError: 'EntryPoints' object has no attribute 'get'
_ ERROR collecting instrumentation/opentelemetry-instrumentation-celery/tests/test_utils.py _
ImportError while importing test module '/home/runner/work/opentelemetry-python-contrib/opentelemetry-python-contrib/instrumentation/opentelemetry-instrumentation-celery/tests/test_utils.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/opt/hostedtoolcache/Python/3.7.14/x64/lib/python3.7/importlib/__init__.py:127: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
test_utils.py:18: in <module>
from celery import Celery
E ImportError: cannot import name 'Celery' from 'celery' (/home/runner/work/opentelemetry-python-contrib/opentelemetry-python-contrib/.tox/py37-test-instrumentation-celery/lib/python3.7/site-packages/celery/__init__.py)
!!!!!!!!!!!!!!!!!!! Interrupted: 3 errors during collection !!!!!!!!!!!!!!!!!!!!
============================== 3 errors in 3.19s ===============================
/home/runner/work/opentelemetry-python-contrib/opentelemetry-python-contrib/.tox/py37-test-instrumentation-celery/lib/python3.7/site-packages/pytest_benchmark/logger.py:46: PytestBenchmarkWarning: Not saving anything, no benchmarks have been run!
warner(PytestBenchmarkWarning(text))
ERROR: InvocationError for command /home/runner/work/opentelemetry-python-contrib/opentelemetry-python-contrib/.tox/py37-test-instrumentation-celery/bin/pytest --benchmark-json=py37-instrumentation-ubuntu-20.04-benchmark.json (exited with code 2)
...
pypy3-test-instrumentation-redis: commands succeeded
ERROR: pypy3-test-instrumentation-celery: commands failed
pypy3-test-instrumentation-tornado: commands succeeded
Steps to reproduce
Make a pr
What is the expected behavior?
Tests should pass
What is the actual behavior?
Tests fail
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Describe your environment
I have a PR out: #1369 . 2 tests are failing. I sent out a plank PR which had the same failures, so I know they are unrelated:
Contrib Repo Tests / build (py37, instrumentation, ubuntu-20.04) (pull_request)
Contrib Repo Tests / build (pypy3, instrumentation, ubuntu-20.04) (pull_request)
Steps to reproduce
Make a pr
What is the expected behavior?
Tests should pass
What is the actual behavior?
Tests fail
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: