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 — ITBigQueryTest flakiness · Issue #836 · googleapis/google-cloud-java

ITBigQueryTest flakiness #836

New issue
Copy link
New issue
Copy link
Closed
#986
Closed
ITBigQueryTest flakiness#836
#986
Copy link
Assignees
mziccard
Labels
api: bigqueryIssues related to the BigQuery API.

Description

@ajkannan
ajkannan
opened on Apr 1, 2016
Issue body actions

Recently, these two tests have been failing more often than passing:

testInsertFromFile(com.google.gcloud.bigquery.it.ITBigQueryTest)  Time elapsed: 13.864 sec  <<< FAILURE!
java.lang.AssertionError: expected:<RECORD> but was:<PRIMITIVE>
    at com.google.gcloud.bigquery.it.ITBigQueryTest.testInsertFromFile(ITBigQueryTest.java:939)
testListAllTableData(com.google.gcloud.bigquery.it.ITBigQueryTest)  Time elapsed: 0.291 sec  <<< FAILURE!
java.lang.AssertionError: expected:<RECORD> but was:<PRIMITIVE>
    at com.google.gcloud.bigquery.it.ITBigQueryTest.testListAllTableData(ITBigQueryTest.java:640)

I will comment out these two tests for now, but we should uncomment and diagnose the problem when possible.

Activity

Next
  1. ajkannan
    added
    api: bigqueryIssues related to the BigQuery API.
    testing
    on Apr 1, 2016
  2. aozarov commented on Apr 1, 2016

    @aozarov
    aozarov
    on Apr 1, 2016
    Contributor
    More actions

    /cc @mziccard

  3. mziccard commented on Apr 1, 2016

    @mziccard
    mziccard
    on Apr 1, 2016
    Contributor
    More actions

    This is a super weird error. What seems to be happening is that both a load job and a resumable upload fail to correctly insert rows from JSON. Rows are inserted but they're missing their record field.

    The JSON we are inserting is:

    {"TimestampField": "2014-08-19 07:41:35.220 -05:00","StringField": "stringValue","IntegerField": ["0", "1"],"BooleanField": "false","RecordField": {"TimestampField": "1969-07-20 20:18:04 UTC","StringField": null,"IntegerField": ["1","0"],"BooleanField": "true"}}
    {"TimestampField": "2014-08-19 07:41:35.220 -05:00","StringField": "stringValue","IntegerField": ["0", "1"],"BooleanField": "false","RecordField": {"TimestampField": "1969-07-20 20:18:04 UTC","StringField": null,"IntegerField": ["1","0"],"BooleanField": "true"}}

    Interestingly the load job succeeds:

    "status": {
      "state": "DONE"
     }

    And its statistics match the input file:

    "statistics": {
      "creationTime": "1459547849376",
      "startTime": "1459547850058",
      "endTime": "1459547855974",
      "load": {
       "inputFiles": "1",
       "inputFileBytes": "525",
       "outputRows": "2",
       "outputBytes": "126"
      }
     }

    Maybe @jcondit and @jtigani can help us on this.

  4. jcondit commented on Apr 1, 2016

    @jcondit
    jcondit
    on Apr 1, 2016
    More actions

    Can you provide table IDs and job IDs? How are you determining that the record field is absent (i.e., how are you reading the table)?

  5. mziccard commented on Apr 1, 2016

    @mziccard
    mziccard
    on Apr 1, 2016
    Contributor
    More actions

    We read the table with tabledata:list and it returns:

    {
     "kind": "bigquery#tableDataList",
     "etag": "\"3lJH3XPQlFznBcrQRCytdsfdVIE/OcHGzn4HN1HVkVrJNbQnMuHcIn0\"",
     "totalRows": "2",
     "rows": [
      {
       "f": [
        {
         "v": "1.40845209522E9"
        },
        {
         "v": "stringValue"
        },
        {
         "v": [
          {
           "v": "0"
          },
          {
           "v": "1"
          }
         ]
        },
        {
         "v": "false"
        },
        {
         "v": null
        }
       ]
      },
      {
       "f": [
        {
         "v": "1.40845209522E9"
        },
        {
         "v": "stringValue"
        },
        {
         "v": [
          {
           "v": "0"
          },
          {
           "v": "1"
          }
         ]
        },
        {
         "v": "false"
        },
        {
         "v": null
        }
       ]
      }
     ]
    }

    as you can see record fields are null.

    • Project: gcloud-devel
    • Dataset: gcloud_test_dataset_temp_7f053b09_17fd_4aad_8b15_61f0948026d5
    • Table: testing_table
    • Job: job_Jyva8RqK7kwSxZlV1ewlbTe5J00
  6. mziccard commented on Apr 12, 2016

    @mziccard
    mziccard
    on Apr 12, 2016
    Contributor
    More actions

    Ehi @jcondit any update on this?

  7. mziccard commented on Apr 28, 2016

    @mziccard
    mziccard
    on Apr 28, 2016
    Contributor
    More actions

    When this issue was filed flaky tests were failing very often, today I managed to run them 10 times I had a success rate of 10/10. @jcondit did something change? Any feedback would be valuable.

  8. jcondit commented on Apr 29, 2016

    @jcondit
    jcondit
    on Apr 29, 2016
    More actions

    Apologies for dropping this earlier! I suspect this was https://code.google.com/p/google-bigquery/issues/detail?id=503, which was just fixed. (You might consider filing future issues over there or internally to reach a wider audience.)

  9. mziccard commented on Apr 29, 2016

    @mziccard
    mziccard
    on Apr 29, 2016
    Contributor
    More actions

    Thanks @jcondit happy to hear this is fixed now. I'll file it internally next time, just wanted to be super-sure before bothering you guys.

  10. mziccard
    closed this as completedin #986on May 6, 2016
  11. JustinBeckwith
    assigned
    mziccard
    on Feb 1, 2021
  12. github-actions
    added a commit that references this issue on Jun 21, 2022

    chore: skip formatting generated samples (#1456) (#836)

    42587c3
  13. github-actions
    added a commit that references this issue on Jul 1, 2022

    chore(main): release 2.7.0 (googleapis#858)

    b685d55
  14. github-actions
    added a commit that references this issue on Jul 14, 2022

    chore(deps): update dependency com.google.cloud:libraries-bom to v26 (#…

    4c7cf68
  15. 8 remaining items

  16. suztomo
    added 2 commits that reference this issue on Feb 1, 2023

    chore(main): release 2.8.0 (#837)

    90b7680

    chore: upgrade native image downstream check to 22.2.0 (#836)

    1e06860
  17. gcf-owl-bot
    added a commit that references this issue on Jul 25, 2023

    feat: Update Compute Engine API to revision 20230711 (#836)

    a229190
  18. JoeWang1127
    added a commit that references this issue on Aug 2, 2023

    feat: [compute] Update Compute Engine API to revision 20230711 (#836) (…

    0f6b9f2
  19. meltsufin
    added a commit that references this issue on Dec 22, 2025

    build(deps): update dependency com.google.cloud:google-cloud-shared-c…

    89ea4c2
  20. chingor13
    added a commit that references this issue on Jan 6, 2026

    chore(deps): update dependency com.google.cloud:google-cloud-logging-…

    7d87b25
  21. chingor13
    added a commit that references this issue on Jan 22, 2026

    chore(main): release 2.11.5-SNAPSHOT (#836)

    283d04e
  22. suztomo
    added a commit that references this issue on Mar 11, 2026

    build(deps): update dependency com.google.cloud:google-cloud-shared-c…

    5101b0e
  23. suztomo
    added a commit that references this issue on Mar 30, 2026

    chore(deps): update dependency com.google.cloud:google-cloud-nio to v…

    54c36f5
  24. lqiu96
    added a commit that references this issue on Apr 1, 2026

    chore(deps): update dependency com.google.cloud:google-cloud-nio to v…

    1c2db33
  25. meltsufin
    added 4 commits that reference this issue on Apr 29, 2026

    deps: update dependency com.google.cloud:google-cloud-shared-dependen…

    39770c9

    chore: release 1.114.4 (#844)

    58f03ea

    deps: update dependency com.google.cloud:google-cloud-shared-dependen…

    cdf4265

    chore: release 1.114.4 (#844)

    eac9b2d
  26. benjaminp
    added a commit that references this issue on Jul 13, 2026

    chore: release 1.26.0 (googleapis#836)

    57ee5ef
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @mziccard
    mziccard

Labels

api: bigqueryIssues related to the BigQuery API.

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.