Bug 2099038
| Summary: | F37FailsToInstall: Multiple packages built from python-opentelemetry | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Miro Hrončok <mhroncok> |
| Component: | python-opentelemetry | Assignee: | Ben Beasley <code> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | code, mhayden |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | python-opentelemetry-1.11.1-8.fc37 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-06-20 16:15:22 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 2099039 | ||
| Bug Blocks: | 2016048, 2045102, 2045109, 2099149 | ||
|
Description
Miro Hrončok
2022-06-20 09:40:03 UTC
This bugzilla is likely a fallout from the Python 3.11 rebuild. If your package (or some of the dependencies it has) failed to rebuild during the Python 3.11 rebuild, they now fail to install. To fix this, packages need to be rebuilt in Rawhide. We will slowly triage the bugzillas, but we'd appreciate your help. If you know this is blocked by an existing reported build failure or another package not yet rebuilt with Python 3.11, please mark it as such by using the "Depends On"/"Blocks" bugzilla fields. That will help us determine what failures to prioritize. If this is not Python 3.11 related, please remove the PYTHON3.11 blocking tracker. Thank you and sorry for the inconvenience. Let me know if you need any help. Rebuild blocked by python-opentracing. Exception ignored in atexit callback: <bound method MeterProvider.shutdown of <opentelemetry.sdk._metrics.MeterProvider object at 0xf42a0170>>
Traceback (most recent call last):
File "/builddir/build/BUILDROOT/python-opentelemetry-1.11.1-6.fc37.noarch/usr/lib/python3.11/site-packages/opentelemetry/sdk/_metrics/__init__.py", line 314, in shutdown
did_shutdown = self._shutdown_once.do_once(_shutdown)
^^^^^^^^^^^^^^^^^^^
AttributeError: 'MeterProvider' object has no attribute '_shutdown_once'
=================================== FAILURES ===================================
________________ TestSpan.test_record_exception_context_manager ________________
self = <tests.trace.test_trace.TestSpan testMethod=test_record_exception_context_manager>
def test_record_exception_context_manager(self):
try:
with self.tracer.start_as_current_span("span") as span:
raise RuntimeError("example error")
except RuntimeError:
pass
finally:
self.assertEqual(len(span.events), 1)
event = span.events[0]
self.assertEqual("exception", event.name)
self.assertEqual(
"RuntimeError", event.attributes["exception.type"]
)
self.assertEqual(
"example error", event.attributes["exception.message"]
)
stacktrace = """in test_record_exception_context_manager
raise RuntimeError("example error")
RuntimeError: example error"""
> self.assertIn(stacktrace, event.attributes["exception.stacktrace"])
E AssertionError: 'in test_record_exception_context_manager\n raise RuntimeError("example error")\nRuntimeError: example error' not found in 'Traceback (most recent call last):\n File "/builddir/build/BUILDROOT/python-opentelemetry-1.11.1-6.fc37.noarch/usr/lib/python3.11/site-packages/opentelemetry/trace/__init__.py", line 563, in use_span\n yield span\n ^^^^^^^^^^\n File "/builddir/build/BUILDROOT/python-opentelemetry-1.11.1-6.fc37.noarch/usr/lib/python3.11/site-packages/opentelemetry/sdk/trace/__init__.py", line 1015, in start_as_current_span\n yield span_context\n ^^^^^^^^^^^^^^^^^^\n File "/builddir/build/BUILD/opentelemetry-python-1.11.1/opentelemetry-sdk/tests/trace/test_trace.py", line 1139, in test_record_exception_context_manager\n raise RuntimeError("example error")\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nRuntimeError: example error\n'
opentelemetry-sdk/tests/trace/test_trace.py:1156: AssertionError
Note that "AttributeError: 'MeterProvider' object has no attribute '_shutdown_once'" is a pre-existing thing that does not fail the build. The actual problem is test_record_exception_context_manager not expecting the ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in a tracaback. |