You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2018/02/06 15:20:43 UTC

Build failed in Jenkins: beam_PostCommit_Python_Verify #4157

See <https://builds.apache.org/job/beam_PostCommit_Python_Verify/4157/display/redirect>

------------------------------------------
[...truncated 1.53 MB...]
  File "apache_beam/runners/common.py", line 270, in apache_beam.runners.common.SimpleInvoker.invoke_process (apache_beam/runners/common.c:9084)
    windowed_value, self.process_method(windowed_value.value))
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/transforms/core.py",> line 1453, in process
    k, vs = element
TypeError: 'KeyedWorkItem' object is not iterable [while running 'assert_that/Group/GroupByKey/GroupByWindow']

root: ERROR: Giving up after 4 attempts.
--------------------- >> end captured logging << ---------------------

======================================================================
ERROR: test_gbk_execution (apache_beam.testing.test_stream_test.TestStreamTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/testing/test_stream_test.py",> line 148, in test_gbk_execution
    p.run()
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/testing/test_pipeline.py",> line 104, in run
    state = result.wait_until_finish()
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/direct_runner.py",> line 318, in wait_until_finish
    self._executor.await_completion()
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 358, in await_completion
    self._executor.await_completion()
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 305, in call
    side_input_values)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 338, in attempt_call
    evaluator.process_element(value)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/transform_evaluator.py",> line 560, in process_element
    self.runner.process(element)
  File "apache_beam/runners/common.py", line 468, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13915)
    def process(self, windowed_value):
  File "apache_beam/runners/common.py", line 474, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13719)
    self._reraise_augmented(exn)
  File "apache_beam/runners/common.py", line 515, in apache_beam.runners.common.DoFnRunner._reraise_augmented (apache_beam/runners/common.c:14934)
    raise new_exn, None, original_traceback
  File "apache_beam/runners/common.py", line 472, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13632)
    self.do_fn_invoker.invoke_process(windowed_value)
  File "apache_beam/runners/common.py", line 270, in apache_beam.runners.common.SimpleInvoker.invoke_process (apache_beam/runners/common.c:9084)
    windowed_value, self.process_method(windowed_value.value))
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/transforms/core.py",> line 1453, in process
    k, vs = element
TypeError: 'KeyedWorkItem' object is not iterable [while running 'assert_that/Group/GroupByKey/GroupByWindow']
-------------------- >> begin captured logging << --------------------
root: INFO: Missing pipeline option (runner). Executing pipeline using the default runner: DirectRunner.
root: INFO: Running pipeline with DirectRunner.
root: ERROR: Exception at bundle <apache_beam.runners.direct.bundle_factory._Bundle object at 0x7f65fd751cb0>, due to an exception.
 Traceback (most recent call last):
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 305, in call
    side_input_values)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 338, in attempt_call
    evaluator.process_element(value)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/transform_evaluator.py",> line 560, in process_element
    self.runner.process(element)
  File "apache_beam/runners/common.py", line 468, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13915)
    def process(self, windowed_value):
  File "apache_beam/runners/common.py", line 474, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13719)
    self._reraise_augmented(exn)
  File "apache_beam/runners/common.py", line 515, in apache_beam.runners.common.DoFnRunner._reraise_augmented (apache_beam/runners/common.c:14934)
    raise new_exn, None, original_traceback
  File "apache_beam/runners/common.py", line 472, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13632)
    self.do_fn_invoker.invoke_process(windowed_value)
  File "apache_beam/runners/common.py", line 270, in apache_beam.runners.common.SimpleInvoker.invoke_process (apache_beam/runners/common.c:9084)
    windowed_value, self.process_method(windowed_value.value))
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/transforms/core.py",> line 1453, in process
    k, vs = element
TypeError: 'KeyedWorkItem' object is not iterable [while running 'assert_that/Group/GroupByKey/GroupByWindow']

root: ERROR: Exception at bundle <apache_beam.runners.direct.bundle_factory._Bundle object at 0x7f65fd751cb0>, due to an exception.
 Traceback (most recent call last):
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 305, in call
    side_input_values)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 338, in attempt_call
    evaluator.process_element(value)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/transform_evaluator.py",> line 560, in process_element
    self.runner.process(element)
  File "apache_beam/runners/common.py", line 468, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13915)
    def process(self, windowed_value):
  File "apache_beam/runners/common.py", line 474, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13719)
    self._reraise_augmented(exn)
  File "apache_beam/runners/common.py", line 515, in apache_beam.runners.common.DoFnRunner._reraise_augmented (apache_beam/runners/common.c:14934)
    raise new_exn, None, original_traceback
  File "apache_beam/runners/common.py", line 472, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13632)
    self.do_fn_invoker.invoke_process(windowed_value)
  File "apache_beam/runners/common.py", line 270, in apache_beam.runners.common.SimpleInvoker.invoke_process (apache_beam/runners/common.c:9084)
    windowed_value, self.process_method(windowed_value.value))
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/transforms/core.py",> line 1453, in process
    k, vs = element
TypeError: 'KeyedWorkItem' object is not iterable [while running 'assert_that/Group/GroupByKey/GroupByWindow']

root: ERROR: Exception at bundle <apache_beam.runners.direct.bundle_factory._Bundle object at 0x7f65fd751cb0>, due to an exception.
 Traceback (most recent call last):
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 305, in call
    side_input_values)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 338, in attempt_call
    evaluator.process_element(value)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/transform_evaluator.py",> line 560, in process_element
    self.runner.process(element)
  File "apache_beam/runners/common.py", line 468, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13915)
    def process(self, windowed_value):
  File "apache_beam/runners/common.py", line 474, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13719)
    self._reraise_augmented(exn)
  File "apache_beam/runners/common.py", line 515, in apache_beam.runners.common.DoFnRunner._reraise_augmented (apache_beam/runners/common.c:14934)
    raise new_exn, None, original_traceback
  File "apache_beam/runners/common.py", line 472, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13632)
    self.do_fn_invoker.invoke_process(windowed_value)
  File "apache_beam/runners/common.py", line 270, in apache_beam.runners.common.SimpleInvoker.invoke_process (apache_beam/runners/common.c:9084)
    windowed_value, self.process_method(windowed_value.value))
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/transforms/core.py",> line 1453, in process
    k, vs = element
TypeError: 'KeyedWorkItem' object is not iterable [while running 'assert_that/Group/GroupByKey/GroupByWindow']

root: ERROR: Exception at bundle <apache_beam.runners.direct.bundle_factory._Bundle object at 0x7f65fd751cb0>, due to an exception.
 Traceback (most recent call last):
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 305, in call
    side_input_values)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 338, in attempt_call
    evaluator.process_element(value)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/transform_evaluator.py",> line 560, in process_element
    self.runner.process(element)
  File "apache_beam/runners/common.py", line 468, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13915)
    def process(self, windowed_value):
  File "apache_beam/runners/common.py", line 474, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13719)
    self._reraise_augmented(exn)
  File "apache_beam/runners/common.py", line 515, in apache_beam.runners.common.DoFnRunner._reraise_augmented (apache_beam/runners/common.c:14934)
    raise new_exn, None, original_traceback
  File "apache_beam/runners/common.py", line 472, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13632)
    self.do_fn_invoker.invoke_process(windowed_value)
  File "apache_beam/runners/common.py", line 270, in apache_beam.runners.common.SimpleInvoker.invoke_process (apache_beam/runners/common.c:9084)
    windowed_value, self.process_method(windowed_value.value))
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/transforms/core.py",> line 1453, in process
    k, vs = element
TypeError: 'KeyedWorkItem' object is not iterable [while running 'assert_that/Group/GroupByKey/GroupByWindow']

root: ERROR: Giving up after 4 attempts.
root: WARNING: A task failed with exception: 'KeyedWorkItem' object is not iterable [while running 'assert_that/Group/GroupByKey/GroupByWindow']
root: ERROR: Exception at bundle <apache_beam.runners.direct.bundle_factory._Bundle object at 0x7f65fd7516c8>, due to an exception.
 Traceback (most recent call last):
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 305, in call
    side_input_values)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 338, in attempt_call
    evaluator.process_element(value)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/transform_evaluator.py",> line 560, in process_element
    self.runner.process(element)
  File "apache_beam/runners/common.py", line 468, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13915)
    def process(self, windowed_value):
  File "apache_beam/runners/common.py", line 474, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13719)
    self._reraise_augmented(exn)
  File "apache_beam/runners/common.py", line 515, in apache_beam.runners.common.DoFnRunner._reraise_augmented (apache_beam/runners/common.c:14934)
    raise new_exn, None, original_traceback
  File "apache_beam/runners/common.py", line 472, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13632)
    self.do_fn_invoker.invoke_process(windowed_value)
  File "apache_beam/runners/common.py", line 270, in apache_beam.runners.common.SimpleInvoker.invoke_process (apache_beam/runners/common.c:9084)
    windowed_value, self.process_method(windowed_value.value))
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/transforms/core.py",> line 1453, in process
    k, vs = element
TypeError: 'KeyedWorkItem' object is not iterable [while running 'GroupByKey/GroupByWindow']

root: ERROR: Exception at bundle <apache_beam.runners.direct.bundle_factory._Bundle object at 0x7f65fd7516c8>, due to an exception.
 Traceback (most recent call last):
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 305, in call
    side_input_values)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 338, in attempt_call
    evaluator.process_element(value)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/transform_evaluator.py",> line 560, in process_element
    self.runner.process(element)
  File "apache_beam/runners/common.py", line 468, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13915)
    def process(self, windowed_value):
  File "apache_beam/runners/common.py", line 474, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13719)
    self._reraise_augmented(exn)
  File "apache_beam/runners/common.py", line 515, in apache_beam.runners.common.DoFnRunner._reraise_augmented (apache_beam/runners/common.c:14934)
    raise new_exn, None, original_traceback
  File "apache_beam/runners/common.py", line 472, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13632)
    self.do_fn_invoker.invoke_process(windowed_value)
  File "apache_beam/runners/common.py", line 270, in apache_beam.runners.common.SimpleInvoker.invoke_process (apache_beam/runners/common.c:9084)
    windowed_value, self.process_method(windowed_value.value))
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/transforms/core.py",> line 1453, in process
    k, vs = element
TypeError: 'KeyedWorkItem' object is not iterable [while running 'GroupByKey/GroupByWindow']

root: ERROR: Exception at bundle <apache_beam.runners.direct.bundle_factory._Bundle object at 0x7f65fd7516c8>, due to an exception.
 Traceback (most recent call last):
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 305, in call
    side_input_values)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 338, in attempt_call
    evaluator.process_element(value)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/transform_evaluator.py",> line 560, in process_element
    self.runner.process(element)
  File "apache_beam/runners/common.py", line 468, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13915)
    def process(self, windowed_value):
  File "apache_beam/runners/common.py", line 474, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13719)
    self._reraise_augmented(exn)
  File "apache_beam/runners/common.py", line 515, in apache_beam.runners.common.DoFnRunner._reraise_augmented (apache_beam/runners/common.c:14934)
    raise new_exn, None, original_traceback
  File "apache_beam/runners/common.py", line 472, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13632)
    self.do_fn_invoker.invoke_process(windowed_value)
  File "apache_beam/runners/common.py", line 270, in apache_beam.runners.common.SimpleInvoker.invoke_process (apache_beam/runners/common.c:9084)
    windowed_value, self.process_method(windowed_value.value))
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/transforms/core.py",> line 1453, in process
    k, vs = element
TypeError: 'KeyedWorkItem' object is not iterable [while running 'GroupByKey/GroupByWindow']

root: ERROR: Exception at bundle <apache_beam.runners.direct.bundle_factory._Bundle object at 0x7f65fd7516c8>, due to an exception.
 Traceback (most recent call last):
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 305, in call
    side_input_values)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 338, in attempt_call
    evaluator.process_element(value)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/transform_evaluator.py",> line 560, in process_element
    self.runner.process(element)
  File "apache_beam/runners/common.py", line 468, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13915)
    def process(self, windowed_value):
  File "apache_beam/runners/common.py", line 474, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13719)
    self._reraise_augmented(exn)
  File "apache_beam/runners/common.py", line 515, in apache_beam.runners.common.DoFnRunner._reraise_augmented (apache_beam/runners/common.c:14934)
    raise new_exn, None, original_traceback
  File "apache_beam/runners/common.py", line 472, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13632)
    self.do_fn_invoker.invoke_process(windowed_value)
  File "apache_beam/runners/common.py", line 270, in apache_beam.runners.common.SimpleInvoker.invoke_process (apache_beam/runners/common.c:9084)
    windowed_value, self.process_method(windowed_value.value))
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/transforms/core.py",> line 1453, in process
    k, vs = element
TypeError: 'KeyedWorkItem' object is not iterable [while running 'GroupByKey/GroupByWindow']

root: ERROR: Giving up after 4 attempts.
--------------------- >> end captured logging << ---------------------

======================================================================
FAIL: test_using_slow_impl (apache_beam.coders.slow_coders_test.SlowCoders)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/coders/slow_coders_test.py",> line 41, in test_using_slow_impl
    import apache_beam.coders.stream
AssertionError: ImportError not raised

----------------------------------------------------------------------
Ran 1544 tests in 251.355s

FAILED (failures=1, errors=3, skipped=42)
Test failed: <unittest.runner.TextTestResult run=1544 errors=3 failures=1>
error: Test failed: <unittest.runner.TextTestResult run=1544 errors=3 failures=1>
ERROR: InvocationError: '<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/target/.tox/py27gcp/bin/python> setup.py test'
___________________________________ summary ____________________________________
ERROR:   cover: commands failed
  docs: commands succeeded
  lint: commands succeeded
ERROR:   py27: commands failed
ERROR:   py27cython: commands failed
ERROR:   py27gcp: commands failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user ccy@google.com
Not sending mail to unregistered user aljoscha.krettek@gmail.com

Jenkins build is back to normal : beam_PostCommit_Python_Verify #4163

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/beam_PostCommit_Python_Verify/4163/display/redirect?page=changes>


Build failed in Jenkins: beam_PostCommit_Python_Verify #4162

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/beam_PostCommit_Python_Verify/4162/display/redirect?page=changes>

Changes:

[kedin] Refactor BeamRecordType and BeamRecord

------------------------------------------
[...truncated 1.53 MB...]
root: ERROR: Giving up after 4 attempts.
root: WARNING: A task failed with exception: 'KeyedWorkItem' object is not iterable [while running 'assert_that/Group/GroupByKey/GroupByWindow']
--------------------- >> end captured logging << ---------------------

======================================================================
ERROR: test_gbk_execution (apache_beam.testing.test_stream_test.TestStreamTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/testing/test_stream_test.py",> line 148, in test_gbk_execution
    p.run()
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/testing/test_pipeline.py",> line 104, in run
    state = result.wait_until_finish()
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/direct_runner.py",> line 318, in wait_until_finish
    self._executor.await_completion()
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 358, in await_completion
    self._executor.await_completion()
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 305, in call
    side_input_values)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 338, in attempt_call
    evaluator.process_element(value)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/transform_evaluator.py",> line 560, in process_element
    self.runner.process(element)
  File "apache_beam/runners/common.py", line 468, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13915)
    def process(self, windowed_value):
  File "apache_beam/runners/common.py", line 474, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13719)
    self._reraise_augmented(exn)
  File "apache_beam/runners/common.py", line 515, in apache_beam.runners.common.DoFnRunner._reraise_augmented (apache_beam/runners/common.c:14934)
    raise new_exn, None, original_traceback
  File "apache_beam/runners/common.py", line 472, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13632)
    self.do_fn_invoker.invoke_process(windowed_value)
  File "apache_beam/runners/common.py", line 270, in apache_beam.runners.common.SimpleInvoker.invoke_process (apache_beam/runners/common.c:9084)
    windowed_value, self.process_method(windowed_value.value))
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/transforms/core.py",> line 1453, in process
    k, vs = element
TypeError: 'KeyedWorkItem' object is not iterable [while running 'assert_that/Group/GroupByKey/GroupByWindow']
-------------------- >> begin captured logging << --------------------
root: INFO: Missing pipeline option (runner). Executing pipeline using the default runner: DirectRunner.
root: INFO: Running pipeline with DirectRunner.
root: ERROR: Exception at bundle <apache_beam.runners.direct.bundle_factory._Bundle object at 0x7f8197bde560>, due to an exception.
 Traceback (most recent call last):
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 305, in call
    side_input_values)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 338, in attempt_call
    evaluator.process_element(value)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/transform_evaluator.py",> line 560, in process_element
    self.runner.process(element)
  File "apache_beam/runners/common.py", line 468, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13915)
    def process(self, windowed_value):
  File "apache_beam/runners/common.py", line 474, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13719)
    self._reraise_augmented(exn)
  File "apache_beam/runners/common.py", line 515, in apache_beam.runners.common.DoFnRunner._reraise_augmented (apache_beam/runners/common.c:14934)
    raise new_exn, None, original_traceback
  File "apache_beam/runners/common.py", line 472, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13632)
    self.do_fn_invoker.invoke_process(windowed_value)
  File "apache_beam/runners/common.py", line 270, in apache_beam.runners.common.SimpleInvoker.invoke_process (apache_beam/runners/common.c:9084)
    windowed_value, self.process_method(windowed_value.value))
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/transforms/core.py",> line 1453, in process
    k, vs = element
TypeError: 'KeyedWorkItem' object is not iterable [while running 'assert_that/Group/GroupByKey/GroupByWindow']

root: ERROR: Exception at bundle <apache_beam.runners.direct.bundle_factory._Bundle object at 0x7f8197bde560>, due to an exception.
 Traceback (most recent call last):
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 305, in call
    side_input_values)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 338, in attempt_call
    evaluator.process_element(value)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/transform_evaluator.py",> line 560, in process_element
    self.runner.process(element)
  File "apache_beam/runners/common.py", line 468, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13915)
    def process(self, windowed_value):
  File "apache_beam/runners/common.py", line 474, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13719)
    self._reraise_augmented(exn)
  File "apache_beam/runners/common.py", line 515, in apache_beam.runners.common.DoFnRunner._reraise_augmented (apache_beam/runners/common.c:14934)
    raise new_exn, None, original_traceback
  File "apache_beam/runners/common.py", line 472, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13632)
    self.do_fn_invoker.invoke_process(windowed_value)
  File "apache_beam/runners/common.py", line 270, in apache_beam.runners.common.SimpleInvoker.invoke_process (apache_beam/runners/common.c:9084)
    windowed_value, self.process_method(windowed_value.value))
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/transforms/core.py",> line 1453, in process
    k, vs = element
TypeError: 'KeyedWorkItem' object is not iterable [while running 'assert_that/Group/GroupByKey/GroupByWindow']

root: ERROR: Exception at bundle <apache_beam.runners.direct.bundle_factory._Bundle object at 0x7f8197bde560>, due to an exception.
 Traceback (most recent call last):
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 305, in call
    side_input_values)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 338, in attempt_call
    evaluator.process_element(value)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/transform_evaluator.py",> line 560, in process_element
    self.runner.process(element)
  File "apache_beam/runners/common.py", line 468, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13915)
    def process(self, windowed_value):
  File "apache_beam/runners/common.py", line 474, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13719)
    self._reraise_augmented(exn)
  File "apache_beam/runners/common.py", line 515, in apache_beam.runners.common.DoFnRunner._reraise_augmented (apache_beam/runners/common.c:14934)
    raise new_exn, None, original_traceback
  File "apache_beam/runners/common.py", line 472, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13632)
    self.do_fn_invoker.invoke_process(windowed_value)
  File "apache_beam/runners/common.py", line 270, in apache_beam.runners.common.SimpleInvoker.invoke_process (apache_beam/runners/common.c:9084)
    windowed_value, self.process_method(windowed_value.value))
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/transforms/core.py",> line 1453, in process
    k, vs = element
TypeError: 'KeyedWorkItem' object is not iterable [while running 'assert_that/Group/GroupByKey/GroupByWindow']

root: ERROR: Exception at bundle <apache_beam.runners.direct.bundle_factory._Bundle object at 0x7f8197bde560>, due to an exception.
 Traceback (most recent call last):
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 305, in call
    side_input_values)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 338, in attempt_call
    evaluator.process_element(value)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/transform_evaluator.py",> line 560, in process_element
    self.runner.process(element)
  File "apache_beam/runners/common.py", line 468, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13915)
    def process(self, windowed_value):
  File "apache_beam/runners/common.py", line 474, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13719)
    self._reraise_augmented(exn)
  File "apache_beam/runners/common.py", line 515, in apache_beam.runners.common.DoFnRunner._reraise_augmented (apache_beam/runners/common.c:14934)
    raise new_exn, None, original_traceback
  File "apache_beam/runners/common.py", line 472, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13632)
    self.do_fn_invoker.invoke_process(windowed_value)
  File "apache_beam/runners/common.py", line 270, in apache_beam.runners.common.SimpleInvoker.invoke_process (apache_beam/runners/common.c:9084)
    windowed_value, self.process_method(windowed_value.value))
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/transforms/core.py",> line 1453, in process
    k, vs = element
TypeError: 'KeyedWorkItem' object is not iterable [while running 'assert_that/Group/GroupByKey/GroupByWindow']

root: ERROR: Giving up after 4 attempts.
root: WARNING: A task failed with exception: 'KeyedWorkItem' object is not iterable [while running 'assert_that/Group/GroupByKey/GroupByWindow']
root: ERROR: Exception at bundle <apache_beam.runners.direct.bundle_factory._Bundle object at 0x7f81ae4d7b90>, due to an exception.
 Traceback (most recent call last):
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 305, in call
    side_input_values)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 338, in attempt_call
    evaluator.process_element(value)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/transform_evaluator.py",> line 560, in process_element
    self.runner.process(element)
  File "apache_beam/runners/common.py", line 468, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13915)
    def process(self, windowed_value):
  File "apache_beam/runners/common.py", line 474, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13719)
    self._reraise_augmented(exn)
  File "apache_beam/runners/common.py", line 515, in apache_beam.runners.common.DoFnRunner._reraise_augmented (apache_beam/runners/common.c:14934)
    raise new_exn, None, original_traceback
  File "apache_beam/runners/common.py", line 472, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13632)
    self.do_fn_invoker.invoke_process(windowed_value)
  File "apache_beam/runners/common.py", line 270, in apache_beam.runners.common.SimpleInvoker.invoke_process (apache_beam/runners/common.c:9084)
    windowed_value, self.process_method(windowed_value.value))
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/transforms/core.py",> line 1453, in process
    k, vs = element
TypeError: 'KeyedWorkItem' object is not iterable [while running 'GroupByKey/GroupByWindow']

root: ERROR: Exception at bundle <apache_beam.runners.direct.bundle_factory._Bundle object at 0x7f81ae4d7b90>, due to an exception.
 Traceback (most recent call last):
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 305, in call
    side_input_values)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 338, in attempt_call
    evaluator.process_element(value)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/transform_evaluator.py",> line 560, in process_element
    self.runner.process(element)
  File "apache_beam/runners/common.py", line 468, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13915)
    def process(self, windowed_value):
  File "apache_beam/runners/common.py", line 474, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13719)
    self._reraise_augmented(exn)
  File "apache_beam/runners/common.py", line 515, in apache_beam.runners.common.DoFnRunner._reraise_augmented (apache_beam/runners/common.c:14934)
    raise new_exn, None, original_traceback
  File "apache_beam/runners/common.py", line 472, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13632)
    self.do_fn_invoker.invoke_process(windowed_value)
  File "apache_beam/runners/common.py", line 270, in apache_beam.runners.common.SimpleInvoker.invoke_process (apache_beam/runners/common.c:9084)
    windowed_value, self.process_method(windowed_value.value))
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/transforms/core.py",> line 1453, in process
    k, vs = element
TypeError: 'KeyedWorkItem' object is not iterable [while running 'GroupByKey/GroupByWindow']

root: ERROR: Exception at bundle <apache_beam.runners.direct.bundle_factory._Bundle object at 0x7f81ae4d7b90>, due to an exception.
 Traceback (most recent call last):
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 305, in call
    side_input_values)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 338, in attempt_call
    evaluator.process_element(value)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/transform_evaluator.py",> line 560, in process_element
    self.runner.process(element)
  File "apache_beam/runners/common.py", line 468, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13915)
    def process(self, windowed_value):
  File "apache_beam/runners/common.py", line 474, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13719)
    self._reraise_augmented(exn)
  File "apache_beam/runners/common.py", line 515, in apache_beam.runners.common.DoFnRunner._reraise_augmented (apache_beam/runners/common.c:14934)
    raise new_exn, None, original_traceback
  File "apache_beam/runners/common.py", line 472, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13632)
    self.do_fn_invoker.invoke_process(windowed_value)
  File "apache_beam/runners/common.py", line 270, in apache_beam.runners.common.SimpleInvoker.invoke_process (apache_beam/runners/common.c:9084)
    windowed_value, self.process_method(windowed_value.value))
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/transforms/core.py",> line 1453, in process
    k, vs = element
TypeError: 'KeyedWorkItem' object is not iterable [while running 'GroupByKey/GroupByWindow']

root: ERROR: Exception at bundle <apache_beam.runners.direct.bundle_factory._Bundle object at 0x7f81ae4d7b90>, due to an exception.
 Traceback (most recent call last):
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 305, in call
    side_input_values)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 338, in attempt_call
    evaluator.process_element(value)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/transform_evaluator.py",> line 560, in process_element
    self.runner.process(element)
  File "apache_beam/runners/common.py", line 468, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13915)
    def process(self, windowed_value):
  File "apache_beam/runners/common.py", line 474, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13719)
    self._reraise_augmented(exn)
  File "apache_beam/runners/common.py", line 515, in apache_beam.runners.common.DoFnRunner._reraise_augmented (apache_beam/runners/common.c:14934)
    raise new_exn, None, original_traceback
  File "apache_beam/runners/common.py", line 472, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13632)
    self.do_fn_invoker.invoke_process(windowed_value)
  File "apache_beam/runners/common.py", line 270, in apache_beam.runners.common.SimpleInvoker.invoke_process (apache_beam/runners/common.c:9084)
    windowed_value, self.process_method(windowed_value.value))
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/transforms/core.py",> line 1453, in process
    k, vs = element
TypeError: 'KeyedWorkItem' object is not iterable [while running 'GroupByKey/GroupByWindow']

root: ERROR: Giving up after 4 attempts.
--------------------- >> end captured logging << ---------------------

======================================================================
FAIL: test_using_slow_impl (apache_beam.coders.slow_coders_test.SlowCoders)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/coders/slow_coders_test.py",> line 41, in test_using_slow_impl
    import apache_beam.coders.stream
AssertionError: ImportError not raised

----------------------------------------------------------------------
Ran 1544 tests in 260.603s

FAILED (failures=1, errors=3, skipped=42)
Test failed: <unittest.runner.TextTestResult run=1544 errors=3 failures=1>
error: Test failed: <unittest.runner.TextTestResult run=1544 errors=3 failures=1>
ERROR: InvocationError: '<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/target/.tox/py27gcp/bin/python> setup.py test'
___________________________________ summary ____________________________________
ERROR:   cover: commands failed
  docs: commands succeeded
  lint: commands succeeded
ERROR:   py27: commands failed
ERROR:   py27cython: commands failed
ERROR:   py27gcp: commands failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user ccy@google.com
Not sending mail to unregistered user herohde@google.com
Not sending mail to unregistered user aljoscha.krettek@gmail.com
Not sending mail to unregistered user ekirpichov@gmail.com
Not sending mail to unregistered user kedin@google.com
Not sending mail to unregistered user klk@google.com
Not sending mail to unregistered user sidhom@google.com

Build failed in Jenkins: beam_PostCommit_Python_Verify #4161

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/beam_PostCommit_Python_Verify/4161/display/redirect?page=changes>

Changes:

[kenn] Deprecate DoFnTester

[klk] Remove DoFnTester from core SDK tests

[sidhom] Allow docker tag root to be specified as in Maven image build

[herohde] [BEAM-3457] Upgrade gogradle and fix thrift resolution issue

------------------------------------------
[...truncated 1.54 MB...]

root: ERROR: Giving up after 4 attempts.
root: WARNING: A task failed with exception: 'KeyedWorkItem' object is not iterable [while running 'assert_that/Group/GroupByKey/GroupByWindow']
--------------------- >> end captured logging << ---------------------

======================================================================
ERROR: test_gbk_execution (apache_beam.testing.test_stream_test.TestStreamTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/testing/test_stream_test.py",> line 148, in test_gbk_execution
    p.run()
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/testing/test_pipeline.py",> line 104, in run
    state = result.wait_until_finish()
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/direct_runner.py",> line 318, in wait_until_finish
    self._executor.await_completion()
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 358, in await_completion
    self._executor.await_completion()
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 305, in call
    side_input_values)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 338, in attempt_call
    evaluator.process_element(value)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/transform_evaluator.py",> line 560, in process_element
    self.runner.process(element)
  File "apache_beam/runners/common.py", line 468, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13915)
    def process(self, windowed_value):
  File "apache_beam/runners/common.py", line 474, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13719)
    self._reraise_augmented(exn)
  File "apache_beam/runners/common.py", line 515, in apache_beam.runners.common.DoFnRunner._reraise_augmented (apache_beam/runners/common.c:14934)
    raise new_exn, None, original_traceback
  File "apache_beam/runners/common.py", line 472, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13632)
    self.do_fn_invoker.invoke_process(windowed_value)
  File "apache_beam/runners/common.py", line 270, in apache_beam.runners.common.SimpleInvoker.invoke_process (apache_beam/runners/common.c:9084)
    windowed_value, self.process_method(windowed_value.value))
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/transforms/core.py",> line 1453, in process
    k, vs = element
TypeError: 'KeyedWorkItem' object is not iterable [while running 'assert_that/Group/GroupByKey/GroupByWindow']
-------------------- >> begin captured logging << --------------------
root: INFO: Missing pipeline option (runner). Executing pipeline using the default runner: DirectRunner.
root: INFO: Running pipeline with DirectRunner.
root: ERROR: Exception at bundle <apache_beam.runners.direct.bundle_factory._Bundle object at 0x7fa52b23fe60>, due to an exception.
 Traceback (most recent call last):
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 305, in call
    side_input_values)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 338, in attempt_call
    evaluator.process_element(value)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/transform_evaluator.py",> line 560, in process_element
    self.runner.process(element)
  File "apache_beam/runners/common.py", line 468, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13915)
    def process(self, windowed_value):
  File "apache_beam/runners/common.py", line 474, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13719)
    self._reraise_augmented(exn)
  File "apache_beam/runners/common.py", line 515, in apache_beam.runners.common.DoFnRunner._reraise_augmented (apache_beam/runners/common.c:14934)
    raise new_exn, None, original_traceback
  File "apache_beam/runners/common.py", line 472, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13632)
    self.do_fn_invoker.invoke_process(windowed_value)
  File "apache_beam/runners/common.py", line 270, in apache_beam.runners.common.SimpleInvoker.invoke_process (apache_beam/runners/common.c:9084)
    windowed_value, self.process_method(windowed_value.value))
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/transforms/core.py",> line 1453, in process
    k, vs = element
TypeError: 'KeyedWorkItem' object is not iterable [while running 'assert_that/Group/GroupByKey/GroupByWindow']

root: ERROR: Exception at bundle <apache_beam.runners.direct.bundle_factory._Bundle object at 0x7fa52b23fe60>, due to an exception.
 Traceback (most recent call last):
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 305, in call
    side_input_values)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 338, in attempt_call
    evaluator.process_element(value)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/transform_evaluator.py",> line 560, in process_element
    self.runner.process(element)
  File "apache_beam/runners/common.py", line 468, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13915)
    def process(self, windowed_value):
  File "apache_beam/runners/common.py", line 474, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13719)
    self._reraise_augmented(exn)
  File "apache_beam/runners/common.py", line 515, in apache_beam.runners.common.DoFnRunner._reraise_augmented (apache_beam/runners/common.c:14934)
    raise new_exn, None, original_traceback
  File "apache_beam/runners/common.py", line 472, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13632)
    self.do_fn_invoker.invoke_process(windowed_value)
  File "apache_beam/runners/common.py", line 270, in apache_beam.runners.common.SimpleInvoker.invoke_process (apache_beam/runners/common.c:9084)
    windowed_value, self.process_method(windowed_value.value))
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/transforms/core.py",> line 1453, in process
    k, vs = element
TypeError: 'KeyedWorkItem' object is not iterable [while running 'assert_that/Group/GroupByKey/GroupByWindow']

root: ERROR: Exception at bundle <apache_beam.runners.direct.bundle_factory._Bundle object at 0x7fa52b23fe60>, due to an exception.
 Traceback (most recent call last):
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 305, in call
    side_input_values)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 338, in attempt_call
    evaluator.process_element(value)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/transform_evaluator.py",> line 560, in process_element
    self.runner.process(element)
  File "apache_beam/runners/common.py", line 468, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13915)
    def process(self, windowed_value):
  File "apache_beam/runners/common.py", line 474, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13719)
    self._reraise_augmented(exn)
  File "apache_beam/runners/common.py", line 515, in apache_beam.runners.common.DoFnRunner._reraise_augmented (apache_beam/runners/common.c:14934)
    raise new_exn, None, original_traceback
  File "apache_beam/runners/common.py", line 472, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13632)
    self.do_fn_invoker.invoke_process(windowed_value)
  File "apache_beam/runners/common.py", line 270, in apache_beam.runners.common.SimpleInvoker.invoke_process (apache_beam/runners/common.c:9084)
    windowed_value, self.process_method(windowed_value.value))
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/transforms/core.py",> line 1453, in process
    k, vs = element
TypeError: 'KeyedWorkItem' object is not iterable [while running 'assert_that/Group/GroupByKey/GroupByWindow']

root: ERROR: Exception at bundle <apache_beam.runners.direct.bundle_factory._Bundle object at 0x7fa52b23fe60>, due to an exception.
 Traceback (most recent call last):
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 305, in call
    side_input_values)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 338, in attempt_call
    evaluator.process_element(value)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/transform_evaluator.py",> line 560, in process_element
    self.runner.process(element)
  File "apache_beam/runners/common.py", line 468, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13915)
    def process(self, windowed_value):
  File "apache_beam/runners/common.py", line 474, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13719)
    self._reraise_augmented(exn)
  File "apache_beam/runners/common.py", line 515, in apache_beam.runners.common.DoFnRunner._reraise_augmented (apache_beam/runners/common.c:14934)
    raise new_exn, None, original_traceback
  File "apache_beam/runners/common.py", line 472, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13632)
    self.do_fn_invoker.invoke_process(windowed_value)
  File "apache_beam/runners/common.py", line 270, in apache_beam.runners.common.SimpleInvoker.invoke_process (apache_beam/runners/common.c:9084)
    windowed_value, self.process_method(windowed_value.value))
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/transforms/core.py",> line 1453, in process
    k, vs = element
TypeError: 'KeyedWorkItem' object is not iterable [while running 'assert_that/Group/GroupByKey/GroupByWindow']

root: ERROR: Giving up after 4 attempts.
root: WARNING: A task failed with exception: 'KeyedWorkItem' object is not iterable [while running 'assert_that/Group/GroupByKey/GroupByWindow']
root: ERROR: Exception at bundle <apache_beam.runners.direct.bundle_factory._Bundle object at 0x7fa52b4308c0>, due to an exception.
 Traceback (most recent call last):
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 305, in call
    side_input_values)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 338, in attempt_call
    evaluator.process_element(value)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/transform_evaluator.py",> line 560, in process_element
    self.runner.process(element)
  File "apache_beam/runners/common.py", line 468, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13915)
    def process(self, windowed_value):
  File "apache_beam/runners/common.py", line 474, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13719)
    self._reraise_augmented(exn)
  File "apache_beam/runners/common.py", line 515, in apache_beam.runners.common.DoFnRunner._reraise_augmented (apache_beam/runners/common.c:14934)
    raise new_exn, None, original_traceback
  File "apache_beam/runners/common.py", line 472, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13632)
    self.do_fn_invoker.invoke_process(windowed_value)
  File "apache_beam/runners/common.py", line 270, in apache_beam.runners.common.SimpleInvoker.invoke_process (apache_beam/runners/common.c:9084)
    windowed_value, self.process_method(windowed_value.value))
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/transforms/core.py",> line 1453, in process
    k, vs = element
TypeError: 'KeyedWorkItem' object is not iterable [while running 'GroupByKey/GroupByWindow']

root: ERROR: Exception at bundle <apache_beam.runners.direct.bundle_factory._Bundle object at 0x7fa52b4308c0>, due to an exception.
 Traceback (most recent call last):
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 305, in call
    side_input_values)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 338, in attempt_call
    evaluator.process_element(value)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/transform_evaluator.py",> line 560, in process_element
    self.runner.process(element)
  File "apache_beam/runners/common.py", line 468, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13915)
    def process(self, windowed_value):
  File "apache_beam/runners/common.py", line 474, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13719)
    self._reraise_augmented(exn)
  File "apache_beam/runners/common.py", line 515, in apache_beam.runners.common.DoFnRunner._reraise_augmented (apache_beam/runners/common.c:14934)
    raise new_exn, None, original_traceback
  File "apache_beam/runners/common.py", line 472, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13632)
    self.do_fn_invoker.invoke_process(windowed_value)
  File "apache_beam/runners/common.py", line 270, in apache_beam.runners.common.SimpleInvoker.invoke_process (apache_beam/runners/common.c:9084)
    windowed_value, self.process_method(windowed_value.value))
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/transforms/core.py",> line 1453, in process
    k, vs = element
TypeError: 'KeyedWorkItem' object is not iterable [while running 'GroupByKey/GroupByWindow']

root: ERROR: Exception at bundle <apache_beam.runners.direct.bundle_factory._Bundle object at 0x7fa52b4308c0>, due to an exception.
 Traceback (most recent call last):
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 305, in call
    side_input_values)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 338, in attempt_call
    evaluator.process_element(value)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/transform_evaluator.py",> line 560, in process_element
    self.runner.process(element)
  File "apache_beam/runners/common.py", line 468, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13915)
    def process(self, windowed_value):
  File "apache_beam/runners/common.py", line 474, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13719)
    self._reraise_augmented(exn)
  File "apache_beam/runners/common.py", line 515, in apache_beam.runners.common.DoFnRunner._reraise_augmented (apache_beam/runners/common.c:14934)
    raise new_exn, None, original_traceback
  File "apache_beam/runners/common.py", line 472, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13632)
    self.do_fn_invoker.invoke_process(windowed_value)
  File "apache_beam/runners/common.py", line 270, in apache_beam.runners.common.SimpleInvoker.invoke_process (apache_beam/runners/common.c:9084)
    windowed_value, self.process_method(windowed_value.value))
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/transforms/core.py",> line 1453, in process
    k, vs = element
TypeError: 'KeyedWorkItem' object is not iterable [while running 'GroupByKey/GroupByWindow']

root: ERROR: Exception at bundle <apache_beam.runners.direct.bundle_factory._Bundle object at 0x7fa52b4308c0>, due to an exception.
 Traceback (most recent call last):
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 305, in call
    side_input_values)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 338, in attempt_call
    evaluator.process_element(value)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/transform_evaluator.py",> line 560, in process_element
    self.runner.process(element)
  File "apache_beam/runners/common.py", line 468, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13915)
    def process(self, windowed_value):
  File "apache_beam/runners/common.py", line 474, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13719)
    self._reraise_augmented(exn)
  File "apache_beam/runners/common.py", line 515, in apache_beam.runners.common.DoFnRunner._reraise_augmented (apache_beam/runners/common.c:14934)
    raise new_exn, None, original_traceback
  File "apache_beam/runners/common.py", line 472, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13632)
    self.do_fn_invoker.invoke_process(windowed_value)
  File "apache_beam/runners/common.py", line 270, in apache_beam.runners.common.SimpleInvoker.invoke_process (apache_beam/runners/common.c:9084)
    windowed_value, self.process_method(windowed_value.value))
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/transforms/core.py",> line 1453, in process
    k, vs = element
TypeError: 'KeyedWorkItem' object is not iterable [while running 'GroupByKey/GroupByWindow']

root: ERROR: Giving up after 4 attempts.
--------------------- >> end captured logging << ---------------------

======================================================================
FAIL: test_using_slow_impl (apache_beam.coders.slow_coders_test.SlowCoders)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/coders/slow_coders_test.py",> line 41, in test_using_slow_impl
    import apache_beam.coders.stream
AssertionError: ImportError not raised

----------------------------------------------------------------------
Ran 1544 tests in 318.453s

FAILED (failures=1, errors=3, skipped=42)
Test failed: <unittest.runner.TextTestResult run=1544 errors=3 failures=1>
error: Test failed: <unittest.runner.TextTestResult run=1544 errors=3 failures=1>
ERROR: InvocationError: '<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/target/.tox/py27gcp/bin/python> setup.py test'
___________________________________ summary ____________________________________
ERROR:   cover: commands failed
  docs: commands succeeded
  lint: commands succeeded
ERROR:   py27: commands failed
ERROR:   py27cython: commands failed
ERROR:   py27gcp: commands failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user ccy@google.com
Not sending mail to unregistered user herohde@google.com
Not sending mail to unregistered user aljoscha.krettek@gmail.com
Not sending mail to unregistered user ekirpichov@gmail.com
Not sending mail to unregistered user klk@google.com
Not sending mail to unregistered user sidhom@google.com

Build failed in Jenkins: beam_PostCommit_Python_Verify #4160

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/beam_PostCommit_Python_Verify/4160/display/redirect?page=changes>

Changes:

[kenn] Sickbay ApexRunner ParDoTranslatorTest.testAssertionFailure

------------------------------------------
[...truncated 1.53 MB...]
    k, vs = element
TypeError: 'KeyedWorkItem' object is not iterable [while running 'assert_that/Group/GroupByKey/GroupByWindow']

root: ERROR: Giving up after 4 attempts.
root: WARNING: A task failed with exception: 'KeyedWorkItem' object is not iterable [while running 'assert_that/Group/GroupByKey/GroupByWindow']
--------------------- >> end captured logging << ---------------------

======================================================================
ERROR: test_gbk_execution (apache_beam.testing.test_stream_test.TestStreamTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/testing/test_stream_test.py",> line 148, in test_gbk_execution
    p.run()
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/testing/test_pipeline.py",> line 104, in run
    state = result.wait_until_finish()
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/direct_runner.py",> line 318, in wait_until_finish
    self._executor.await_completion()
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 358, in await_completion
    self._executor.await_completion()
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 305, in call
    side_input_values)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 338, in attempt_call
    evaluator.process_element(value)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/transform_evaluator.py",> line 560, in process_element
    self.runner.process(element)
  File "apache_beam/runners/common.py", line 468, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13915)
    def process(self, windowed_value):
  File "apache_beam/runners/common.py", line 474, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13719)
    self._reraise_augmented(exn)
  File "apache_beam/runners/common.py", line 515, in apache_beam.runners.common.DoFnRunner._reraise_augmented (apache_beam/runners/common.c:14934)
    raise new_exn, None, original_traceback
  File "apache_beam/runners/common.py", line 472, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13632)
    self.do_fn_invoker.invoke_process(windowed_value)
  File "apache_beam/runners/common.py", line 270, in apache_beam.runners.common.SimpleInvoker.invoke_process (apache_beam/runners/common.c:9084)
    windowed_value, self.process_method(windowed_value.value))
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/transforms/core.py",> line 1453, in process
    k, vs = element
TypeError: 'KeyedWorkItem' object is not iterable [while running 'assert_that/Group/GroupByKey/GroupByWindow']
-------------------- >> begin captured logging << --------------------
root: INFO: Missing pipeline option (runner). Executing pipeline using the default runner: DirectRunner.
root: INFO: Running pipeline with DirectRunner.
root: ERROR: Exception at bundle <apache_beam.runners.direct.bundle_factory._Bundle object at 0x7f37c2312098>, due to an exception.
 Traceback (most recent call last):
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 305, in call
    side_input_values)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 338, in attempt_call
    evaluator.process_element(value)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/transform_evaluator.py",> line 560, in process_element
    self.runner.process(element)
  File "apache_beam/runners/common.py", line 468, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13915)
    def process(self, windowed_value):
  File "apache_beam/runners/common.py", line 474, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13719)
    self._reraise_augmented(exn)
  File "apache_beam/runners/common.py", line 515, in apache_beam.runners.common.DoFnRunner._reraise_augmented (apache_beam/runners/common.c:14934)
    raise new_exn, None, original_traceback
  File "apache_beam/runners/common.py", line 472, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13632)
    self.do_fn_invoker.invoke_process(windowed_value)
  File "apache_beam/runners/common.py", line 270, in apache_beam.runners.common.SimpleInvoker.invoke_process (apache_beam/runners/common.c:9084)
    windowed_value, self.process_method(windowed_value.value))
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/transforms/core.py",> line 1453, in process
    k, vs = element
TypeError: 'KeyedWorkItem' object is not iterable [while running 'assert_that/Group/GroupByKey/GroupByWindow']

root: ERROR: Exception at bundle <apache_beam.runners.direct.bundle_factory._Bundle object at 0x7f37c2312098>, due to an exception.
 Traceback (most recent call last):
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 305, in call
    side_input_values)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 338, in attempt_call
    evaluator.process_element(value)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/transform_evaluator.py",> line 560, in process_element
    self.runner.process(element)
  File "apache_beam/runners/common.py", line 468, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13915)
    def process(self, windowed_value):
  File "apache_beam/runners/common.py", line 474, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13719)
    self._reraise_augmented(exn)
  File "apache_beam/runners/common.py", line 515, in apache_beam.runners.common.DoFnRunner._reraise_augmented (apache_beam/runners/common.c:14934)
    raise new_exn, None, original_traceback
  File "apache_beam/runners/common.py", line 472, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13632)
    self.do_fn_invoker.invoke_process(windowed_value)
  File "apache_beam/runners/common.py", line 270, in apache_beam.runners.common.SimpleInvoker.invoke_process (apache_beam/runners/common.c:9084)
    windowed_value, self.process_method(windowed_value.value))
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/transforms/core.py",> line 1453, in process
    k, vs = element
TypeError: 'KeyedWorkItem' object is not iterable [while running 'assert_that/Group/GroupByKey/GroupByWindow']

root: ERROR: Exception at bundle <apache_beam.runners.direct.bundle_factory._Bundle object at 0x7f37c2312098>, due to an exception.
 Traceback (most recent call last):
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 305, in call
    side_input_values)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 338, in attempt_call
    evaluator.process_element(value)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/transform_evaluator.py",> line 560, in process_element
    self.runner.process(element)
  File "apache_beam/runners/common.py", line 468, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13915)
    def process(self, windowed_value):
  File "apache_beam/runners/common.py", line 474, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13719)
    self._reraise_augmented(exn)
  File "apache_beam/runners/common.py", line 515, in apache_beam.runners.common.DoFnRunner._reraise_augmented (apache_beam/runners/common.c:14934)
    raise new_exn, None, original_traceback
  File "apache_beam/runners/common.py", line 472, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13632)
    self.do_fn_invoker.invoke_process(windowed_value)
  File "apache_beam/runners/common.py", line 270, in apache_beam.runners.common.SimpleInvoker.invoke_process (apache_beam/runners/common.c:9084)
    windowed_value, self.process_method(windowed_value.value))
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/transforms/core.py",> line 1453, in process
    k, vs = element
TypeError: 'KeyedWorkItem' object is not iterable [while running 'assert_that/Group/GroupByKey/GroupByWindow']

root: ERROR: Exception at bundle <apache_beam.runners.direct.bundle_factory._Bundle object at 0x7f37c2312098>, due to an exception.
 Traceback (most recent call last):
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 305, in call
    side_input_values)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 338, in attempt_call
    evaluator.process_element(value)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/transform_evaluator.py",> line 560, in process_element
    self.runner.process(element)
  File "apache_beam/runners/common.py", line 468, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13915)
    def process(self, windowed_value):
  File "apache_beam/runners/common.py", line 474, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13719)
    self._reraise_augmented(exn)
  File "apache_beam/runners/common.py", line 515, in apache_beam.runners.common.DoFnRunner._reraise_augmented (apache_beam/runners/common.c:14934)
    raise new_exn, None, original_traceback
  File "apache_beam/runners/common.py", line 472, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13632)
    self.do_fn_invoker.invoke_process(windowed_value)
  File "apache_beam/runners/common.py", line 270, in apache_beam.runners.common.SimpleInvoker.invoke_process (apache_beam/runners/common.c:9084)
    windowed_value, self.process_method(windowed_value.value))
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/transforms/core.py",> line 1453, in process
    k, vs = element
TypeError: 'KeyedWorkItem' object is not iterable [while running 'assert_that/Group/GroupByKey/GroupByWindow']

root: ERROR: Giving up after 4 attempts.
root: WARNING: A task failed with exception: 'KeyedWorkItem' object is not iterable [while running 'assert_that/Group/GroupByKey/GroupByWindow']
root: ERROR: Exception at bundle <apache_beam.runners.direct.bundle_factory._Bundle object at 0x7f37c2437f38>, due to an exception.
 Traceback (most recent call last):
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 305, in call
    side_input_values)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 338, in attempt_call
    evaluator.process_element(value)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/transform_evaluator.py",> line 560, in process_element
    self.runner.process(element)
  File "apache_beam/runners/common.py", line 468, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13915)
    def process(self, windowed_value):
  File "apache_beam/runners/common.py", line 474, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13719)
    self._reraise_augmented(exn)
  File "apache_beam/runners/common.py", line 515, in apache_beam.runners.common.DoFnRunner._reraise_augmented (apache_beam/runners/common.c:14934)
    raise new_exn, None, original_traceback
  File "apache_beam/runners/common.py", line 472, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13632)
    self.do_fn_invoker.invoke_process(windowed_value)
  File "apache_beam/runners/common.py", line 270, in apache_beam.runners.common.SimpleInvoker.invoke_process (apache_beam/runners/common.c:9084)
    windowed_value, self.process_method(windowed_value.value))
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/transforms/core.py",> line 1453, in process
    k, vs = element
TypeError: 'KeyedWorkItem' object is not iterable [while running 'GroupByKey/GroupByWindow']

root: ERROR: Exception at bundle <apache_beam.runners.direct.bundle_factory._Bundle object at 0x7f37c2437f38>, due to an exception.
 Traceback (most recent call last):
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 305, in call
    side_input_values)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 338, in attempt_call
    evaluator.process_element(value)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/transform_evaluator.py",> line 560, in process_element
    self.runner.process(element)
  File "apache_beam/runners/common.py", line 468, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13915)
    def process(self, windowed_value):
  File "apache_beam/runners/common.py", line 474, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13719)
    self._reraise_augmented(exn)
  File "apache_beam/runners/common.py", line 515, in apache_beam.runners.common.DoFnRunner._reraise_augmented (apache_beam/runners/common.c:14934)
    raise new_exn, None, original_traceback
  File "apache_beam/runners/common.py", line 472, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13632)
    self.do_fn_invoker.invoke_process(windowed_value)
  File "apache_beam/runners/common.py", line 270, in apache_beam.runners.common.SimpleInvoker.invoke_process (apache_beam/runners/common.c:9084)
    windowed_value, self.process_method(windowed_value.value))
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/transforms/core.py",> line 1453, in process
    k, vs = element
TypeError: 'KeyedWorkItem' object is not iterable [while running 'GroupByKey/GroupByWindow']

root: ERROR: Exception at bundle <apache_beam.runners.direct.bundle_factory._Bundle object at 0x7f37c2437f38>, due to an exception.
 Traceback (most recent call last):
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 305, in call
    side_input_values)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 338, in attempt_call
    evaluator.process_element(value)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/transform_evaluator.py",> line 560, in process_element
    self.runner.process(element)
  File "apache_beam/runners/common.py", line 468, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13915)
    def process(self, windowed_value):
  File "apache_beam/runners/common.py", line 474, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13719)
    self._reraise_augmented(exn)
  File "apache_beam/runners/common.py", line 515, in apache_beam.runners.common.DoFnRunner._reraise_augmented (apache_beam/runners/common.c:14934)
    raise new_exn, None, original_traceback
  File "apache_beam/runners/common.py", line 472, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13632)
    self.do_fn_invoker.invoke_process(windowed_value)
  File "apache_beam/runners/common.py", line 270, in apache_beam.runners.common.SimpleInvoker.invoke_process (apache_beam/runners/common.c:9084)
    windowed_value, self.process_method(windowed_value.value))
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/transforms/core.py",> line 1453, in process
    k, vs = element
TypeError: 'KeyedWorkItem' object is not iterable [while running 'GroupByKey/GroupByWindow']

root: ERROR: Exception at bundle <apache_beam.runners.direct.bundle_factory._Bundle object at 0x7f37c2437f38>, due to an exception.
 Traceback (most recent call last):
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 305, in call
    side_input_values)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 338, in attempt_call
    evaluator.process_element(value)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/transform_evaluator.py",> line 560, in process_element
    self.runner.process(element)
  File "apache_beam/runners/common.py", line 468, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13915)
    def process(self, windowed_value):
  File "apache_beam/runners/common.py", line 474, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13719)
    self._reraise_augmented(exn)
  File "apache_beam/runners/common.py", line 515, in apache_beam.runners.common.DoFnRunner._reraise_augmented (apache_beam/runners/common.c:14934)
    raise new_exn, None, original_traceback
  File "apache_beam/runners/common.py", line 472, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13632)
    self.do_fn_invoker.invoke_process(windowed_value)
  File "apache_beam/runners/common.py", line 270, in apache_beam.runners.common.SimpleInvoker.invoke_process (apache_beam/runners/common.c:9084)
    windowed_value, self.process_method(windowed_value.value))
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/transforms/core.py",> line 1453, in process
    k, vs = element
TypeError: 'KeyedWorkItem' object is not iterable [while running 'GroupByKey/GroupByWindow']

root: ERROR: Giving up after 4 attempts.
--------------------- >> end captured logging << ---------------------

======================================================================
FAIL: test_using_slow_impl (apache_beam.coders.slow_coders_test.SlowCoders)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/coders/slow_coders_test.py",> line 41, in test_using_slow_impl
    import apache_beam.coders.stream
AssertionError: ImportError not raised

----------------------------------------------------------------------
Ran 1544 tests in 247.764s

FAILED (failures=1, errors=3, skipped=42)
Test failed: <unittest.runner.TextTestResult run=1544 errors=3 failures=1>
error: Test failed: <unittest.runner.TextTestResult run=1544 errors=3 failures=1>
ERROR: InvocationError: '<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/target/.tox/py27gcp/bin/python> setup.py test'
___________________________________ summary ____________________________________
ERROR:   cover: commands failed
  docs: commands succeeded
  lint: commands succeeded
ERROR:   py27: commands failed
ERROR:   py27cython: commands failed
ERROR:   py27gcp: commands failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user ccy@google.com
Not sending mail to unregistered user aljoscha.krettek@gmail.com
Not sending mail to unregistered user ekirpichov@gmail.com
Not sending mail to unregistered user klk@google.com

Build failed in Jenkins: beam_PostCommit_Python_Verify #4159

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/beam_PostCommit_Python_Verify/4159/display/redirect?page=changes>

Changes:

[rangadi] KafkaIO : move source and sink implemenations into own files.

[rangadi] minor

[ekirpichov] Adds PositionT and claim callback to RestrictionTracker

[ekirpichov] Changes OutputAndTimeBounded invoker to start checkpoint timer after

[ekirpichov] Compresses encoded GrowthState with Snappy - about 2x-3x more compact

[ekirpichov] InMemoryStateInternals.copy clones the values using the coder

[ekirpichov] Final fixups

[ekirpichov] Bump worker to 20180205

------------------------------------------
[...truncated 1.53 MB...]
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/transforms/core.py",> line 1453, in process
    k, vs = element
TypeError: 'KeyedWorkItem' object is not iterable [while running 'assert_that/Group/GroupByKey/GroupByWindow']

root: ERROR: Giving up after 4 attempts.
--------------------- >> end captured logging << ---------------------

======================================================================
ERROR: test_gbk_execution (apache_beam.testing.test_stream_test.TestStreamTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/testing/test_stream_test.py",> line 148, in test_gbk_execution
    p.run()
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/testing/test_pipeline.py",> line 104, in run
    state = result.wait_until_finish()
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/direct_runner.py",> line 318, in wait_until_finish
    self._executor.await_completion()
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 358, in await_completion
    self._executor.await_completion()
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 305, in call
    side_input_values)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 338, in attempt_call
    evaluator.process_element(value)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/transform_evaluator.py",> line 560, in process_element
    self.runner.process(element)
  File "apache_beam/runners/common.py", line 468, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13915)
    def process(self, windowed_value):
  File "apache_beam/runners/common.py", line 474, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13719)
    self._reraise_augmented(exn)
  File "apache_beam/runners/common.py", line 515, in apache_beam.runners.common.DoFnRunner._reraise_augmented (apache_beam/runners/common.c:14934)
    raise new_exn, None, original_traceback
  File "apache_beam/runners/common.py", line 472, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13632)
    self.do_fn_invoker.invoke_process(windowed_value)
  File "apache_beam/runners/common.py", line 270, in apache_beam.runners.common.SimpleInvoker.invoke_process (apache_beam/runners/common.c:9084)
    windowed_value, self.process_method(windowed_value.value))
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/transforms/core.py",> line 1453, in process
    k, vs = element
TypeError: 'KeyedWorkItem' object is not iterable [while running 'assert_that/Group/GroupByKey/GroupByWindow']
-------------------- >> begin captured logging << --------------------
root: INFO: Missing pipeline option (runner). Executing pipeline using the default runner: DirectRunner.
root: INFO: Running pipeline with DirectRunner.
root: ERROR: Exception at bundle <apache_beam.runners.direct.bundle_factory._Bundle object at 0x7ff05754e7e8>, due to an exception.
 Traceback (most recent call last):
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 305, in call
    side_input_values)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 338, in attempt_call
    evaluator.process_element(value)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/transform_evaluator.py",> line 560, in process_element
    self.runner.process(element)
  File "apache_beam/runners/common.py", line 468, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13915)
    def process(self, windowed_value):
  File "apache_beam/runners/common.py", line 474, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13719)
    self._reraise_augmented(exn)
  File "apache_beam/runners/common.py", line 515, in apache_beam.runners.common.DoFnRunner._reraise_augmented (apache_beam/runners/common.c:14934)
    raise new_exn, None, original_traceback
  File "apache_beam/runners/common.py", line 472, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13632)
    self.do_fn_invoker.invoke_process(windowed_value)
  File "apache_beam/runners/common.py", line 270, in apache_beam.runners.common.SimpleInvoker.invoke_process (apache_beam/runners/common.c:9084)
    windowed_value, self.process_method(windowed_value.value))
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/transforms/core.py",> line 1453, in process
    k, vs = element
TypeError: 'KeyedWorkItem' object is not iterable [while running 'assert_that/Group/GroupByKey/GroupByWindow']

root: ERROR: Exception at bundle <apache_beam.runners.direct.bundle_factory._Bundle object at 0x7ff05754e7e8>, due to an exception.
 Traceback (most recent call last):
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 305, in call
    side_input_values)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 338, in attempt_call
    evaluator.process_element(value)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/transform_evaluator.py",> line 560, in process_element
    self.runner.process(element)
  File "apache_beam/runners/common.py", line 468, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13915)
    def process(self, windowed_value):
  File "apache_beam/runners/common.py", line 474, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13719)
    self._reraise_augmented(exn)
  File "apache_beam/runners/common.py", line 515, in apache_beam.runners.common.DoFnRunner._reraise_augmented (apache_beam/runners/common.c:14934)
    raise new_exn, None, original_traceback
  File "apache_beam/runners/common.py", line 472, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13632)
    self.do_fn_invoker.invoke_process(windowed_value)
  File "apache_beam/runners/common.py", line 270, in apache_beam.runners.common.SimpleInvoker.invoke_process (apache_beam/runners/common.c:9084)
    windowed_value, self.process_method(windowed_value.value))
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/transforms/core.py",> line 1453, in process
    k, vs = element
TypeError: 'KeyedWorkItem' object is not iterable [while running 'assert_that/Group/GroupByKey/GroupByWindow']

root: ERROR: Exception at bundle <apache_beam.runners.direct.bundle_factory._Bundle object at 0x7ff05754e7e8>, due to an exception.
 Traceback (most recent call last):
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 305, in call
    side_input_values)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 338, in attempt_call
    evaluator.process_element(value)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/transform_evaluator.py",> line 560, in process_element
    self.runner.process(element)
  File "apache_beam/runners/common.py", line 468, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13915)
    def process(self, windowed_value):
  File "apache_beam/runners/common.py", line 474, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13719)
    self._reraise_augmented(exn)
  File "apache_beam/runners/common.py", line 515, in apache_beam.runners.common.DoFnRunner._reraise_augmented (apache_beam/runners/common.c:14934)
    raise new_exn, None, original_traceback
  File "apache_beam/runners/common.py", line 472, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13632)
    self.do_fn_invoker.invoke_process(windowed_value)
  File "apache_beam/runners/common.py", line 270, in apache_beam.runners.common.SimpleInvoker.invoke_process (apache_beam/runners/common.c:9084)
    windowed_value, self.process_method(windowed_value.value))
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/transforms/core.py",> line 1453, in process
    k, vs = element
TypeError: 'KeyedWorkItem' object is not iterable [while running 'assert_that/Group/GroupByKey/GroupByWindow']

root: ERROR: Exception at bundle <apache_beam.runners.direct.bundle_factory._Bundle object at 0x7ff05754e7e8>, due to an exception.
 Traceback (most recent call last):
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 305, in call
    side_input_values)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 338, in attempt_call
    evaluator.process_element(value)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/transform_evaluator.py",> line 560, in process_element
    self.runner.process(element)
  File "apache_beam/runners/common.py", line 468, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13915)
    def process(self, windowed_value):
  File "apache_beam/runners/common.py", line 474, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13719)
    self._reraise_augmented(exn)
  File "apache_beam/runners/common.py", line 515, in apache_beam.runners.common.DoFnRunner._reraise_augmented (apache_beam/runners/common.c:14934)
    raise new_exn, None, original_traceback
  File "apache_beam/runners/common.py", line 472, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13632)
    self.do_fn_invoker.invoke_process(windowed_value)
  File "apache_beam/runners/common.py", line 270, in apache_beam.runners.common.SimpleInvoker.invoke_process (apache_beam/runners/common.c:9084)
    windowed_value, self.process_method(windowed_value.value))
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/transforms/core.py",> line 1453, in process
    k, vs = element
TypeError: 'KeyedWorkItem' object is not iterable [while running 'assert_that/Group/GroupByKey/GroupByWindow']

root: ERROR: Giving up after 4 attempts.
root: WARNING: A task failed with exception: 'KeyedWorkItem' object is not iterable [while running 'assert_that/Group/GroupByKey/GroupByWindow']
root: ERROR: Exception at bundle <apache_beam.runners.direct.bundle_factory._Bundle object at 0x7ff05c9715a8>, due to an exception.
 Traceback (most recent call last):
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 305, in call
    side_input_values)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 338, in attempt_call
    evaluator.process_element(value)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/transform_evaluator.py",> line 560, in process_element
    self.runner.process(element)
  File "apache_beam/runners/common.py", line 468, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13915)
    def process(self, windowed_value):
  File "apache_beam/runners/common.py", line 474, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13719)
    self._reraise_augmented(exn)
  File "apache_beam/runners/common.py", line 515, in apache_beam.runners.common.DoFnRunner._reraise_augmented (apache_beam/runners/common.c:14934)
    raise new_exn, None, original_traceback
  File "apache_beam/runners/common.py", line 472, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13632)
    self.do_fn_invoker.invoke_process(windowed_value)
  File "apache_beam/runners/common.py", line 270, in apache_beam.runners.common.SimpleInvoker.invoke_process (apache_beam/runners/common.c:9084)
    windowed_value, self.process_method(windowed_value.value))
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/transforms/core.py",> line 1453, in process
    k, vs = element
TypeError: 'KeyedWorkItem' object is not iterable [while running 'GroupByKey/GroupByWindow']

root: ERROR: Exception at bundle <apache_beam.runners.direct.bundle_factory._Bundle object at 0x7ff05c9715a8>, due to an exception.
 Traceback (most recent call last):
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 305, in call
    side_input_values)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 338, in attempt_call
    evaluator.process_element(value)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/transform_evaluator.py",> line 560, in process_element
    self.runner.process(element)
  File "apache_beam/runners/common.py", line 468, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13915)
    def process(self, windowed_value):
  File "apache_beam/runners/common.py", line 474, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13719)
    self._reraise_augmented(exn)
  File "apache_beam/runners/common.py", line 515, in apache_beam.runners.common.DoFnRunner._reraise_augmented (apache_beam/runners/common.c:14934)
    raise new_exn, None, original_traceback
  File "apache_beam/runners/common.py", line 472, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13632)
    self.do_fn_invoker.invoke_process(windowed_value)
  File "apache_beam/runners/common.py", line 270, in apache_beam.runners.common.SimpleInvoker.invoke_process (apache_beam/runners/common.c:9084)
    windowed_value, self.process_method(windowed_value.value))
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/transforms/core.py",> line 1453, in process
    k, vs = element
TypeError: 'KeyedWorkItem' object is not iterable [while running 'GroupByKey/GroupByWindow']

root: ERROR: Exception at bundle <apache_beam.runners.direct.bundle_factory._Bundle object at 0x7ff05c9715a8>, due to an exception.
 Traceback (most recent call last):
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 305, in call
    side_input_values)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 338, in attempt_call
    evaluator.process_element(value)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/transform_evaluator.py",> line 560, in process_element
    self.runner.process(element)
  File "apache_beam/runners/common.py", line 468, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13915)
    def process(self, windowed_value):
  File "apache_beam/runners/common.py", line 474, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13719)
    self._reraise_augmented(exn)
  File "apache_beam/runners/common.py", line 515, in apache_beam.runners.common.DoFnRunner._reraise_augmented (apache_beam/runners/common.c:14934)
    raise new_exn, None, original_traceback
  File "apache_beam/runners/common.py", line 472, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13632)
    self.do_fn_invoker.invoke_process(windowed_value)
  File "apache_beam/runners/common.py", line 270, in apache_beam.runners.common.SimpleInvoker.invoke_process (apache_beam/runners/common.c:9084)
    windowed_value, self.process_method(windowed_value.value))
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/transforms/core.py",> line 1453, in process
    k, vs = element
TypeError: 'KeyedWorkItem' object is not iterable [while running 'GroupByKey/GroupByWindow']

root: ERROR: Exception at bundle <apache_beam.runners.direct.bundle_factory._Bundle object at 0x7ff05c9715a8>, due to an exception.
 Traceback (most recent call last):
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 305, in call
    side_input_values)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 338, in attempt_call
    evaluator.process_element(value)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/transform_evaluator.py",> line 560, in process_element
    self.runner.process(element)
  File "apache_beam/runners/common.py", line 468, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13915)
    def process(self, windowed_value):
  File "apache_beam/runners/common.py", line 474, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13719)
    self._reraise_augmented(exn)
  File "apache_beam/runners/common.py", line 515, in apache_beam.runners.common.DoFnRunner._reraise_augmented (apache_beam/runners/common.c:14934)
    raise new_exn, None, original_traceback
  File "apache_beam/runners/common.py", line 472, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13632)
    self.do_fn_invoker.invoke_process(windowed_value)
  File "apache_beam/runners/common.py", line 270, in apache_beam.runners.common.SimpleInvoker.invoke_process (apache_beam/runners/common.c:9084)
    windowed_value, self.process_method(windowed_value.value))
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/transforms/core.py",> line 1453, in process
    k, vs = element
TypeError: 'KeyedWorkItem' object is not iterable [while running 'GroupByKey/GroupByWindow']

root: ERROR: Giving up after 4 attempts.
--------------------- >> end captured logging << ---------------------

======================================================================
FAIL: test_using_slow_impl (apache_beam.coders.slow_coders_test.SlowCoders)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/coders/slow_coders_test.py",> line 41, in test_using_slow_impl
    import apache_beam.coders.stream
AssertionError: ImportError not raised

----------------------------------------------------------------------
Ran 1544 tests in 254.187s

FAILED (failures=1, errors=3, skipped=42)
Test failed: <unittest.runner.TextTestResult run=1544 errors=3 failures=1>
error: Test failed: <unittest.runner.TextTestResult run=1544 errors=3 failures=1>
ERROR: InvocationError: '<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/target/.tox/py27gcp/bin/python> setup.py test'
___________________________________ summary ____________________________________
ERROR:   cover: commands failed
  docs: commands succeeded
  lint: commands succeeded
ERROR:   py27: commands failed
ERROR:   py27cython: commands failed
ERROR:   py27gcp: commands failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user ccy@google.com
Not sending mail to unregistered user aljoscha.krettek@gmail.com
Not sending mail to unregistered user ekirpichov@gmail.com
Not sending mail to unregistered user klk@google.com

Build failed in Jenkins: beam_PostCommit_Python_Verify #4158

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/beam_PostCommit_Python_Verify/4158/display/redirect?page=changes>

Changes:

[Pablo] Renaming the ZERO element of DistributionResult to be IDENTITY_ELEMENT.

[klk] Sickbay flaky KinesisIO tests

------------------------------------------
[...truncated 1.51 MB...]
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/transforms/core.py",> line 1453, in process
    k, vs = element
TypeError: 'KeyedWorkItem' object is not iterable [while running 'assert_that/Group/GroupByKey/GroupByWindow']

root: ERROR: Giving up after 4 attempts.
root: WARNING: A task failed with exception: 'KeyedWorkItem' object is not iterable [while running 'assert_that/Group/GroupByKey/GroupByWindow']
--------------------- >> end captured logging << ---------------------

======================================================================
ERROR: test_gbk_execution (apache_beam.testing.test_stream_test.TestStreamTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/testing/test_stream_test.py",> line 148, in test_gbk_execution
    p.run()
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/testing/test_pipeline.py",> line 104, in run
    state = result.wait_until_finish()
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/direct_runner.py",> line 318, in wait_until_finish
    self._executor.await_completion()
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 358, in await_completion
    self._executor.await_completion()
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 305, in call
    side_input_values)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 338, in attempt_call
    evaluator.process_element(value)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/transform_evaluator.py",> line 560, in process_element
    self.runner.process(element)
  File "apache_beam/runners/common.py", line 468, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13915)
    def process(self, windowed_value):
  File "apache_beam/runners/common.py", line 474, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13719)
    self._reraise_augmented(exn)
  File "apache_beam/runners/common.py", line 515, in apache_beam.runners.common.DoFnRunner._reraise_augmented (apache_beam/runners/common.c:14934)
    raise new_exn, None, original_traceback
  File "apache_beam/runners/common.py", line 472, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13632)
    self.do_fn_invoker.invoke_process(windowed_value)
  File "apache_beam/runners/common.py", line 270, in apache_beam.runners.common.SimpleInvoker.invoke_process (apache_beam/runners/common.c:9084)
    windowed_value, self.process_method(windowed_value.value))
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/transforms/core.py",> line 1453, in process
    k, vs = element
TypeError: 'KeyedWorkItem' object is not iterable [while running 'assert_that/Group/GroupByKey/GroupByWindow']
-------------------- >> begin captured logging << --------------------
root: INFO: Missing pipeline option (runner). Executing pipeline using the default runner: DirectRunner.
root: INFO: Running pipeline with DirectRunner.
root: ERROR: Exception at bundle <apache_beam.runners.direct.bundle_factory._Bundle object at 0x7f79adb63560>, due to an exception.
 Traceback (most recent call last):
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 305, in call
    side_input_values)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 338, in attempt_call
    evaluator.process_element(value)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/transform_evaluator.py",> line 560, in process_element
    self.runner.process(element)
  File "apache_beam/runners/common.py", line 468, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13915)
    def process(self, windowed_value):
  File "apache_beam/runners/common.py", line 474, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13719)
    self._reraise_augmented(exn)
  File "apache_beam/runners/common.py", line 515, in apache_beam.runners.common.DoFnRunner._reraise_augmented (apache_beam/runners/common.c:14934)
    raise new_exn, None, original_traceback
  File "apache_beam/runners/common.py", line 472, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13632)
    self.do_fn_invoker.invoke_process(windowed_value)
  File "apache_beam/runners/common.py", line 270, in apache_beam.runners.common.SimpleInvoker.invoke_process (apache_beam/runners/common.c:9084)
    windowed_value, self.process_method(windowed_value.value))
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/transforms/core.py",> line 1453, in process
    k, vs = element
TypeError: 'KeyedWorkItem' object is not iterable [while running 'assert_that/Group/GroupByKey/GroupByWindow']

root: ERROR: Exception at bundle <apache_beam.runners.direct.bundle_factory._Bundle object at 0x7f79adb63560>, due to an exception.
 Traceback (most recent call last):
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 305, in call
    side_input_values)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 338, in attempt_call
    evaluator.process_element(value)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/transform_evaluator.py",> line 560, in process_element
    self.runner.process(element)
  File "apache_beam/runners/common.py", line 468, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13915)
    def process(self, windowed_value):
  File "apache_beam/runners/common.py", line 474, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13719)
    self._reraise_augmented(exn)
  File "apache_beam/runners/common.py", line 515, in apache_beam.runners.common.DoFnRunner._reraise_augmented (apache_beam/runners/common.c:14934)
    raise new_exn, None, original_traceback
  File "apache_beam/runners/common.py", line 472, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13632)
    self.do_fn_invoker.invoke_process(windowed_value)
  File "apache_beam/runners/common.py", line 270, in apache_beam.runners.common.SimpleInvoker.invoke_process (apache_beam/runners/common.c:9084)
    windowed_value, self.process_method(windowed_value.value))
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/transforms/core.py",> line 1453, in process
    k, vs = element
TypeError: 'KeyedWorkItem' object is not iterable [while running 'assert_that/Group/GroupByKey/GroupByWindow']

root: ERROR: Exception at bundle <apache_beam.runners.direct.bundle_factory._Bundle object at 0x7f79adb63560>, due to an exception.
 Traceback (most recent call last):
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 305, in call
    side_input_values)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 338, in attempt_call
    evaluator.process_element(value)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/transform_evaluator.py",> line 560, in process_element
    self.runner.process(element)
  File "apache_beam/runners/common.py", line 468, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13915)
    def process(self, windowed_value):
  File "apache_beam/runners/common.py", line 474, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13719)
    self._reraise_augmented(exn)
  File "apache_beam/runners/common.py", line 515, in apache_beam.runners.common.DoFnRunner._reraise_augmented (apache_beam/runners/common.c:14934)
    raise new_exn, None, original_traceback
  File "apache_beam/runners/common.py", line 472, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13632)
    self.do_fn_invoker.invoke_process(windowed_value)
  File "apache_beam/runners/common.py", line 270, in apache_beam.runners.common.SimpleInvoker.invoke_process (apache_beam/runners/common.c:9084)
    windowed_value, self.process_method(windowed_value.value))
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/transforms/core.py",> line 1453, in process
    k, vs = element
TypeError: 'KeyedWorkItem' object is not iterable [while running 'assert_that/Group/GroupByKey/GroupByWindow']

root: ERROR: Exception at bundle <apache_beam.runners.direct.bundle_factory._Bundle object at 0x7f79adb63560>, due to an exception.
 Traceback (most recent call last):
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 305, in call
    side_input_values)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 338, in attempt_call
    evaluator.process_element(value)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/transform_evaluator.py",> line 560, in process_element
    self.runner.process(element)
  File "apache_beam/runners/common.py", line 468, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13915)
    def process(self, windowed_value):
  File "apache_beam/runners/common.py", line 474, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13719)
    self._reraise_augmented(exn)
  File "apache_beam/runners/common.py", line 515, in apache_beam.runners.common.DoFnRunner._reraise_augmented (apache_beam/runners/common.c:14934)
    raise new_exn, None, original_traceback
  File "apache_beam/runners/common.py", line 472, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13632)
    self.do_fn_invoker.invoke_process(windowed_value)
  File "apache_beam/runners/common.py", line 270, in apache_beam.runners.common.SimpleInvoker.invoke_process (apache_beam/runners/common.c:9084)
    windowed_value, self.process_method(windowed_value.value))
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/transforms/core.py",> line 1453, in process
    k, vs = element
TypeError: 'KeyedWorkItem' object is not iterable [while running 'assert_that/Group/GroupByKey/GroupByWindow']

root: ERROR: Giving up after 4 attempts.
root: WARNING: A task failed with exception: 'KeyedWorkItem' object is not iterable [while running 'assert_that/Group/GroupByKey/GroupByWindow']
root: ERROR: Exception at bundle <apache_beam.runners.direct.bundle_factory._Bundle object at 0x7f79adcdc248>, due to an exception.
 Traceback (most recent call last):
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 305, in call
    side_input_values)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 338, in attempt_call
    evaluator.process_element(value)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/transform_evaluator.py",> line 560, in process_element
    self.runner.process(element)
  File "apache_beam/runners/common.py", line 468, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13915)
    def process(self, windowed_value):
  File "apache_beam/runners/common.py", line 474, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13719)
    self._reraise_augmented(exn)
  File "apache_beam/runners/common.py", line 515, in apache_beam.runners.common.DoFnRunner._reraise_augmented (apache_beam/runners/common.c:14934)
    raise new_exn, None, original_traceback
  File "apache_beam/runners/common.py", line 472, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13632)
    self.do_fn_invoker.invoke_process(windowed_value)
  File "apache_beam/runners/common.py", line 270, in apache_beam.runners.common.SimpleInvoker.invoke_process (apache_beam/runners/common.c:9084)
    windowed_value, self.process_method(windowed_value.value))
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/transforms/core.py",> line 1453, in process
    k, vs = element
TypeError: 'KeyedWorkItem' object is not iterable [while running 'GroupByKey/GroupByWindow']

root: ERROR: Exception at bundle <apache_beam.runners.direct.bundle_factory._Bundle object at 0x7f79adcdc248>, due to an exception.
 Traceback (most recent call last):
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 305, in call
    side_input_values)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 338, in attempt_call
    evaluator.process_element(value)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/transform_evaluator.py",> line 560, in process_element
    self.runner.process(element)
  File "apache_beam/runners/common.py", line 468, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13915)
    def process(self, windowed_value):
  File "apache_beam/runners/common.py", line 474, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13719)
    self._reraise_augmented(exn)
  File "apache_beam/runners/common.py", line 515, in apache_beam.runners.common.DoFnRunner._reraise_augmented (apache_beam/runners/common.c:14934)
    raise new_exn, None, original_traceback
  File "apache_beam/runners/common.py", line 472, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13632)
    self.do_fn_invoker.invoke_process(windowed_value)
  File "apache_beam/runners/common.py", line 270, in apache_beam.runners.common.SimpleInvoker.invoke_process (apache_beam/runners/common.c:9084)
    windowed_value, self.process_method(windowed_value.value))
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/transforms/core.py",> line 1453, in process
    k, vs = element
TypeError: 'KeyedWorkItem' object is not iterable [while running 'GroupByKey/GroupByWindow']

root: ERROR: Exception at bundle <apache_beam.runners.direct.bundle_factory._Bundle object at 0x7f79adcdc248>, due to an exception.
 Traceback (most recent call last):
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 305, in call
    side_input_values)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 338, in attempt_call
    evaluator.process_element(value)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/transform_evaluator.py",> line 560, in process_element
    self.runner.process(element)
  File "apache_beam/runners/common.py", line 468, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13915)
    def process(self, windowed_value):
  File "apache_beam/runners/common.py", line 474, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13719)
    self._reraise_augmented(exn)
  File "apache_beam/runners/common.py", line 515, in apache_beam.runners.common.DoFnRunner._reraise_augmented (apache_beam/runners/common.c:14934)
    raise new_exn, None, original_traceback
  File "apache_beam/runners/common.py", line 472, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13632)
    self.do_fn_invoker.invoke_process(windowed_value)
  File "apache_beam/runners/common.py", line 270, in apache_beam.runners.common.SimpleInvoker.invoke_process (apache_beam/runners/common.c:9084)
    windowed_value, self.process_method(windowed_value.value))
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/transforms/core.py",> line 1453, in process
    k, vs = element
TypeError: 'KeyedWorkItem' object is not iterable [while running 'GroupByKey/GroupByWindow']

root: ERROR: Exception at bundle <apache_beam.runners.direct.bundle_factory._Bundle object at 0x7f79adcdc248>, due to an exception.
 Traceback (most recent call last):
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 305, in call
    side_input_values)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/executor.py",> line 338, in attempt_call
    evaluator.process_element(value)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/transform_evaluator.py",> line 560, in process_element
    self.runner.process(element)
  File "apache_beam/runners/common.py", line 468, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13915)
    def process(self, windowed_value):
  File "apache_beam/runners/common.py", line 474, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13719)
    self._reraise_augmented(exn)
  File "apache_beam/runners/common.py", line 515, in apache_beam.runners.common.DoFnRunner._reraise_augmented (apache_beam/runners/common.c:14934)
    raise new_exn, None, original_traceback
  File "apache_beam/runners/common.py", line 472, in apache_beam.runners.common.DoFnRunner.process (apache_beam/runners/common.c:13632)
    self.do_fn_invoker.invoke_process(windowed_value)
  File "apache_beam/runners/common.py", line 270, in apache_beam.runners.common.SimpleInvoker.invoke_process (apache_beam/runners/common.c:9084)
    windowed_value, self.process_method(windowed_value.value))
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/transforms/core.py",> line 1453, in process
    k, vs = element
TypeError: 'KeyedWorkItem' object is not iterable [while running 'GroupByKey/GroupByWindow']

root: ERROR: Giving up after 4 attempts.
--------------------- >> end captured logging << ---------------------

======================================================================
FAIL: test_using_slow_impl (apache_beam.coders.slow_coders_test.SlowCoders)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/coders/slow_coders_test.py",> line 41, in test_using_slow_impl
    import apache_beam.coders.stream
AssertionError: ImportError not raised

----------------------------------------------------------------------
Ran 1544 tests in 253.290s

FAILED (failures=1, errors=3, skipped=42)
Test failed: <unittest.runner.TextTestResult run=1544 errors=3 failures=1>
error: Test failed: <unittest.runner.TextTestResult run=1544 errors=3 failures=1>
ERROR: InvocationError: '<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/target/.tox/py27gcp/bin/python> setup.py test'
___________________________________ summary ____________________________________
ERROR:   cover: commands failed
  docs: commands succeeded
  lint: commands succeeded
ERROR:   py27: commands failed
ERROR:   py27cython: commands failed
ERROR:   py27gcp: commands failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user ccy@google.com
Not sending mail to unregistered user aljoscha.krettek@gmail.com
Not sending mail to unregistered user klk@google.com