You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Ryan Williams (JIRA)" <ji...@apache.org> on 2019/01/05 03:13:00 UTC

[jira] [Commented] (BEAM-6370) Flaky python3 test in Python PreCommit

    [ https://issues.apache.org/jira/browse/BEAM-6370?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16734752#comment-16734752 ] 

Ryan Williams commented on BEAM-6370:
-------------------------------------

Looks like this is a dupe of BEAM-6280, I didn't see [~boyuanz]'s [comment|https://github.com/apache/beam/pull/7408#issuecomment-451576312] before I filed

> 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: Jason Kuster
>            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)