You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2022/06/03 23:43:58 UTC
[GitHub] [beam] kennknowles opened a new issue, #19319: Flaky python3 test in Python PreCommit
kennknowles opened a new issue, #19319:
URL: https://github.com/apache/beam/issues/19319
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:
```
======================================================================
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 << --------------------
```
[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.
Imported from Jira [BEAM-6370](https://issues.apache.org/jira/browse/BEAM-6370). Original Jira may contain additional context.
Reported by: rdub.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@beam.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org