[ 
https://issues.apache.org/jira/browse/BEAM-7182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Valentyn Tymofieiev resolved BEAM-7182.
---------------------------------------
       Resolution: Fixed
         Assignee: Valentyn Tymofieiev
    Fix Version/s: Not applicable

> Python 3.6 IT tests: Table was not found in location US
> -------------------------------------------------------
>
>                 Key: BEAM-7182
>                 URL: https://issues.apache.org/jira/browse/BEAM-7182
>             Project: Beam
>          Issue Type: Sub-task
>          Components: sdk-py-core
>            Reporter: Juta Staes
>            Assignee: Valentyn Tymofieiev
>            Priority: Minor
>             Fix For: Not applicable
>
>
> Several test fail in the 
> beam-sdks-python-test-suites-dataflow-py36:postCommitIT with the following 
> error
> {code:java}
>  19:13:04 
> ======================================================================
> 19:13:04 ERROR: test_leader_board_it 
> (apache_beam.examples.complete.game.leader_board_it_test.LeaderBoardIT)
> 19:13:04 
> ----------------------------------------------------------------------
> 19:13:04 Traceback (most recent call last):
> 19:13:04   File 
> "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python3_Verify_PR/src/sdks/python/apache_beam/examples/complete/game/leader_board_it_test.py",
>  line 152, in test_leader_board_it
> 19:13:04     self.test_pipeline.get_full_options_as_args(**extra_opts))
> 19:13:04   File 
> "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python3_Verify_PR/src/sdks/python/apache_beam/examples/complete/game/leader_board.py",
>  line 348, in run
> 19:13:04     }, options.view_as(GoogleCloudOptions).project))
> 19:13:04   File 
> "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python3_Verify_PR/src/sdks/python/apache_beam/pipeline.py",
>  line 426, in __exit__
> 19:13:04     self.run().wait_until_finish()
> 19:13:04   File 
> "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python3_Verify_PR/src/sdks/python/apache_beam/pipeline.py",
>  line 406, in run
> 19:13:04     self._options).run(False)
> 19:13:04   File 
> "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python3_Verify_PR/src/sdks/python/apache_beam/pipeline.py",
>  line 419, in run
> 19:13:04     return self.runner.run_pipeline(self, self._options)
> 19:13:04   File 
> "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python3_Verify_PR/src/sdks/python/apache_beam/runners/dataflow/test_dataflow_runner.py",
>  line 68, in run_pipeline
> 19:13:04     hc_assert_that(self.result, pickler.loads(on_success_matcher))
> 19:13:04   File 
> "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python3_Verify_PR/src/build/gradleenv/-1709362673/lib/python3.6/site-packages/hamcrest/core/assert_that.py",
>  line 43, in assert_that
> 19:13:04     _assert_match(actual=arg1, matcher=arg2, reason=arg3)
> 19:13:04   File 
> "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python3_Verify_PR/src/build/gradleenv/-1709362673/lib/python3.6/site-packages/hamcrest/core/assert_that.py",
>  line 49, in _assert_match
> 19:13:04     if not matcher.matches(actual):
> 19:13:04   File 
> "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python3_Verify_PR/src/build/gradleenv/-1709362673/lib/python3.6/site-packages/hamcrest/core/core/allof.py",
>  line 16, in matches
> 19:13:04     if not matcher.matches(item):
> 19:13:04   File 
> "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python3_Verify_PR/src/build/gradleenv/-1709362673/lib/python3.6/site-packages/hamcrest/core/base_matcher.py",
>  line 28, in matches
> 19:13:04     match_result = self._matches(item)
> 19:13:04   File 
> "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python3_Verify_PR/src/sdks/python/apache_beam/io/gcp/tests/bigquery_matcher.py",
>  line 81, in _matches
> 19:13:04     response = self._query_with_retry(bigquery_client)
> 19:13:04   File 
> "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python3_Verify_PR/src/sdks/python/apache_beam/utils/retry.py",
>  line 208, in wrapper
> 19:13:04     raise_with_traceback(exn, exn_traceback)
> 19:13:04   File 
> "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python3_Verify_PR/src/build/gradleenv/-1709362673/lib/python3.6/site-packages/future/utils/__init__.py",
>  line 419, in raise_with_traceback
> 19:13:04     raise exc.with_traceback(traceback)
> 19:13:04   File 
> "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python3_Verify_PR/src/sdks/python/apache_beam/utils/retry.py",
>  line 195, in wrapper
> 19:13:04     return fun(*args, **kwargs)
> 19:13:04   File 
> "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python3_Verify_PR/src/sdks/python/apache_beam/io/gcp/tests/bigquery_matcher.py",
>  line 98, in _query_with_retry
> 19:13:04     return [row.values() for row in query_job]
> 19:13:04   File 
> "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python3_Verify_PR/src/build/gradleenv/-1709362673/lib/python3.6/site-packages/google/cloud/bigquery/job.py",
>  line 2718, in __iter__
> 19:13:04     return iter(self.result())
> 19:13:04   File 
> "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python3_Verify_PR/src/build/gradleenv/-1709362673/lib/python3.6/site-packages/google/cloud/bigquery/job.py",
>  line 2685, in result
> 19:13:04     super(QueryJob, self).result(timeout=timeout)
> 19:13:04   File 
> "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python3_Verify_PR/src/build/gradleenv/-1709362673/lib/python3.6/site-packages/google/cloud/bigquery/job.py",
>  line 697, in result
> 19:13:04     return super(_AsyncJob, self).result(timeout=timeout)
> 19:13:04   File 
> "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python3_Verify_PR/src/build/gradleenv/-1709362673/lib/python3.6/site-packages/google/api_core/future/polling.py",
>  line 127, in result
> 19:13:04     raise self._exception
> 19:13:04 google.api_core.exceptions.NotFound: 404 Not found: Table 
> apache-beam-testing:leader_board_it_dataset1556552586.leader_board_users was 
> not found in location US
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to