You are viewing a plain text version of this content. The canonical link for it is here.
Posted to builds@beam.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2023/05/02 08:21:30 UTC
Build failed in Jenkins: beam_PostCommit_Py_VR_Dataflow #10753
See <https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/10753/display/redirect>
Changes:
------------------------------------------
[...truncated 284.67 KB...]
# name field of the element.
def format_with_timestamp(element, timestamp=beam.DoFn.TimestampParam):
t = str(timestamp)
if timestamp == MIN_TIMESTAMP:
t = 'MIN_TIMESTAMP'
elif timestamp == MAX_TIMESTAMP:
t = 'MAX_TIMESTAMP'
return '{} - {}'.format(t, element['name'])
# Combine each element in before_reshuffle with its timestamp.
formatted_before_reshuffle = (
before_reshuffle
| "Get before_reshuffle timestamp" >> beam.Map(format_with_timestamp))
# Combine each element in after_reshuffle with its timestamp.
formatted_after_reshuffle = (
after_reshuffle
| "Get after_reshuffle timestamp" >> beam.Map(format_with_timestamp))
expected_data = [
'MIN_TIMESTAMP - foo',
'Timestamp(0) - foo',
'Timestamp(33) - bar',
'Timestamp(0) - bar'
]
# Can't compare formatted_before_reshuffle and formatted_after_reshuffle
# directly, because they are deferred PCollections while equal_to only
# takes a concrete argument.
assert_that(
formatted_before_reshuffle,
equal_to(expected_data),
label="formatted_before_reshuffle")
assert_that(
formatted_after_reshuffle,
equal_to(expected_data),
> label="formatted_after_reshuffle")
[1m[31mapache_beam/transforms/util_test.py[0m:821:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[1m[31mapache_beam/pipeline.py[0m:600: in __exit__
self.result = self.run()
[1m[31mapache_beam/testing/test_pipeline.py[0m:114: in run
False if self.not_use_test_runner_api else test_runner_api))
[1m[31mapache_beam/pipeline.py[0m:553: in run
self._options).run(False)
[1m[31mapache_beam/pipeline.py[0m:577: in run
return self.runner.run_pipeline(self, self._options)
[1m[31mapache_beam/runners/dataflow/test_dataflow_runner.py[0m:53: in run_pipeline
self.result = super().run_pipeline(pipeline, options)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <apache_beam.runners.dataflow.test_dataflow_runner.TestDataflowRunner object at 0x7fbd80af6f10>
pipeline = <apache_beam.pipeline.Pipeline object at 0x7fbd80a22350>
options = <apache_beam.options.pipeline_options.PipelineOptions object at 0x7fbd80adedd0>
pipeline_proto = None
def run_pipeline(self, pipeline, options, pipeline_proto=None):
"""Remotely executes entire pipeline or parts reachable from node."""
if _is_runner_v2_disabled(options):
debug_options = options.view_as(DebugOptions)
if not debug_options.lookup_experiment('disable_runner_v2_until_v2.50'):
raise ValueError(
'disable_runner_v2 is deprecated in Beam Python ' +
beam.version.__version__ +
> ' and this execution mode will be removed in a future Beam SDK. '
'If needed, please use: '
'"--experiments=disable_runner_v2_until_v2.50".')
[1m[31mE ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".[0m
[1m[31mapache_beam/runners/dataflow/dataflow_runner.py[0m:377: ValueError
[33m=============================== warnings summary ===============================[0m
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/hdfs/config.py:15
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/hdfs/config.py:15
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/hdfs/config.py:15
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/hdfs/config.py:15
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/hdfs/config.py:15
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/hdfs/config.py:15
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/hdfs/config.py:15
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/hdfs/config.py:15
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/hdfs/config.py:15
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/build/gradleenv/-1734967052/lib/python3.7/site-packages/hdfs/config.py>:15: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
from imp import load_source
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:121
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:121
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:121
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:121
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:121
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:121
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:121
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:121
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:121
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py>:121: DeprecationWarning: pkg_resources is deprecated as an API
warnings.warn("pkg_resources is deprecated as an API", DeprecationWarning)
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870: 162 warnings
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py>:2870: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(pkg)
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870: 117 warnings
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py>:2870: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google.cloud')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(pkg)
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2349: 36 warnings
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py>:2349: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(parent)
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py>:2870: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google.logging')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(pkg)
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py>:2870: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google.iam')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(pkg)
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/google/rpc/__init__.py:20
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/google/rpc/__init__.py:20
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/google/rpc/__init__.py:20
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/google/rpc/__init__.py:20
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/google/rpc/__init__.py:20
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/google/rpc/__init__.py:20
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/google/rpc/__init__.py:20
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/google/rpc/__init__.py:20
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/google/rpc/__init__.py:20
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/build/gradleenv/-1734967052/lib/python3.7/site-packages/google/rpc/__init__.py>:20: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google.rpc')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
pkg_resources.declare_namespace(__name__)
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
- generated xml file: <https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/sdks/python/pytest_validatesRunnerBatchTests-df-py37.xml> -
[36m[1m=========================== short test summary info ============================[0m
[31mFAILED[0m apache_beam/transforms/dofn_lifecycle_test.py::[1mDoFnLifecycleTest::test_dofn_lifecycle[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/metrics/metric_test.py::[1mMetricsTest::test_user_counter_using_pardo[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/combiners_test.py::[1mCombineValuesTest::test_gbk_immediately_followed_by_combine[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/pipeline_test.py::[1mDoFnTest::test_element_param[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/pipeline_test.py::[1mDoFnTest::test_key_param[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/ptransform_test.py::[1mPTransformTest::test_flatten_one_single_pcollection[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/ptransform_test.py::[1mPTransformTest::test_flatten_multiple_pcollections_having_multiple_consumers[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/ptransform_test.py::[1mPTransformTest::test_flatten_a_flattened_pcollection[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/ptransform_test.py::[1mPTransformTest::test_impulse[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/ptransform_test.py::[1mPTransformTest::test_par_do_with_multiple_outputs_and_using_return[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/runners/portability/fn_api_runner/translations_test.py::[1mTranslationsTest::test_run_packable_combine_globally[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/ptransform_test.py::[1mPTransformTest::test_read_metrics[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/ptransform_test.py::[1mPTransformTest::test_flatten_pcollections[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/sideinputs_test.py::[1mSideInputsTest::test_as_dict_twice[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/ptransform_test.py::[1mPTransformTest::test_par_do_with_multiple_outputs_and_using_yield[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/runners/portability/fn_api_runner/translations_test.py::[1mTranslationsTest::test_run_packable_combine_limit[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/ptransform_test.py::[1mPTransformTest::test_multiple_empty_outputs[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/sideinputs_test.py::[1mSideInputsTest::test_as_singleton_with_different_defaults[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/ptransform_test.py::[1mPTransformTest::test_undeclared_outputs[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/ptransform_test.py::[1mPTransformTest::test_flatten_same_pcollections[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/sideinputs_test.py::[1mSideInputsTest::test_empty_singleton_side_input[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/sideinputs_test.py::[1mSideInputsTest::test_default_value_singleton_side_input[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/sideinputs_test.py::[1mSideInputsTest::test_as_singleton_without_unique_labels[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/sideinputs_test.py::[1mSideInputsTest::test_as_list_twice[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/sideinputs_test.py::[1mSideInputsTest::test_flattened_side_input[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/sideinputs_test.py::[1mSideInputsTest::test_iterable_side_input[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/sideinputs_test.py::[1mSideInputsTest::test_as_list_and_as_dict_side_inputs[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/sideinputs_test.py::[1mSideInputsTest::test_reiterable_side_input[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/runners/portability/fn_api_runner/translations_test.py::[1mTranslationsTest::test_run_packable_combine_per_key[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/util_test.py::[1mReshuffleTest::test_reshuffle_preserves_timestamps[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31m=========== [31m[1m30 failed[0m, [32m4 passed[0m, [33m13 skipped[0m, [33m360 warnings[0m[31m in 24.31s[0m[31m ============[0m
> Task :sdks:python:test-suites:dataflow:py37:validatesRunnerBatchTests FAILED
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
-----------
* Where:
Script '<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/sdks/python/test-suites/dataflow/common.gradle'> line: 242
* What went wrong:
Execution failed for task ':sdks:python:test-suites:dataflow:py39:validatesRunnerBatchTests'.
> 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.
==============================================================================
2: Task failed with an exception.
-----------
* Where:
Script '<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/sdks/python/test-suites/dataflow/common.gradle'> line: 242
* What went wrong:
Execution failed for task ':sdks:python:test-suites:dataflow:py37:validatesRunnerBatchTests'.
> 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
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/7.5.1/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 2m 4s
18 actionable tasks: 12 executed, 4 from cache, 2 up-to-date
Build scan background action failed.
java.lang.IllegalArgumentException: com.gradle.enterprise.gradleplugin.internal.extension.a is not an interface
at java.lang.reflect.Proxy$ProxyClassFactory.apply(Proxy.java:590)
at java.lang.reflect.Proxy$ProxyClassFactory.apply(Proxy.java:557)
at java.lang.reflect.WeakCache$Factory.get(WeakCache.java:230)
at java.lang.reflect.WeakCache.get(WeakCache.java:127)
at java.lang.reflect.Proxy.getProxyClass0(Proxy.java:419)
at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:719)
at com.gradle.ProxyFactory$ProxyingInvocationHandler.createLocalProxy(ProxyFactory.java:64)
at com.gradle.ProxyFactory$ProxyingInvocationHandler.lambda$adaptActionArg$1(ProxyFactory.java:59)
at com.gradle.enterprise.gradleplugin.internal.extension.b$3.run(SourceFile:100)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:750)
Publishing build scan...
https://gradle.com/s/76r6duujqrwh4
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure
---------------------------------------------------------------------
To unsubscribe, e-mail: builds-unsubscribe@beam.apache.org
For additional commands, e-mail: builds-help@beam.apache.org
Jenkins build is back to normal : beam_PostCommit_Py_VR_Dataflow #10760
Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/10760/display/redirect>
---------------------------------------------------------------------
To unsubscribe, e-mail: builds-unsubscribe@beam.apache.org
For additional commands, e-mail: builds-help@beam.apache.org
Build failed in Jenkins: beam_PostCommit_Py_VR_Dataflow #10759
Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/10759/display/redirect>
Changes:
------------------------------------------
[...truncated 284.70 KB...]
# name field of the element.
def format_with_timestamp(element, timestamp=beam.DoFn.TimestampParam):
t = str(timestamp)
if timestamp == MIN_TIMESTAMP:
t = 'MIN_TIMESTAMP'
elif timestamp == MAX_TIMESTAMP:
t = 'MAX_TIMESTAMP'
return '{} - {}'.format(t, element['name'])
# Combine each element in before_reshuffle with its timestamp.
formatted_before_reshuffle = (
before_reshuffle
| "Get before_reshuffle timestamp" >> beam.Map(format_with_timestamp))
# Combine each element in after_reshuffle with its timestamp.
formatted_after_reshuffle = (
after_reshuffle
| "Get after_reshuffle timestamp" >> beam.Map(format_with_timestamp))
expected_data = [
'MIN_TIMESTAMP - foo',
'Timestamp(0) - foo',
'Timestamp(33) - bar',
'Timestamp(0) - bar'
]
# Can't compare formatted_before_reshuffle and formatted_after_reshuffle
# directly, because they are deferred PCollections while equal_to only
# takes a concrete argument.
assert_that(
formatted_before_reshuffle,
equal_to(expected_data),
label="formatted_before_reshuffle")
assert_that(
formatted_after_reshuffle,
equal_to(expected_data),
> label="formatted_after_reshuffle")
[1m[31mapache_beam/transforms/util_test.py[0m:821:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[1m[31mapache_beam/pipeline.py[0m:600: in __exit__
self.result = self.run()
[1m[31mapache_beam/testing/test_pipeline.py[0m:114: in run
False if self.not_use_test_runner_api else test_runner_api))
[1m[31mapache_beam/pipeline.py[0m:553: in run
self._options).run(False)
[1m[31mapache_beam/pipeline.py[0m:577: in run
return self.runner.run_pipeline(self, self._options)
[1m[31mapache_beam/runners/dataflow/test_dataflow_runner.py[0m:53: in run_pipeline
self.result = super().run_pipeline(pipeline, options)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <apache_beam.runners.dataflow.test_dataflow_runner.TestDataflowRunner object at 0x7f43e947c350>
pipeline = <apache_beam.pipeline.Pipeline object at 0x7f43e9586b90>
options = <apache_beam.options.pipeline_options.PipelineOptions object at 0x7f43e947cf50>
pipeline_proto = None
def run_pipeline(self, pipeline, options, pipeline_proto=None):
"""Remotely executes entire pipeline or parts reachable from node."""
if _is_runner_v2_disabled(options):
debug_options = options.view_as(DebugOptions)
if not debug_options.lookup_experiment('disable_runner_v2_until_v2.50'):
raise ValueError(
'disable_runner_v2 is deprecated in Beam Python ' +
beam.version.__version__ +
> ' and this execution mode will be removed in a future Beam SDK. '
'If needed, please use: '
'"--experiments=disable_runner_v2_until_v2.50".')
[1m[31mE ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".[0m
[1m[31mapache_beam/runners/dataflow/dataflow_runner.py[0m:377: ValueError
[33m=============================== warnings summary ===============================[0m
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/hdfs/config.py:15
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/hdfs/config.py:15
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/hdfs/config.py:15
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/hdfs/config.py:15
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/hdfs/config.py:15
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/hdfs/config.py:15
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/hdfs/config.py:15
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/hdfs/config.py:15
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/hdfs/config.py:15
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/build/gradleenv/-1734967052/lib/python3.7/site-packages/hdfs/config.py>:15: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
from imp import load_source
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:121
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:121
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:121
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:121
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:121
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:121
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:121
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:121
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:121
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py>:121: DeprecationWarning: pkg_resources is deprecated as an API
warnings.warn("pkg_resources is deprecated as an API", DeprecationWarning)
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870: 162 warnings
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py>:2870: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(pkg)
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870: 117 warnings
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py>:2870: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google.cloud')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(pkg)
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2349: 36 warnings
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py>:2349: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(parent)
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py>:2870: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google.logging')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(pkg)
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py>:2870: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google.iam')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(pkg)
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/google/rpc/__init__.py:20
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/google/rpc/__init__.py:20
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/google/rpc/__init__.py:20
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/google/rpc/__init__.py:20
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/google/rpc/__init__.py:20
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/google/rpc/__init__.py:20
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/google/rpc/__init__.py:20
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/google/rpc/__init__.py:20
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/google/rpc/__init__.py:20
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/build/gradleenv/-1734967052/lib/python3.7/site-packages/google/rpc/__init__.py>:20: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google.rpc')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
pkg_resources.declare_namespace(__name__)
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
- generated xml file: <https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/sdks/python/pytest_validatesRunnerBatchTests-df-py37.xml> -
[36m[1m=========================== short test summary info ============================[0m
[31mFAILED[0m apache_beam/transforms/dofn_lifecycle_test.py::[1mDoFnLifecycleTest::test_dofn_lifecycle[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/combiners_test.py::[1mCombineValuesTest::test_gbk_immediately_followed_by_combine[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/metrics/metric_test.py::[1mMetricsTest::test_user_counter_using_pardo[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/pipeline_test.py::[1mDoFnTest::test_element_param[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/ptransform_test.py::[1mPTransformTest::test_flatten_one_single_pcollection[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/pipeline_test.py::[1mDoFnTest::test_key_param[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/ptransform_test.py::[1mPTransformTest::test_flatten_a_flattened_pcollection[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/ptransform_test.py::[1mPTransformTest::test_flatten_pcollections[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/ptransform_test.py::[1mPTransformTest::test_flatten_multiple_pcollections_having_multiple_consumers[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/ptransform_test.py::[1mPTransformTest::test_par_do_with_multiple_outputs_and_using_yield[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/ptransform_test.py::[1mPTransformTest::test_impulse[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/sideinputs_test.py::[1mSideInputsTest::test_as_dict_twice[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/ptransform_test.py::[1mPTransformTest::test_read_metrics[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/runners/portability/fn_api_runner/translations_test.py::[1mTranslationsTest::test_run_packable_combine_globally[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/ptransform_test.py::[1mPTransformTest::test_undeclared_outputs[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/sideinputs_test.py::[1mSideInputsTest::test_as_singleton_with_different_defaults[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/runners/portability/fn_api_runner/translations_test.py::[1mTranslationsTest::test_run_packable_combine_limit[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/sideinputs_test.py::[1mSideInputsTest::test_as_singleton_without_unique_labels[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/ptransform_test.py::[1mPTransformTest::test_par_do_with_multiple_outputs_and_using_return[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/ptransform_test.py::[1mPTransformTest::test_multiple_empty_outputs[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/sideinputs_test.py::[1mSideInputsTest::test_empty_singleton_side_input[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/ptransform_test.py::[1mPTransformTest::test_flatten_same_pcollections[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/sideinputs_test.py::[1mSideInputsTest::test_as_list_twice[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/sideinputs_test.py::[1mSideInputsTest::test_flattened_side_input[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/sideinputs_test.py::[1mSideInputsTest::test_reiterable_side_input[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/sideinputs_test.py::[1mSideInputsTest::test_default_value_singleton_side_input[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/sideinputs_test.py::[1mSideInputsTest::test_as_list_and_as_dict_side_inputs[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/sideinputs_test.py::[1mSideInputsTest::test_iterable_side_input[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/runners/portability/fn_api_runner/translations_test.py::[1mTranslationsTest::test_run_packable_combine_per_key[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/util_test.py::[1mReshuffleTest::test_reshuffle_preserves_timestamps[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31m=========== [31m[1m30 failed[0m, [32m4 passed[0m, [33m13 skipped[0m, [33m360 warnings[0m[31m in 45.02s[0m[31m ============[0m
> Task :sdks:python:test-suites:dataflow:py37:validatesRunnerBatchTests FAILED
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
-----------
* Where:
Script '<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/sdks/python/test-suites/dataflow/common.gradle'> line: 242
* What went wrong:
Execution failed for task ':sdks:python:test-suites:dataflow:py39:validatesRunnerBatchTests'.
> 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.
==============================================================================
2: Task failed with an exception.
-----------
* Where:
Script '<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/sdks/python/test-suites/dataflow/common.gradle'> line: 242
* What went wrong:
Execution failed for task ':sdks:python:test-suites:dataflow:py37:validatesRunnerBatchTests'.
> 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
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/7.5.1/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 2m 22s
18 actionable tasks: 12 executed, 4 from cache, 2 up-to-date
Build scan background action failed.
java.lang.IllegalArgumentException: com.gradle.enterprise.gradleplugin.internal.extension.a is not an interface
at java.lang.reflect.Proxy$ProxyClassFactory.apply(Proxy.java:590)
at java.lang.reflect.Proxy$ProxyClassFactory.apply(Proxy.java:557)
at java.lang.reflect.WeakCache$Factory.get(WeakCache.java:230)
at java.lang.reflect.WeakCache.get(WeakCache.java:127)
at java.lang.reflect.Proxy.getProxyClass0(Proxy.java:419)
at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:719)
at com.gradle.ProxyFactory$ProxyingInvocationHandler.createLocalProxy(ProxyFactory.java:64)
at com.gradle.ProxyFactory$ProxyingInvocationHandler.lambda$adaptActionArg$1(ProxyFactory.java:59)
at com.gradle.enterprise.gradleplugin.internal.extension.b$3.run(SourceFile:100)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:750)
Publishing build scan...
https://gradle.com/s/ftmx44kywjo4g
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure
---------------------------------------------------------------------
To unsubscribe, e-mail: builds-unsubscribe@beam.apache.org
For additional commands, e-mail: builds-help@beam.apache.org
Build failed in Jenkins: beam_PostCommit_Py_VR_Dataflow #10758
Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/10758/display/redirect?page=changes>
Changes:
[noreply] Use vendor guava for sdks/java/extensions/sql (#26463)
------------------------------------------
[...truncated 283.85 KB...]
> assert_that(
formatted_after_reshuffle,
equal_to(expected_data),
label="formatted_after_reshuffle")
[1m[31mapache_beam/transforms/util_test.py[0m:818:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[1m[31mapache_beam/pipeline.py[0m:600: in __exit__
self.result = self.run()
[1m[31mapache_beam/testing/test_pipeline.py[0m:112: in run
result = super().run(
[1m[31mapache_beam/pipeline.py[0m:550: in run
return Pipeline.from_runner_api(
[1m[31mapache_beam/pipeline.py[0m:577: in run
return self.runner.run_pipeline(self, self._options)
[1m[31mapache_beam/runners/dataflow/test_dataflow_runner.py[0m:53: in run_pipeline
self.result = super().run_pipeline(pipeline, options)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <apache_beam.runners.dataflow.test_dataflow_runner.TestDataflowRunner object at 0x7fb8c7d18ee0>
pipeline = <apache_beam.pipeline.Pipeline object at 0x7fb8c75ef7f0>
options = <apache_beam.options.pipeline_options.PipelineOptions object at 0x7fb8c7d18c40>
pipeline_proto = None
def run_pipeline(self, pipeline, options, pipeline_proto=None):
"""Remotely executes entire pipeline or parts reachable from node."""
if _is_runner_v2_disabled(options):
debug_options = options.view_as(DebugOptions)
if not debug_options.lookup_experiment('disable_runner_v2_until_v2.50'):
> raise ValueError(
'disable_runner_v2 is deprecated in Beam Python ' +
beam.version.__version__ +
' and this execution mode will be removed in a future Beam SDK. '
'If needed, please use: '
'"--experiments=disable_runner_v2_until_v2.50".')
[1m[31mE ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".[0m
[1m[31mapache_beam/runners/dataflow/dataflow_runner.py[0m:374: ValueError
[33m=============================== warnings summary ===============================[0m
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/hdfs/config.py:15
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/hdfs/config.py:15
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/hdfs/config.py:15
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/hdfs/config.py:15
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/hdfs/config.py:15
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/hdfs/config.py:15
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/hdfs/config.py:15
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/hdfs/config.py:15
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/hdfs/config.py:15
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/build/gradleenv/-1734967050/lib/python3.9/site-packages/hdfs/config.py>:15: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
from imp import load_source
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:121
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:121
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:121
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:121
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:121
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:121
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:121
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:121
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:121
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py>:121: DeprecationWarning: pkg_resources is deprecated as an API
warnings.warn("pkg_resources is deprecated as an API", DeprecationWarning)
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:2870: 162 warnings
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py>:2870: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(pkg)
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:2870: 117 warnings
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py>:2870: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google.cloud')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(pkg)
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:2349: 36 warnings
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py>:2349: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(parent)
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:2870
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py>:2870: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google.logging')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(pkg)
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:2870
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py>:2870: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google.iam')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(pkg)
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/google/rpc/__init__.py:20
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/google/rpc/__init__.py:20
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/google/rpc/__init__.py:20
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/google/rpc/__init__.py:20
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/google/rpc/__init__.py:20
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/google/rpc/__init__.py:20
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/google/rpc/__init__.py:20
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/google/rpc/__init__.py:20
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/google/rpc/__init__.py:20
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/build/gradleenv/-1734967050/lib/python3.9/site-packages/google/rpc/__init__.py>:20: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google.rpc')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
pkg_resources.declare_namespace(__name__)
apache_beam/typehints/pandas_type_compatibility_test.py:67
apache_beam/typehints/pandas_type_compatibility_test.py:67
apache_beam/typehints/pandas_type_compatibility_test.py:67
apache_beam/typehints/pandas_type_compatibility_test.py:67
apache_beam/typehints/pandas_type_compatibility_test.py:67
apache_beam/typehints/pandas_type_compatibility_test.py:67
apache_beam/typehints/pandas_type_compatibility_test.py:67
apache_beam/typehints/pandas_type_compatibility_test.py:67
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/sdks/python/apache_beam/typehints/pandas_type_compatibility_test.py>:67: FutureWarning: pandas.Int64Index is deprecated and will be removed from pandas in a future version. Use pandas.Index with the appropriate dtype instead.
}).set_index(pd.Int64Index(range(123, 223), name='an_index')),
apache_beam/typehints/pandas_type_compatibility_test.py:90
apache_beam/typehints/pandas_type_compatibility_test.py:90
apache_beam/typehints/pandas_type_compatibility_test.py:90
apache_beam/typehints/pandas_type_compatibility_test.py:90
apache_beam/typehints/pandas_type_compatibility_test.py:90
apache_beam/typehints/pandas_type_compatibility_test.py:90
apache_beam/typehints/pandas_type_compatibility_test.py:90
apache_beam/typehints/pandas_type_compatibility_test.py:90
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/sdks/python/apache_beam/typehints/pandas_type_compatibility_test.py>:90: FutureWarning: pandas.Int64Index is deprecated and will be removed from pandas in a future version. Use pandas.Index with the appropriate dtype instead.
pd.Int64Index(range(123, 223), name='an_index'),
apache_beam/typehints/pandas_type_compatibility_test.py:91
apache_beam/typehints/pandas_type_compatibility_test.py:91
apache_beam/typehints/pandas_type_compatibility_test.py:91
apache_beam/typehints/pandas_type_compatibility_test.py:91
apache_beam/typehints/pandas_type_compatibility_test.py:91
apache_beam/typehints/pandas_type_compatibility_test.py:91
apache_beam/typehints/pandas_type_compatibility_test.py:91
apache_beam/typehints/pandas_type_compatibility_test.py:91
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/sdks/python/apache_beam/typehints/pandas_type_compatibility_test.py>:91: FutureWarning: pandas.Int64Index is deprecated and will be removed from pandas in a future version. Use pandas.Index with the appropriate dtype instead.
pd.Int64Index(range(475, 575), name='another_index'),
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
- generated xml file: <https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/sdks/python/pytest_validatesRunnerBatchTests-df-py39.xml> -
[36m[1m=========================== short test summary info ============================[0m
[31mFAILED[0m apache_beam/transforms/dofn_lifecycle_test.py::[1mDoFnLifecycleTest::test_dofn_lifecycle[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/combiners_test.py::[1mCombineValuesTest::test_gbk_immediately_followed_by_combine[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/pipeline_test.py::[1mDoFnTest::test_element_param[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/metrics/metric_test.py::[1mMetricsTest::test_user_counter_using_pardo[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/ptransform_test.py::[1mPTransformTest::test_flatten_one_single_pcollection[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/ptransform_test.py::[1mPTransformTest::test_read_metrics[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/ptransform_test.py::[1mPTransformTest::test_flatten_a_flattened_pcollection[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/ptransform_test.py::[1mPTransformTest::test_flatten_pcollections[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/ptransform_test.py::[1mPTransformTest::test_impulse[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/runners/portability/fn_api_runner/translations_test.py::[1mTranslationsTest::test_run_packable_combine_globally[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/pipeline_test.py::[1mDoFnTest::test_key_param[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/ptransform_test.py::[1mPTransformTest::test_undeclared_outputs[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/sideinputs_test.py::[1mSideInputsTest::test_as_dict_twice[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/ptransform_test.py::[1mPTransformTest::test_flatten_same_pcollections[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/ptransform_test.py::[1mPTransformTest::test_flatten_multiple_pcollections_having_multiple_consumers[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/runners/portability/fn_api_runner/translations_test.py::[1mTranslationsTest::test_run_packable_combine_limit[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/ptransform_test.py::[1mPTransformTest::test_multiple_empty_outputs[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/sideinputs_test.py::[1mSideInputsTest::test_as_list_and_as_dict_side_inputs[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/sideinputs_test.py::[1mSideInputsTest::test_as_singleton_without_unique_labels[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/sideinputs_test.py::[1mSideInputsTest::test_as_list_twice[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/sideinputs_test.py::[1mSideInputsTest::test_empty_singleton_side_input[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/sideinputs_test.py::[1mSideInputsTest::test_as_singleton_with_different_defaults[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/ptransform_test.py::[1mPTransformTest::test_par_do_with_multiple_outputs_and_using_yield[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/sideinputs_test.py::[1mSideInputsTest::test_default_value_singleton_side_input[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/ptransform_test.py::[1mPTransformTest::test_par_do_with_multiple_outputs_and_using_return[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/sideinputs_test.py::[1mSideInputsTest::test_reiterable_side_input[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/sideinputs_test.py::[1mSideInputsTest::test_iterable_side_input[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/sideinputs_test.py::[1mSideInputsTest::test_flattened_side_input[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/runners/portability/fn_api_runner/translations_test.py::[1mTranslationsTest::test_run_packable_combine_per_key[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/util_test.py::[1mReshuffleTest::test_reshuffle_preserves_timestamps[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31m=========== [31m[1m30 failed[0m, [32m4 passed[0m, [33m13 skipped[0m, [33m384 warnings[0m[31m in 49.17s[0m[31m ============[0m
> Task :sdks:python:test-suites:dataflow:py39:validatesRunnerBatchTests FAILED
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
-----------
* Where:
Script '<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/sdks/python/test-suites/dataflow/common.gradle'> line: 242
* What went wrong:
Execution failed for task ':sdks:python:test-suites:dataflow:py37:validatesRunnerBatchTests'.
> 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.
==============================================================================
2: Task failed with an exception.
-----------
* Where:
Script '<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/sdks/python/test-suites/dataflow/common.gradle'> line: 242
* What went wrong:
Execution failed for task ':sdks:python:test-suites:dataflow:py39:validatesRunnerBatchTests'.
> 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
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/7.5.1/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 3m 19s
18 actionable tasks: 12 executed, 4 from cache, 2 up-to-date
Build scan background action failed.
java.lang.IllegalArgumentException: com.gradle.enterprise.gradleplugin.internal.extension.a is not an interface
at java.lang.reflect.Proxy$ProxyClassFactory.apply(Proxy.java:590)
at java.lang.reflect.Proxy$ProxyClassFactory.apply(Proxy.java:557)
at java.lang.reflect.WeakCache$Factory.get(WeakCache.java:230)
at java.lang.reflect.WeakCache.get(WeakCache.java:127)
at java.lang.reflect.Proxy.getProxyClass0(Proxy.java:419)
at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:719)
at com.gradle.ProxyFactory$ProxyingInvocationHandler.createLocalProxy(ProxyFactory.java:64)
at com.gradle.ProxyFactory$ProxyingInvocationHandler.lambda$adaptActionArg$1(ProxyFactory.java:59)
at com.gradle.enterprise.gradleplugin.internal.extension.b$3.run(SourceFile:100)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:750)
Publishing build scan...
https://gradle.com/s/ozaroz5ufz6go
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure
---------------------------------------------------------------------
To unsubscribe, e-mail: builds-unsubscribe@beam.apache.org
For additional commands, e-mail: builds-help@beam.apache.org
Build failed in Jenkins: beam_PostCommit_Py_VR_Dataflow #10757
Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/10757/display/redirect>
Changes:
------------------------------------------
[...truncated 284.33 KB...]
# Given an element, emits a string which contains the timestamp and the
# name field of the element.
def format_with_timestamp(element, timestamp=beam.DoFn.TimestampParam):
t = str(timestamp)
if timestamp == MIN_TIMESTAMP:
t = 'MIN_TIMESTAMP'
elif timestamp == MAX_TIMESTAMP:
t = 'MAX_TIMESTAMP'
return '{} - {}'.format(t, element['name'])
# Combine each element in before_reshuffle with its timestamp.
formatted_before_reshuffle = (
before_reshuffle
| "Get before_reshuffle timestamp" >> beam.Map(format_with_timestamp))
# Combine each element in after_reshuffle with its timestamp.
formatted_after_reshuffle = (
after_reshuffle
| "Get after_reshuffle timestamp" >> beam.Map(format_with_timestamp))
expected_data = [
'MIN_TIMESTAMP - foo',
'Timestamp(0) - foo',
'Timestamp(33) - bar',
'Timestamp(0) - bar'
]
# Can't compare formatted_before_reshuffle and formatted_after_reshuffle
# directly, because they are deferred PCollections while equal_to only
# takes a concrete argument.
assert_that(
formatted_before_reshuffle,
equal_to(expected_data),
label="formatted_before_reshuffle")
assert_that(
formatted_after_reshuffle,
equal_to(expected_data),
> label="formatted_after_reshuffle")
[1m[31mapache_beam/transforms/util_test.py[0m:821:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[1m[31mapache_beam/pipeline.py[0m:600: in __exit__
self.result = self.run()
[1m[31mapache_beam/testing/test_pipeline.py[0m:114: in run
False if self.not_use_test_runner_api else test_runner_api))
[1m[31mapache_beam/pipeline.py[0m:553: in run
self._options).run(False)
[1m[31mapache_beam/pipeline.py[0m:577: in run
return self.runner.run_pipeline(self, self._options)
[1m[31mapache_beam/runners/dataflow/test_dataflow_runner.py[0m:53: in run_pipeline
self.result = super().run_pipeline(pipeline, options)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <apache_beam.runners.dataflow.test_dataflow_runner.TestDataflowRunner object at 0x7f1fe88f5d90>
pipeline = <apache_beam.pipeline.Pipeline object at 0x7f1fe890ed10>
options = <apache_beam.options.pipeline_options.PipelineOptions object at 0x7f1fe8ad8cd0>
pipeline_proto = None
def run_pipeline(self, pipeline, options, pipeline_proto=None):
"""Remotely executes entire pipeline or parts reachable from node."""
if _is_runner_v2_disabled(options):
debug_options = options.view_as(DebugOptions)
if not debug_options.lookup_experiment('disable_runner_v2_until_v2.50'):
raise ValueError(
'disable_runner_v2 is deprecated in Beam Python ' +
beam.version.__version__ +
> ' and this execution mode will be removed in a future Beam SDK. '
'If needed, please use: '
'"--experiments=disable_runner_v2_until_v2.50".')
[1m[31mE ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".[0m
[1m[31mapache_beam/runners/dataflow/dataflow_runner.py[0m:377: ValueError
[33m=============================== warnings summary ===============================[0m
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/hdfs/config.py:15
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/hdfs/config.py:15
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/hdfs/config.py:15
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/hdfs/config.py:15
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/hdfs/config.py:15
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/hdfs/config.py:15
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/hdfs/config.py:15
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/hdfs/config.py:15
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/hdfs/config.py:15
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/build/gradleenv/-1734967052/lib/python3.7/site-packages/hdfs/config.py>:15: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
from imp import load_source
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:121
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:121
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:121
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:121
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:121
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:121
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:121
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:121
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:121
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py>:121: DeprecationWarning: pkg_resources is deprecated as an API
warnings.warn("pkg_resources is deprecated as an API", DeprecationWarning)
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870: 162 warnings
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py>:2870: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(pkg)
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870: 117 warnings
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py>:2870: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google.cloud')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(pkg)
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2349: 36 warnings
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py>:2349: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(parent)
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py>:2870: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google.logging')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(pkg)
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py>:2870: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google.iam')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(pkg)
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/google/rpc/__init__.py:20
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/google/rpc/__init__.py:20
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/google/rpc/__init__.py:20
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/google/rpc/__init__.py:20
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/google/rpc/__init__.py:20
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/google/rpc/__init__.py:20
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/google/rpc/__init__.py:20
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/google/rpc/__init__.py:20
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/google/rpc/__init__.py:20
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/build/gradleenv/-1734967052/lib/python3.7/site-packages/google/rpc/__init__.py>:20: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google.rpc')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
pkg_resources.declare_namespace(__name__)
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
- generated xml file: <https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/sdks/python/pytest_validatesRunnerBatchTests-df-py37.xml> -
[36m[1m=========================== short test summary info ============================[0m
[31mFAILED[0m apache_beam/transforms/dofn_lifecycle_test.py::[1mDoFnLifecycleTest::test_dofn_lifecycle[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/combiners_test.py::[1mCombineValuesTest::test_gbk_immediately_followed_by_combine[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/metrics/metric_test.py::[1mMetricsTest::test_user_counter_using_pardo[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/pipeline_test.py::[1mDoFnTest::test_element_param[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/ptransform_test.py::[1mPTransformTest::test_flatten_one_single_pcollection[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/pipeline_test.py::[1mDoFnTest::test_key_param[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/ptransform_test.py::[1mPTransformTest::test_flatten_multiple_pcollections_having_multiple_consumers[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/ptransform_test.py::[1mPTransformTest::test_flatten_a_flattened_pcollection[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/ptransform_test.py::[1mPTransformTest::test_impulse[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/runners/portability/fn_api_runner/translations_test.py::[1mTranslationsTest::test_run_packable_combine_globally[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/ptransform_test.py::[1mPTransformTest::test_par_do_with_multiple_outputs_and_using_yield[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/ptransform_test.py::[1mPTransformTest::test_flatten_pcollections[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/ptransform_test.py::[1mPTransformTest::test_read_metrics[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/sideinputs_test.py::[1mSideInputsTest::test_as_dict_twice[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/ptransform_test.py::[1mPTransformTest::test_par_do_with_multiple_outputs_and_using_return[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/ptransform_test.py::[1mPTransformTest::test_undeclared_outputs[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/runners/portability/fn_api_runner/translations_test.py::[1mTranslationsTest::test_run_packable_combine_limit[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/ptransform_test.py::[1mPTransformTest::test_multiple_empty_outputs[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/ptransform_test.py::[1mPTransformTest::test_flatten_same_pcollections[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/sideinputs_test.py::[1mSideInputsTest::test_as_singleton_with_different_defaults[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/sideinputs_test.py::[1mSideInputsTest::test_flattened_side_input[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/sideinputs_test.py::[1mSideInputsTest::test_default_value_singleton_side_input[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/sideinputs_test.py::[1mSideInputsTest::test_as_singleton_without_unique_labels[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/sideinputs_test.py::[1mSideInputsTest::test_iterable_side_input[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/sideinputs_test.py::[1mSideInputsTest::test_as_list_and_as_dict_side_inputs[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/sideinputs_test.py::[1mSideInputsTest::test_as_list_twice[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/sideinputs_test.py::[1mSideInputsTest::test_empty_singleton_side_input[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/sideinputs_test.py::[1mSideInputsTest::test_reiterable_side_input[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/runners/portability/fn_api_runner/translations_test.py::[1mTranslationsTest::test_run_packable_combine_per_key[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/util_test.py::[1mReshuffleTest::test_reshuffle_preserves_timestamps[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31m=========== [31m[1m30 failed[0m, [32m4 passed[0m, [33m13 skipped[0m, [33m360 warnings[0m[31m in 31.66s[0m[31m ============[0m
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
-----------
* Where:
Script '<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/sdks/python/test-suites/dataflow/common.gradle'> line: 242
* What went wrong:
Execution failed for task ':sdks:python:test-suites:dataflow:py39:validatesRunnerBatchTests'.
> 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.
==============================================================================
2: Task failed with an exception.
-----------
* Where:
Script '<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/sdks/python/test-suites/dataflow/common.gradle'> line: 242
* What went wrong:
Execution failed for task ':sdks:python:test-suites:dataflow:py37:validatesRunnerBatchTests'.
> 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
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/7.5.1/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 2m 1s
18 actionable tasks: 12 executed, 4 from cache, 2 up-to-date
Build scan background action failed.
java.lang.IllegalArgumentException: com.gradle.enterprise.gradleplugin.internal.extension.a is not an interface
at java.lang.reflect.Proxy$ProxyClassFactory.apply(Proxy.java:590)
at java.lang.reflect.Proxy$ProxyClassFactory.apply(Proxy.java:557)
at java.lang.reflect.WeakCache$Factory.get(WeakCache.java:230)
at java.lang.reflect.WeakCache.get(WeakCache.java:127)
at java.lang.reflect.Proxy.getProxyClass0(Proxy.java:419)
at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:719)
at com.gradle.ProxyFactory$ProxyingInvocationHandler.createLocalProxy(ProxyFactory.java:64)
at com.gradle.ProxyFactory$ProxyingInvocationHandler.lambda$adaptActionArg$1(ProxyFactory.java:59)
at com.gradle.enterprise.gradleplugin.internal.extension.b$3.run(SourceFile:100)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:750)
Publishing build scan...
https://gradle.com/s/zbuchzkyqukki
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure
---------------------------------------------------------------------
To unsubscribe, e-mail: builds-unsubscribe@beam.apache.org
For additional commands, e-mail: builds-help@beam.apache.org
Build failed in Jenkins: beam_PostCommit_Py_VR_Dataflow #10756
Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/10756/display/redirect>
Changes:
------------------------------------------
[...truncated 284.39 KB...]
# Given an element, emits a string which contains the timestamp and the
# name field of the element.
def format_with_timestamp(element, timestamp=beam.DoFn.TimestampParam):
t = str(timestamp)
if timestamp == MIN_TIMESTAMP:
t = 'MIN_TIMESTAMP'
elif timestamp == MAX_TIMESTAMP:
t = 'MAX_TIMESTAMP'
return '{} - {}'.format(t, element['name'])
# Combine each element in before_reshuffle with its timestamp.
formatted_before_reshuffle = (
before_reshuffle
| "Get before_reshuffle timestamp" >> beam.Map(format_with_timestamp))
# Combine each element in after_reshuffle with its timestamp.
formatted_after_reshuffle = (
after_reshuffle
| "Get after_reshuffle timestamp" >> beam.Map(format_with_timestamp))
expected_data = [
'MIN_TIMESTAMP - foo',
'Timestamp(0) - foo',
'Timestamp(33) - bar',
'Timestamp(0) - bar'
]
# Can't compare formatted_before_reshuffle and formatted_after_reshuffle
# directly, because they are deferred PCollections while equal_to only
# takes a concrete argument.
assert_that(
formatted_before_reshuffle,
equal_to(expected_data),
label="formatted_before_reshuffle")
assert_that(
formatted_after_reshuffle,
equal_to(expected_data),
> label="formatted_after_reshuffle")
[1m[31mapache_beam/transforms/util_test.py[0m:821:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[1m[31mapache_beam/pipeline.py[0m:600: in __exit__
self.result = self.run()
[1m[31mapache_beam/testing/test_pipeline.py[0m:114: in run
False if self.not_use_test_runner_api else test_runner_api))
[1m[31mapache_beam/pipeline.py[0m:553: in run
self._options).run(False)
[1m[31mapache_beam/pipeline.py[0m:577: in run
return self.runner.run_pipeline(self, self._options)
[1m[31mapache_beam/runners/dataflow/test_dataflow_runner.py[0m:53: in run_pipeline
self.result = super().run_pipeline(pipeline, options)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <apache_beam.runners.dataflow.test_dataflow_runner.TestDataflowRunner object at 0x7f76e528d410>
pipeline = <apache_beam.pipeline.Pipeline object at 0x7f76e5278f10>
options = <apache_beam.options.pipeline_options.PipelineOptions object at 0x7f76e528d210>
pipeline_proto = None
def run_pipeline(self, pipeline, options, pipeline_proto=None):
"""Remotely executes entire pipeline or parts reachable from node."""
if _is_runner_v2_disabled(options):
debug_options = options.view_as(DebugOptions)
if not debug_options.lookup_experiment('disable_runner_v2_until_v2.50'):
raise ValueError(
'disable_runner_v2 is deprecated in Beam Python ' +
beam.version.__version__ +
> ' and this execution mode will be removed in a future Beam SDK. '
'If needed, please use: '
'"--experiments=disable_runner_v2_until_v2.50".')
[1m[31mE ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".[0m
[1m[31mapache_beam/runners/dataflow/dataflow_runner.py[0m:377: ValueError
[33m=============================== warnings summary ===============================[0m
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/hdfs/config.py:15
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/hdfs/config.py:15
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/hdfs/config.py:15
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/hdfs/config.py:15
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/hdfs/config.py:15
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/hdfs/config.py:15
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/hdfs/config.py:15
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/hdfs/config.py:15
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/hdfs/config.py:15
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/build/gradleenv/-1734967052/lib/python3.7/site-packages/hdfs/config.py>:15: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
from imp import load_source
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:121
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:121
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:121
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:121
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:121
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:121
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:121
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:121
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:121
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py>:121: DeprecationWarning: pkg_resources is deprecated as an API
warnings.warn("pkg_resources is deprecated as an API", DeprecationWarning)
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870: 162 warnings
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py>:2870: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(pkg)
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870: 117 warnings
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py>:2870: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google.cloud')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(pkg)
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2349: 36 warnings
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py>:2349: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(parent)
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py>:2870: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google.logging')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(pkg)
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py>:2870: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google.iam')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(pkg)
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/google/rpc/__init__.py:20
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/google/rpc/__init__.py:20
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/google/rpc/__init__.py:20
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/google/rpc/__init__.py:20
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/google/rpc/__init__.py:20
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/google/rpc/__init__.py:20
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/google/rpc/__init__.py:20
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/google/rpc/__init__.py:20
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/google/rpc/__init__.py:20
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/build/gradleenv/-1734967052/lib/python3.7/site-packages/google/rpc/__init__.py>:20: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google.rpc')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
pkg_resources.declare_namespace(__name__)
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
- generated xml file: <https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/sdks/python/pytest_validatesRunnerBatchTests-df-py37.xml> -
[36m[1m=========================== short test summary info ============================[0m
[31mFAILED[0m apache_beam/transforms/dofn_lifecycle_test.py::[1mDoFnLifecycleTest::test_dofn_lifecycle[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/combiners_test.py::[1mCombineValuesTest::test_gbk_immediately_followed_by_combine[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/metrics/metric_test.py::[1mMetricsTest::test_user_counter_using_pardo[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/ptransform_test.py::[1mPTransformTest::test_flatten_one_single_pcollection[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/pipeline_test.py::[1mDoFnTest::test_element_param[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/pipeline_test.py::[1mDoFnTest::test_key_param[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/ptransform_test.py::[1mPTransformTest::test_flatten_a_flattened_pcollection[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/ptransform_test.py::[1mPTransformTest::test_flatten_pcollections[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/ptransform_test.py::[1mPTransformTest::test_flatten_multiple_pcollections_having_multiple_consumers[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/ptransform_test.py::[1mPTransformTest::test_impulse[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/sideinputs_test.py::[1mSideInputsTest::test_as_dict_twice[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/runners/portability/fn_api_runner/translations_test.py::[1mTranslationsTest::test_run_packable_combine_globally[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/ptransform_test.py::[1mPTransformTest::test_par_do_with_multiple_outputs_and_using_yield[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/ptransform_test.py::[1mPTransformTest::test_read_metrics[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/runners/portability/fn_api_runner/translations_test.py::[1mTranslationsTest::test_run_packable_combine_limit[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/sideinputs_test.py::[1mSideInputsTest::test_as_list_twice[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/sideinputs_test.py::[1mSideInputsTest::test_as_list_and_as_dict_side_inputs[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/ptransform_test.py::[1mPTransformTest::test_multiple_empty_outputs[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/ptransform_test.py::[1mPTransformTest::test_flatten_same_pcollections[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/ptransform_test.py::[1mPTransformTest::test_undeclared_outputs[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/ptransform_test.py::[1mPTransformTest::test_par_do_with_multiple_outputs_and_using_return[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/sideinputs_test.py::[1mSideInputsTest::test_reiterable_side_input[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/sideinputs_test.py::[1mSideInputsTest::test_empty_singleton_side_input[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/sideinputs_test.py::[1mSideInputsTest::test_flattened_side_input[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/sideinputs_test.py::[1mSideInputsTest::test_as_singleton_without_unique_labels[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/sideinputs_test.py::[1mSideInputsTest::test_as_singleton_with_different_defaults[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/sideinputs_test.py::[1mSideInputsTest::test_iterable_side_input[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/runners/portability/fn_api_runner/translations_test.py::[1mTranslationsTest::test_run_packable_combine_per_key[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/sideinputs_test.py::[1mSideInputsTest::test_default_value_singleton_side_input[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/util_test.py::[1mReshuffleTest::test_reshuffle_preserves_timestamps[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31m=========== [31m[1m30 failed[0m, [32m4 passed[0m, [33m13 skipped[0m, [33m360 warnings[0m[31m in 34.55s[0m[31m ============[0m
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
-----------
* Where:
Script '<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/sdks/python/test-suites/dataflow/common.gradle'> line: 242
* What went wrong:
Execution failed for task ':sdks:python:test-suites:dataflow:py39:validatesRunnerBatchTests'.
> 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.
==============================================================================
2: Task failed with an exception.
-----------
* Where:
Script '<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/sdks/python/test-suites/dataflow/common.gradle'> line: 242
* What went wrong:
Execution failed for task ':sdks:python:test-suites:dataflow:py37:validatesRunnerBatchTests'.
> 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
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/7.5.1/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 2m 16s
18 actionable tasks: 12 executed, 4 from cache, 2 up-to-date
Build scan background action failed.
java.lang.IllegalArgumentException: com.gradle.enterprise.gradleplugin.internal.extension.a is not an interface
at java.lang.reflect.Proxy$ProxyClassFactory.apply(Proxy.java:590)
at java.lang.reflect.Proxy$ProxyClassFactory.apply(Proxy.java:557)
at java.lang.reflect.WeakCache$Factory.get(WeakCache.java:230)
at java.lang.reflect.WeakCache.get(WeakCache.java:127)
at java.lang.reflect.Proxy.getProxyClass0(Proxy.java:419)
at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:719)
at com.gradle.ProxyFactory$ProxyingInvocationHandler.createLocalProxy(ProxyFactory.java:64)
at com.gradle.ProxyFactory$ProxyingInvocationHandler.lambda$adaptActionArg$1(ProxyFactory.java:59)
at com.gradle.enterprise.gradleplugin.internal.extension.b$3.run(SourceFile:100)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:750)
Publishing build scan...
https://gradle.com/s/7raubthiwru5q
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure
---------------------------------------------------------------------
To unsubscribe, e-mail: builds-unsubscribe@beam.apache.org
For additional commands, e-mail: builds-help@beam.apache.org
Build failed in Jenkins: beam_PostCommit_Py_VR_Dataflow #10755
Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/10755/display/redirect>
Changes:
------------------------------------------
[...truncated 283.92 KB...]
> assert_that(
formatted_after_reshuffle,
equal_to(expected_data),
label="formatted_after_reshuffle")
[1m[31mapache_beam/transforms/util_test.py[0m:818:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[1m[31mapache_beam/pipeline.py[0m:600: in __exit__
self.result = self.run()
[1m[31mapache_beam/testing/test_pipeline.py[0m:112: in run
result = super().run(
[1m[31mapache_beam/pipeline.py[0m:550: in run
return Pipeline.from_runner_api(
[1m[31mapache_beam/pipeline.py[0m:577: in run
return self.runner.run_pipeline(self, self._options)
[1m[31mapache_beam/runners/dataflow/test_dataflow_runner.py[0m:53: in run_pipeline
self.result = super().run_pipeline(pipeline, options)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <apache_beam.runners.dataflow.test_dataflow_runner.TestDataflowRunner object at 0x7fd6b5ca04f0>
pipeline = <apache_beam.pipeline.Pipeline object at 0x7fd6b5a30760>
options = <apache_beam.options.pipeline_options.PipelineOptions object at 0x7fd6b5ca63a0>
pipeline_proto = None
def run_pipeline(self, pipeline, options, pipeline_proto=None):
"""Remotely executes entire pipeline or parts reachable from node."""
if _is_runner_v2_disabled(options):
debug_options = options.view_as(DebugOptions)
if not debug_options.lookup_experiment('disable_runner_v2_until_v2.50'):
> raise ValueError(
'disable_runner_v2 is deprecated in Beam Python ' +
beam.version.__version__ +
' and this execution mode will be removed in a future Beam SDK. '
'If needed, please use: '
'"--experiments=disable_runner_v2_until_v2.50".')
[1m[31mE ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".[0m
[1m[31mapache_beam/runners/dataflow/dataflow_runner.py[0m:374: ValueError
[33m=============================== warnings summary ===============================[0m
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/hdfs/config.py:15
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/hdfs/config.py:15
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/hdfs/config.py:15
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/hdfs/config.py:15
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/hdfs/config.py:15
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/hdfs/config.py:15
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/hdfs/config.py:15
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/hdfs/config.py:15
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/hdfs/config.py:15
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/build/gradleenv/-1734967050/lib/python3.9/site-packages/hdfs/config.py>:15: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
from imp import load_source
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:121
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:121
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:121
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:121
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:121
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:121
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:121
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:121
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:121
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py>:121: DeprecationWarning: pkg_resources is deprecated as an API
warnings.warn("pkg_resources is deprecated as an API", DeprecationWarning)
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:2870: 162 warnings
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py>:2870: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(pkg)
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:2870: 117 warnings
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py>:2870: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google.cloud')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(pkg)
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:2349: 36 warnings
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py>:2349: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(parent)
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:2870
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py>:2870: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google.logging')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(pkg)
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:2870
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py>:2870: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google.iam')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(pkg)
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/google/rpc/__init__.py:20
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/google/rpc/__init__.py:20
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/google/rpc/__init__.py:20
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/google/rpc/__init__.py:20
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/google/rpc/__init__.py:20
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/google/rpc/__init__.py:20
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/google/rpc/__init__.py:20
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/google/rpc/__init__.py:20
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/google/rpc/__init__.py:20
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/build/gradleenv/-1734967050/lib/python3.9/site-packages/google/rpc/__init__.py>:20: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google.rpc')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
pkg_resources.declare_namespace(__name__)
apache_beam/typehints/pandas_type_compatibility_test.py:67
apache_beam/typehints/pandas_type_compatibility_test.py:67
apache_beam/typehints/pandas_type_compatibility_test.py:67
apache_beam/typehints/pandas_type_compatibility_test.py:67
apache_beam/typehints/pandas_type_compatibility_test.py:67
apache_beam/typehints/pandas_type_compatibility_test.py:67
apache_beam/typehints/pandas_type_compatibility_test.py:67
apache_beam/typehints/pandas_type_compatibility_test.py:67
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/sdks/python/apache_beam/typehints/pandas_type_compatibility_test.py>:67: FutureWarning: pandas.Int64Index is deprecated and will be removed from pandas in a future version. Use pandas.Index with the appropriate dtype instead.
}).set_index(pd.Int64Index(range(123, 223), name='an_index')),
apache_beam/typehints/pandas_type_compatibility_test.py:90
apache_beam/typehints/pandas_type_compatibility_test.py:90
apache_beam/typehints/pandas_type_compatibility_test.py:90
apache_beam/typehints/pandas_type_compatibility_test.py:90
apache_beam/typehints/pandas_type_compatibility_test.py:90
apache_beam/typehints/pandas_type_compatibility_test.py:90
apache_beam/typehints/pandas_type_compatibility_test.py:90
apache_beam/typehints/pandas_type_compatibility_test.py:90
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/sdks/python/apache_beam/typehints/pandas_type_compatibility_test.py>:90: FutureWarning: pandas.Int64Index is deprecated and will be removed from pandas in a future version. Use pandas.Index with the appropriate dtype instead.
pd.Int64Index(range(123, 223), name='an_index'),
apache_beam/typehints/pandas_type_compatibility_test.py:91
apache_beam/typehints/pandas_type_compatibility_test.py:91
apache_beam/typehints/pandas_type_compatibility_test.py:91
apache_beam/typehints/pandas_type_compatibility_test.py:91
apache_beam/typehints/pandas_type_compatibility_test.py:91
apache_beam/typehints/pandas_type_compatibility_test.py:91
apache_beam/typehints/pandas_type_compatibility_test.py:91
apache_beam/typehints/pandas_type_compatibility_test.py:91
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/sdks/python/apache_beam/typehints/pandas_type_compatibility_test.py>:91: FutureWarning: pandas.Int64Index is deprecated and will be removed from pandas in a future version. Use pandas.Index with the appropriate dtype instead.
pd.Int64Index(range(475, 575), name='another_index'),
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
- generated xml file: <https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/sdks/python/pytest_validatesRunnerBatchTests-df-py39.xml> -
[36m[1m=========================== short test summary info ============================[0m
[31mFAILED[0m apache_beam/transforms/dofn_lifecycle_test.py::[1mDoFnLifecycleTest::test_dofn_lifecycle[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/combiners_test.py::[1mCombineValuesTest::test_gbk_immediately_followed_by_combine[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/pipeline_test.py::[1mDoFnTest::test_element_param[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/metrics/metric_test.py::[1mMetricsTest::test_user_counter_using_pardo[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/ptransform_test.py::[1mPTransformTest::test_flatten_multiple_pcollections_having_multiple_consumers[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/ptransform_test.py::[1mPTransformTest::test_read_metrics[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/pipeline_test.py::[1mDoFnTest::test_key_param[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/ptransform_test.py::[1mPTransformTest::test_flatten_one_single_pcollection[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/ptransform_test.py::[1mPTransformTest::test_flatten_a_flattened_pcollection[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/runners/portability/fn_api_runner/translations_test.py::[1mTranslationsTest::test_run_packable_combine_globally[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/ptransform_test.py::[1mPTransformTest::test_impulse[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/ptransform_test.py::[1mPTransformTest::test_flatten_pcollections[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/runners/portability/fn_api_runner/translations_test.py::[1mTranslationsTest::test_run_packable_combine_limit[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/ptransform_test.py::[1mPTransformTest::test_undeclared_outputs[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/ptransform_test.py::[1mPTransformTest::test_par_do_with_multiple_outputs_and_using_yield[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/ptransform_test.py::[1mPTransformTest::test_par_do_with_multiple_outputs_and_using_return[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/ptransform_test.py::[1mPTransformTest::test_multiple_empty_outputs[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/ptransform_test.py::[1mPTransformTest::test_flatten_same_pcollections[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/sideinputs_test.py::[1mSideInputsTest::test_as_dict_twice[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/sideinputs_test.py::[1mSideInputsTest::test_as_list_and_as_dict_side_inputs[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/sideinputs_test.py::[1mSideInputsTest::test_as_singleton_with_different_defaults[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/sideinputs_test.py::[1mSideInputsTest::test_as_singleton_without_unique_labels[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/sideinputs_test.py::[1mSideInputsTest::test_as_list_twice[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/sideinputs_test.py::[1mSideInputsTest::test_default_value_singleton_side_input[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/sideinputs_test.py::[1mSideInputsTest::test_flattened_side_input[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/sideinputs_test.py::[1mSideInputsTest::test_empty_singleton_side_input[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/sideinputs_test.py::[1mSideInputsTest::test_iterable_side_input[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/sideinputs_test.py::[1mSideInputsTest::test_reiterable_side_input[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/runners/portability/fn_api_runner/translations_test.py::[1mTranslationsTest::test_run_packable_combine_per_key[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/util_test.py::[1mReshuffleTest::test_reshuffle_preserves_timestamps[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31m=========== [31m[1m30 failed[0m, [32m4 passed[0m, [33m13 skipped[0m, [33m384 warnings[0m[31m in 25.23s[0m[31m ============[0m
> Task :sdks:python:test-suites:dataflow:py39:validatesRunnerBatchTests FAILED
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
-----------
* Where:
Script '<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/sdks/python/test-suites/dataflow/common.gradle'> line: 242
* What went wrong:
Execution failed for task ':sdks:python:test-suites:dataflow:py37:validatesRunnerBatchTests'.
> 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.
==============================================================================
2: Task failed with an exception.
-----------
* Where:
Script '<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/sdks/python/test-suites/dataflow/common.gradle'> line: 242
* What went wrong:
Execution failed for task ':sdks:python:test-suites:dataflow:py39:validatesRunnerBatchTests'.
> 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
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/7.5.1/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 2m 7s
18 actionable tasks: 12 executed, 4 from cache, 2 up-to-date
Build scan background action failed.
java.lang.IllegalArgumentException: com.gradle.enterprise.gradleplugin.internal.extension.a is not an interface
at java.lang.reflect.Proxy$ProxyClassFactory.apply(Proxy.java:590)
at java.lang.reflect.Proxy$ProxyClassFactory.apply(Proxy.java:557)
at java.lang.reflect.WeakCache$Factory.get(WeakCache.java:230)
at java.lang.reflect.WeakCache.get(WeakCache.java:127)
at java.lang.reflect.Proxy.getProxyClass0(Proxy.java:419)
at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:719)
at com.gradle.ProxyFactory$ProxyingInvocationHandler.createLocalProxy(ProxyFactory.java:64)
at com.gradle.ProxyFactory$ProxyingInvocationHandler.lambda$adaptActionArg$1(ProxyFactory.java:59)
at com.gradle.enterprise.gradleplugin.internal.extension.b$3.run(SourceFile:100)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:750)
Publishing build scan...
https://gradle.com/s/2s23fyju3u4ao
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure
---------------------------------------------------------------------
To unsubscribe, e-mail: builds-unsubscribe@beam.apache.org
For additional commands, e-mail: builds-help@beam.apache.org
Build failed in Jenkins: beam_PostCommit_Py_VR_Dataflow #10754
Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/10754/display/redirect?page=changes>
Changes:
[noreply] [Playground] Make fields "categories" and "context_line" optional in
------------------------------------------
[...truncated 283.35 KB...]
> assert_that(
formatted_after_reshuffle,
equal_to(expected_data),
label="formatted_after_reshuffle")
[1m[31mapache_beam/transforms/util_test.py[0m:818:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[1m[31mapache_beam/pipeline.py[0m:600: in __exit__
self.result = self.run()
[1m[31mapache_beam/testing/test_pipeline.py[0m:112: in run
result = super().run(
[1m[31mapache_beam/pipeline.py[0m:550: in run
return Pipeline.from_runner_api(
[1m[31mapache_beam/pipeline.py[0m:577: in run
return self.runner.run_pipeline(self, self._options)
[1m[31mapache_beam/runners/dataflow/test_dataflow_runner.py[0m:53: in run_pipeline
self.result = super().run_pipeline(pipeline, options)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <apache_beam.runners.dataflow.test_dataflow_runner.TestDataflowRunner object at 0x7fb0f173f2b0>
pipeline = <apache_beam.pipeline.Pipeline object at 0x7fb0f16ca7c0>
options = <apache_beam.options.pipeline_options.PipelineOptions object at 0x7fb0f173f220>
pipeline_proto = None
def run_pipeline(self, pipeline, options, pipeline_proto=None):
"""Remotely executes entire pipeline or parts reachable from node."""
if _is_runner_v2_disabled(options):
debug_options = options.view_as(DebugOptions)
if not debug_options.lookup_experiment('disable_runner_v2_until_v2.50'):
> raise ValueError(
'disable_runner_v2 is deprecated in Beam Python ' +
beam.version.__version__ +
' and this execution mode will be removed in a future Beam SDK. '
'If needed, please use: '
'"--experiments=disable_runner_v2_until_v2.50".')
[1m[31mE ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".[0m
[1m[31mapache_beam/runners/dataflow/dataflow_runner.py[0m:374: ValueError
[33m=============================== warnings summary ===============================[0m
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/hdfs/config.py:15
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/hdfs/config.py:15
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/hdfs/config.py:15
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/hdfs/config.py:15
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/hdfs/config.py:15
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/hdfs/config.py:15
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/hdfs/config.py:15
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/hdfs/config.py:15
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/hdfs/config.py:15
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/build/gradleenv/-1734967050/lib/python3.9/site-packages/hdfs/config.py>:15: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
from imp import load_source
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:121
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:121
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:121
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:121
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:121
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:121
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:121
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:121
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:121
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py>:121: DeprecationWarning: pkg_resources is deprecated as an API
warnings.warn("pkg_resources is deprecated as an API", DeprecationWarning)
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:2870: 162 warnings
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py>:2870: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(pkg)
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:2870: 117 warnings
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py>:2870: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google.cloud')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(pkg)
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:2349: 36 warnings
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py>:2349: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(parent)
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:2870
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py>:2870: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google.logging')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(pkg)
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py:2870
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/build/gradleenv/-1734967050/lib/python3.9/site-packages/pkg_resources/__init__.py>:2870: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google.iam')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(pkg)
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/google/rpc/__init__.py:20
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/google/rpc/__init__.py:20
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/google/rpc/__init__.py:20
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/google/rpc/__init__.py:20
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/google/rpc/__init__.py:20
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/google/rpc/__init__.py:20
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/google/rpc/__init__.py:20
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/google/rpc/__init__.py:20
../../build/gradleenv/-1734967050/lib/python3.9/site-packages/google/rpc/__init__.py:20
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/build/gradleenv/-1734967050/lib/python3.9/site-packages/google/rpc/__init__.py>:20: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google.rpc')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
pkg_resources.declare_namespace(__name__)
apache_beam/typehints/pandas_type_compatibility_test.py:67
apache_beam/typehints/pandas_type_compatibility_test.py:67
apache_beam/typehints/pandas_type_compatibility_test.py:67
apache_beam/typehints/pandas_type_compatibility_test.py:67
apache_beam/typehints/pandas_type_compatibility_test.py:67
apache_beam/typehints/pandas_type_compatibility_test.py:67
apache_beam/typehints/pandas_type_compatibility_test.py:67
apache_beam/typehints/pandas_type_compatibility_test.py:67
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/sdks/python/apache_beam/typehints/pandas_type_compatibility_test.py>:67: FutureWarning: pandas.Int64Index is deprecated and will be removed from pandas in a future version. Use pandas.Index with the appropriate dtype instead.
}).set_index(pd.Int64Index(range(123, 223), name='an_index')),
apache_beam/typehints/pandas_type_compatibility_test.py:90
apache_beam/typehints/pandas_type_compatibility_test.py:90
apache_beam/typehints/pandas_type_compatibility_test.py:90
apache_beam/typehints/pandas_type_compatibility_test.py:90
apache_beam/typehints/pandas_type_compatibility_test.py:90
apache_beam/typehints/pandas_type_compatibility_test.py:90
apache_beam/typehints/pandas_type_compatibility_test.py:90
apache_beam/typehints/pandas_type_compatibility_test.py:90
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/sdks/python/apache_beam/typehints/pandas_type_compatibility_test.py>:90: FutureWarning: pandas.Int64Index is deprecated and will be removed from pandas in a future version. Use pandas.Index with the appropriate dtype instead.
pd.Int64Index(range(123, 223), name='an_index'),
apache_beam/typehints/pandas_type_compatibility_test.py:91
apache_beam/typehints/pandas_type_compatibility_test.py:91
apache_beam/typehints/pandas_type_compatibility_test.py:91
apache_beam/typehints/pandas_type_compatibility_test.py:91
apache_beam/typehints/pandas_type_compatibility_test.py:91
apache_beam/typehints/pandas_type_compatibility_test.py:91
apache_beam/typehints/pandas_type_compatibility_test.py:91
apache_beam/typehints/pandas_type_compatibility_test.py:91
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/sdks/python/apache_beam/typehints/pandas_type_compatibility_test.py>:91: FutureWarning: pandas.Int64Index is deprecated and will be removed from pandas in a future version. Use pandas.Index with the appropriate dtype instead.
pd.Int64Index(range(475, 575), name='another_index'),
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
- generated xml file: <https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/sdks/python/pytest_validatesRunnerBatchTests-df-py39.xml> -
[36m[1m=========================== short test summary info ============================[0m
[31mFAILED[0m apache_beam/transforms/dofn_lifecycle_test.py::[1mDoFnLifecycleTest::test_dofn_lifecycle[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/combiners_test.py::[1mCombineValuesTest::test_gbk_immediately_followed_by_combine[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/pipeline_test.py::[1mDoFnTest::test_element_param[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/metrics/metric_test.py::[1mMetricsTest::test_user_counter_using_pardo[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/ptransform_test.py::[1mPTransformTest::test_read_metrics[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/ptransform_test.py::[1mPTransformTest::test_flatten_multiple_pcollections_having_multiple_consumers[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/pipeline_test.py::[1mDoFnTest::test_key_param[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/ptransform_test.py::[1mPTransformTest::test_flatten_one_single_pcollection[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/ptransform_test.py::[1mPTransformTest::test_flatten_a_flattened_pcollection[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/ptransform_test.py::[1mPTransformTest::test_impulse[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/runners/portability/fn_api_runner/translations_test.py::[1mTranslationsTest::test_run_packable_combine_globally[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/ptransform_test.py::[1mPTransformTest::test_flatten_pcollections[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/ptransform_test.py::[1mPTransformTest::test_undeclared_outputs[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/sideinputs_test.py::[1mSideInputsTest::test_as_dict_twice[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/ptransform_test.py::[1mPTransformTest::test_flatten_same_pcollections[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/ptransform_test.py::[1mPTransformTest::test_par_do_with_multiple_outputs_and_using_yield[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/runners/portability/fn_api_runner/translations_test.py::[1mTranslationsTest::test_run_packable_combine_limit[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/ptransform_test.py::[1mPTransformTest::test_multiple_empty_outputs[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/sideinputs_test.py::[1mSideInputsTest::test_as_list_twice[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/ptransform_test.py::[1mPTransformTest::test_par_do_with_multiple_outputs_and_using_return[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/sideinputs_test.py::[1mSideInputsTest::test_empty_singleton_side_input[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/sideinputs_test.py::[1mSideInputsTest::test_as_list_and_as_dict_side_inputs[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/sideinputs_test.py::[1mSideInputsTest::test_as_singleton_with_different_defaults[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/sideinputs_test.py::[1mSideInputsTest::test_default_value_singleton_side_input[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/sideinputs_test.py::[1mSideInputsTest::test_as_singleton_without_unique_labels[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/sideinputs_test.py::[1mSideInputsTest::test_flattened_side_input[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/sideinputs_test.py::[1mSideInputsTest::test_reiterable_side_input[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/sideinputs_test.py::[1mSideInputsTest::test_iterable_side_input[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/runners/portability/fn_api_runner/translations_test.py::[1mTranslationsTest::test_run_packable_combine_per_key[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31mFAILED[0m apache_beam/transforms/util_test.py::[1mReshuffleTest::test_reshuffle_preserves_timestamps[0m - ValueError: disable_runner_v2 is deprecated in Beam Python 2.48.0.dev and this execution mode will be removed in a future Beam SDK. If needed, please use: "--experiments=disable_runner_v2_until_v2.50".
[31m=========== [31m[1m30 failed[0m, [32m4 passed[0m, [33m13 skipped[0m, [33m384 warnings[0m[31m in 31.04s[0m[31m ============[0m
> Task :sdks:python:test-suites:dataflow:py37:validatesRunnerBatchTests FAILED
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
-----------
* Where:
Script '<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/sdks/python/test-suites/dataflow/common.gradle'> line: 242
* What went wrong:
Execution failed for task ':sdks:python:test-suites:dataflow:py39:validatesRunnerBatchTests'.
> 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.
==============================================================================
2: Task failed with an exception.
-----------
* Where:
Script '<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/ws/src/sdks/python/test-suites/dataflow/common.gradle'> line: 242
* What went wrong:
Execution failed for task ':sdks:python:test-suites:dataflow:py37:validatesRunnerBatchTests'.
> 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
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/7.5.1/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 2m 17s
18 actionable tasks: 12 executed, 4 from cache, 2 up-to-date
Build scan background action failed.
java.lang.IllegalArgumentException: com.gradle.enterprise.gradleplugin.internal.extension.a is not an interface
at java.lang.reflect.Proxy$ProxyClassFactory.apply(Proxy.java:590)
at java.lang.reflect.Proxy$ProxyClassFactory.apply(Proxy.java:557)
at java.lang.reflect.WeakCache$Factory.get(WeakCache.java:230)
at java.lang.reflect.WeakCache.get(WeakCache.java:127)
at java.lang.reflect.Proxy.getProxyClass0(Proxy.java:419)
at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:719)
at com.gradle.ProxyFactory$ProxyingInvocationHandler.createLocalProxy(ProxyFactory.java:64)
at com.gradle.ProxyFactory$ProxyingInvocationHandler.lambda$adaptActionArg$1(ProxyFactory.java:59)
at com.gradle.enterprise.gradleplugin.internal.extension.b$3.run(SourceFile:100)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:750)
Publishing build scan...
https://gradle.com/s/3f4iwvwyk3fpk
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure
---------------------------------------------------------------------
To unsubscribe, e-mail: builds-unsubscribe@beam.apache.org
For additional commands, e-mail: builds-help@beam.apache.org