See 
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Runners_Cron/912/display/redirect>

Changes:


------------------------------------------
[...truncated 1.72 MB...]
      return self.do_fn_invoker.invoke_process(windowed_value)
    File "apache_beam/runners/common.py", line 625, in 
apache_beam.runners.common.SimpleInvoker.invoke_process
      self.output_handler.handle_process_outputs(
    File "apache_beam/runners/common.py", line 1607, in 
apache_beam.runners.common._OutputHandler.handle_process_outputs
      self._write_value_to_tag(tag, windowed_value, watermark_estimator)
    File "apache_beam/runners/common.py", line 1720, in 
apache_beam.runners.common._OutputHandler._write_value_to_tag
      self.main_receivers.receive(windowed_value)
    File "apache_beam/runners/worker/operations.py", line 264, in 
apache_beam.runners.worker.operations.SingletonElementConsumerSet.receive
      self.consumer.process(windowed_value)
    File "apache_beam/runners/worker/operations.py", line 951, in 
apache_beam.runners.worker.operations.DoOperation.process
      with self.scoped_process_state:
    File "apache_beam/runners/worker/operations.py", line 952, in 
apache_beam.runners.worker.operations.DoOperation.process
      delayed_applications = self.dofn_runner.process(o)
    File "apache_beam/runners/common.py", line 1425, in 
apache_beam.runners.common.DoFnRunner.process
      self._reraise_augmented(exn, windowed_value)
    File "apache_beam/runners/common.py", line 1513, in 
apache_beam.runners.common.DoFnRunner._reraise_augmented
      raise exn
    File "apache_beam/runners/common.py", line 1423, in 
apache_beam.runners.common.DoFnRunner.process
      return self.do_fn_invoker.invoke_process(windowed_value)
    File "apache_beam/runners/common.py", line 625, in 
apache_beam.runners.common.SimpleInvoker.invoke_process
      self.output_handler.handle_process_outputs(
    File "apache_beam/runners/common.py", line 1607, in 
apache_beam.runners.common._OutputHandler.handle_process_outputs
      self._write_value_to_tag(tag, windowed_value, watermark_estimator)
    File "apache_beam/runners/common.py", line 1720, in 
apache_beam.runners.common._OutputHandler._write_value_to_tag
      self.main_receivers.receive(windowed_value)
    File "apache_beam/runners/worker/operations.py", line 264, in 
apache_beam.runners.worker.operations.SingletonElementConsumerSet.receive
      self.consumer.process(windowed_value)
    File "apache_beam/runners/worker/operations.py", line 951, in 
apache_beam.runners.worker.operations.DoOperation.process
      with self.scoped_process_state:
    File "apache_beam/runners/worker/operations.py", line 952, in 
apache_beam.runners.worker.operations.DoOperation.process
      delayed_applications = self.dofn_runner.process(o)
    File "apache_beam/runners/common.py", line 1425, in 
apache_beam.runners.common.DoFnRunner.process
      self._reraise_augmented(exn, windowed_value)
    File "apache_beam/runners/common.py", line 1533, in 
apache_beam.runners.common.DoFnRunner._reraise_augmented
      raise new_exn
    File "apache_beam/runners/common.py", line 1423, in 
apache_beam.runners.common.DoFnRunner.process
      return self.do_fn_invoker.invoke_process(windowed_value)
    File "apache_beam/runners/common.py", line 626, in 
apache_beam.runners.common.SimpleInvoker.invoke_process
      windowed_value, self.process_method(windowed_value.value))
    File 
"<https://ci-beam.apache.org/job/beam_PreCommit_Python_Runners_Cron/ws/src/sdks/python/test-suites/tox/py39/build/srcs/sdks/python/apache_beam/transforms/core.py";,>
 line 1963, in <lambda>
      wrapper = lambda x: [fn(x)]
    File 
"<https://ci-beam.apache.org/job/beam_PreCommit_Python_Runners_Cron/ws/src/sdks/python/test-suites/tox/py39/build/srcs/sdks/python/apache_beam/runners/portability/fn_api_runner/fn_runner_test.py";,>
 line 1148, in raise_error
      raise RuntimeError(
  RuntimeError: This error is expected and does not indicate a test failure. 
[while running 'StageC']
  
    warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg))

apache_beam/runners/portability/portable_runner_test.py::PortableRunnerTestWithLocalDocker::test_error_traceback_includes_user_code
  
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Runners_Cron/ws/src/sdks/python/test-suites/tox/py39/build/srcs/sdks/python/target/.tox-py39-cython/py39-cython/lib/python3.9/site-packages/_pytest/threadexception.py>:73:
 PytestUnhandledThreadExceptionWarning: Exception in thread Thread-1965
  
  Traceback (most recent call last):
    File "apache_beam/runners/common.py", line 1423, in 
apache_beam.runners.common.DoFnRunner.process
      return self.do_fn_invoker.invoke_process(windowed_value)
    File "apache_beam/runners/common.py", line 626, in 
apache_beam.runners.common.SimpleInvoker.invoke_process
      windowed_value, self.process_method(windowed_value.value))
    File 
"<https://ci-beam.apache.org/job/beam_PreCommit_Python_Runners_Cron/ws/src/sdks/python/test-suites/tox/py39/build/srcs/sdks/python/apache_beam/transforms/core.py";,>
 line 1963, in <lambda>
      wrapper = lambda x: [fn(x)]
    File 
"<https://ci-beam.apache.org/job/beam_PreCommit_Python_Runners_Cron/ws/src/sdks/python/test-suites/tox/py39/build/srcs/sdks/python/apache_beam/runners/portability/fn_api_runner/fn_runner_test.py";,>
 line 1165, in first
      return second(x)
    File 
"<https://ci-beam.apache.org/job/beam_PreCommit_Python_Runners_Cron/ws/src/sdks/python/test-suites/tox/py39/build/srcs/sdks/python/apache_beam/runners/portability/fn_api_runner/fn_runner_test.py";,>
 line 1168, in second
      return third(x)
    File 
"<https://ci-beam.apache.org/job/beam_PreCommit_Python_Runners_Cron/ws/src/sdks/python/test-suites/tox/py39/build/srcs/sdks/python/apache_beam/runners/portability/fn_api_runner/fn_runner_test.py";,>
 line 1171, in third
      raise ValueError(
  ValueError: This error is expected and does not indicate a test failure.
  
  During handling of the above exception, another exception occurred:
  
  Traceback (most recent call last):
    File "/usr/lib/python3.9/threading.py", line 973, in _bootstrap_inner
      self.run()
    File "/usr/lib/python3.9/threading.py", line 910, in run
      self._target(*self._args, **self._kwargs)
    File 
"<https://ci-beam.apache.org/job/beam_PreCommit_Python_Runners_Cron/ws/src/sdks/python/test-suites/tox/py39/build/srcs/sdks/python/apache_beam/runners/portability/local_job_service.py";,>
 line 296, in _run_job
      self.result = self._invoke_runner()
    File 
"<https://ci-beam.apache.org/job/beam_PreCommit_Python_Runners_Cron/ws/src/sdks/python/test-suites/tox/py39/build/srcs/sdks/python/apache_beam/runners/portability/local_job_service.py";,>
 line 318, in _invoke_runner
      return fn_runner.FnApiRunner(
    File 
"<https://ci-beam.apache.org/job/beam_PreCommit_Python_Runners_Cron/ws/src/sdks/python/test-suites/tox/py39/build/srcs/sdks/python/apache_beam/runners/portability/fn_api_runner/fn_runner.py";,>
 line 224, in run_via_runner_api
      return self.run_stages(stage_context, stages)
    File 
"<https://ci-beam.apache.org/job/beam_PreCommit_Python_Runners_Cron/ws/src/sdks/python/test-suites/tox/py39/build/srcs/sdks/python/apache_beam/runners/portability/fn_api_runner/fn_runner.py";,>
 line 455, in run_stages
      bundle_results = self._execute_bundle(
    File 
"<https://ci-beam.apache.org/job/beam_PreCommit_Python_Runners_Cron/ws/src/sdks/python/test-suites/tox/py39/build/srcs/sdks/python/apache_beam/runners/portability/fn_api_runner/fn_runner.py";,>
 line 783, in _execute_bundle
      self._run_bundle(
    File 
"<https://ci-beam.apache.org/job/beam_PreCommit_Python_Runners_Cron/ws/src/sdks/python/test-suites/tox/py39/build/srcs/sdks/python/apache_beam/runners/portability/fn_api_runner/fn_runner.py";,>
 line 1020, in _run_bundle
      result, splits = bundle_manager.process_bundle(
    File 
"<https://ci-beam.apache.org/job/beam_PreCommit_Python_Runners_Cron/ws/src/sdks/python/test-suites/tox/py39/build/srcs/sdks/python/apache_beam/runners/portability/fn_api_runner/fn_runner.py";,>
 line 1356, in process_bundle
      result_future = self._worker_handler.control_conn.push(process_bundle_req)
    File 
"<https://ci-beam.apache.org/job/beam_PreCommit_Python_Runners_Cron/ws/src/sdks/python/test-suites/tox/py39/build/srcs/sdks/python/apache_beam/runners/portability/fn_api_runner/worker_handlers.py";,>
 line 379, in push
      response = self.worker.do_instruction(request)
    File 
"<https://ci-beam.apache.org/job/beam_PreCommit_Python_Runners_Cron/ws/src/sdks/python/test-suites/tox/py39/build/srcs/sdks/python/apache_beam/runners/worker/sdk_worker.py";,>
 line 625, in do_instruction
      return getattr(self, request_type)(
    File 
"<https://ci-beam.apache.org/job/beam_PreCommit_Python_Runners_Cron/ws/src/sdks/python/test-suites/tox/py39/build/srcs/sdks/python/apache_beam/runners/worker/sdk_worker.py";,>
 line 663, in process_bundle
      bundle_processor.process_bundle(instruction_id))
    File 
"<https://ci-beam.apache.org/job/beam_PreCommit_Python_Runners_Cron/ws/src/sdks/python/test-suites/tox/py39/build/srcs/sdks/python/apache_beam/runners/worker/bundle_processor.py";,>
 line 1040, in process_bundle
      input_op_by_transform_id[element.transform_id].process_encoded(
    File 
"<https://ci-beam.apache.org/job/beam_PreCommit_Python_Runners_Cron/ws/src/sdks/python/test-suites/tox/py39/build/srcs/sdks/python/apache_beam/runners/worker/bundle_processor.py";,>
 line 232, in process_encoded
      self.output(decoded_value)
    File "apache_beam/runners/worker/operations.py", line 568, in 
apache_beam.runners.worker.operations.Operation.output
      def output(self, windowed_value, output_index=0):
    File "apache_beam/runners/worker/operations.py", line 570, in 
apache_beam.runners.worker.operations.Operation.output
      _cast_to_receiver(self.receivers[output_index]).receive(windowed_value)
    File "apache_beam/runners/worker/operations.py", line 261, in 
apache_beam.runners.worker.operations.SingletonElementConsumerSet.receive
      def receive(self, windowed_value):
    File "apache_beam/runners/worker/operations.py", line 264, in 
apache_beam.runners.worker.operations.SingletonElementConsumerSet.receive
      self.consumer.process(windowed_value)
    File "apache_beam/runners/worker/operations.py", line 951, in 
apache_beam.runners.worker.operations.DoOperation.process
      with self.scoped_process_state:
    File "apache_beam/runners/worker/operations.py", line 952, in 
apache_beam.runners.worker.operations.DoOperation.process
      delayed_applications = self.dofn_runner.process(o)
    File "apache_beam/runners/common.py", line 1425, in 
apache_beam.runners.common.DoFnRunner.process
      self._reraise_augmented(exn, windowed_value)
    File "apache_beam/runners/common.py", line 1513, in 
apache_beam.runners.common.DoFnRunner._reraise_augmented
      raise exn
    File "apache_beam/runners/common.py", line 1423, in 
apache_beam.runners.common.DoFnRunner.process
      return self.do_fn_invoker.invoke_process(windowed_value)
    File "apache_beam/runners/common.py", line 625, in 
apache_beam.runners.common.SimpleInvoker.invoke_process
      self.output_handler.handle_process_outputs(
    File "apache_beam/runners/common.py", line 1607, in 
apache_beam.runners.common._OutputHandler.handle_process_outputs
      self._write_value_to_tag(tag, windowed_value, watermark_estimator)
    File "apache_beam/runners/common.py", line 1720, in 
apache_beam.runners.common._OutputHandler._write_value_to_tag
      self.main_receivers.receive(windowed_value)
    File "apache_beam/runners/worker/operations.py", line 264, in 
apache_beam.runners.worker.operations.SingletonElementConsumerSet.receive
      self.consumer.process(windowed_value)
    File "apache_beam/runners/worker/operations.py", line 951, in 
apache_beam.runners.worker.operations.DoOperation.process
      with self.scoped_process_state:
    File "apache_beam/runners/worker/operations.py", line 952, in 
apache_beam.runners.worker.operations.DoOperation.process
      delayed_applications = self.dofn_runner.process(o)
    File "apache_beam/runners/common.py", line 1425, in 
apache_beam.runners.common.DoFnRunner.process
      self._reraise_augmented(exn, windowed_value)
    File "apache_beam/runners/common.py", line 1513, in 
apache_beam.runners.common.DoFnRunner._reraise_augmented
      raise exn
    File "apache_beam/runners/common.py", line 1423, in 
apache_beam.runners.common.DoFnRunner.process
      return self.do_fn_invoker.invoke_process(windowed_value)
    File "apache_beam/runners/common.py", line 625, in 
apache_beam.runners.common.SimpleInvoker.invoke_process
      self.output_handler.handle_process_outputs(
    File "apache_beam/runners/common.py", line 1607, in 
apache_beam.runners.common._OutputHandler.handle_process_outputs
      self._write_value_to_tag(tag, windowed_value, watermark_estimator)
    File "apache_beam/runners/common.py", line 1720, in 
apache_beam.runners.common._OutputHandler._write_value_to_tag
      self.main_receivers.receive(windowed_value)
    File "apache_beam/runners/worker/operations.py", line 264, in 
apache_beam.runners.worker.operations.SingletonElementConsumerSet.receive
      self.consumer.process(windowed_value)
    File "apache_beam/runners/worker/operations.py", line 951, in 
apache_beam.runners.worker.operations.DoOperation.process
      with self.scoped_process_state:
    File "apache_beam/runners/worker/operations.py", line 952, in 
apache_beam.runners.worker.operations.DoOperation.process
      delayed_applications = self.dofn_runner.process(o)
    File "apache_beam/runners/common.py", line 1425, in 
apache_beam.runners.common.DoFnRunner.process
      self._reraise_augmented(exn, windowed_value)
    File "apache_beam/runners/common.py", line 1533, in 
apache_beam.runners.common.DoFnRunner._reraise_augmented
      raise new_exn
    File "apache_beam/runners/common.py", line 1423, in 
apache_beam.runners.common.DoFnRunner.process
      return self.do_fn_invoker.invoke_process(windowed_value)
    File "apache_beam/runners/common.py", line 626, in 
apache_beam.runners.common.SimpleInvoker.invoke_process
      windowed_value, self.process_method(windowed_value.value))
    File 
"<https://ci-beam.apache.org/job/beam_PreCommit_Python_Runners_Cron/ws/src/sdks/python/test-suites/tox/py39/build/srcs/sdks/python/apache_beam/transforms/core.py";,>
 line 1963, in <lambda>
      wrapper = lambda x: [fn(x)]
    File 
"<https://ci-beam.apache.org/job/beam_PreCommit_Python_Runners_Cron/ws/src/sdks/python/test-suites/tox/py39/build/srcs/sdks/python/apache_beam/runners/portability/fn_api_runner/fn_runner_test.py";,>
 line 1165, in first
      return second(x)
    File 
"<https://ci-beam.apache.org/job/beam_PreCommit_Python_Runners_Cron/ws/src/sdks/python/test-suites/tox/py39/build/srcs/sdks/python/apache_beam/runners/portability/fn_api_runner/fn_runner_test.py";,>
 line 1168, in second
      return third(x)
    File 
"<https://ci-beam.apache.org/job/beam_PreCommit_Python_Runners_Cron/ws/src/sdks/python/test-suites/tox/py39/build/srcs/sdks/python/apache_beam/runners/portability/fn_api_runner/fn_runner_test.py";,>
 line 1171, in third
      raise ValueError(
  ValueError: This error is expected and does not indicate a test failure. 
[while running 'Map(first)']
  
    warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg))

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
- generated xml file: 
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Runners_Cron/ws/src/sdks/python/test-suites/tox/py39/build/srcs/sdks/python/pytest_py39-cython.xml>
 -
=========================== short test summary info ============================
FAILED 
apache_beam/runners/portability/fn_api_runner/fn_runner_test.py::FnApiRunnerTestWithBundleRepeatAndMultiWorkers::test_sdf_with_truncate
===== 1 failed, 1180 passed, 719 skipped, 28 warnings in 250.63s (0:04:10) =====
============================= test session starts ==============================
platform linux -- Python 3.9.10, pytest-7.4.0, pluggy-1.2.0
cachedir: target/.tox-py39-cython/py39-cython/.pytest_cache
rootdir: 
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Runners_Cron/ws/src/sdks/python/test-suites/tox/py39/build/srcs/sdks/python>
configfile: pytest.ini
plugins: xdist-3.3.1, hypothesis-6.82.5, requests-mock-1.11.0, timeout-2.1.0
timeout: 600.0s
timeout method: signal
timeout func_only: False
collected 1902 items / 1899 deselected / 1 skipped / 3 selected

apache_beam/runners/dataflow/dataflow_exercise_streaming_metrics_pipeline_test.py
 s [ 33%]
                                                                         [ 33%]
apache_beam/runners/portability/stager_test.py ..                        [100%]

=============================== warnings summary ===============================
target/.tox-py39-cython/py39-cython/lib/python3.9/site-packages/hdfs/config.py:28
  
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Runners_Cron/ws/src/sdks/python/test-suites/tox/py39/build/srcs/sdks/python/target/.tox-py39-cython/py39-cython/lib/python3.9/site-packages/hdfs/config.py>:28:
 DeprecationWarning: the imp module is deprecated in favour of importlib; see 
the module's documentation for alternative uses
    from imp import load_source

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
- generated xml file: 
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Runners_Cron/ws/src/sdks/python/test-suites/tox/py39/build/srcs/sdks/python/pytest_py39-cython_no_xdist.xml>
 -
=========== 2 passed, 2 skipped, 1899 deselected, 1 warning in 1.55s ===========
py39-cython: exit 1 (258.10 seconds) 
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Runners_Cron/ws/src/sdks/python/test-suites/tox/py39/build/srcs/sdks/python>>
 bash 
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Runners_Cron/ws/src/sdks/python/test-suites/tox/py39/build/srcs/sdks/python/scripts/run_pytest.sh>
 py39-cython apache_beam/runners/ pid=2686371
py39-cython: commands_post[0]> bash 
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Runners_Cron/ws/src/sdks/python/test-suites/tox/py39/build/srcs/sdks/python/scripts/run_tox_cleanup.sh>
.pkg_external_sdist_meta: _exit 
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Runners_Cron/ws/src/sdks/python/test-suites/tox/py39/build/srcs/sdks/python/target/.tox-py39-cython/.pkg_external/tmp/sdist-extract/apache-beam-2.51.0.dev0>>
 python 
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Runners_Cron/ws/src/build/gradleenv/-1227304281/lib/python3.9/site-packages/pyproject_api/_backend.py>
 True setuptools.build_meta __legacy__
  py39-cython: FAIL code 1 
(838.58=setup[317.70]+cmd[0.01,0.79,1.58,0.04,257.18,3.11,258.10,0.07] seconds)
  evaluation failed :( (838.76 seconds)

> Task :sdks:python:test-suites:tox:py310:testPy310Cython
============================= test session starts ==============================
platform linux -- Python 3.10.2, pytest-7.4.0, pluggy-1.2.0
cachedir: target/.tox-py310-cython/py310-cython/.pytest_cache
rootdir: 
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Runners_Cron/ws/src/sdks/python/test-suites/tox/py310/build/srcs/sdks/python>
configfile: pytest.ini
plugins: xdist-3.3.1, hypothesis-6.82.5, requests-mock-1.11.0, timeout-2.1.0
timeout: 600.0s
timeout method: signal
timeout func_only: False
collected 1902 items / 1899 deselected / 1 skipped / 3 selected

apache_beam/runners/dataflow/dataflow_exercise_streaming_metrics_pipeline_test.py
 s [ 33%]
                                                                         [ 33%]
apache_beam/runners/portability/stager_test.py ..                        [100%]

=============================== warnings summary ===============================
target/.tox-py310-cython/py310-cython/lib/python3.10/site-packages/hdfs/config.py:28
  
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Runners_Cron/ws/src/sdks/python/test-suites/tox/py310/build/srcs/sdks/python/target/.tox-py310-cython/py310-cython/lib/python3.10/site-packages/hdfs/config.py>:28:
 DeprecationWarning: the imp module is deprecated in favour of importlib and 
slated for removal in Python 3.12; see the module's documentation for 
alternative uses
    from imp import load_source

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
- generated xml file: 
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Runners_Cron/ws/src/sdks/python/test-suites/tox/py310/build/srcs/sdks/python/pytest_py310-cython_no_xdist.xml>
 -
=========== 2 passed, 2 skipped, 1899 deselected, 1 warning in 1.17s ===========
py310-cython: commands_post[0]> bash 
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Runners_Cron/ws/src/sdks/python/test-suites/tox/py310/build/srcs/sdks/python/scripts/run_tox_cleanup.sh>
.pkg_external_sdist_meta: _exit 
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Runners_Cron/ws/src/sdks/python/test-suites/tox/py310/build/srcs/sdks/python/target/.tox-py310-cython/.pkg_external/tmp/sdist-extract/apache-beam-2.51.0.dev0>>
 python 
<https://ci-beam.apache.org/job/beam_PreCommit_Python_Runners_Cron/ws/src/build/gradleenv/608272753/lib/python3.10/site-packages/pyproject_api/_backend.py>
 True setuptools.build_meta __legacy__
  py310-cython: OK 
(835.63=setup[315.06]+cmd[0.00,0.64,1.58,0.03,252.50,3.41,262.34,0.07] seconds)
  congratulations :) (835.81 seconds)

> Task :sdks:python:test-suites:tox:py310:preCommitPy310

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':sdks:python:test-suites:tox:py39:testPy39Cython'.
> Process 'command 'sh'' finished with non-zero exit value 1

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.

* Get more help at https://help.gradle.org

BUILD FAILED in 22m 30s
23 actionable tasks: 17 executed, 4 from cache, 2 up-to-date

Publishing build scan...
https://ge.apache.org/s/qfz7fyfugcj26

Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to