googleapis / python-dns

Apache License 2.0
12 stars 13 forks source link

tests.unit.test_resource_record_set.TestResourceRecordSet: test_from_api_repr_bare failed #217

Closed flaky-bot[bot] closed 1 year ago

flaky-bot[bot] commented 1 year ago

Note: #90 was also for this test, but it was closed more than 10 days ago. So, I didn't mark it flaky.


commit: 7bf0386cffba77c0a0b14865d28944f476e9c5e2 buildURL: Build Status, Sponge status: failed

Test output
self = 

    def test_from_api_repr_bare(self):
        zone = _Zone()
        RESOURCE = {
            "kind": "dns#resourceRecordSet",
            "name": "test.example.com",
            "type": "CNAME",
            "ttl": "3600",
            "rrdatas": ["www.example.com"],
        }
>       klass = self._get_target_class()

tests/unit/test_resource_record_set.py:97: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/unit/test_resource_record_set.py:21: in _get_target_class
    from google.cloud.dns.resource_record_set import ResourceRecordSet
google/cloud/dns/__init__.py:32: in 
    from google.cloud.dns.zone import Changes
google/cloud/dns/zone.py:18: in 
    from google.cloud._helpers import _rfc3339_to_datetime
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

    """

    from __future__ import absolute_import

    import calendar
    import datetime
    import os
    import re
    from threading import local as Local

>   import six
E   ModuleNotFoundError: No module named 'six'

.nox/unit-3-7/lib/python3.7/site-packages/google/cloud/_helpers.py:28: ModuleNotFoundError
flaky-bot[bot] commented 1 year ago

Looks like this issue is flaky. :worried:

I'm going to leave this open and stop commenting.

A human should fix and close this.


When run at the same commit (7bf0386cffba77c0a0b14865d28944f476e9c5e2), this test passed in one build (Build Status, Sponge) and failed in another build (Build Status, Sponge).

parthea commented 1 year ago

Closing as obsolete