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 2021/09/29 01:47:32 UTC

Build failed in Jenkins: beam_PostCommit_Py_VR_Dataflow_V2 #2533

See <https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow_V2/2533/display/redirect?page=changes>

Changes:

[noreply] [BEAM-11129] Add namespace and key to portable display data (#15564)

[noreply] [BEAM-12906] Add a `dataframe` extra for installing a pandas version


------------------------------------------
[...truncated 86.31 KB...]
apache_beam/transforms/ptransform_test.py::PTransformTest::test_flatten_pcollections 
[gw2] PASSED apache_beam/metrics/metric_test.py::MetricsTest::test_user_counter_using_pardo 
apache_beam/transforms/combiners_test.py::TimestampCombinerTest::test_combiner_earliest 
[gw2] PASSED apache_beam/transforms/combiners_test.py::TimestampCombinerTest::test_combiner_earliest 
apache_beam/transforms/ptransform_test.py::PTransformTest::test_multiple_empty_outputs 
[gw3] PASSED apache_beam/transforms/ptransform_test.py::PTransformTest::test_flatten_pcollections 
apache_beam/transforms/ptransform_test.py::PTransformTest::test_impulse 
[gw7] PASSED apache_beam/transforms/combinefn_lifecycle_test.py::CombineFnLifecycleTest::test_combine 
apache_beam/transforms/ptransform_test.py::PTransformTest::test_flatten_one_single_pcollection 
[gw6] PASSED apache_beam/runners/portability/fn_api_runner/translations_test.py::TranslationsTest::test_run_packable_combine_limit 
apache_beam/transforms/ptransform_test.py::PTransformTest::test_flatten_a_flattened_pcollection 
[gw4] PASSED apache_beam/runners/portability/fn_api_runner/translations_test.py::TranslationsTest::test_run_packable_combine_globally 
apache_beam/transforms/dofn_lifecycle_test.py::DoFnLifecycleTest::test_dofn_lifecycle 
[gw1] PASSED apache_beam/pipeline_test.py::DoFnTest::test_key_param 
apache_beam/transforms/combinefn_lifecycle_test.py::CombineFnLifecycleTest::test_non_liftable_combine 
[gw0] PASSED apache_beam/pipeline_test.py::DoFnTest::test_element_param 
apache_beam/transforms/combinefn_lifecycle_test.py::CombineFnLifecycleTest::test_combining_value_state 
[gw0] SKIPPED apache_beam/transforms/combinefn_lifecycle_test.py::CombineFnLifecycleTest::test_combining_value_state 
apache_beam/transforms/sideinputs_test.py::SideInputsTest::test_as_singleton_with_different_defaults 
[gw5] PASSED apache_beam/runners/portability/fn_api_runner/translations_test.py::TranslationsTest::test_run_packable_combine_per_key 
apache_beam/transforms/ptransform_test.py::PTransformTest::test_flatten_multiple_pcollections_having_multiple_consumers 
[gw2] PASSED apache_beam/transforms/ptransform_test.py::PTransformTest::test_multiple_empty_outputs 
apache_beam/transforms/ptransform_test.py::PTransformTest::test_par_do_with_multiple_outputs_and_using_return 
[gw3] PASSED apache_beam/transforms/ptransform_test.py::PTransformTest::test_impulse 
apache_beam/transforms/ptransform_test.py::PTransformTest::test_par_do_with_multiple_outputs_and_using_yield 
[gw7] PASSED apache_beam/transforms/ptransform_test.py::PTransformTest::test_flatten_one_single_pcollection 
apache_beam/transforms/ptransform_test.py::PTransformTest::test_undeclared_outputs 
[gw6] PASSED apache_beam/transforms/ptransform_test.py::PTransformTest::test_flatten_a_flattened_pcollection 
apache_beam/transforms/sideinputs_test.py::SideInputsTest::test_as_dict_twice 
[gw4] PASSED apache_beam/transforms/dofn_lifecycle_test.py::DoFnLifecycleTest::test_dofn_lifecycle 
apache_beam/transforms/sideinputs_test.py::SideInputsTest::test_as_list_and_as_dict_side_inputs 
[gw1] PASSED apache_beam/transforms/combinefn_lifecycle_test.py::CombineFnLifecycleTest::test_non_liftable_combine 
apache_beam/transforms/sideinputs_test.py::SideInputsTest::test_as_list_twice 
[gw0] PASSED apache_beam/transforms/sideinputs_test.py::SideInputsTest::test_as_singleton_with_different_defaults 
apache_beam/transforms/sideinputs_test.py::SideInputsTest::test_as_singleton_without_unique_labels 
[gw5] PASSED apache_beam/transforms/ptransform_test.py::PTransformTest::test_flatten_multiple_pcollections_having_multiple_consumers 
apache_beam/transforms/sideinputs_test.py::SideInputsTest::test_default_value_singleton_side_input 
[gw3] PASSED apache_beam/transforms/ptransform_test.py::PTransformTest::test_par_do_with_multiple_outputs_and_using_yield 
apache_beam/transforms/sideinputs_test.py::SideInputsTest::test_flattened_side_input 
[gw6] PASSED apache_beam/transforms/sideinputs_test.py::SideInputsTest::test_as_dict_twice 
apache_beam/transforms/sideinputs_test.py::SideInputsTest::test_reiterable_side_input 
[gw7] PASSED apache_beam/transforms/ptransform_test.py::PTransformTest::test_undeclared_outputs 
apache_beam/transforms/sideinputs_test.py::SideInputsTest::test_iterable_side_input 
[gw2] PASSED apache_beam/transforms/ptransform_test.py::PTransformTest::test_par_do_with_multiple_outputs_and_using_return 
apache_beam/transforms/sideinputs_test.py::SideInputsTest::test_empty_singleton_side_input 
[gw4] PASSED apache_beam/transforms/sideinputs_test.py::SideInputsTest::test_as_list_and_as_dict_side_inputs 
apache_beam/transforms/util_test.py::ReshuffleTest::test_reshuffle_preserves_timestamps 
[gw0] PASSED apache_beam/transforms/sideinputs_test.py::SideInputsTest::test_as_singleton_without_unique_labels 
[gw1] PASSED apache_beam/transforms/sideinputs_test.py::SideInputsTest::test_as_list_twice 
[gw5] PASSED apache_beam/transforms/sideinputs_test.py::SideInputsTest::test_default_value_singleton_side_input 
[gw6] PASSED apache_beam/transforms/sideinputs_test.py::SideInputsTest::test_reiterable_side_input 
[gw2] PASSED apache_beam/transforms/sideinputs_test.py::SideInputsTest::test_empty_singleton_side_input 
[gw7] PASSED apache_beam/transforms/sideinputs_test.py::SideInputsTest::test_iterable_side_input 
[gw4] PASSED apache_beam/transforms/util_test.py::ReshuffleTest::test_reshuffle_preserves_timestamps 
[gw3] PASSED apache_beam/transforms/sideinputs_test.py::SideInputsTest::test_flattened_side_input 

=============================== warnings summary ===============================
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow_V2/ws/src/build/gradleenv/-1734967051/lib/python3.8/site-packages/tenacity/_asyncio.py>:42
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow_V2/ws/src/build/gradleenv/-1734967051/lib/python3.8/site-packages/tenacity/_asyncio.py>:42
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow_V2/ws/src/build/gradleenv/-1734967051/lib/python3.8/site-packages/tenacity/_asyncio.py>:42
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow_V2/ws/src/build/gradleenv/-1734967051/lib/python3.8/site-packages/tenacity/_asyncio.py>:42
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow_V2/ws/src/build/gradleenv/-1734967051/lib/python3.8/site-packages/tenacity/_asyncio.py>:42
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow_V2/ws/src/build/gradleenv/-1734967051/lib/python3.8/site-packages/tenacity/_asyncio.py>:42
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow_V2/ws/src/build/gradleenv/-1734967051/lib/python3.8/site-packages/tenacity/_asyncio.py>:42
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow_V2/ws/src/build/gradleenv/-1734967051/lib/python3.8/site-packages/tenacity/_asyncio.py>:42
  <https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow_V2/ws/src/build/gradleenv/-1734967051/lib/python3.8/site-packages/tenacity/_asyncio.py>:42: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead
    def call(self, fn, *args, **kwargs):

-- Docs: https://docs.pytest.org/en/latest/warnings.html
- generated xml file: <https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow_V2/ws/src/sdks/python/pytest_validatesRunnerStreamingTests-df-py38-xdist.xml> -
============= 32 passed, 1 skipped, 8 warnings in 2743.84 seconds ==============
>>> RUNNING integration tests with pipeline options: --runner=TestDataflowRunner --project=apache-beam-testing --region=us-central1 --staging_location=gs://temp-storage-for-end-to-end-tests/staging-it --temp_location=gs://temp-storage-for-end-to-end-tests/temp-it --output=gs://temp-storage-for-end-to-end-tests/py-it-cloud/output --sdk_location=<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow_V2/ws/src/sdks/python/build/apache-beam.tar.gz> --requirements_file=postcommit_requirements.txt --num_workers=1 --sleep_secs=20 --streaming --dataflow_worker_jar=<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow_V2/ws/src/runners/google-cloud-dataflow-java/worker/build/libs/beam-runners-google-cloud-dataflow-java-fn-api-worker-2.34.0-SNAPSHOT.jar> --experiments=use_runner_v2 --experiments=shuffle_mode=appliance --enable_streaming_engine
>>>   pytest options: --capture=no --timeout=4500 --color=yes --log-cli-level=INFO
>>>   collect markers: -m=it_validatesrunner and not no_sickbay_streaming and no_xdist
============================= test session starts ==============================
platform linux -- Python 3.8.5, pytest-4.6.11, py-1.10.0, pluggy-0.13.1
rootdir: <https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow_V2/ws/src/sdks/python,> inifile: pytest.ini
plugins: xdist-1.34.0, timeout-1.4.2, forked-1.3.0, requests-mock-1.9.3
timeout: 4500.0s
timeout method: signal
timeout func_only: False

----------------------------- live log collection ------------------------------
WARNING  root:avroio_test.py:56 python-snappy is not installed; some tests will be skipped.
WARNING  root:tfrecordio_test.py:55 Tensorflow is not installed, so skipping some tests.
WARNING  apache_beam.runners.interactive.interactive_environment:interactive_environment.py:180 Dependencies required for Interactive Beam PCollection visualization are not available, please use: `pip install apache-beam[interactive]` to install necessary dependencies to enable all data visualization features.
WARNING  apache_beam.runners.interactive.interactive_environment:interactive_environment.py:189 You cannot use Interactive Beam features when you are not in an interactive environment such as a Jupyter notebook or ipython terminal.
WARNING  root:environments.py:371 Make sure that locally built Python SDK docker image has Python 3.8 interpreter.
INFO     root:environments.py:380 Default Python SDK image for environment is apache/beam_python3.8_sdk:2.34.0.dev
collected 5015 items / 5014 deselected / 1 selected

apache_beam/runners/dataflow/dataflow_exercise_streaming_metrics_pipeline_test.py::ExerciseStreamingMetricsPipelineTest::test_streaming_pipeline_returns_expected_user_metrics_fnapi_it FAILED

=================================== FAILURES ===================================
_ ExerciseStreamingMetricsPipelineTest.test_streaming_pipeline_returns_expected_user_metrics_fnapi_it _

args = (name: "projects/apache-beam-testing/subscriptions/exercise_streaming_metrics_subscription_output6e528acc-f630-4856-8a...testing/topics/exercise_streaming_metrics_topic_output6e528acc-f630-4856-8a06-c539f5c19585"
ack_deadline_seconds: 60
,)
kwargs = {'metadata': [('x-goog-request-params', 'name=projects/apache-beam-testing/subscriptions/exercise_streaming_metrics_su...856-8a06-c539f5c19585'), ('x-goog-api-client', 'gl-python/3.8.5 grpc/1.41.0 gax/1.31.3 gapic/1.7.0')], 'timeout': 60.0}

    @six.wraps(callable_)
    def error_remapped_callable(*args, **kwargs):
        try:
>           return callable_(*args, **kwargs)

../../build/gradleenv/-1734967051/lib/python3.8/site-packages/google/api_core/grpc_helpers.py:67: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <grpc._channel._UnaryUnaryMultiCallable object at 0x7fc189999dc0>
request = name: "projects/apache-beam-testing/subscriptions/exercise_streaming_metrics_subscription_output6e528acc-f630-4856-8a0...m-testing/topics/exercise_streaming_metrics_topic_output6e528acc-f630-4856-8a06-c539f5c19585"
ack_deadline_seconds: 60

timeout = 60.0
metadata = [('x-goog-request-params', 'name=projects/apache-beam-testing/subscriptions/exercise_streaming_metrics_subscription_output6e528acc-f630-4856-8a06-c539f5c19585'), ('x-goog-api-client', 'gl-python/3.8.5 grpc/1.41.0 gax/1.31.3 gapic/1.7.0')]
credentials = None, wait_for_ready = None, compression = None

    def __call__(self,
                 request,
                 timeout=None,
                 metadata=None,
                 credentials=None,
                 wait_for_ready=None,
                 compression=None):
        state, call, = self._blocking(request, timeout, metadata, credentials,
                                      wait_for_ready, compression)
>       return _end_unary_response_blocking(state, call, False, None)

../../build/gradleenv/-1734967051/lib/python3.8/site-packages/grpc/_channel.py:946: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

state = <grpc._channel._RPCState object at 0x7fc189a1d670>
call = <grpc._cython.cygrpc.SegregatedCall object at 0x7fc189a221c0>
with_call = False, deadline = None

    def _end_unary_response_blocking(state, call, with_call, deadline):
        if state.code is grpc.StatusCode.OK:
            if with_call:
                rendezvous = _MultiThreadedRendezvous(state, call, None, deadline)
                return state.response, rendezvous
            else:
                return state.response
        else:
>           raise _InactiveRpcError(state)
E           grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
E           	status = StatusCode.ALREADY_EXISTS
E           	details = "Resource already exists in the project (resource=exercise_streaming_metrics_subscription_output6e528acc-f630-4856-8a06-c539f5c19585)."
E           	debug_error_string = "{"created":"@1632880048.511070035","description":"Error received from peer ipv4:172.217.212.95:443","file":"src/core/lib/surface/call.cc","file_line":1069,"grpc_message":"Resource already exists in the project (resource=exercise_streaming_metrics_subscription_output6e528acc-f630-4856-8a06-c539f5c19585).","grpc_status":6}"
E           >

../../build/gradleenv/-1734967051/lib/python3.8/site-packages/grpc/_channel.py:849: _InactiveRpcError

The above exception was the direct cause of the following exception:

self = <apache_beam.runners.dataflow.dataflow_exercise_streaming_metrics_pipeline_test.ExerciseStreamingMetricsPipelineTest testMethod=test_streaming_pipeline_returns_expected_user_metrics_fnapi_it>

    def setUp(self):
      """Creates all required topics and subs."""
      self.test_pipeline = TestPipeline(is_integration_test=True)
      self.project = self.test_pipeline.get_option('project')
      self.uuid = str(uuid.uuid4())
    
      # Set up PubSub environment.
      from google.cloud import pubsub
      self.pub_client = pubsub.PublisherClient()
      self.input_topic_name = INPUT_TOPIC + self.uuid
      self.input_topic = self.pub_client.create_topic(
          self.pub_client.topic_path(self.project, self.input_topic_name))
    
      self.output_topic_name = OUTPUT_TOPIC + self.uuid
      self.output_topic = self.pub_client.create_topic(
          self.pub_client.topic_path(self.project, self.output_topic_name))
    
      self.sub_client = pubsub.SubscriberClient()
      self.input_sub_name = INPUT_SUB + self.uuid
      self.input_sub = self.sub_client.create_subscription(
          self.sub_client.subscription_path(self.project, self.input_sub_name),
          self.input_topic.name)
      self.output_sub_name = OUTPUT_SUB + self.uuid
>     self.output_sub = self.sub_client.create_subscription(
          self.sub_client.subscription_path(self.project, self.output_sub_name),
          self.output_topic.name,
          ack_deadline_seconds=60)

apache_beam/runners/dataflow/dataflow_exercise_streaming_metrics_pipeline_test.py:76: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
../../build/gradleenv/-1734967051/lib/python3.8/site-packages/google/cloud/pubsub_v1/_gapic.py:40: in <lambda>
    fx = lambda self, *a, **kw: wrapped_fx(self.api, *a, **kw)  # noqa
../../build/gradleenv/-1734967051/lib/python3.8/site-packages/google/cloud/pubsub_v1/gapic/subscriber_client.py:438: in create_subscription
    return self._inner_api_calls["create_subscription"](
../../build/gradleenv/-1734967051/lib/python3.8/site-packages/google/api_core/gapic_v1/method.py:145: in __call__
    return wrapped_func(*args, **kwargs)
../../build/gradleenv/-1734967051/lib/python3.8/site-packages/google/api_core/retry.py:286: in retry_wrapped_func
    return retry_target(
../../build/gradleenv/-1734967051/lib/python3.8/site-packages/google/api_core/retry.py:189: in retry_target
    return target()
../../build/gradleenv/-1734967051/lib/python3.8/site-packages/google/api_core/timeout.py:214: in func_with_timeout
    return func(*args, **kwargs)
../../build/gradleenv/-1734967051/lib/python3.8/site-packages/google/api_core/grpc_helpers.py:69: in error_remapped_callable
    six.raise_from(exceptions.from_grpc_error(exc), exc)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

value = None
from_value = <_InactiveRpcError of RPC that terminated with:
	status = StatusCode.ALREADY_EXISTS
	details = "Resource already exist...ect (resource=exercise_streaming_metrics_subscription_output6e528acc-f630-4856-8a06-c539f5c19585).","grpc_status":6}"
>

>   ???
E   google.api_core.exceptions.AlreadyExists: 409 Resource already exists in the project (resource=exercise_streaming_metrics_subscription_output6e528acc-f630-4856-8a06-c539f5c19585).

<string>:3: AlreadyExists
=============================== warnings summary ===============================
<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow_V2/ws/src/build/gradleenv/-1734967051/lib/python3.8/site-packages/tenacity/_asyncio.py>:42
  <https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow_V2/ws/src/build/gradleenv/-1734967051/lib/python3.8/site-packages/tenacity/_asyncio.py>:42: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead
    def call(self, fn, *args, **kwargs):

-- Docs: https://docs.pytest.org/en/latest/warnings.html
- generated xml file: <https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow_V2/ws/src/sdks/python/pytest_validatesRunnerStreamingTests-df-py38-noxdist.xml> -
============ 1 failed, 5014 deselected, 1 warnings in 60.70 seconds ============

> Task :sdks:python:test-suites:dataflow:py38:validatesRunnerStreamingTests FAILED

FAILURE: Build failed with an exception.

* Where:
Script '<https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow_V2/ws/src/sdks/python/test-suites/dataflow/common.gradle'> line: 204

* What went wrong:
Execution failed for task ':sdks:python:test-suites:dataflow:py38:validatesRunnerStreamingTests'.
> 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. Run with --scan to get full insights.

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

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.9.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 1h 47m 2s
84 actionable tasks: 78 executed, 6 from cache

Publishing build scan...
https://gradle.com/s/b74zozn7swo7m

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_V2 #2534

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow_V2/2534/display/redirect>


---------------------------------------------------------------------
To unsubscribe, e-mail: builds-unsubscribe@beam.apache.org
For additional commands, e-mail: builds-help@beam.apache.org