Bug 2220378
Summary: | F39FailsToInstall: Multiple packages built from python-opentelemetry | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Fedora Fails To Install <fti-bugs> |
Component: | python-opentelemetry | Assignee: | Ben Beasley <code> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | code, mhayden, rominf |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | python-opentelemetry-1.18.0-4.fc39 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2023-07-06 04:06:09 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: | |||
Bug Blocks: | 2135404, 2168845 |
Description
Fedora Fails To Install
2023-07-05 19:16:57 UTC
$ fedpkg mockbuild --enablerepo=local
=================================== FAILURES ===================================
______________ TestLoggingHandler.test_log_record_user_attributes ______________
self = <tests.logs.test_handler.TestLoggingHandler testMethod=test_log_record_user_attributes>
def test_log_record_user_attributes(self):
"""Attributes can be injected into logs by adding them to the LogRecord"""
emitter_provider_mock = Mock(spec=LoggerProvider)
emitter_mock = APIGetLogger(
__name__, logger_provider=emitter_provider_mock
)
logger = get_logger(logger_provider=emitter_provider_mock)
# Assert emit gets called for warning message
logger.warning("Warning message", extra={"http.status_code": 200})
args, _ = emitter_mock.emit.call_args_list[0]
log_record = args[0]
self.assertIsNotNone(log_record)
> self.assertEqual(log_record.attributes, {"http.status_code": 200})
E AssertionError: {'taskName': None, 'http.status_code': 200} != {'http.status_code': 200}
E - {'http.status_code': 200, 'taskName': None}
E + {'http.status_code': 200}
opentelemetry-sdk/tests/logs/test_handler.py:93: AssertionError
------------------------------ Captured log call -------------------------------
WARNING tests.logs.test_handler:test_handler.py:88 Warning message
FEDORA-2023-904260e8b9 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-904260e8b9 FEDORA-2023-904260e8b9 has been pushed to the Fedora 39 stable repository. If problem still persists, please make note of it in this bug report. |