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 2019/01/27 00:48:49 UTC

Build failed in Jenkins: beam_PostCommit_Python_Verify #7208

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

------------------------------------------
[...truncated 141.79 KB...]
    copying pycparser/plyparser.py -> build/lib/pycparser
    creating build/lib/pycparser/ply
    copying pycparser/ply/ctokens.py -> build/lib/pycparser/ply
    copying pycparser/ply/yacc.py -> build/lib/pycparser/ply
    copying pycparser/ply/__init__.py -> build/lib/pycparser/ply
    copying pycparser/ply/lex.py -> build/lib/pycparser/ply
    copying pycparser/ply/ygen.py -> build/lib/pycparser/ply
    copying pycparser/ply/cpp.py -> build/lib/pycparser/ply
    copying pycparser/_c_ast.cfg -> build/lib/pycparser
    running install_lib
    creating /usr/local/lib/python2.7/site-packages/pycparser
    copying build/lib/pycparser/_c_ast.cfg -> /usr/local/lib/python2.7/site-packages/pycparser
    copying build/lib/pycparser/c_parser.py -> /usr/local/lib/python2.7/site-packages/pycparser
    copying build/lib/pycparser/ast_transforms.py -> /usr/local/lib/python2.7/site-packages/pycparser
    copying build/lib/pycparser/_build_tables.py -> /usr/local/lib/python2.7/site-packages/pycparser
    copying build/lib/pycparser/yacctab.py -> /usr/local/lib/python2.7/site-packages/pycparser
    copying build/lib/pycparser/c_lexer.py -> /usr/local/lib/python2.7/site-packages/pycparser
    copying build/lib/pycparser/c_generator.py -> /usr/local/lib/python2.7/site-packages/pycparser
    copying build/lib/pycparser/lextab.py -> /usr/local/lib/python2.7/site-packages/pycparser
    copying build/lib/pycparser/_ast_gen.py -> /usr/local/lib/python2.7/site-packages/pycparser
    copying build/lib/pycparser/__init__.py -> /usr/local/lib/python2.7/site-packages/pycparser
    creating /usr/local/lib/python2.7/site-packages/pycparser/ply
    copying build/lib/pycparser/ply/ctokens.py -> /usr/local/lib/python2.7/site-packages/pycparser/ply
    copying build/lib/pycparser/ply/yacc.py -> /usr/local/lib/python2.7/site-packages/pycparser/ply
    copying build/lib/pycparser/ply/__init__.py -> /usr/local/lib/python2.7/site-packages/pycparser/ply
    copying build/lib/pycparser/ply/lex.py -> /usr/local/lib/python2.7/site-packages/pycparser/ply
    copying build/lib/pycparser/ply/ygen.py -> /usr/local/lib/python2.7/site-packages/pycparser/ply
    copying build/lib/pycparser/ply/cpp.py -> /usr/local/lib/python2.7/site-packages/pycparser/ply
    copying build/lib/pycparser/c_ast.py -> /usr/local/lib/python2.7/site-packages/pycparser
    copying build/lib/pycparser/plyparser.py -> /usr/local/lib/python2.7/site-packages/pycparser
    byte-compiling /usr/local/lib/python2.7/site-packages/pycparser/c_parser.py to c_parser.pyc
    byte-compiling /usr/local/lib/python2.7/site-packages/pycparser/ast_transforms.py to ast_transforms.pyc
    byte-compiling /usr/local/lib/python2.7/site-packages/pycparser/_build_tables.py to _build_tables.pyc
    byte-compiling /usr/local/lib/python2.7/site-packages/pycparser/yacctab.py to yacctab.pyc
    byte-compiling /usr/local/lib/python2.7/site-packages/pycparser/c_lexer.py to c_lexer.pyc
    byte-compiling /usr/local/lib/python2.7/site-packages/pycparser/c_generator.py to c_generator.pyc
    byte-compiling /usr/local/lib/python2.7/site-packages/pycparser/lextab.py to lextab.pyc
    byte-compiling /usr/local/lib/python2.7/site-packages/pycparser/_ast_gen.py to _ast_gen.pyc
    byte-compiling /usr/local/lib/python2.7/site-packages/pycparser/__init__.py to __init__.pyc
    byte-compiling /usr/local/lib/python2.7/site-packages/pycparser/ply/ctokens.py to ctokens.pyc
    byte-compiling /usr/local/lib/python2.7/site-packages/pycparser/ply/yacc.py to yacc.pyc
    byte-compiling /usr/local/lib/python2.7/site-packages/pycparser/ply/__init__.py to __init__.pyc
    byte-compiling /usr/local/lib/python2.7/site-packages/pycparser/ply/lex.py to lex.pyc
    byte-compiling /usr/local/lib/python2.7/site-packages/pycparser/ply/ygen.py to ygen.pyc
    byte-compiling /usr/local/lib/python2.7/site-packages/pycparser/ply/cpp.py to cpp.pyc
    byte-compiling /usr/local/lib/python2.7/site-packages/pycparser/c_ast.py to c_ast.pyc
    byte-compiling /usr/local/lib/python2.7/site-packages/pycparser/plyparser.py to plyparser.pyc
    running install_egg_info
    running egg_info
    writing pycparser.egg-info/PKG-INFO
    writing top-level names to pycparser.egg-info/top_level.txt
    writing dependency_links to pycparser.egg-info/dependency_links.txt
    reading manifest file 'pycparser.egg-info/SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    warning: no previously-included files found matching 'setup.pyc'
    warning: no previously-included files matching 'yacctab.*' found under directory 'tests'
    warning: no previously-included files matching 'lextab.*' found under directory 'tests'
    warning: no previously-included files matching 'yacctab.*' found under directory 'examples'
    warning: no previously-included files matching 'lextab.*' found under directory 'examples'
    writing manifest file 'pycparser.egg-info/SOURCES.txt'
    Copying pycparser.egg-info to /usr/local/lib/python2.7/site-packages/pycparser-2.19-py2.7.egg-info
    running install_scripts
    writing list of installed files to '/tmp/pip-record-JuF8Ar/install-record.txt'
    Build the lexing/parsing tables
    error: [Errno 11] Resource temporarily unavailable
    
    ----------------------------------------
Command "/usr/local/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-6ix2q0/pycparser/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-JuF8Ar/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-6ix2q0/pycparser/
Service 'test' failed to build: The command '/bin/sh -c pip install --no-cache-dir holdup gsutil' returned a non-zero code: 1
+ finally
+ docker-compose -p hdfs_IT-jenkins-beam_PostCommit_Python_Verify-7208 --no-ansi down
Removing network hdfs_it-jenkins-beam_postcommit_python_verify-7208_test_net
Network hdfs_it-jenkins-beam_postcommit_python_verify-7208_test_net not found.

real	0m0.199s
user	0m0.159s
sys	0m0.035s

> Task :beam-sdks-python:hdfsIntegrationTest FAILED

> Task :beam-sdks-python:postCommitIT


###########################################################################
# 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
  if [[ $(find ${SDK_LOCATION}) ]]; then
    SDK_LOCATION=$(find ${SDK_LOCATION})
  else
    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"
  )

  # Add --streaming if provided
  if [[ "$STREAMING" = true ]]; then
    opts+=("--streaming")
  fi

  # Add --dataflow_worker_jar if provided
  if [[ ! -z "$WORKER_JAR" ]]; then
    opts+=("--dataflow_worker_jar=$WORKER_JAR")
  fi

  if [[ ! -z "$KMS_KEY_NAME" ]]; then
    opts+=("--kms_key_name=$KMS_KEY_NAME")
  fi

  PIPELINE_OPTS=$(IFS=" " ; echo "${opts[*]}")

fi
pwd | sed 's/sdks\/python.*/sdks\/python/'
find ${SDK_LOCATION}
find ${SDK_LOCATION}
IFS=" " ; echo "${opts[*]}"

###########################################################################
# 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
>>> RUNNING integration tests with pipeline options: --runner=TestDataflowRunner --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 --sdk_location=build/apache-beam.tar.gz --requirements_file=postcommit_requirements.txt --num_workers=1 --sleep_secs=20 --kms_key_name=projects/apache-beam-testing/locations/global/keyRings/beam-it/cryptoKeys/test/cryptoKeyVersions/1
<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/build/gradleenv/1327086738/local/lib/python2.7/site-packages/setuptools/dist.py>:470: UserWarning: Normalizing '2.11.0.dev' to '2.11.0.dev0'
  normalized_version,
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'
warning: no files found matching 'README.md'
warning: no files found matching 'NOTICE'
warning: no files found matching 'LICENSE'
writing manifest file 'apache_beam.egg-info/SOURCES.txt'
test_bigquery_tornadoes_it (apache_beam.examples.cookbook.bigquery_tornadoes_it_test.BigqueryTornadoesIT) ... ok
test_autocomplete_it (apache_beam.examples.complete.autocomplete_test.AutocompleteTest) ... ok
test_datastore_wordcount_it (apache_beam.examples.cookbook.datastore_wordcount_it_test.DatastoreWordCountIT) ... ok
test_leader_board_it (apache_beam.examples.complete.game.leader_board_it_test.LeaderBoardIT) ... ok
test_game_stats_it (apache_beam.examples.complete.game.game_stats_it_test.GameStatsIT) ... ok
test_streaming_wordcount_it (apache_beam.examples.streaming_wordcount_it_test.StreamingWordCountIT) ... ok
test_wordcount_fnapi_it (apache_beam.examples.wordcount_it_test.WordCountIT) ... ok
test_copy (apache_beam.io.gcp.gcsio_integration_test.GcsIOIntegrationTest) ... ok
test_copy_batch (apache_beam.io.gcp.gcsio_integration_test.GcsIOIntegrationTest) ... ok
test_copy_batch_kms (apache_beam.io.gcp.gcsio_integration_test.GcsIOIntegrationTest) ... ok
test_copy_batch_rewrite_token (apache_beam.io.gcp.gcsio_integration_test.GcsIOIntegrationTest) ... ok
test_copy_kms (apache_beam.io.gcp.gcsio_integration_test.GcsIOIntegrationTest) ... ok
test_copy_rewrite_token (apache_beam.io.gcp.gcsio_integration_test.GcsIOIntegrationTest) ... ok
test_wordcount_it (apache_beam.examples.wordcount_it_test.WordCountIT) ... ok
test_user_score_it (apache_beam.examples.complete.game.user_score_it_test.UserScoreIT) ... ok
test_hourly_team_score_it (apache_beam.examples.complete.game.hourly_team_score_it_test.HourlyTeamScoreIT) ... ok
test_avro_it (apache_beam.examples.fastavro_it_test.FastavroIT) ... ok
test_bigquery_read_1M_python (apache_beam.io.gcp.bigquery_io_read_it_test.BigqueryIOReadIT) ... ok
test_parquetio_it (apache_beam.io.parquetio_it_test.TestParquetIT) ... ok
test_streaming_data_only (apache_beam.io.gcp.pubsub_integration_test.PubSubIntegrationTest) ... ok
test_streaming_with_attributes (apache_beam.io.gcp.pubsub_integration_test.PubSubIntegrationTest) ... ok
test_big_query_legacy_sql (apache_beam.io.gcp.big_query_query_to_table_it_test.BigQueryQueryToTableIT) ... ok
test_big_query_new_types (apache_beam.io.gcp.big_query_query_to_table_it_test.BigQueryQueryToTableIT) ... ok
test_big_query_standard_sql (apache_beam.io.gcp.big_query_query_to_table_it_test.BigQueryQueryToTableIT) ... ok
test_datastore_write_limit (apache_beam.io.gcp.datastore_write_it_test.DatastoreWriteIT) ... ok

----------------------------------------------------------------------
XML: <https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/nosetests.xml>
----------------------------------------------------------------------
Ran 25 tests in 2812.153s

OK
Found: https://console.cloud.google.com/dataflow/jobsDetail/locations/us-central1/jobs/2019-01-26_16_02_02-782206386321383471?project=apache-beam-testing.
Found: https://console.cloud.google.com/dataflow/jobsDetail/locations/us-central1/jobs/2019-01-26_16_08_57-12709476828327031835?project=apache-beam-testing.
Found: https://console.cloud.google.com/dataflow/jobsDetail/locations/us-central1/jobs/2019-01-26_16_16_29-10269651846991839360?project=apache-beam-testing.
Found: https://console.cloud.google.com/dataflow/jobsDetail/locations/us-central1/jobs/2019-01-26_16_22_16-17312521036423079646?project=apache-beam-testing.
Found: https://console.cloud.google.com/dataflow/jobsDetail/locations/us-central1/jobs/2019-01-26_16_29_18-13651188877074580977?project=apache-beam-testing.
Found: https://console.cloud.google.com/dataflow/jobsDetail/locations/us-central1/jobs/2019-01-26_16_36_14-16625310846325826608?project=apache-beam-testing.
Found: https://console.cloud.google.com/dataflow/jobsDetail/locations/us-central1/jobs/2019-01-26_16_42_06-14531182670774907224?project=apache-beam-testing.
Found: https://console.cloud.google.com/dataflow/jobsDetail/locations/us-central1/jobs/2019-01-26_16_02_05-10689733992541007037?project=apache-beam-testing.
Found: https://console.cloud.google.com/dataflow/jobsDetail/locations/us-central1/jobs/2019-01-26_16_16_20-10503375147548459547?project=apache-beam-testing.
Found: https://console.cloud.google.com/dataflow/jobsDetail/locations/us-central1/jobs/2019-01-26_16_02_03-3670895601938965090?project=apache-beam-testing.
Found: https://console.cloud.google.com/dataflow/jobsDetail/locations/us-central1/jobs/2019-01-26_16_02_04-9300689073865966858?project=apache-beam-testing.
Found: https://console.cloud.google.com/dataflow/jobsDetail/locations/us-central1/jobs/2019-01-26_16_14_14-5458239013950770369?project=apache-beam-testing.
Found: https://console.cloud.google.com/dataflow/jobsDetail/locations/us-central1/jobs/2019-01-26_16_20_32-11316742158575765343?project=apache-beam-testing.
Found: https://console.cloud.google.com/dataflow/jobsDetail/locations/us-central1/jobs/2019-01-26_16_28_05-4140155130478249708?project=apache-beam-testing.
Found: https://console.cloud.google.com/dataflow/jobsDetail/locations/us-central1/jobs/2019-01-26_16_02_03-11602558244896667272?project=apache-beam-testing.
Found: https://console.cloud.google.com/dataflow/jobsDetail/locations/us-central1/jobs/2019-01-26_16_02_03-16184880811339174617?project=apache-beam-testing.
Found: https://console.cloud.google.com/dataflow/jobsDetail/locations/us-central1/jobs/2019-01-26_16_09_31-15556756637618284992?project=apache-beam-testing.
Found: https://console.cloud.google.com/dataflow/jobsDetail/locations/us-central1/jobs/2019-01-26_16_17_07-7624274657084689873?project=apache-beam-testing.
Found: https://console.cloud.google.com/dataflow/jobsDetail/locations/us-central1/jobs/2019-01-26_16_23_14-15151491917883465622?project=apache-beam-testing.
Found: https://console.cloud.google.com/dataflow/jobsDetail/locations/us-central1/jobs/2019-01-26_16_02_03-8952531762350192391?project=apache-beam-testing.
Found: https://console.cloud.google.com/dataflow/jobsDetail/locations/us-central1/jobs/2019-01-26_16_09_46-10786902173708415085?project=apache-beam-testing.
Found: https://console.cloud.google.com/dataflow/jobsDetail/locations/us-central1/jobs/2019-01-26_16_17_19-15576869163488236764?project=apache-beam-testing.
Found: https://console.cloud.google.com/dataflow/jobsDetail/locations/us-central1/jobs/2019-01-26_16_02_03-1575017266238139747?project=apache-beam-testing.
Found: https://console.cloud.google.com/dataflow/jobsDetail/locations/us-central1/jobs/2019-01-26_16_10_25-13647847065386248599?project=apache-beam-testing.

FAILURE: Build failed with an exception.

* Where:
Build file '<https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/build.gradle'> line: 317

* What went wrong:
Execution failed for task ':beam-sdks-python:hdfsIntegrationTest'.
> 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

BUILD FAILED in 48m 39s
6 actionable tasks: 6 executed

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

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_Python_Verify #7209

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/beam_PostCommit_Python_Verify/7209/display/redirect>


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