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: 78cbcf5
buildURL: Build Status, Sponge
status: failed
Test output
self =def test_multiple_labels_with_just_one(self): NAME = "instance_id" NAMES = [NAME] iterable = generate_query_results()
dataframe = self._call_fut(iterable, labels=NAMES)
tests/unit/test__dataframe.py:136:
tests/unit/test__dataframe.py:88: in _call_fut
return _dataframe._build_dataframe(*args, **kwargs)
google/cloud/monitoring_v3/_dataframe.py:101: in _build_dataframe
data=[_extract_value(point.value) for point in time_series.points],
google/cloud/monitoring_v3/_dataframe.py:101: in
data=[_extract_value(point.value) for point in time_series.points],
google/cloud/monitoring_v3/_dataframe.py:54: in _extract_value
value_type = monitoring_v3.TypedValue.pb(typed_value).WhichOneof("value")
cls = <class 'google.cloud.monitoring_v3.types.common.TypedValue'>
obj = double_value: 0def pb(cls, obj=None, *, coerce: bool = False): """Return the underlying protobuf Message class or instance. Args: obj: If provided, and an instance of ``cls``, return the underlying protobuf instance. coerce (bool): If provided, will attempt to coerce ``obj`` to ``cls`` if it is not already an instance. """ if obj is None: return cls.meta.pb if not isinstance(obj, cls): if coerce: obj = cls(obj) else:
raise TypeError(
"%r is not an instance of %s" % ( obj, cls.__name__, ) )
E TypeError: double_value: 0
E is not an instance of TypedValue.nox/unit-3-8/lib/python3.8/site-packages/proto/message.py:323: TypeError