[
https://issues.apache.org/jira/browse/BEAM-6370?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ryan Williams reassigned BEAM-6370:
-----------------------------------
Assignee: Ryan Williams (was: Jason Kuster)
> Flaky python3 test in Python PreCommit
> --------------------------------------
>
> Key: BEAM-6370
> URL: https://issues.apache.org/jira/browse/BEAM-6370
> Project: Beam
> Issue Type: Bug
> Components: testing
> Reporter: Ryan Williams
> Assignee: Ryan Williams
> Priority: Major
>
> These recent Python PreCommit builds all had the
> {{:beam-sdks-python:testPython3}} task fail:
> *
> [3387|https://builds.apache.org/job/beam_PreCommit_Python_Commit/3387/console]
> ([#7408|https://github.com/apache/beam/pull/7408])
> *
> [3385|https://builds.apache.org/job/beam_PreCommit_Python_Commit/3385/console]
> ([#7416|https://github.com/apache/beam/pull/7416])
> *
> [3382|https://builds.apache.org/job/beam_PreCommit_Python_Commit/3382/console]
> ([#7300|https://github.com/apache/beam/pull/7300])
> *
> [3370|https://builds.apache.org/job/beam_PreCommit_Python_Commit/3370/console]
> ([#7407|https://github.com/apache/beam/pull/7407])
> The cause is:
> {code:java}
> ======================================================================
> FAIL: test_error_traceback_includes_user_code
> (apache_beam.runners.portability.portable_runner_test.PortableRunnerTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File
> "/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Python_Commit@2/src/sdks/python/apache_beam/runners/portability/fn_api_runner_test.py",
> line 473, in test_error_traceback_includes_user_code
> self.assertIn('second', message)
> AssertionError: 'second' not found in 'Traceback (most recent call last):\n
> File
> "/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Python_Commit@2/src/sdks/python/apache_beam/runners/portability/fn_api_runner_test.py",
> line 466, in test_error_traceback_includes_user_code\n p |
> beam.Create([0]) | beam.Map(first) # pylint:
> disable=expression-not-assigned\n File
> "/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Python_Commit@2/src/sdks/python/apache_beam/pipeline.py",
> line 425, in __exit__\n self.run().wait_until_finish()\n File
> "/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Python_Commit@2/src/sdks/python/apache_beam/runners/portability/portable_runner.py",
> line 316, in wait_until_finish\n self._job_id, self._state,
> self._last_error_message()))\nRuntimeError: Pipeline
> job-7dd476c6-fc08-41b1-8516-86e218de84b1 failed in state FAILED: start
> <DataInputOperation receivers=[ConsumerSet[Create/Read/Impulse.out0,
> coder=WindowedValueCoder[BytesCoder], len(consumers)=1]]>\n'
> -------------------- >> begin captured logging << --------------------{code}
> [Here's|https://gist.github.com/ryan-williams/33c093cab808841627ef2944f0447e01#file-gistfile1-txt-L50]
> the output from another run of the same test (probably in python 2?) that
> succeeded in 3387. I don't see why it fails (sometimes) on Python 3.
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)