Title: tests.unit.test_client.TestClient: test_report_exception_with_service_version_in_constructor failed · Issue #324 · googleapis/python-error-reporting · GitHub
Open Graph Title: tests.unit.test_client.TestClient: test_report_exception_with_service_version_in_constructor failed · Issue #324 · googleapis/python-error-reporting
X Title: tests.unit.test_client.TestClient: test_report_exception_with_service_version_in_constructor failed · Issue #324 · googleapis/python-error-reporting
Description: This test failed! To configure my behavior, see the Flaky Bot documentation. If I'm commenting on this issue too often, add the flakybot: quiet label and I will stop commenting. commit: 7a7189e buildURL: Build Status, Sponge status: fail...
Open Graph Description: This test failed! To configure my behavior, see the Flaky Bot documentation. If I'm commenting on this issue too often, add the flakybot: quiet label and I will stop commenting. commit: 7a7189e bui...
X Description: This test failed! To configure my behavior, see the Flaky Bot documentation. If I'm commenting on this issue too often, add the flakybot: quiet label and I will stop commenting. commit: 7a7189e...
Opengraph URL: https://github.com/googleapis/python-error-reporting/issues/324
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"tests.unit.test_client.TestClient: test_report_exception_with_service_version_in_constructor failed","articleBody":"This test failed!\n\nTo configure my behavior, see [the Flaky Bot documentation](https://github.com/googleapis/repo-automation-bots/tree/main/packages/flakybot).\n\nIf I'm commenting on this issue too often, add the `flakybot: quiet` label and\nI will stop commenting.\n\n---\n\ncommit: 7a7189e6caef0f33f9ad6279d38389afccb17341\nbuildURL: [Build Status](https://source.cloud.google.com/results/invocations/e078ff62-583c-4fc4-92e3-536f792f2a68), [Sponge](http://sponge2/e078ff62-583c-4fc4-92e3-536f792f2a68)\nstatus: failed\n\u003cdetails\u003e\u003csummary\u003eTest output\u003c/summary\u003e\u003cbr\u003e\u003cpre\u003ething = \u003cmodule 'google.cloud' (namespace)\u003e, comp = 'error_reporting'\nimport_path = 'google.cloud.error_reporting'\n\n def _dot_lookup(thing, comp, import_path):\n try:\n\u003e return getattr(thing, comp)\nE AttributeError: module 'google.cloud' has no attribute 'error_reporting'\n\n.nox/unit-3-7/lib/python3.7/site-packages/mock/mock.py:1236: AttributeError\n\nDuring handling of the above exception, another exception occurred:\n.nox/unit-3-7/lib/python3.7/site-packages/mock/mock.py:1345: in patched\n keywargs) as (newargs, newkeywargs):\n/usr/local/lib/python3.7/contextlib.py:112: in __enter__\n return next(self.gen)\n.nox/unit-3-7/lib/python3.7/site-packages/mock/mock.py:1325: in decoration_helper\n arg = exit_stack.enter_context(patching)\n/usr/local/lib/python3.7/contextlib.py:427: in enter_context\n result = _cm_type.__enter__(cm)\n.nox/unit-3-7/lib/python3.7/site-packages/mock/mock.py:1398: in __enter__\n self.target = self.getter()\n.nox/unit-3-7/lib/python3.7/site-packages/mock/mock.py:1573: in \u003clambda\u003e\n getter = lambda: _importer(target)\n.nox/unit-3-7/lib/python3.7/site-packages/mock/mock.py:1249: in _importer\n thing = _dot_lookup(thing, comp, import_path)\n.nox/unit-3-7/lib/python3.7/site-packages/mock/mock.py:1238: in _dot_lookup\n __import__(import_path)\ngoogle/cloud/error_reporting/__init__.py:22: in \u003cmodule\u003e\n from google.cloud.error_reporting.client import Client\ngoogle/cloud/error_reporting/client.py:33: in \u003cmodule\u003e\n from google.cloud.error_reporting._logging import _ErrorReportingLoggingAPI\ngoogle/cloud/error_reporting/_logging.py:22: in \u003cmodule\u003e\n import google.cloud.logging\n.nox/unit-3-7/lib/python3.7/site-packages/google/cloud/logging/__init__.py:18: in \u003cmodule\u003e\n from google.cloud.logging_v2 import __version__\n.nox/unit-3-7/lib/python3.7/site-packages/google/cloud/logging_v2/__init__.py:25: in \u003cmodule\u003e\n from google.cloud.logging_v2.client import Client\n.nox/unit-3-7/lib/python3.7/site-packages/google/cloud/logging_v2/client.py:25: in \u003cmodule\u003e\n from google.cloud.logging_v2._helpers import _add_defaults_to_filter\n.nox/unit-3-7/lib/python3.7/site-packages/google/cloud/logging_v2/_helpers.py:25: in \u003cmodule\u003e\n from google.cloud.logging_v2.entries import LogEntry\n.nox/unit-3-7/lib/python3.7/site-packages/google/cloud/logging_v2/entries.py:31: in \u003cmodule\u003e\n import google.cloud.audit.audit_log_pb2 # noqa: F401\n.nox/unit-3-7/lib/python3.7/site-packages/google/cloud/audit/audit_log_pb2.py:79: in \u003cmodule\u003e\n create_key=_descriptor._internal_create_key,\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ncls = \u003cclass 'google.protobuf.descriptor.FieldDescriptor'\u003e\nname = 'service_name', full_name = 'google.cloud.audit.AuditLog.service_name'\nindex = 0, number = 7, type = 9, cpp_type = 9, label = 1, default_value = ''\nmessage_type = None, enum_type = None, containing_type = None\nis_extension = False, extension_scope = None, options = None\nserialized_options = None, has_default_value = False, containing_oneof = None\njson_name = None, file = None, create_key = \u003cobject object at 0x7f6b31b9cc50\u003e\n\n def __new__(cls, name, full_name, index, number, type, cpp_type, label,\n default_value, message_type, enum_type, containing_type,\n is_extension, extension_scope, options=None,\n serialized_options=None,\n has_default_value=True, containing_oneof=None, json_name=None,\n file=None, create_key=None): # pylint: disable=redefined-builtin\n\u003e _message.Message._CheckCalledFromGeneratedFile()\nE TypeError: Descriptors cannot not be created directly.\nE If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc \u003e= 3.19.0.\nE If you cannot immediately regenerate your protos, some other possible workarounds are:\nE 1. Downgrade the protobuf package to 3.20.x or lower.\nE 2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).\nE \nE More information: https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates\n\n.nox/unit-3-7/lib/python3.7/site-packages/google/protobuf/descriptor.py:560: TypeError\u003c/pre\u003e\u003c/details\u003e","author":{"url":"https://github.com/flaky-bot[bot]","@type":"Person","name":"flaky-bot[bot]"},"datePublished":"2022-05-26T08:44:40.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/324/python-error-reporting/issues/324"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:b2dec3eb-348b-f484-630e-ae040bede847 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A084:50919:46DC59D:61EE62E:6A4F5259 |
| html-safe-nonce | 8652e3a0db3aa28510d23ce8a34b12b57c8e406c42625008172d0aa38b468498 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMDg0OjUwOTE5OjQ2REM1OUQ6NjFFRTYyRTo2QTRGNTI1OSIsInZpc2l0b3JfaWQiOiI1MzcxMjQyNDEzNzUzODQ4NDEwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | d1cc140935ff105abcdf465c95c4725fceaae3cc3c4ce1ac878ebe7a81e413c8 |
| hovercard-subject-tag | issue:1249281381 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/googleapis/python-error-reporting/324/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9e3fd5b59b02869077dd365056312f7e50bd3997194e0961f0338601c29be170/googleapis/python-error-reporting/issues/324 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9e3fd5b59b02869077dd365056312f7e50bd3997194e0961f0338601c29be170/googleapis/python-error-reporting/issues/324 |
| og:image:alt | This test failed! To configure my behavior, see the Flaky Bot documentation. If I'm commenting on this issue too often, add the flakybot: quiet label and I will stop commenting. commit: 7a7189e bui... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | flaky-bot[bot] |
| hostname | github.com |
| expected-hostname | github.com |
| None | b92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9 |
| turbo-cache-control | no-preview |
| go-import | github.com/googleapis/python-error-reporting git https://github.com/googleapis/python-error-reporting.git |
| octolytics-dimension-user_id | 16785467 |
| octolytics-dimension-user_login | googleapis |
| octolytics-dimension-repository_id | 226992528 |
| octolytics-dimension-repository_nwo | googleapis/python-error-reporting |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 226992528 |
| octolytics-dimension-repository_network_root_nwo | googleapis/python-error-reporting |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 4b249b445842943ed31549e027f57a8ade9881ed |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width