Skip to content
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

test-instrumentation-celery failing and blocking PRs #1371

Closed
jeremydvoss opened this issue Oct 4, 2022 · 0 comments · Fixed by #1374
Closed

test-instrumentation-celery failing and blocking PRs #1371

jeremydvoss opened this issue Oct 4, 2022 · 0 comments · Fixed by #1374
Labels
bug Something isn't working

Comments

@jeremydvoss
Copy link
Contributor

jeremydvoss commented Oct 4, 2022

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)

  py37-test-instrumentation-remoulade: commands succeeded
ERROR:   py37-test-instrumentation-celery: commands failed
  py37-test-instrumentation-sklearn: commands succeeded

Contrib Repo Tests / build (pypy3, instrumentation, ubuntu-20.04) (pull_request)

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant