Skip to content
This repository was archived by the owner on Nov 12, 2025. It is now read-only.
This repository was archived by the owner on Nov 12, 2025. It is now read-only.

Samples continuous tests failing due to fastavro upgrade #707

@Linchin

Description

@Linchin

Continuous tests for samples have been failing consistently starting 10/03/2023. Error message:

capsys = <_pytest.capture.CaptureFixture object at 0x7fe400dcff70>
project_id = 'python-docs-samples-tests'

    def test_quickstart_wo_snapshot(capsys, project_id):
>       quickstart.main(project_id)

quickstart_test.py:28: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
quickstart.py:78: in main
    for row in rows:
[.nox/py-3-9/lib/python3.9/site-packages/google/cloud/bigquery_storage_v1/reader.py:348](https://cs.corp.google.com/piper///depot/google3/.nox/py-3-9/lib/python3.9/site-packages/google/cloud/bigquery_storage_v1/reader.py?l=348&ws&snapshot=0): in __iter__
    for row in page:
[.nox/py-3-9/lib/python3.9/site-packages/google/cloud/bigquery_storage_v1/reader.py:516](https://cs.corp.google.com/piper///depot/google3/.nox/py-3-9/lib/python3.9/site-packages/google/cloud/bigquery_storage_v1/reader.py?l=516&ws&snapshot=0): in next
    return next(self._iter_rows)
[.nox/py-3-9/lib/python3.9/site-packages/google/cloud/bigquery_storage_v1/reader.py:714](https://cs.corp.google.com/piper///depot/google3/.nox/py-3-9/lib/python3.9/site-packages/google/cloud/bigquery_storage_v1/reader.py?l=714&ws&snapshot=0): in to_rows
    yield fastavro.schemaless_reader(messageio, self._fastavro_schema)
[fastavro/_read.pyx:1138](https://cs.corp.google.com/piper///depot/google3/fastavro/_read.pyx?l=1138&ws&snapshot=0): in fastavro._read.schemaless_reader
    ???
[fastavro/_read.pyx:1165](https://cs.corp.google.com/piper///depot/google3/fastavro/_read.pyx?l=1165&ws&snapshot=0): in fastavro._read.schemaless_reader
    ???
[fastavro/_read.pyx:744](https://cs.corp.google.com/piper///depot/google3/fastavro/_read.pyx?l=744&ws&snapshot=0): in fastavro._read._read_data
    ???
[fastavro/_read.pyx:617](https://cs.corp.google.com/piper///depot/google3/fastavro/_read.pyx?l=617&ws&snapshot=0): in fastavro._read.read_record
    ???
[fastavro/_read.pyx:736](https://cs.corp.google.com/piper///depot/google3/fastavro/_read.pyx?l=736&ws&snapshot=0): in fastavro._read._read_data
    ???
[fastavro/_read.pyx:527](https://cs.corp.google.com/piper///depot/google3/fastavro/_read.pyx?l=527&ws&snapshot=0): in fastavro._read.read_union
    ???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

>   ???
E   EOFError

[fastavro/_read.pyx:177](https://cs.corp.google.com/piper///depot/google3/fastavro/_read.pyx?l=177&ws&snapshot=0): EOFError

It's likely caused by the same fastavro upgrade described in PR #687.

Metadata

Metadata

Assignees

Labels

api: bigquerystorageIssues related to the googleapis/python-bigquery-storage API.samplesIssues that are directly related to samples.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions