[Bug 1836686] Review Request: python-gcsfs - Convenient Filesystem interface over GCS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1836686

Robert-André Mauchin <zebob.m@xxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zebob.m@xxxxxxxxx



--- Comment #1 from Robert-André Mauchin <zebob.m@xxxxxxxxx> ---
 - You need to add Sphinx-rtd-theme:

+ sphinx-build-3 docs/source html
Running Sphinx v2.2.2
Configuration error:
There is a programmable error in your configuration file:
Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/sphinx/config.py", line 361, in
eval_config_file
    execfile_(filename, namespace)
  File "/usr/lib/python3.9/site-packages/sphinx/util/pycompat.py", line 81, in
execfile_
    exec(code, _globals)
  File "/builddir/build/BUILD/gcsfs-0.6.2/docs/source/conf.py", line 124, in
<module>
    import sphinx_rtd_theme
ModuleNotFoundError: No module named 'sphinx_rtd_theme'


BuildRequires:  python3-sphinx
BuildRequires:  python3-sphinx_rtd_theme
BuildRequires:  python3-numpydoc


 - Tests fail due to missing a dep:

 pytest-3.9 -v gcsfs/tests -k 'not test_request_header'
============================= test session starts
==============================
platform linux -- Python 3.9.0b3, pytest-5.4.3, py-1.8.2, pluggy-0.13.1 --
/usr/bin/python3
cachedir: .pytest_cache
rootdir: /builddir/build/BUILD/gcsfs-0.6.2
collecting ... collected 0 items / 4 errors
==================================== ERRORS
====================================
__________________ ERROR collecting gcsfs/tests/test_core.py
___________________
ImportError while importing test module
'/builddir/build/BUILD/gcsfs-0.6.2/gcsfs/tests/test_core.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
gcsfs/tests/test_core.py:23: in <module>
    from gcsfs.tests.utils import (
gcsfs/tests/utils.py:20: in <module>
    import vcr
E   ModuleNotFoundError: No module named 'vcr'
__________________ ERROR collecting gcsfs/tests/test_fuse.py
___________________
ImportError while importing test module
'/builddir/build/BUILD/gcsfs-0.6.2/gcsfs/tests/test_fuse.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
gcsfs/tests/test_fuse.py:8: in <module>
    from gcsfs.tests.utils import gcs_maker, my_vcr
gcsfs/tests/utils.py:20: in <module>
    import vcr
E   ModuleNotFoundError: No module named 'vcr'
_________________ ERROR collecting gcsfs/tests/test_mapping.py
_________________
ImportError while importing test module
'/builddir/build/BUILD/gcsfs-0.6.2/gcsfs/tests/test_mapping.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
gcsfs/tests/test_mapping.py:3: in <module>
    from gcsfs.tests.utils import my_vcr, gcs_maker
gcsfs/tests/utils.py:20: in <module>
    import vcr
E   ModuleNotFoundError: No module named 'vcr'
__________________ ERROR collecting gcsfs/tests/test_utils.py
__________________
ImportError while importing test module
'/builddir/build/BUILD/gcsfs-0.6.2/gcsfs/tests/test_utils.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
gcsfs/tests/test_utils.py:6: in <module>
    from gcsfs.tests.utils import tmpfile
gcsfs/tests/utils.py:20: in <module>
    import vcr
E   ModuleNotFoundError: No module named 'vcr'
=========================== short test summary info
============================
ERROR gcsfs/tests/test_core.py
ERROR gcsfs/tests/test_fuse.py
ERROR gcsfs/tests/test_mapping.py
ERROR gcsfs/tests/test_utils.py
!!!!!!!!!!!!!!!!!!! Interrupted: 4 errors during collection
!!!!!!!!!!!!!!!!!!!!
============================== 4 errors in 0.56s
===============================

   Add:

BuildRequires:  python3-vcrpy

 - Multiple tests then fail too:

=================================== FAILURES
===================================
_______________________________ test_map_simple
________________________________
    @my_vcr.use_cassette(match=["all"])
    def test_map_simple():
        with gcs_maker() as gcs:
            d = gcs.get_mapper(root)
            assert not d

            assert list(d) == list(d.keys()) == []
>           assert list(d.values()) == []
gcsfs/tests/test_mapping.py:25: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/lib64/python3.9/_collections_abc.py:784: in __iter__
    for key in self._mapping:
/usr/lib/python3.9/site-packages/fsspec/mapping.py:98: in __iter__
    return (self._str_to_key(x) for x in self.fs.find(self.root))
/usr/lib/python3.9/site-packages/fsspec/spec.py:394: in find
    for path, dirs, files in self.walk(path, maxdepth, detail=True, **kwargs):
/usr/lib/python3.9/site-packages/fsspec/spec.py:343: in walk
    listing = self.ls(path, detail=True, **kwargs)
gcsfs/core.py:767: in ls
    out = self._list_objects(path)
gcsfs/core.py:571: in _list_objects
    items, prefixes = self._do_list_objects(path)
gcsfs/core.py:598: in _do_list_objects
    page = self._call(
gcsfs/core.py:478: in _call
    r = self.session.request(
/usr/lib/python3.9/site-packages/google/auth/transport/requests.py:444: in
request
    response = super(AuthorizedSession, self).request(
/usr/lib/python3.9/site-packages/requests/sessions.py:530: in request
    resp = self.send(prep, **send_kwargs)
/usr/lib/python3.9/site-packages/requests/sessions.py:643: in send
    r = adapter.send(request, **kwargs)
/usr/lib/python3.9/site-packages/requests/adapters.py:439: in send
    resp = conn.urlopen(
/usr/lib/python3.9/site-packages/urllib3/connectionpool.py:665: in urlopen
    httplib_response = self._make_request(
/usr/lib/python3.9/site-packages/urllib3/connectionpool.py:412: in
_make_request
    httplib_response = conn.getresponse(buffering=True)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
self =
<vcr.patch.VCRRequestsHTTPSConnection/builddir/build/BUILD/gcsfs-0.6.2/gcsfs/tests/recordings/test_map_simple.yaml
object at 0x7f27002e1280>
_ = False, kwargs = {'buffering': True}
    def getresponse(self, _=False, **kwargs):
        """Retrieve the response"""
        # Check to see if the cassette has a response for this request. If so,
        # then return it
        if self.cassette.can_play_response_for(self._vcr_request):
            log.info("Playing response for {} from
cassette".format(self._vcr_request))
            response = self.cassette.play_response(self._vcr_request)
            return VCRHTTPResponse(response)
        else:
            if self.cassette.write_protected and
self.cassette.filter_request(self._vcr_request):
>               raise CannotOverwriteExistingCassetteException(
                    cassette=self.cassette, failed_request=self._vcr_request
                )
E               vcr.errors.CannotOverwriteExistingCassetteException: Can't
overwrite existing cassette
('/builddir/build/BUILD/gcsfs-0.6.2/gcsfs/tests/recordings/test_map_simple.yaml')
in your current record mode ('none').
E               No match for the request (<Request (GET)
https://www.googleapis.com/storage/v1/b/gcsfs-testing/o/?delimiter=%2F&prefix=mapping%2F>)
was found.
E               Found 18 similar requests with 0 different matcher(s) :
E               
E               1 - (<Request (GET)
https://www.googleapis.com/storage/v1/b/gcsfs-testing/o/?delimiter=%2F&prefix=mapping%2F>).
E               Matchers succeeded : ['matcher']
E               Matchers failed :
E               
E               2 - (<Request (GET)
https://www.googleapis.com/storage/v1/b/gcsfs-testing/o/?delimiter=%2F&prefix=mapping%2F>).
E               Matchers succeeded : ['matcher']
E               Matchers failed :
E               
E               3 - (<Request (GET)
https://www.googleapis.com/storage/v1/b/gcsfs-testing/o/?delimiter=%2F&prefix=mapping%2F>).
E               Matchers succeeded : ['matcher']
E               Matchers failed :
E               
E               4 - (<Request (GET)
https://www.googleapis.com/storage/v1/b/gcsfs-testing/o/?delimiter=%2F&prefix=mapping%2F>).
E               Matchers succeeded : ['matcher']
E               Matchers failed :
E               
E               5 - (<Request (GET)
https://www.googleapis.com/storage/v1/b/gcsfs-testing/o/?delimiter=%2F&prefix=mapping%2F>).
E               Matchers succeeded : ['matcher']
E               Matchers failed :
E               
E               6 - (<Request (GET)
https://www.googleapis.com/storage/v1/b/gcsfs-testing/o/?delimiter=%2F&prefix=mapping%2F>).
E               Matchers succeeded : ['matcher']
E               Matchers failed :
E               
E               7 - (<Request (GET)
https://www.googleapis.com/storage/v1/b/gcsfs-testing/o/?delimiter=%2F&prefix=mapping%2F>).
E               Matchers succeeded : ['matcher']
E               Matchers failed :
E               
E               8 - (<Request (GET)
https://www.googleapis.com/storage/v1/b/gcsfs-testing/o/?delimiter=%2F&prefix=mapping%2F>).
E               Matchers succeeded : ['matcher']
E               Matchers failed :
E               
E               9 - (<Request (GET)
https://www.googleapis.com/storage/v1/b/gcsfs-testing/o/?delimiter=%2F&prefix=mapping%2F>).
E               Matchers succeeded : ['matcher']
E               Matchers failed :
E               
E               10 - (<Request (GET)
https://www.googleapis.com/storage/v1/b/gcsfs-testing/o/?delimiter=%2F&prefix=mapping%2F>).
E               Matchers succeeded : ['matcher']
E               Matchers failed :
E               
E               11 - (<Request (GET)
https://www.googleapis.com/storage/v1/b/gcsfs-testing/o/?delimiter=%2F&prefix=mapping%2F>).
E               Matchers succeeded : ['matcher']
E               Matchers failed :
E               
E               12 - (<Request (GET)
https://www.googleapis.com/storage/v1/b/gcsfs-testing/o/?delimiter=%2F&prefix=mapping%2F>).
E               Matchers succeeded : ['matcher']
E               Matchers failed :
E               
E               13 - (<Request (GET)
https://www.googleapis.com/storage/v1/b/gcsfs-testing/o/?delimiter=%2F&prefix=mapping%2F>).
E               Matchers succeeded : ['matcher']
E               Matchers failed :
E               
E               14 - (<Request (GET)
https://www.googleapis.com/storage/v1/b/gcsfs-testing/o/?delimiter=%2F&prefix=mapping%2F>).
E               Matchers succeeded : ['matcher']
E               Matchers failed :
E               
E               15 - (<Request (GET)
https://www.googleapis.com/storage/v1/b/gcsfs-testing/o/?delimiter=%2F&prefix=mapping%2F>).
E               Matchers succeeded : ['matcher']
E               Matchers failed :
E               
E               16 - (<Request (GET)
https://www.googleapis.com/storage/v1/b/gcsfs-testing/o/?delimiter=%2F&prefix=mapping%2F>).
E               Matchers succeeded : ['matcher']
E               Matchers failed :
E               
E               17 - (<Request (GET)
https://www.googleapis.com/storage/v1/b/gcsfs-testing/o/?delimiter=%2F&prefix=mapping%2F>).
E               Matchers succeeded : ['matcher']
E               Matchers failed :
E               
E               18 - (<Request (GET)
https://www.googleapis.com/storage/v1/b/gcsfs-testing/o/?delimiter=%2F&prefix=mapping%2F>).
E               Matchers succeeded : ['matcher']
E               Matchers failed :
/usr/lib/python3.9/site-packages/vcr/stubs/__init__.py:231:
CannotOverwriteExistingCassetteException
------------------------------ Captured log call
-------------------------------
ERROR    gcsfs.core:core.py:503 _call non-retriable exception: You already own
this bucket. Please select another name.
Traceback (most recent call last):
  File "/builddir/build/BUILD/gcsfs-0.6.2/gcsfs/core.py", line 487, in _call
    validate_response(r, path)
  File "/builddir/build/BUILD/gcsfs-0.6.2/gcsfs/core.py", line 130, in
validate_response
    raise HttpError(error)
gcsfs.utils.HttpError: You already own this bucket. Please select another name.
WARNING  urllib3.connectionpool:connectionpool.py:443 Failed to parse headers
(url=https://www.googleapis.com:443/batch/storage/v1):
[StartBoundaryNotFoundDefect(), MultipartInvariantViolationDefect()], unparsed
data: ''
Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/urllib3/connectionpool.py", line 441,
in _make_request
    assert_header_parsing(httplib_response.msg)
  File "/usr/lib/python3.9/site-packages/urllib3/util/response.py", line 71, in
assert_header_parsing
    raise HeaderParsingError(defects=defects, unparsed_data=unparsed_data)
urllib3.exceptions.HeaderParsingError: [StartBoundaryNotFoundDefect(),
MultipartInvariantViolationDefect()], unparsed data: ''
______________________________ test_map_with_data
______________________________
    @my_vcr.use_cassette(match=["all"])
    def test_map_with_data():
        with gcs_maker() as gcs:
            d = gcs.get_mapper(root)
            d["x"] = b"123"
            assert list(d) == list(d.keys()) == ["x"]
            assert list(d.values()) == [b"123"]
            assert list(d.items()) == [("x", b"123")]
            assert d["x"] == b"123"
            assert bool(d)

            assert gcs.find(root) == [TEST_BUCKET + "/mapping/x"]
            d["x"] = b"000"
            assert d["x"] == b"000"

            d["y"] = b"456"
            assert d["y"] == b"456"
            assert set(d) == {"x", "y"}

            d.clear()
>           assert list(d) == []
gcsfs/tests/test_mapping.py:68: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/lib/python3.9/site-packages/fsspec/mapping.py:101: in __len__
    return len(self.fs.find(self.root))
/usr/lib/python3.9/site-packages/fsspec/spec.py:394: in find
    for path, dirs, files in self.walk(path, maxdepth, detail=True, **kwargs):
/usr/lib/python3.9/site-packages/fsspec/spec.py:343: in walk
    listing = self.ls(path, detail=True, **kwargs)
gcsfs/core.py:767: in ls
    out = self._list_objects(path)
gcsfs/core.py:571: in _list_objects
    items, prefixes = self._do_list_objects(path)
gcsfs/core.py:598: in _do_list_objects
    page = self._call(
gcsfs/core.py:478: in _call
    r = self.session.request(
/usr/lib/python3.9/site-packages/google/auth/transport/requests.py:444: in
request
    response = super(AuthorizedSession, self).request(
/usr/lib/python3.9/site-packages/requests/sessions.py:530: in request
    resp = self.send(prep, **send_kwargs)
/usr/lib/python3.9/site-packages/requests/sessions.py:643: in send
    r = adapter.send(request, **kwargs)
/usr/lib/python3.9/site-packages/requests/adapters.py:439: in send
    resp = conn.urlopen(
/usr/lib/python3.9/site-packages/urllib3/connectionpool.py:665: in urlopen
    httplib_response = self._make_request(
/usr/lib/python3.9/site-packages/urllib3/connectionpool.py:412: in
_make_request
    httplib_response = conn.getresponse(buffering=True)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
self =
<vcr.patch.VCRRequestsHTTPSConnection/builddir/build/BUILD/gcsfs-0.6.2/gcsfs/tests/recordings/test_map_with_data.yaml
object at 0x7f2723d3ef70>
_ = False, kwargs = {'buffering': True}
    def getresponse(self, _=False, **kwargs):
        """Retrieve the response"""
        # Check to see if the cassette has a response for this request. If so,
        # then return it
        if self.cassette.can_play_response_for(self._vcr_request):
            log.info("Playing response for {} from
cassette".format(self._vcr_request))
            response = self.cassette.play_response(self._vcr_request)
            return VCRHTTPResponse(response)
        else:
            if self.cassette.write_protected and
self.cassette.filter_request(self._vcr_request):
>               raise CannotOverwriteExistingCassetteException(
                    cassette=self.cassette, failed_request=self._vcr_request
                )
E               vcr.errors.CannotOverwriteExistingCassetteException: Can't
overwrite existing cassette
('/builddir/build/BUILD/gcsfs-0.6.2/gcsfs/tests/recordings/test_map_with_data.yaml')
in your current record mode ('none').
E               No match for the request (<Request (GET)
https://www.googleapis.com/storage/v1/b/gcsfs-testing/o/?delimiter=%2F&prefix=mapping%2F>)
was found.
E               Found 6 similar requests with 0 different matcher(s) :
E               
E               1 - (<Request (GET)
https://www.googleapis.com/storage/v1/b/gcsfs-testing/o/?delimiter=%2F&prefix=mapping%2F>).
E               Matchers succeeded : ['matcher']
E               Matchers failed :
E               
E               2 - (<Request (GET)
https://www.googleapis.com/storage/v1/b/gcsfs-testing/o/?delimiter=%2F&prefix=mapping%2F>).
E               Matchers succeeded : ['matcher']
E               Matchers failed :
E               
E               3 - (<Request (GET)
https://www.googleapis.com/storage/v1/b/gcsfs-testing/o/?delimiter=%2F&prefix=mapping%2F>).
E               Matchers succeeded : ['matcher']
E               Matchers failed :
E               
E               4 - (<Request (GET)
https://www.googleapis.com/storage/v1/b/gcsfs-testing/o/?delimiter=%2F&prefix=mapping%2F>).
E               Matchers succeeded : ['matcher']
E               Matchers failed :
E               
E               5 - (<Request (GET)
https://www.googleapis.com/storage/v1/b/gcsfs-testing/o/?delimiter=%2F&prefix=mapping%2F>).
E               Matchers succeeded : ['matcher']
E               Matchers failed :
E               
E               6 - (<Request (GET)
https://www.googleapis.com/storage/v1/b/gcsfs-testing/o/?delimiter=%2F&prefix=mapping%2F>).
E               Matchers succeeded : ['matcher']
E               Matchers failed :
/usr/lib/python3.9/site-packages/vcr/stubs/__init__.py:231:
CannotOverwriteExistingCassetteException
------------------------------ Captured log call
-------------------------------
ERROR    gcsfs.core:core.py:503 _call non-retriable exception: You already own
this bucket. Please select another name.
Traceback (most recent call last):
  File "/builddir/build/BUILD/gcsfs-0.6.2/gcsfs/core.py", line 487, in _call
    validate_response(r, path)
  File "/builddir/build/BUILD/gcsfs-0.6.2/gcsfs/core.py", line 130, in
validate_response
    raise HttpError(error)
gcsfs.utils.HttpError: You already own this bucket. Please select another name.
WARNING  urllib3.connectionpool:connectionpool.py:443 Failed to parse headers
(url=https://www.googleapis.com:443/batch/storage/v1):
[StartBoundaryNotFoundDefect(), MultipartInvariantViolationDefect()], unparsed
data: ''
Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/urllib3/connectionpool.py", line 441,
in _make_request
    assert_header_parsing(httplib_response.msg)
  File "/usr/lib/python3.9/site-packages/urllib3/util/response.py", line 71, in
assert_header_parsing
    raise HeaderParsingError(defects=defects, unparsed_data=unparsed_data)
urllib3.exceptions.HeaderParsingError: [StartBoundaryNotFoundDefect(),
MultipartInvariantViolationDefect()], unparsed data: ''
WARNING  urllib3.connectionpool:connectionpool.py:443 Failed to parse headers
(url=https://www.googleapis.com:443/batch/storage/v1):
[StartBoundaryNotFoundDefect(), MultipartInvariantViolationDefect()], unparsed
data: ''
Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/urllib3/connectionpool.py", line 441,
in _make_request
    assert_header_parsing(httplib_response.msg)
  File "/usr/lib/python3.9/site-packages/urllib3/util/response.py", line 71, in
assert_header_parsing
    raise HeaderParsingError(defects=defects, unparsed_data=unparsed_data)
urllib3.exceptions.HeaderParsingError: [StartBoundaryNotFoundDefect(),
MultipartInvariantViolationDefect()], unparsed data: ''
_____________________________ test_map_clear_empty
_____________________________
    @my_vcr.use_cassette(match=["all"])
    def test_map_clear_empty():
        with gcs_maker() as gcs:
            d = gcs.get_mapper(root)
            d.clear()
            assert list(d) == []
            d[1] = b"1"
>           assert list(d) == ["1"]
gcsfs/tests/test_mapping.py:96: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/lib/python3.9/site-packages/fsspec/mapping.py:101: in __len__
    return len(self.fs.find(self.root))
/usr/lib/python3.9/site-packages/fsspec/spec.py:394: in find
    for path, dirs, files in self.walk(path, maxdepth, detail=True, **kwargs):
/usr/lib/python3.9/site-packages/fsspec/spec.py:343: in walk
    listing = self.ls(path, detail=True, **kwargs)
gcsfs/core.py:767: in ls
    out = self._list_objects(path)
gcsfs/core.py:571: in _list_objects
    items, prefixes = self._do_list_objects(path)
gcsfs/core.py:598: in _do_list_objects
    page = self._call(
gcsfs/core.py:478: in _call
    r = self.session.request(
/usr/lib/python3.9/site-packages/google/auth/transport/requests.py:444: in
request
    response = super(AuthorizedSession, self).request(
/usr/lib/python3.9/site-packages/requests/sessions.py:530: in request
    resp = self.send(prep, **send_kwargs)
/usr/lib/python3.9/site-packages/requests/sessions.py:643: in send
    r = adapter.send(request, **kwargs)
/usr/lib/python3.9/site-packages/requests/adapters.py:439: in send
    resp = conn.urlopen(
/usr/lib/python3.9/site-packages/urllib3/connectionpool.py:665: in urlopen
    httplib_response = self._make_request(
/usr/lib/python3.9/site-packages/urllib3/connectionpool.py:412: in
_make_request
    httplib_response = conn.getresponse(buffering=True)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
self =
<vcr.patch.VCRRequestsHTTPSConnection/builddir/build/BUILD/gcsfs-0.6.2/gcsfs/tests/recordings/test_map_clear_empty.yaml
object at 0x7f2700364f10>
_ = False, kwargs = {'buffering': True}
    def getresponse(self, _=False, **kwargs):
        """Retrieve the response"""
        # Check to see if the cassette has a response for this request. If so,
        # then return it
        if self.cassette.can_play_response_for(self._vcr_request):
            log.info("Playing response for {} from
cassette".format(self._vcr_request))
            response = self.cassette.play_response(self._vcr_request)
            return VCRHTTPResponse(response)
        else:
            if self.cassette.write_protected and
self.cassette.filter_request(self._vcr_request):
>               raise CannotOverwriteExistingCassetteException(
                    cassette=self.cassette, failed_request=self._vcr_request
                )
E               vcr.errors.CannotOverwriteExistingCassetteException: Can't
overwrite existing cassette
('/builddir/build/BUILD/gcsfs-0.6.2/gcsfs/tests/recordings/test_map_clear_empty.yaml')
in your current record mode ('none').
E               No match for the request (<Request (GET)
https://www.googleapis.com/storage/v1/b/gcsfs-testing/o/?delimiter=%2F&prefix=mapping%2F>)
was found.
E               Found 11 similar requests with 0 different matcher(s) :
E               
E               1 - (<Request (GET)
https://www.googleapis.com/storage/v1/b/gcsfs-testing/o/?delimiter=%2F&prefix=mapping%2F>).
E               Matchers succeeded : ['matcher']
E               Matchers failed :
E               
E               2 - (<Request (GET)
https://www.googleapis.com/storage/v1/b/gcsfs-testing/o/?delimiter=%2F&prefix=mapping%2F>).
E               Matchers succeeded : ['matcher']
E               Matchers failed :
E               
E               3 - (<Request (GET)
https://www.googleapis.com/storage/v1/b/gcsfs-testing/o/?delimiter=%2F&prefix=mapping%2F>).
E               Matchers succeeded : ['matcher']
E               Matchers failed :
E               
E               4 - (<Request (GET)
https://www.googleapis.com/storage/v1/b/gcsfs-testing/o/?delimiter=%2F&prefix=mapping%2F>).
E               Matchers succeeded : ['matcher']
E               Matchers failed :
E               
E               5 - (<Request (GET)
https://www.googleapis.com/storage/v1/b/gcsfs-testing/o/?delimiter=%2F&prefix=mapping%2F>).
E               Matchers succeeded : ['matcher']
E               Matchers failed :
E               
E               6 - (<Request (GET)
https://www.googleapis.com/storage/v1/b/gcsfs-testing/o/?delimiter=%2F&prefix=mapping%2F>).
E               Matchers succeeded : ['matcher']
E               Matchers failed :
E               
E               7 - (<Request (GET)
https://www.googleapis.com/storage/v1/b/gcsfs-testing/o/?delimiter=%2F&prefix=mapping%2F>).
E               Matchers succeeded : ['matcher']
E               Matchers failed :
E               
E               8 - (<Request (GET)
https://www.googleapis.com/storage/v1/b/gcsfs-testing/o/?delimiter=%2F&prefix=mapping%2F>).
E               Matchers succeeded : ['matcher']
E               Matchers failed :
E               
E               9 - (<Request (GET)
https://www.googleapis.com/storage/v1/b/gcsfs-testing/o/?delimiter=%2F&prefix=mapping%2F>).
E               Matchers succeeded : ['matcher']
E               Matchers failed :
E               
E               10 - (<Request (GET)
https://www.googleapis.com/storage/v1/b/gcsfs-testing/o/?delimiter=%2F&prefix=mapping%2F>).
E               Matchers succeeded : ['matcher']
E               Matchers failed :
E               
E               11 - (<Request (GET)
https://www.googleapis.com/storage/v1/b/gcsfs-testing/o/?delimiter=%2F&prefix=mapping%2F>).
E               Matchers succeeded : ['matcher']
E               Matchers failed :
/usr/lib/python3.9/site-packages/vcr/stubs/__init__.py:231:
CannotOverwriteExistingCassetteException
------------------------------ Captured log call
-------------------------------
ERROR    gcsfs.core:core.py:503 _call non-retriable exception: You already own
this bucket. Please select another name.
Traceback (most recent call last):
  File "/builddir/build/BUILD/gcsfs-0.6.2/gcsfs/core.py", line 487, in _call
    validate_response(r, path)
  File "/builddir/build/BUILD/gcsfs-0.6.2/gcsfs/core.py", line 130, in
validate_response
    raise HttpError(error)
gcsfs.utils.HttpError: You already own this bucket. Please select another name.
WARNING  urllib3.connectionpool:connectionpool.py:443 Failed to parse headers
(url=https://www.googleapis.com:443/batch/storage/v1):
[StartBoundaryNotFoundDefect(), MultipartInvariantViolationDefect()], unparsed
data: ''
Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/urllib3/connectionpool.py", line 441,
in _make_request
    assert_header_parsing(httplib_response.msg)
  File "/usr/lib/python3.9/site-packages/urllib3/util/response.py", line 71, in
assert_header_parsing
    raise HeaderParsingError(defects=defects, unparsed_data=unparsed_data)
urllib3.exceptions.HeaderParsingError: [StartBoundaryNotFoundDefect(),
MultipartInvariantViolationDefect()], unparsed data: ''
WARNING  urllib3.connectionpool:connectionpool.py:443 Failed to parse headers
(url=https://www.googleapis.com:443/batch/storage/v1):
[StartBoundaryNotFoundDefect(), MultipartInvariantViolationDefect()], unparsed
data: ''
Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/urllib3/connectionpool.py", line 441,
in _make_request
    assert_header_parsing(httplib_response.msg)
  File "/usr/lib/python3.9/site-packages/urllib3/util/response.py", line 71, in
assert_header_parsing
    raise HeaderParsingError(defects=defects, unparsed_data=unparsed_data)
urllib3.exceptions.HeaderParsingError: [StartBoundaryNotFoundDefect(),
MultipartInvariantViolationDefect()], unparsed data: ''
=========================== short test summary info
============================
FAILED gcsfs/tests/test_mapping.py::test_map_simple -
vcr.errors.CannotOverwr...
FAILED gcsfs/tests/test_mapping.py::test_map_with_data -
vcr.errors.CannotOve...
FAILED gcsfs/tests/test_mapping.py::test_map_clear_empty -
vcr.errors.CannotO...
============ 3 failed, 64 passed, 1 deselected, 2 xfailed in 22.83s
============

Seems these tests need network access.


-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/package-review@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux