You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2018/10/17 18:32:47 UTC

Build failed in Jenkins: beam_PerformanceTests_Python #1570

See <https://builds.apache.org/job/beam_PerformanceTests_Python/1570/display/redirect?page=changes>

Changes:

[andrew] Ensuring checkpoint state is accessed and modified safely

[andrew] Adding exception logging to keep findbugs happy

[je.ik] [BEAM-3900] docs: TopPerKey is supported by euphoria

[andrew] Renaming method type parameters to adhere to checkstyle standard

------------------------------------------
[...truncated 100.27 KB...]
adding 'apache-beam-2.9.0.dev0/apache_beam/runners/worker/bundle_processor.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/runners/worker/log_handler.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/runners/worker/statesampler_fast.pxd'
adding 'apache-beam-2.9.0.dev0/apache_beam/runners/worker/worker_id_interceptor.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/runners/worker/operations.pxd'
adding 'apache-beam-2.9.0.dev0/apache_beam/runners/worker/sdk_worker_main.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/runners/worker/__init__.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/runners/worker/data_plane_test.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/internal/util_test.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/internal/pickler.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/internal/util.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/internal/module_test.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/internal/__init__.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/internal/pickler_test.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/internal/gcp/json_value_test.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/internal/gcp/json_value.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/internal/gcp/__init__.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/internal/gcp/auth.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/metrics/execution.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/metrics/execution.pxd'
adding 'apache-beam-2.9.0.dev0/apache_beam/metrics/cells_test.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/metrics/execution_test.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/metrics/metricbase.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/metrics/cells.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/metrics/metric.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/metrics/__init__.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/metrics/metric_test.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/metrics/monitoring_infos.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/tools/coders_microbenchmark.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/tools/sideinput_microbenchmark.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/tools/map_fn_microbenchmark.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/tools/microbenchmarks_test.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/tools/__init__.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/tools/distribution_counter_microbenchmark.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/tools/utils.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/examples/wordcount_debugging_test.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/examples/windowed_wordcount.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/examples/wordcount_debugging.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/examples/avro_bitcoin.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/examples/streaming_wordcount_debugging.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/examples/wordcount_minimal.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/examples/streaming_wordcount.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/examples/wordcount.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/examples/wordcount_it_test.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/examples/__init__.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/examples/fastavro_it_test.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/examples/wordcount_minimal_test.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/examples/streaming_wordcount_it_test.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/examples/wordcount_test.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/examples/cookbook/bigquery_side_input_test.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/examples/cookbook/bigquery_side_input.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/examples/cookbook/bigquery_tornadoes_test.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/examples/cookbook/multiple_output_pardo_test.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/examples/cookbook/filters_test.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/examples/cookbook/datastore_wordcount.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/examples/cookbook/bigquery_tornadoes.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/examples/cookbook/custom_ptransform_test.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/examples/cookbook/group_with_coder_test.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/examples/cookbook/bigquery_schema.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/examples/cookbook/bigquery_tornadoes_it_test.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/examples/cookbook/datastore_wordcount_it_test.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/examples/cookbook/mergecontacts.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/examples/cookbook/mergecontacts_test.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/examples/cookbook/__init__.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/examples/cookbook/group_with_coder.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/examples/cookbook/custom_ptransform.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/examples/cookbook/combiners_test.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/examples/cookbook/coders_test.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/examples/cookbook/coders.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/examples/cookbook/filters.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/examples/cookbook/multiple_output_pardo.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/examples/snippets/snippets_test.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/examples/snippets/snippets.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/examples/snippets/__init__.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/examples/flink/flink_streaming_impulse.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/examples/flink/__init__.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/examples/complete/distribopt_test.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/examples/complete/autocomplete_test.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/examples/complete/estimate_pi.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/examples/complete/tfidf.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/examples/complete/tfidf_test.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/examples/complete/autocomplete.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/examples/complete/top_wikipedia_sessions_test.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/examples/complete/distribopt.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/examples/complete/__init__.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/examples/complete/estimate_pi_test.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/examples/complete/top_wikipedia_sessions.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/examples/complete/game/game_stats_it_test.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/examples/complete/game/leader_board_it_test.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/examples/complete/game/user_score_test.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/examples/complete/game/hourly_team_score_test.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/examples/complete/game/leader_board_test.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/examples/complete/game/hourly_team_score.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/examples/complete/game/game_stats.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/examples/complete/game/leader_board.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/examples/complete/game/__init__.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/examples/complete/game/user_score_it_test.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/examples/complete/game/user_score.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/examples/complete/game/game_stats_test.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/examples/complete/game/hourly_team_score_it_test.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/examples/complete/juliaset/setup.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/examples/complete/juliaset/__init__.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/examples/complete/juliaset/juliaset_main.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/examples/complete/juliaset/juliaset/juliaset.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/examples/complete/juliaset/juliaset/juliaset_test.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/examples/complete/juliaset/juliaset/__init__.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/portability/python_urns.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/portability/__init__.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/portability/common_urns.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/portability/api/beam_fn_api_pb2_grpc.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/portability/api/endpoints_pb2.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/portability/api/beam_artifact_api_pb2.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/portability/api/beam_provision_api_pb2.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/portability/api/beam_provision_api_pb2_grpc.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/portability/api/beam_job_api_pb2_grpc.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/portability/api/beam_runner_api_pb2_grpc.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/portability/api/endpoints_pb2_grpc.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/portability/api/standard_window_fns_pb2.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/portability/api/__init__.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/portability/api/beam_fn_api_pb2.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/portability/api/standard_window_fns_pb2_grpc.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/portability/api/beam_job_api_pb2.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/portability/api/beam_artifact_api_pb2_grpc.py'
adding 'apache-beam-2.9.0.dev0/apache_beam/portability/api/beam_runner_api_pb2.py'
Creating tar archive
removing 'apache-beam-2.9.0.dev0' (and everything under it)
sdist archive name: <https://builds.apache.org/job/beam_PerformanceTests_Python/ws/src/sdks/python/build/apache-beam-2.9.0.dev0.tar.gz>

> Task :beam-sdks-python:integrationTest
>>> RUNNING integration tests with pipeline options: --project=apache-beam-testing --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 --runner=dataflow --sdk_location=build/apache-beam.tar.gz
running nosetests
running egg_info
writing requirements to apache_beam.egg-info/requires.txt
writing apache_beam.egg-info/PKG-INFO
writing top-level names to apache_beam.egg-info/top_level.txt
writing dependency_links to apache_beam.egg-info/dependency_links.txt
writing entry points to apache_beam.egg-info/entry_points.txt
reading manifest file 'apache_beam.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'apache_beam.egg-info/SOURCES.txt'

STDERR: googledatastore 7.0.1 has requirement httplib2<0.10,>=0.9.1, but you'll have httplib2 0.11.3 which is incompatible.
googledatastore 7.0.1 has requirement oauth2client<4.0.0,>=2.0.1, but you'll have oauth2client 4.1.3 which is incompatible.
proto-google-cloud-datastore-v1 0.90.4 has requirement oauth2client<4.0dev,>=2.0.0, but you'll have oauth2client 4.1.3 which is incompatible.
<https://builds.apache.org/job/beam_PerformanceTests_Python/ws/src/sdks/python/build/gradleenv/local/lib/python2.7/site-packages/setuptools/dist.py>:398: UserWarning: Normalizing '2.9.0.dev' to '2.9.0.dev0'
  normalized_version,
warning: no files found matching 'README.md'
warning: no files found matching 'NOTICE'
warning: no files found matching 'LICENSE'
warning: cmd: standard file not found: should have one of README, README.rst, README.txt, README.md



###########################################################################
# Build pipeline options if not provided in --pipeline_opts from commandline

if [[ -z $PIPELINE_OPTS ]]; then

  # Check that the script is running in a known directory.
  if [[ $PWD != *sdks/python* ]]; then
    echo 'Unable to locate Apache Beam Python SDK root directory'
    exit 1
  fi

  # Go to the Apache Beam Python SDK root
  if [[ "*sdks/python" != $PWD ]]; then
    cd $(pwd | sed 's/sdks\/python.*/sdks\/python/')
  fi

  # Create a tarball if not exists
  SDK_LOCATION=$(find ${SDK_LOCATION})
  if [[ ! -f $SDK_LOCATION ]]; then
    python setup.py -q sdist
    SDK_LOCATION=$(find dist/apache-beam-*.tar.gz)
  fi

  # Install test dependencies for ValidatesRunner tests.
  echo "pyhamcrest" > postcommit_requirements.txt
  echo "mock" >> postcommit_requirements.txt

  # Options used to run testing pipeline on Cloud Dataflow Service. Also used for
  # running on DirectRunner (some options ignored).
  opts=(
    "--runner=$RUNNER"
    "--project=$PROJECT"
    "--staging_location=$GCS_LOCATION/staging-it"
    "--temp_location=$GCS_LOCATION/temp-it"
    "--output=$GCS_LOCATION/py-it-cloud/output"
    "--sdk_location=$SDK_LOCATION"
    "--requirements_file=postcommit_requirements.txt"
    "--num_workers=$NUM_WORKERS"
    "--sleep_secs=$SLEEP_SECS"
  )
  PIPELINE_OPTS=$(IFS=" " ; echo "${opts[*]}")

fi


###########################################################################
# Run tests and validate that jobs finish successfully.

echo ">>> RUNNING integration tests with pipeline options: $PIPELINE_OPTS"
python setup.py nosetests \
  --test-pipeline-options="$PIPELINE_OPTS" \
  $TEST_OPTS
<https://builds.apache.org/job/beam_PerformanceTests_Python/ws/src/sdks/python/build/gradleenv/local/lib/python2.7/site-packages/setuptools/dist.py>:398: UserWarning: Normalizing '2.9.0.dev' to '2.9.0.dev0'
  normalized_version,
warning: no files found matching 'README.md'
warning: no files found matching 'NOTICE'
warning: no files found matching 'LICENSE'
<https://builds.apache.org/job/beam_PerformanceTests_Python/ws/src/sdks/python/apache_beam/runners/dataflow/dataflow_runner.py>:803: DeprecationWarning: options is deprecated since First stable release. References to <pipeline>.options will not be supported
  options = pbegin.pipeline.options.view_as(DebugOptions)

2018-10-17 18:32:46,191 0b44b88e MainThread beam_integration_benchmark(1/1) ERROR    Error during benchmark beam_integration_benchmark
Traceback (most recent call last):
  File "<https://builds.apache.org/job/beam_PerformanceTests_Python/ws/PerfKitBenchmarker/perfkitbenchmarker/pkb.py",> line 720, in RunBenchmark
    DoRunPhase(spec, collector, detailed_timer)
  File "<https://builds.apache.org/job/beam_PerformanceTests_Python/ws/PerfKitBenchmarker/perfkitbenchmarker/pkb.py",> line 581, in DoRunPhase
    samples = spec.BenchmarkRun(spec)
  File "<https://builds.apache.org/job/beam_PerformanceTests_Python/ws/PerfKitBenchmarker/perfkitbenchmarker/linux_benchmarks/beam_integration_benchmark.py",> line 160, in Run
    job_type=job_type)
  File "<https://builds.apache.org/job/beam_PerformanceTests_Python/ws/PerfKitBenchmarker/perfkitbenchmarker/providers/gcp/gcp_dpb_dataflow.py",> line 90, in SubmitJob
    assert retcode == 0, "Integration Test Failed."
AssertionError: Integration Test Failed.
2018-10-17 18:32:46,193 0b44b88e MainThread beam_integration_benchmark(1/1) INFO     Cleaning up benchmark beam_integration_benchmark
2018-10-17 18:32:46,195 0b44b88e MainThread beam_integration_benchmark(1/1) ERROR    Exception running benchmark
Traceback (most recent call last):
  File "<https://builds.apache.org/job/beam_PerformanceTests_Python/ws/PerfKitBenchmarker/perfkitbenchmarker/pkb.py",> line 861, in RunBenchmarkTask
    RunBenchmark(spec, collector)
  File "<https://builds.apache.org/job/beam_PerformanceTests_Python/ws/PerfKitBenchmarker/perfkitbenchmarker/pkb.py",> line 720, in RunBenchmark
    DoRunPhase(spec, collector, detailed_timer)
  File "<https://builds.apache.org/job/beam_PerformanceTests_Python/ws/PerfKitBenchmarker/perfkitbenchmarker/pkb.py",> line 581, in DoRunPhase
    samples = spec.BenchmarkRun(spec)
  File "<https://builds.apache.org/job/beam_PerformanceTests_Python/ws/PerfKitBenchmarker/perfkitbenchmarker/linux_benchmarks/beam_integration_benchmark.py",> line 160, in Run
    job_type=job_type)
  File "<https://builds.apache.org/job/beam_PerformanceTests_Python/ws/PerfKitBenchmarker/perfkitbenchmarker/providers/gcp/gcp_dpb_dataflow.py",> line 90, in SubmitJob
    assert retcode == 0, "Integration Test Failed."
AssertionError: Integration Test Failed.
2018-10-17 18:32:46,196 0b44b88e MainThread beam_integration_benchmark(1/1) ERROR    Benchmark 1/1 beam_integration_benchmark (UID: beam_integration_benchmark0) failed. Execution will continue.
2018-10-17 18:32:46,244 0b44b88e MainThread INFO     Benchmark run statuses:
---------------------------------------------------------------------------------
Name                        UID                          Status  Failed Substatus
---------------------------------------------------------------------------------
beam_integration_benchmark  beam_integration_benchmark0  FAILED                  
---------------------------------------------------------------------------------
Success rate: 0.00% (0/1)
2018-10-17 18:32:46,245 0b44b88e MainThread INFO     Complete logs can be found at: <https://builds.apache.org/job/beam_PerformanceTests_Python/ws/runs/0b44b88e/pkb.log>
2018-10-17 18:32:46,245 0b44b88e MainThread INFO     Completion statuses can be found at: <https://builds.apache.org/job/beam_PerformanceTests_Python/ws/runs/0b44b88e/completion_statuses.json>
Build step 'Execute shell' marked build as failure

Jenkins build is back to normal : beam_PerformanceTests_Python #1571

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