opentelemetry-python icon indicating copy to clipboard operation
opentelemetry-python copied to clipboard

Unexpected `Error in atexit._run_exitfuncs` when running SDK tests

Open srikanthccv opened this issue 3 years ago • 0 comments

This is not a test failure. When I run tox -e opentelemetry-sdk tests run fine but the it ends with following message.

Error in atexit._run_exitfuncs:
Traceback (most recent call last):
  File "/Users/srikanthccv/Github/opentelemetry-python/.tox/opentelemetry-sdk/lib/python3.8/site-packages/opentelemetry/sdk/metrics/_internal/__init__.py", line 417, in shutdown
    did_shutdown = self._shutdown_once.do_once(_shutdown)
AttributeError: 'MeterProvider' object has no attribute '_shutdown_once'

srikanthccv avatar May 20 '22 08:05 srikanthccv