beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (BEAM-3411) Test apache_beam.examples.wordcount_it_test.WordCountIT times out
Date Mon, 08 Jan 2018 07:14:00 GMT

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

ASF GitHub Bot commented on BEAM-3411:
--------------------------------------

aaltay closed pull request #4355: [BEAM-3411] Fixing KeyError when on progress update request
URL: https://github.com/apache/beam/pull/4355
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/sdks/python/apache_beam/runners/worker/sdk_worker.py b/sdks/python/apache_beam/runners/worker/sdk_worker.py
index f8ac88d52cb..570371bb77f 100644
--- a/sdks/python/apache_beam/runners/worker/sdk_worker.py
+++ b/sdks/python/apache_beam/runners/worker/sdk_worker.py
@@ -159,10 +159,12 @@ def task():
     self._process_thread_pool.submit(task)
 
   def _request_process_bundle_progress(self, request):
-    worker = self._instruction_id_vs_worker[request.instruction_id]
 
     def task():
-      self._execute(lambda: worker.do_instruction(request), request)
+      self._execute(
+          lambda: self._instruction_id_vs_worker[
+              request.instruction_id].do_instruction(request),
+          request)
 
     self._progress_thread_pool.submit(task)
 


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Test apache_beam.examples.wordcount_it_test.WordCountIT times out
> -----------------------------------------------------------------
>
>                 Key: BEAM-3411
>                 URL: https://issues.apache.org/jira/browse/BEAM-3411
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-py-core
>            Reporter: Henning Rohde
>            Assignee: Ankur Goenka
>
> Failed run: https://builds.apache.org/job/beam_PostCommit_Python_Verify/3876/console
> Log snippet:
> test_wordcount_fnapi_it (apache_beam.examples.wordcount_it_test.WordCountIT) ... ERROR
> ======================================================================
> ERROR: test_wordcount_fnapi_it (apache_beam.examples.wordcount_it_test.WordCountIT)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/src/sdks/python/.eggs/nose-1.3.7-py2.7.egg/nose/plugins/multiprocess.py",
line 812, in run
>     test(orig)
>   File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/src/sdks/python/.eggs/nose-1.3.7-py2.7.egg/nose/case.py",
line 45, in __call__
>     return self.run(*arg, **kwarg)
>   File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/src/sdks/python/.eggs/nose-1.3.7-py2.7.egg/nose/case.py",
line 133, in run
>     self.runTest(result)
>   File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/src/sdks/python/.eggs/nose-1.3.7-py2.7.egg/nose/case.py",
line 151, in runTest
>     test(result)
>   File "/usr/lib/python2.7/unittest/case.py", line 395, in __call__
>     return self.run(*args, **kwds)
>   File "/usr/lib/python2.7/unittest/case.py", line 331, in run
>     testMethod()
>   File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/src/sdks/python/apache_beam/examples/wordcount_it_test.py",
line 77, in test_wordcount_fnapi_it
>     on_success_matcher=PipelineStateMatcher()))
>   File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/src/sdks/python/apache_beam/examples/wordcount_fnapi.py",
line 130, in run
>     result.wait_until_finish()
>   File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/src/sdks/python/apache_beam/runners/dataflow/dataflow_runner.py",
line 956, in wait_until_finish
>     time.sleep(5.0)
>   File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/src/sdks/python/.eggs/nose-1.3.7-py2.7.egg/nose/plugins/multiprocess.py",
line 276, in signalhandler
>     raise TimedOutException()
> TimedOutException: 'test_wordcount_fnapi_it (apache_beam.examples.wordcount_it_test.WordCountIT)'
> ----------------------------------------------------------------------
> Ran 3 tests in 901.290s
> FAILED (errors=1)
> Build step 'Execute shell' marked build as failure



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message