GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Pandas GBQ Integration Tests · Issue #309 · googleapis/python-bigquery-pandas

This repository was archived by the owner on Sep 2, 2026. It is now read-only.
This repository was archived by the owner on Sep 2, 2026. It is now read-only.

Pandas GBQ Integration Tests #309

Copy link
Copy link
Closed
Closed
Pandas GBQ Integration Tests#309
Copy link
Labels
api: bigqueryIssues related to the googleapis/python-bigquery-pandas API.type: questionRequest for information or clarification. Not an issue.

Description

@alimcmaster1
alimcmaster1
opened on Feb 6, 2020
Issue body actions

Pandas CI -> test_gbq.py can be flakey.

Following API call times out:

address = ('bigquery.googleapis.com', 443), timeout = 60, source_address = None
error = NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f25022abf98>: Failed to establish a new connection: [Errno 110] Connection timed out',)

Called from https://github.com/pydata/pandas-gbq/blob/master/pandas_gbq/gbq.py#L1312

Can we allow to_gbq to set a more generous timeout? Or any other solution here?

Example test failures on our master branch:

e.g : https://travis-ci.org/pandas-dev/pandas/jobs/646554600?utm_medium=notification&utm_source=github_status
and
https://travis-ci.org/pandas-dev/pandas/jobs/646597032?utm_medium=notification&utm_source=github_status

cc @jreback @tswast

Activity

  1. tswast commented on Feb 7, 2020

    @tswast
    tswast
    on Feb 7, 2020
    Contributor
    More actions

    It appears to be create_dataset that is timing out. 60 seconds feels like an unreasonably long time for dataset creation, so this feels like a bad backend release or just a network flake to me.

    How often are these errors showing up?

  2. tswast
    added
    type: questionRequest for information or clarification. Not an issue.
    on Feb 7, 2020
  3. alimcmaster1 commented on Feb 7, 2020

    @alimcmaster1
    alimcmaster1
    on Feb 7, 2020
    Author
    More actions

    Thanks @tswast

    Much more frequently than normal - several examples today.

    Recent example:

    https://travis-ci.org/pandas-dev/pandas/jobs/647143875?utm_medium=notification&utm_source=github_status

  4. tswast commented on Feb 7, 2020

    @tswast
    tswast
    on Feb 7, 2020
    Contributor
    More actions

    I did some digging. googleapis/google-cloud-python#10219 added a default timeout to all requests. It seems the 60 seconds default was not high enough. Talking with some teammates at Google to see what might be causing this and what a more realistic timeout should be.

  5. alimcmaster1 commented on Feb 8, 2020

    @alimcmaster1
    alimcmaster1
    on Feb 8, 2020
    Author
    More actions

    Aah thanks very much for the investigation @tswast - much appreciated! Let us know if there is anything we should do on our side.

  6. tswast commented on Feb 11, 2020

    @tswast
    tswast
    on Feb 11, 2020
    Contributor
    More actions

    @plamut believes this should be fixed in the latest version of the google-auth library.

  7. plamut commented on Feb 11, 2020

    @plamut
    plamut
    on Feb 11, 2020
    More actions

    I would try with google-auth>=1.11.0, but it might not fix (all) timeout issues, especially if an unnecessary timeout is raised in a different place (it might actually happen in the BigQuery client itself, too, but would need to investigate a bit deeper to confirm 100%).

  8. plamut commented on Mar 17, 2020

    @plamut
    plamut
    on Mar 17, 2020
    More actions

    How often can the flakiness be observed, and how easy/difficult is to reproduce it locally?

    Also, would it be feasible to set up a CI check that would run the tests with google-auth>=1.11.0 and the current development version of google-cloud-bigquery? Both of these contain a few changes to the timeout-related logic, which might have fixed this already.

  9. product-auto-label
    added
    api: bigqueryIssues related to the googleapis/python-bigquery-pandas API.
    on Jul 17, 2021
  10. tswast commented on Nov 30, 2021

    @tswast
    tswast
    on Nov 30, 2021
    Contributor
    More actions

    Marking as a duplicate of #418

  11. tswast
    closed this as completedon Nov 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    api: bigqueryIssues related to the googleapis/python-bigquery-pandas API.type: questionRequest for information or clarification. Not an issue.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.