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 — test_sync_query_w_dml has num_dml_affected_rows unset · Issue #3742 · googleapis/google-cloud-python

test_sync_query_w_dml has num_dml_affected_rows unset #3742

New issue
Copy link
New issue
Copy link
Closed
Closed
test_sync_query_w_dml has num_dml_affected_rows unset#3742
Copy link
Assignees
tswast
Labels
api: bigqueryIssues related to the BigQuery API.priority: p2Moderately-important priority. Fix may not be included in next release.

Description

@dhermes
dhermes
opened on Aug 7, 2017
Issue body actions

See: https://circleci.com/gh/GoogleCloudPlatform/google-cloud-python/2753

@tswast Any idea what would cause this "flake" to happen? (Note that the 2.7 system tests in the same build did not have this failure, as well as every other time this test case has run on CI.)

Activity

  1. dhermes
    added
    api: bigqueryIssues related to the BigQuery API.
    flaky
    on Aug 7, 2017
  2. tswast commented on Aug 7, 2017

    @tswast
    tswast
    on Aug 7, 2017
    Contributor
    More actions

    Bah! No clue. I wish we logged the Job ID so that I could pass it on to the backend team to investigate further.

  3. dhermes commented on Aug 7, 2017

    @dhermes
    dhermes
    on Aug 7, 2017
    ContributorAuthor
    More actions

    Are the job IDs generated by the client? If yes, they probably match some specific regex with the build ID in it.

  4. tswast commented on Aug 7, 2017

    @tswast
    tswast
    on Aug 7, 2017
    Contributor
    More actions

    They are in this case, but I didn't think to make them match any specific pattern. https://github.com/GoogleCloudPlatform/google-cloud-python/blob/f034c6121dabfb20cb1cf6b6ae6985b236bfef11/bigquery/google/cloud/bigquery/dbapi/cursor.py#L136

  5. lukesneeringer
    added
    priority: p2Moderately-important priority. Fix may not be included in next release.
    on Aug 7, 2017
  6. dhermes commented on Aug 7, 2017

    @dhermes
    dhermes
    on Aug 7, 2017
    ContributorAuthor
    More actions

    Nice find. Is it worth making it possible to pass in a job_id (so the system test callers can use something unique)?

  7. tswast commented on Aug 7, 2017

    @tswast
    tswast
    on Aug 7, 2017
    Contributor
    More actions

    It doesn't fit the DB-API, but yeah I think we need to have some way to introspect.

  8. dhermes commented on Aug 9, 2017

    @dhermes
    dhermes
    on Aug 9, 2017
    ContributorAuthor
    More actions

    Another failure: https://circleci.com/gh/GoogleCloudPlatform/google-cloud-python/2825

  9. tswast commented on Aug 9, 2017

    @tswast
    tswast
    on Aug 9, 2017
    Contributor
    More actions

    I'll update those tests to set a job ID prefix so it'll be easier to track down.

  10. tswast commented on Aug 9, 2017

    @tswast
    tswast
    on Aug 9, 2017
    Contributor
    More actions

    Ah, one thing it could be is the load job may not have finished. I'll use our handy new Futures API to wait until they are done before doing the DML query.

  11. tswast commented on Aug 9, 2017

    @tswast
    tswast
    on Aug 9, 2017
    Contributor
    More actions

    The other thing to keep in mind is that I'd very much like to remove the sync query method. Hopefully you got my redesign proposal doc?

  12. lukesneeringer commented on Aug 10, 2017

    @lukesneeringer
    lukesneeringer
    on Aug 10, 2017
    Contributor
    More actions

    I did, but we are in fix-it week so I will not read it until Monday.

  13. tswast commented on Aug 10, 2017

    @tswast
    tswast
    on Aug 10, 2017
    Contributor
    More actions

    Unfortunately the query verb doesn't take a job ID, so we'll only be able to debug half the flakes (DB-API, but not sync query). I'll finish my PR for the DB-API part, though.

  14. tswast commented on Oct 24, 2017

    @tswast
    tswast
    on Oct 24, 2017
    Contributor
    More actions

    Closing, as I haven't seen this flake on the bigquery-b2 branch and #4245 is now out to merge that to master.

  15. tswast
    closed this as completedon Oct 24, 2017
  16. JustinBeckwith
    assigned
    tswast
    on Feb 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @tswast
    tswast

Labels

api: bigqueryIssues related to the BigQuery API.priority: p2Moderately-important priority. Fix may not be included in next release.

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.