You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Beam JIRA Bot (Jira)" <ji...@apache.org> on 2020/08/10 17:08:23 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=17174789#comment-17174789 ]
Beam JIRA Bot commented on BEAM-6370:
-------------------------------------
This issue is P2 but has been unassigned without any comment for 60 days so it has been labeled "stale-P2". If this issue is still affecting you, we care! Please comment and remove the label. Otherwise, in 14 days the issue will be moved to P3.
Please see https://beam.apache.org/contribute/jira-priorities/ for a detailed explanation of what these priorities mean.
> 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
> Priority: P2
> Labels: stale-P2
>
> 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
(v8.3.4#803005)