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 TestBigQuery.test_transaction_info is flaky. · Issue #975 · googleapis/python-bigquery

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

Test TestBigQuery.test_transaction_info is flaky. #975

Copy link
Copy link
Closed
#978
Closed
Test TestBigQuery.test_transaction_info is flaky.#975
#978
Copy link
Assignees
tswast
Labels
api: bigqueryIssues related to the googleapis/python-bigquery API.testingtype: processA process-related concern. May include testing, release, or the like.

Description

@jimfulton
jimfulton
opened on Sep 18, 2021
Issue body actions

https://source.cloud.google.com/results/invocations/2ca6ab31-ba0f-4a6b-ab53-55943a5bac42/targets/cloud-devrel%2Fclient-libraries%2Fpython%2Fgoogleapis%2Fpython-bigquery%2Fpresubmit%2Fsystem-3.8/log

This test fails pretty regularly for me.

Activity

  1. product-auto-label
    added
    api: bigqueryIssues related to the googleapis/python-bigquery API.
    on Sep 18, 2021
  2. plamut
    added
    testing
    type: processA process-related concern. May include testing, release, or the like.
    on Sep 20, 2021
  3. tswast commented on Sep 20, 2021

    @tswast
    tswast
    on Sep 20, 2021
    Contributor
    More actions

    I checked the job state for a recent failure:

    {
      "kind": "bigquery#job",
      "etag": "NSFsBEFD1+My1joEvfuzGQ==",
      "id": "precise-truck-742:US.a9a56a2e-836e-4679-add5-941543bfbf8f",
      "selfLink": "https://content-bigquery.googleapis.com/bigquery/v2/projects/precise-truck-742/jobs/a9a56a2e-836e-4679-add5-941543bfbf8f?location=US",
      "user_email": "REDACTED",
      "configuration": {
        "query": {
          "query": "\n            BEGIN TRANSACTION;\n              INSERT INTO `precise-truck-742.python_bigquery_tests_system_bq_system_test_1632082968448.test_dml_statistics`\n              VALUES (\"one\", 1), (\"two\", 2), (\"three\", 3), (\"four\", 4);\n\n              UPDATE `precise-truck-742.python_bigquery_tests_system_bq_system_test_1632082968448.test_dml_statistics`\n              SET bar = bar + 1\n              WHERE bar \u003e 2;\n            COMMIT TRANSACTION;\n        ",
          "priority": "INTERACTIVE",
          "useLegacySql": false
        },
        "jobType": "QUERY"
      },
      "jobReference": {
        "projectId": "precise-truck-742",
        "jobId": "a9a56a2e-836e-4679-add5-941543bfbf8f",
        "location": "US"
      },
      "statistics": {
        "creationTime": "1632082969228",
        "startTime": "1632082969269",
        "endTime": "1632082974219",
        "totalBytesProcessed": "55",
        "query": {
          "totalBytesProcessed": "55",
          "totalBytesBilled": "10485760",
          "totalSlotMs": "19050",
          "statementType": "SCRIPT"
        },
        "totalSlotMs": "19050",
        "numChildJobs": "4"
      },
      "status": {
        "state": "DONE"
      }
    }

    Looks like no transactionInfo key was ever added. I've filed internal issue 200542305 to have the backend team investigate further.

    Reacted by Peter Lamut
  4. tswast commented on Sep 21, 2021

    @tswast
    tswast
    on Sep 21, 2021
    Contributor
    More actions

    According to the backend folks, since a query job can contain multiple transactions, this key is not intended to be present on the parent job. Instead, we need to iterate through the child jobs to find the one that began the transaction.

    They are investigating why transactionInfo appears on the parent job at all (more often than not).

  5. tswast
    self-assigned this
    on Sep 21, 2021
  6. plamut
    closed this as completedin #978on Sep 21, 2021
  7. jimfulton commented on Sep 27, 2021

    @jimfulton
    jimfulton
    on Sep 27, 2021
    ContributorAuthor
    More actions

    Still flaking for me. Was the fix applied to the V3 branch?

    https://source.cloud.google.com/results/invocations/9cbcc219-744b-4309-bdde-86aee021f703/targets/cloud-devrel%2Fclient-libraries%2Fpython%2Fgoogleapis%2Fpython-bigquery%2Fpresubmit%2Fprerelease-deps-3.8/log

  8. jimfulton
    reopened this on Sep 27, 2021
  9. plamut commented on Sep 27, 2021

    @plamut
    plamut
    on Sep 27, 2021
    Contributor
    More actions

    @jimfulton IIRC not yet, I'm waiting on #855 (pretty large!) to get in before syncing v3 with main (it has been fixed in main, though).

  10. tswast commented on Oct 7, 2021

    @tswast
    tswast
    on Oct 7, 2021
    Contributor
    More actions

    Fixed by #996

  11. tswast
    closed this as completedon Oct 7, 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 googleapis/python-bigquery API.testingtype: processA process-related concern. May include testing, release, or the like.

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.