Daniel Oliveira created BEAM-7669:
-------------------------------------
Summary: [beam_PostCommit_Python3_Verify]
[test_big_query_write_new_types] AssertionError, expected data but got empty
result
Key: BEAM-7669
URL: https://issues.apache.org/jira/browse/BEAM-7669
Project: Beam
Issue Type: Bug
Components: test-failures
Reporter: Daniel Oliveira
Assignee: Valentyn Tymofieiev
_Use this form to file an issue for test failure:_
* [Jenkins
Job|https://builds.apache.org/job/beam_PostCommit_Python3_Verify/1269/]
* [Gradle Build Scan|https://scans.gradle.com/s/tkx67xvesxujq]
* [Test source
code|https://github.com/apache/beam/blob/07190ee6063743ce20bda1e14c314c5f9f987f50/sdks/python/apache_beam/io/gcp/bigquery_write_it_test.py#L163]
Initial investigation:
This seems to be the cause of the error according to the Gradle build scan.
{noformat}
Traceback (most recent call last):
File
"/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python3_Verify/src/sdks/python/apache_beam
/io/gcp/bigquery_write_it_test.py", line 206, in test_big_query_write_new_types
write_disposition=beam.io.BigQueryDisposition.WRITE_EMPTY))
File
"/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python3_Verify/src/sdks/python/apache_beam/pipeline.py",
line 426, in __exit__
self.run().wait_until_finish()
File
"/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python3_Verify/src/sdks/python/apache_beam/pipeline.py",
line 406, in run
self._options).run(False)
File
"/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python3_Verify/src/sdks/python/apache_beam/pipeline.py",
line 419, in run
return self.runner.run_pipeline(self, self._options)
File
"/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python3_Verify/src/sdks/python/apache_beam/runners/direct/test_direct_runner.py",
line 51, in run_pipeline
hc_assert_that(self.result, pickler.loads(on_success_matcher))
AssertionError:
Expected: (Expected data is [(b'xyw', datetime.date(2011, 1, 1),
datetime.time(23, 59, 59, 999999)), (b'abc', datetime.date(2000, 1, 1),
datetime.time(0, 0)), (b'\xe4\xbd\xa0\xe5\xa5\xbd', datetime.date(3000, 12,
31), datetime.time(23, 59, 59)), (b'\xab\xac\xad', datetime.date(2000, 1, 1),
datetime.time(0, 0))])
but:
{noformat}
----
_After you've filled out the above details, please [assign the issue to an
individual|https://beam.apache.org/contribute/postcommits-guides/index.html#find_specialist].
Assignee should [treat test failures as
high-priority|https://beam.apache.org/contribute/postcommits-policies/#assigned-failing-test],
helping to fix the issue or find a more appropriate owner. See [Apache Beam
Post-Commit Policies|https://beam.apache.org/contribute/postcommits-policies]._
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)