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 2020/06/12 12:03:31 UTC

Build failed in Jenkins: beam_PostCommit_Python_MongoDBIO_IT #3035

See <https://builds.apache.org/job/beam_PostCommit_Python_MongoDBIO_IT/3035/display/redirect>

Changes:


------------------------------------------
[...truncated 22.25 KB...]
Collecting more-itertools<6.0.0,>=4.0.0; python_version <= "2.7"
  Using cached more_itertools-5.0.0-py2-none-any.whl (52 kB)
Requirement already satisfied: pathlib2>=2.2.0; python_version < "3.6" in <https://builds.apache.org/job/beam_PostCommit_Python_MongoDBIO_IT/ws/src/build/gradleenv/45127155/lib/python2.7/site-packages> (from pytest<5.0,>=4.4.0->apache-beam==2.23.0.dev0) (2.3.5)
Requirement already satisfied: py>=1.5.0 in <https://builds.apache.org/job/beam_PostCommit_Python_MongoDBIO_IT/ws/src/build/gradleenv/45127155/lib/python2.7/site-packages> (from pytest<5.0,>=4.4.0->apache-beam==2.23.0.dev0) (1.8.1)
Collecting pytest-forked
  Using cached pytest_forked-1.1.3-py2.py3-none-any.whl (4.5 kB)
Collecting execnet>=1.1
  Using cached execnet-1.7.1-py2.py3-none-any.whl (39 kB)
Collecting certifi>=2017.4.17
  Using cached certifi-2020.4.5.2-py2.py3-none-any.whl (157 kB)
Collecting idna<3,>=2.5
  Using cached idna-2.9-py2.py3-none-any.whl (58 kB)
Collecting chardet<4,>=3.0.2
  Using cached chardet-3.0.4-py2.py3-none-any.whl (133 kB)
Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1
  Using cached urllib3-1.25.9-py2.py3-none-any.whl (126 kB)
Requirement already satisfied: contextlib2; python_version < "3" in <https://builds.apache.org/job/beam_PostCommit_Python_MongoDBIO_IT/ws/src/build/gradleenv/45127155/lib/python2.7/site-packages> (from importlib-metadata>=0.12; python_version < "3.8"->pytest<5.0,>=4.4.0->apache-beam==2.23.0.dev0) (0.6.0.post1)
Requirement already satisfied: zipp>=0.5 in <https://builds.apache.org/job/beam_PostCommit_Python_MongoDBIO_IT/ws/src/build/gradleenv/45127155/lib/python2.7/site-packages> (from importlib-metadata>=0.12; python_version < "3.8"->pytest<5.0,>=4.4.0->apache-beam==2.23.0.dev0) (1.2.0)
Requirement already satisfied: configparser>=3.5; python_version < "3" in <https://builds.apache.org/job/beam_PostCommit_Python_MongoDBIO_IT/ws/src/build/gradleenv/45127155/lib/python2.7/site-packages> (from importlib-metadata>=0.12; python_version < "3.8"->pytest<5.0,>=4.4.0->apache-beam==2.23.0.dev0) (4.0.2)
Collecting backports.functools-lru-cache>=1.2.1; python_version < "3.2"
  Using cached backports.functools_lru_cache-1.6.1-py2.py3-none-any.whl (5.7 kB)
Requirement already satisfied: scandir; python_version < "3.5" in <https://builds.apache.org/job/beam_PostCommit_Python_MongoDBIO_IT/ws/src/build/gradleenv/45127155/lib/python2.7/site-packages> (from pathlib2>=2.2.0; python_version < "3.6"->pytest<5.0,>=4.4.0->apache-beam==2.23.0.dev0) (1.10.0)
Collecting apipkg>=1.4
  Using cached apipkg-1.5-py2.py3-none-any.whl (4.9 kB)
Installing collected packages: crcmod, dill, pytz, fastavro, docopt, certifi, idna, chardet, urllib3, requests, hdfs, httplib2, pbr, funcsigs, mock, numpy, pymongo, pyasn1, rsa, pyasn1-modules, oauth2client, pyparsing, pydot, python-dateutil, typing-extensions, avro, pyvcf, pyarrow, freezegun, nose, nose-xunitmp, pandas, parameterized, pyhamcrest, pyyaml, requests-mock, monotonic, tenacity, atomicwrites, packaging, attrs, backports.functools-lru-cache, wcwidth, more-itertools, pytest, pytest-forked, apipkg, execnet, pytest-xdist, pytest-timeout, apache-beam

> Task :sdks:python:test-suites:direct:py35:mongodbioIT
Using default tag: latest
latest: Pulling from library/mongo
Digest: sha256:d080599e887a18a67b09dbcda4af227b6d2d9a7c4fc5602c25208fba749a8cf2
Status: Image is up to date for mongo:latest
844ba1e9ba9729df61f2f47430af806b46151aca57eeb45987800c547b000af1
Obtaining file://<https://builds.apache.org/job/beam_PostCommit_Python_MongoDBIO_IT/ws/src/sdks/python>
Processing /home/jenkins/.cache/pip/wheels/50/24/4d/4580ca4a299f1ad6fd63443e6e584cb21e9a07988e4aa8daac/crcmod-1.7-cp35-cp35m-linux_x86_64.whl
Processing /home/jenkins/.cache/pip/wheels/34/63/8b/137c251bca70f301c47a62dae335f36c21a8b86e42c803129a/dill-0.3.1.1-py3-none-any.whl
Collecting fastavro<0.24,>=0.21.4
  Using cached fastavro-0.23.4-cp35-cp35m-manylinux2010_x86_64.whl (1.3 MB)
Requirement already satisfied: future<1.0.0,>=0.18.2 in <https://builds.apache.org/job/beam_PostCommit_Python_MongoDBIO_IT/ws/src/build/gradleenv/1398941889/lib/python3.5/site-packages> (from apache-beam==2.23.0.dev0) (0.18.2)
Requirement already satisfied: grpcio<2,>=1.12.1 in <https://builds.apache.org/job/beam_PostCommit_Python_MongoDBIO_IT/ws/src/build/gradleenv/1398941889/lib/python3.5/site-packages> (from apache-beam==2.23.0.dev0) (1.29.0)
Processing /home/jenkins/.cache/pip/wheels/c3/cd/d8/8d1f32dc46461f8eccebb0bfde7131007393ce4ec0ef866e15/hdfs-2.5.8-py3-none-any.whl
Collecting httplib2<0.18.0,>=0.8
  Using cached httplib2-0.17.4-py3-none-any.whl (95 kB)
Collecting mock<3.0.0,>=1.0.1
  Using cached mock-2.0.0-py2.py3-none-any.whl (56 kB)
Collecting numpy<2,>=1.14.3
  Using cached numpy-1.18.5-cp35-cp35m-manylinux1_x86_64.whl (19.9 MB)
Collecting pymongo<4.0.0,>=3.8.0
  Using cached pymongo-3.10.1-cp35-cp35m-manylinux2014_x86_64.whl (459 kB)
Processing /home/jenkins/.cache/pip/wheels/48/f7/87/b932f09c6335dbcf45d916937105a372ab14f353a9ca431d7d/oauth2client-3.0.0-cp35-none-any.whl
Requirement already satisfied: protobuf<4,>=3.5.0.post1 in <https://builds.apache.org/job/beam_PostCommit_Python_MongoDBIO_IT/ws/src/build/gradleenv/1398941889/lib/python3.5/site-packages> (from apache-beam==2.23.0.dev0) (3.12.2)
Collecting pydot<2,>=1.2.0
  Using cached pydot-1.4.1-py2.py3-none-any.whl (19 kB)
Collecting python-dateutil<3,>=2.8.0
  Using cached python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB)
Collecting pytz>=2018.3
  Using cached pytz-2020.1-py2.py3-none-any.whl (510 kB)
Collecting typing-extensions<3.8.0,>=3.7.0
  Using cached typing_extensions-3.7.4.2-py3-none-any.whl (22 kB)
Collecting pyarrow<0.18.0,>=0.15.1
  Using cached pyarrow-0.17.1-cp35-cp35m-manylinux2014_x86_64.whl (63.7 MB)
Processing /home/jenkins/.cache/pip/wheels/de/f4/b9/d6546ebbb81a0b7c261c73b4a831a285cc47184821aa2e6e8e/avro_python3-1.9.2.1-py3-none-any.whl
Collecting typing<3.8.0,>=3.7.0
  Using cached typing-3.7.4.1-py3-none-any.whl (25 kB)
Collecting freezegun>=0.3.12
  Using cached freezegun-0.3.15-py2.py3-none-any.whl (14 kB)
Collecting nose>=1.3.7
  Using cached nose-1.3.7-py3-none-any.whl (154 kB)
Processing /home/jenkins/.cache/pip/wheels/cf/90/07/287645608eafad8090586024dc245b16aa8b4d273d80558106/nose_xunitmp-0.4.1-py3-none-any.whl
Collecting pandas<0.25,>=0.23.4
  Using cached pandas-0.24.2-cp35-cp35m-manylinux1_x86_64.whl (10.0 MB)
Collecting parameterized<0.8.0,>=0.7.1
  Using cached parameterized-0.7.4-py2.py3-none-any.whl (25 kB)
Collecting pyhamcrest!=1.10.0,<2.0.0,>=1.9
  Using cached PyHamcrest-1.10.1-py3-none-any.whl (48 kB)
Processing /home/jenkins/.cache/pip/wheels/57/d0/2c/e2003abb5bc1a94c2e8a6fe1c03b8055d074e34c13672e7eb7/PyYAML-5.3.1-cp35-cp35m-linux_x86_64.whl
Collecting requests_mock<2.0,>=1.7
  Using cached requests_mock-1.8.0-py2.py3-none-any.whl (23 kB)
Collecting tenacity<6.0,>=5.0.2
  Using cached tenacity-5.1.5-py2.py3-none-any.whl (34 kB)
Collecting pytest<5.0,>=4.4.0
  Using cached pytest-4.6.11-py2.py3-none-any.whl (231 kB)
Collecting pytest-xdist<2,>=1.29.0
  Using cached pytest_xdist-1.32.0-py2.py3-none-any.whl (36 kB)
Collecting pytest-timeout<2,>=1.3.3
  Using cached pytest_timeout-1.3.4-py2.py3-none-any.whl (10 kB)
Requirement already satisfied: six>=1.5.2 in <https://builds.apache.org/job/beam_PostCommit_Python_MongoDBIO_IT/ws/src/build/gradleenv/1398941889/lib/python3.5/site-packages> (from grpcio<2,>=1.12.1->apache-beam==2.23.0.dev0) (1.15.0)
Collecting requests>=2.7.0
  Using cached requests-2.23.0-py2.py3-none-any.whl (58 kB)
Processing /home/jenkins/.cache/pip/wheels/9b/04/dd/7daf4150b6d9b12949298737de9431a324d4b797ffd63f526e/docopt-0.6.2-py2.py3-none-any.whl
Collecting pbr>=0.11
  Using cached pbr-5.4.5-py2.py3-none-any.whl (110 kB)
Collecting pyasn1-modules>=0.0.5
  Using cached pyasn1_modules-0.2.8-py2.py3-none-any.whl (155 kB)
Processing /home/jenkins/.cache/pip/wheels/2b/c6/b3/c8a7c59f47f6fd9b8a2d155a7f97f6d1f8cf950babfbe45f97/rsa-4.2-py2.py3-none-any.whl
Collecting pyasn1>=0.1.7
  Using cached pyasn1-0.4.8-py2.py3-none-any.whl (77 kB)
Requirement already satisfied: setuptools in <https://builds.apache.org/job/beam_PostCommit_Python_MongoDBIO_IT/ws/src/build/gradleenv/1398941889/lib/python3.5/site-packages> (from protobuf<4,>=3.5.0.post1->apache-beam==2.23.0.dev0) (47.1.1)
Collecting pyparsing>=2.1.4
  Using cached pyparsing-2.4.7-py2.py3-none-any.whl (67 kB)
Collecting atomicwrites>=1.0
  Using cached atomicwrites-1.4.0-py2.py3-none-any.whl (6.8 kB)
Collecting more-itertools>=4.0.0; python_version > "2.7"
  Using cached more_itertools-8.3.0-py3-none-any.whl (44 kB)
Collecting packaging
  Using cached packaging-20.4-py2.py3-none-any.whl (37 kB)
Requirement already satisfied: importlib-metadata>=0.12; python_version < "3.8" in <https://builds.apache.org/job/beam_PostCommit_Python_MongoDBIO_IT/ws/src/build/gradleenv/1398941889/lib/python3.5/site-packages> (from pytest<5.0,>=4.4.0->apache-beam==2.23.0.dev0) (1.6.1)
Requirement already satisfied: py>=1.5.0 in <https://builds.apache.org/job/beam_PostCommit_Python_MongoDBIO_IT/ws/src/build/gradleenv/1398941889/lib/python3.5/site-packages> (from pytest<5.0,>=4.4.0->apache-beam==2.23.0.dev0) (1.8.1)
Collecting pathlib2>=2.2.0; python_version < "3.6"
  Using cached pathlib2-2.3.5-py2.py3-none-any.whl (18 kB)
Requirement already satisfied: pluggy<1.0,>=0.12 in <https://builds.apache.org/job/beam_PostCommit_Python_MongoDBIO_IT/ws/src/build/gradleenv/1398941889/lib/python3.5/site-packages> (from pytest<5.0,>=4.4.0->apache-beam==2.23.0.dev0) (0.13.1)
Collecting wcwidth
  Using cached wcwidth-0.2.4-py2.py3-none-any.whl (30 kB)
Collecting attrs>=17.4.0
  Using cached attrs-19.3.0-py2.py3-none-any.whl (39 kB)
Collecting execnet>=1.1
  Using cached execnet-1.7.1-py2.py3-none-any.whl (39 kB)
Collecting pytest-forked
  Using cached pytest_forked-1.1.3-py2.py3-none-any.whl (4.5 kB)
Collecting chardet<4,>=3.0.2
  Using cached chardet-3.0.4-py2.py3-none-any.whl (133 kB)
Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1
  Using cached urllib3-1.25.9-py2.py3-none-any.whl (126 kB)
Collecting certifi>=2017.4.17
  Using cached certifi-2020.4.5.2-py2.py3-none-any.whl (157 kB)
Collecting idna<3,>=2.5
  Using cached idna-2.9-py2.py3-none-any.whl (58 kB)
Requirement already satisfied: zipp>=0.5 in <https://builds.apache.org/job/beam_PostCommit_Python_MongoDBIO_IT/ws/src/build/gradleenv/1398941889/lib/python3.5/site-packages> (from importlib-metadata>=0.12; python_version < "3.8"->pytest<5.0,>=4.4.0->apache-beam==2.23.0.dev0) (1.2.0)
Collecting apipkg>=1.4
  Using cached apipkg-1.5-py2.py3-none-any.whl (4.9 kB)
Installing collected packages: crcmod, dill, pytz, fastavro, chardet, urllib3, certifi, idna, requests, docopt, hdfs, httplib2, pbr, mock, numpy, pymongo, pyasn1, pyasn1-modules, rsa, oauth2client, pyparsing, pydot, python-dateutil, typing-extensions, pyarrow, avro-python3, typing, freezegun, nose, nose-xunitmp, pandas, parameterized, pyhamcrest, pyyaml, requests-mock, tenacity, atomicwrites, more-itertools, packaging, pathlib2, wcwidth, attrs, pytest, apipkg, execnet, pytest-forked, pytest-xdist, pytest-timeout, apache-beam

> Task :sdks:python:test-suites:direct:py2:mongodbioIT FAILED
  Running setup.py develop for apache-beam
Successfully installed apache-beam apipkg-1.5 atomicwrites-1.4.0 attrs-19.3.0 avro-1.9.2 backports.functools-lru-cache-1.6.1 certifi-2020.4.5.2 chardet-3.0.4 crcmod-1.7 dill-0.3.1.1 docopt-0.6.2 execnet-1.7.1 fastavro-0.23.4 freezegun-0.3.15 funcsigs-1.0.2 hdfs-2.5.8 httplib2-0.17.4 idna-2.9 mock-2.0.0 monotonic-1.5 more-itertools-5.0.0 nose-1.3.7 nose-xunitmp-0.4.1 numpy-1.16.6 oauth2client-3.0.0 packaging-20.4 pandas-0.24.2 parameterized-0.7.4 pbr-5.4.5 pyarrow-0.16.0 pyasn1-0.4.8 pyasn1-modules-0.2.8 pydot-1.4.1 pyhamcrest-1.10.1 pymongo-3.10.1 pyparsing-2.4.7 pytest-4.6.11 pytest-forked-1.1.3 pytest-timeout-1.3.4 pytest-xdist-1.32.0 python-dateutil-2.8.1 pytz-2020.1 pyvcf-0.6.8 pyyaml-5.3.1 requests-2.23.0 requests-mock-1.8.0 rsa-4.2 tenacity-5.1.5 typing-extensions-3.7.4.2 urllib3-1.25.9 wcwidth-0.2.4
<https://builds.apache.org/job/beam_PostCommit_Python_MongoDBIO_IT/ws/src/sdks/python/apache_beam/__init__.py>:82: UserWarning: You are using Apache Beam with Python 2. New releases of Apache Beam will soon support Python 3 only.
  'You are using Apache Beam with Python 2. '
Traceback (most recent call last):
  File "/usr/lib/python2.7/runpy.py", line 163, in _run_module_as_main
    mod_name, _Error)
  File "/usr/lib/python2.7/runpy.py", line 102, in _get_module_details
    loader = get_loader(mod_name)
  File "/usr/lib/python2.7/pkgutil.py", line 464, in get_loader
    return find_loader(fullname)
  File "/usr/lib/python2.7/pkgutil.py", line 474, in find_loader
    for importer in iter_importers(fullname):
  File "/usr/lib/python2.7/pkgutil.py", line 430, in iter_importers
    __import__(pkg)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_MongoDBIO_IT/ws/src/sdks/python/apache_beam/__init__.py",> line 96, in <module>
    from apache_beam import io
  File "<https://builds.apache.org/job/beam_PostCommit_Python_MongoDBIO_IT/ws/src/sdks/python/apache_beam/io/__init__.py",> line 38, in <module>
    from apache_beam.io.gcp.bigquery import *
  File "<https://builds.apache.org/job/beam_PostCommit_Python_MongoDBIO_IT/ws/src/sdks/python/apache_beam/io/gcp/bigquery.py",> line 256, in <module>
    from apache_beam.io.gcp import bigquery_tools
  File "<https://builds.apache.org/job/beam_PostCommit_Python_MongoDBIO_IT/ws/src/sdks/python/apache_beam/io/gcp/bigquery_tools.py",> line 49, in <module>
    from apache_beam.internal.gcp import auth
  File "<https://builds.apache.org/job/beam_PostCommit_Python_MongoDBIO_IT/ws/src/sdks/python/apache_beam/internal/gcp/auth.py",> line 28, in <module>
    from oauth2client.client import GoogleCredentials
  File "<https://builds.apache.org/job/beam_PostCommit_Python_MongoDBIO_IT/ws/src/build/gradleenv/45127155/local/lib/python2.7/site-packages/oauth2client/client.py",> line 47, in <module>
    from oauth2client import crypt
  File "<https://builds.apache.org/job/beam_PostCommit_Python_MongoDBIO_IT/ws/src/build/gradleenv/45127155/local/lib/python2.7/site-packages/oauth2client/crypt.py",> line 23, in <module>
    from oauth2client import _pure_python_crypt
  File "<https://builds.apache.org/job/beam_PostCommit_Python_MongoDBIO_IT/ws/src/build/gradleenv/45127155/local/lib/python2.7/site-packages/oauth2client/_pure_python_crypt.py",> line 26, in <module>
    import rsa
  File "<https://builds.apache.org/job/beam_PostCommit_Python_MongoDBIO_IT/ws/src/build/gradleenv/45127155/local/lib/python2.7/site-packages/rsa/__init__.py",> line 24, in <module>
    from rsa.key import newkeys, PrivateKey, PublicKey
  File "<https://builds.apache.org/job/beam_PostCommit_Python_MongoDBIO_IT/ws/src/build/gradleenv/45127155/local/lib/python2.7/site-packages/rsa/key.py",> line 1
SyntaxError: Non-ASCII character '\xc3' in file <https://builds.apache.org/job/beam_PostCommit_Python_MongoDBIO_IT/ws/src/build/gradleenv/45127155/local/lib/python2.7/site-packages/rsa/key.py> on line 1, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details

> Task :sdks:python:test-suites:direct:py35:mongodbioIT
  Running setup.py develop for apache-beam
Successfully installed apache-beam apipkg-1.5 atomicwrites-1.4.0 attrs-19.3.0 avro-python3-1.9.2.1 certifi-2020.4.5.2 chardet-3.0.4 crcmod-1.7 dill-0.3.1.1 docopt-0.6.2 execnet-1.7.1 fastavro-0.23.4 freezegun-0.3.15 hdfs-2.5.8 httplib2-0.17.4 idna-2.9 mock-2.0.0 more-itertools-8.3.0 nose-1.3.7 nose-xunitmp-0.4.1 numpy-1.18.5 oauth2client-3.0.0 packaging-20.4 pandas-0.24.2 parameterized-0.7.4 pathlib2-2.3.5 pbr-5.4.5 pyarrow-0.17.1 pyasn1-0.4.8 pyasn1-modules-0.2.8 pydot-1.4.1 pyhamcrest-1.10.1 pymongo-3.10.1 pyparsing-2.4.7 pytest-4.6.11 pytest-forked-1.1.3 pytest-timeout-1.3.4 pytest-xdist-1.32.0 python-dateutil-2.8.1 pytz-2020.1 pyyaml-5.3.1 requests-2.23.0 requests-mock-1.8.0 rsa-4.2 tenacity-5.1.5 typing-3.7.4.1 typing-extensions-3.7.4.2 urllib3-1.25.9 wcwidth-0.2.4
INFO:root:Missing pipeline option (runner). Executing pipeline using the default runner: DirectRunner.
INFO:__main__:Writing 100000 documents to mongodb
<https://builds.apache.org/job/beam_PostCommit_Python_MongoDBIO_IT/ws/src/sdks/python/apache_beam/io/mongodbio_it_test.py>:82: FutureWarning: WriteToMongoDB is experimental.
  known_args.batch_size))
INFO:apache_beam.runners.portability.fn_api_runner.translations:==================== <function annotate_downstream_side_inputs at 0x7f54559b6598> ====================
INFO:apache_beam.runners.portability.fn_api_runner.translations:==================== <function fix_side_input_pcoll_coders at 0x7f54559b66a8> ====================
INFO:apache_beam.runners.portability.fn_api_runner.translations:==================== <function lift_combiners at 0x7f54559b6730> ====================
INFO:apache_beam.runners.portability.fn_api_runner.translations:==================== <function expand_sdf at 0x7f54559b67b8> ====================
INFO:apache_beam.runners.portability.fn_api_runner.translations:==================== <function expand_gbk at 0x7f54559b6840> ====================
INFO:apache_beam.runners.portability.fn_api_runner.translations:==================== <function sink_flattens at 0x7f54559b6950> ====================
INFO:apache_beam.runners.portability.fn_api_runner.translations:==================== <function greedily_fuse at 0x7f54559b69d8> ====================
INFO:apache_beam.runners.portability.fn_api_runner.translations:==================== <function read_to_impulse at 0x7f54559b6a60> ====================
INFO:apache_beam.runners.portability.fn_api_runner.translations:==================== <function impulse_to_input at 0x7f54559b6ae8> ====================
INFO:apache_beam.runners.portability.fn_api_runner.translations:==================== <function sort_stages at 0x7f54559b6d08> ====================
INFO:apache_beam.runners.portability.fn_api_runner.translations:==================== <function setup_timer_mapping at 0x7f54559b6c80> ====================
INFO:apache_beam.runners.portability.fn_api_runner.translations:==================== <function populate_data_channel_coders at 0x7f54559b6d90> ====================
INFO:apache_beam.runners.worker.statecache:Creating state cache with size 100
INFO:apache_beam.runners.portability.fn_api_runner.worker_handlers:Created Worker handler <apache_beam.runners.portability.fn_api_runner.worker_handlers.EmbeddedWorkerHandler object at 0x7f5455a02940> for environment urn: "beam:env:embedded_python:v1"

INFO:apache_beam.runners.portability.fn_api_runner.fn_runner:Running ((ref_AppliedPTransform_Create/Impulse_3)+(ref_AppliedPTransform_Create/FlatMap(<lambda at core.py:2623>)_4))+((ref_AppliedPTransform_Create/Map(decode)_6)+(((ref_AppliedPTransform_Create documents_7)+((ref_AppliedPTransform_WriteToMongoDB/ParDo(_GenerateObjectIdFn)_9)+(ref_AppliedPTransform_WriteToMongoDB/Reshuffle/AddRandomKeys_11)))+((ref_AppliedPTransform_WriteToMongoDB/Reshuffle/ReshufflePerKey/Map(reify_timestamps)_13)+(WriteToMongoDB/Reshuffle/ReshufflePerKey/GroupByKey/Write))))
INFO:apache_beam.runners.portability.fn_api_runner.fn_runner:Running ((WriteToMongoDB/Reshuffle/ReshufflePerKey/GroupByKey/Read)+((ref_AppliedPTransform_WriteToMongoDB/Reshuffle/ReshufflePerKey/FlatMap(restore_timestamps)_15)+(ref_AppliedPTransform_WriteToMongoDB/Reshuffle/RemoveRandomKeys_16)))+(ref_AppliedPTransform_WriteToMongoDB/ParDo(_WriteMongoFn)_17)
INFO:__main__:Writing 100000 documents to mongodb finished in 42.006 seconds
INFO:root:Missing pipeline option (runner). Executing pipeline using the default runner: DirectRunner.
INFO:__main__:Reading from mongodb beam_mongodbio_it_db:integration_test_1591963360
<https://builds.apache.org/job/beam_PostCommit_Python_MongoDBIO_IT/ws/src/sdks/python/apache_beam/io/mongodbio_it_test.py>:101: FutureWarning: ReadFromMongoDB is experimental.
  | 'Combine' >> beam.CombineGlobally(sum))
INFO:apache_beam.runners.portability.fn_api_runner.translations:==================== <function annotate_downstream_side_inputs at 0x7f54559b6598> ====================
INFO:apache_beam.runners.portability.fn_api_runner.translations:==================== <function fix_side_input_pcoll_coders at 0x7f54559b66a8> ====================
INFO:apache_beam.runners.portability.fn_api_runner.translations:==================== <function lift_combiners at 0x7f54559b6730> ====================
INFO:apache_beam.runners.portability.fn_api_runner.translations:==================== <function expand_sdf at 0x7f54559b67b8> ====================
INFO:apache_beam.runners.portability.fn_api_runner.translations:==================== <function expand_gbk at 0x7f54559b6840> ====================
INFO:apache_beam.runners.portability.fn_api_runner.translations:==================== <function sink_flattens at 0x7f54559b6950> ====================
INFO:apache_beam.runners.portability.fn_api_runner.translations:==================== <function greedily_fuse at 0x7f54559b69d8> ====================
INFO:apache_beam.runners.portability.fn_api_runner.translations:==================== <function read_to_impulse at 0x7f54559b6a60> ====================
INFO:apache_beam.runners.portability.fn_api_runner.translations:==================== <function impulse_to_input at 0x7f54559b6ae8> ====================
INFO:apache_beam.runners.portability.fn_api_runner.translations:==================== <function sort_stages at 0x7f54559b6d08> ====================
INFO:apache_beam.runners.portability.fn_api_runner.translations:==================== <function setup_timer_mapping at 0x7f54559b6c80> ====================
INFO:apache_beam.runners.portability.fn_api_runner.translations:==================== <function populate_data_channel_coders at 0x7f54559b6d90> ====================
INFO:apache_beam.runners.worker.statecache:Creating state cache with size 100
INFO:apache_beam.runners.portability.fn_api_runner.worker_handlers:Created Worker handler <apache_beam.runners.portability.fn_api_runner.worker_handlers.EmbeddedWorkerHandler object at 0x7f544e199e80> for environment urn: "beam:env:embedded_python:v1"

INFO:apache_beam.runners.portability.fn_api_runner.fn_runner:Running ((ref_AppliedPTransform_ReadFromMongoDB/Read/_SDFBoundedSourceWrapper/Impulse_5)+(ReadFromMongoDB/Read/_SDFBoundedSourceWrapper/ParDo(SDFBoundedSourceDoFn)/PairWithRestriction))+((ReadFromMongoDB/Read/_SDFBoundedSourceWrapper/ParDo(SDFBoundedSourceDoFn)/SplitAndSizeRestriction)+(ref_PCollection_PCollection_1_split/Write))
INFO:apache_beam.runners.portability.fn_api_runner.fn_runner:Running (((((ref_PCollection_PCollection_1_split/Read)+(ReadFromMongoDB/Read/_SDFBoundedSourceWrapper/ParDo(SDFBoundedSourceDoFn)/Process))+(ref_AppliedPTransform_Map_7))+(ref_AppliedPTransform_Combine/KeyWithVoid_9))+(Combine/CombinePerKey/Precombine))+(Combine/CombinePerKey/Group/Write)
INFO:apache_beam.runners.portability.fn_api_runner.fn_runner:Running (((Combine/CombinePerKey/Group/Read)+(Combine/CombinePerKey/Merge))+((Combine/CombinePerKey/ExtractOutputs)+(ref_AppliedPTransform_Combine/UnKey_14)))+(ref_PCollection_PCollection_7/Write)
INFO:apache_beam.runners.portability.fn_api_runner.fn_runner:Running ((ref_AppliedPTransform_Combine/DoOnce/Impulse_16)+((ref_AppliedPTransform_Combine/DoOnce/FlatMap(<lambda at core.py:2623>)_17)+(ref_AppliedPTransform_Combine/DoOnce/Map(decode)_19)))+(((ref_AppliedPTransform_Combine/InjectDefault_20)+(((ref_AppliedPTransform_assert_that/WindowInto(WindowIntoFn)_27)+(ref_AppliedPTransform_assert_that/ToVoidKey_28))+((ref_AppliedPTransform_assert_that/Group/pair_with_1_31)+(assert_that/Group/Flatten/Transcode/1))))+(assert_that/Group/Flatten/Write/1))
INFO:apache_beam.runners.portability.fn_api_runner.fn_runner:Running ((ref_AppliedPTransform_assert_that/Create/Impulse_23)+(ref_AppliedPTransform_assert_that/Create/FlatMap(<lambda at core.py:2623>)_24))+((ref_AppliedPTransform_assert_that/Create/Map(decode)_26)+(((ref_AppliedPTransform_assert_that/Group/pair_with_0_30)+(assert_that/Group/Flatten/Transcode/0))+(assert_that/Group/Flatten/Write/0)))
INFO:apache_beam.runners.portability.fn_api_runner.fn_runner:Running (assert_that/Group/Flatten/Read)+(assert_that/Group/GroupByKey/Write)
INFO:apache_beam.runners.portability.fn_api_runner.fn_runner:Running ((assert_that/Group/GroupByKey/Read)+((ref_AppliedPTransform_assert_that/Group/Map(_merge_tagged_vals_under_key)_34)+(ref_AppliedPTransform_assert_that/Unkey_35)))+(ref_AppliedPTransform_assert_that/Match_36)
INFO:__main__:Read 100000 documents from mongodb finished in 5.072 seconds
mongoioit27676
mongoioit27676

FAILURE: Build failed with an exception.

* Where:
Build file '<https://builds.apache.org/job/beam_PostCommit_Python_MongoDBIO_IT/ws/src/sdks/python/test-suites/direct/py2/build.gradle'> line: 108

* What went wrong:
Execution failed for task ':sdks:python:test-suites:direct:py2:mongodbioIT'.
> 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 6.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/5.2.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 2m 6s
4 actionable tasks: 4 executed

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

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_MongoDBIO_IT #3037

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


---------------------------------------------------------------------
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_Python_MongoDBIO_IT #3036

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

Changes:

[github] [BEAM-9615] Add String UTF8 coder. (#11989)


------------------------------------------
[...truncated 22.25 KB...]
  Using cached more_itertools-5.0.0-py2-none-any.whl (52 kB)
Requirement already satisfied: pathlib2>=2.2.0; python_version < "3.6" in <https://builds.apache.org/job/beam_PostCommit_Python_MongoDBIO_IT/ws/src/build/gradleenv/45127155/lib/python2.7/site-packages> (from pytest<5.0,>=4.4.0->apache-beam==2.23.0.dev0) (2.3.5)
Requirement already satisfied: py>=1.5.0 in <https://builds.apache.org/job/beam_PostCommit_Python_MongoDBIO_IT/ws/src/build/gradleenv/45127155/lib/python2.7/site-packages> (from pytest<5.0,>=4.4.0->apache-beam==2.23.0.dev0) (1.8.1)
Collecting pytest-forked
  Using cached pytest_forked-1.1.3-py2.py3-none-any.whl (4.5 kB)
Collecting execnet>=1.1
  Using cached execnet-1.7.1-py2.py3-none-any.whl (39 kB)
Collecting certifi>=2017.4.17
  Using cached certifi-2020.4.5.2-py2.py3-none-any.whl (157 kB)
Collecting idna<3,>=2.5
  Using cached idna-2.9-py2.py3-none-any.whl (58 kB)
Collecting chardet<4,>=3.0.2
  Using cached chardet-3.0.4-py2.py3-none-any.whl (133 kB)
Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1
  Using cached urllib3-1.25.9-py2.py3-none-any.whl (126 kB)
Requirement already satisfied: contextlib2; python_version < "3" in <https://builds.apache.org/job/beam_PostCommit_Python_MongoDBIO_IT/ws/src/build/gradleenv/45127155/lib/python2.7/site-packages> (from importlib-metadata>=0.12; python_version < "3.8"->pytest<5.0,>=4.4.0->apache-beam==2.23.0.dev0) (0.6.0.post1)
Requirement already satisfied: zipp>=0.5 in <https://builds.apache.org/job/beam_PostCommit_Python_MongoDBIO_IT/ws/src/build/gradleenv/45127155/lib/python2.7/site-packages> (from importlib-metadata>=0.12; python_version < "3.8"->pytest<5.0,>=4.4.0->apache-beam==2.23.0.dev0) (1.2.0)
Requirement already satisfied: configparser>=3.5; python_version < "3" in <https://builds.apache.org/job/beam_PostCommit_Python_MongoDBIO_IT/ws/src/build/gradleenv/45127155/lib/python2.7/site-packages> (from importlib-metadata>=0.12; python_version < "3.8"->pytest<5.0,>=4.4.0->apache-beam==2.23.0.dev0) (4.0.2)
Collecting backports.functools-lru-cache>=1.2.1; python_version < "3.2"
  Using cached backports.functools_lru_cache-1.6.1-py2.py3-none-any.whl (5.7 kB)
Requirement already satisfied: scandir; python_version < "3.5" in <https://builds.apache.org/job/beam_PostCommit_Python_MongoDBIO_IT/ws/src/build/gradleenv/45127155/lib/python2.7/site-packages> (from pathlib2>=2.2.0; python_version < "3.6"->pytest<5.0,>=4.4.0->apache-beam==2.23.0.dev0) (1.10.0)
Collecting apipkg>=1.4
  Using cached apipkg-1.5-py2.py3-none-any.whl (4.9 kB)
Installing collected packages: crcmod, dill, pytz, fastavro, docopt, certifi, idna, chardet, urllib3, requests, hdfs, httplib2, pbr, funcsigs, mock, numpy, pymongo, pyasn1, rsa, pyasn1-modules, oauth2client, pyparsing, pydot, python-dateutil, typing-extensions, avro, pyvcf, pyarrow, freezegun, nose, nose-xunitmp, pandas, parameterized, pyhamcrest, pyyaml, requests-mock, monotonic, tenacity, atomicwrites, packaging, attrs, backports.functools-lru-cache, wcwidth, more-itertools, pytest, pytest-forked, apipkg, execnet, pytest-xdist, pytest-timeout, apache-beam
  Running setup.py develop for apache-beam
Successfully installed apache-beam apipkg-1.5 atomicwrites-1.4.0 attrs-19.3.0 avro-1.9.2 backports.functools-lru-cache-1.6.1 certifi-2020.4.5.2 chardet-3.0.4 crcmod-1.7 dill-0.3.1.1 docopt-0.6.2 execnet-1.7.1 fastavro-0.23.4 freezegun-0.3.15 funcsigs-1.0.2 hdfs-2.5.8 httplib2-0.17.4 idna-2.9 mock-2.0.0 monotonic-1.5 more-itertools-5.0.0 nose-1.3.7 nose-xunitmp-0.4.1 numpy-1.16.6 oauth2client-3.0.0 packaging-20.4 pandas-0.24.2 parameterized-0.7.4 pbr-5.4.5 pyarrow-0.16.0 pyasn1-0.4.8 pyasn1-modules-0.2.8 pydot-1.4.1 pyhamcrest-1.10.1 pymongo-3.10.1 pyparsing-2.4.7 pytest-4.6.11 pytest-forked-1.1.3 pytest-timeout-1.3.4 pytest-xdist-1.32.0 python-dateutil-2.8.1 pytz-2020.1 pyvcf-0.6.8 pyyaml-5.3.1 requests-2.23.0 requests-mock-1.8.0 rsa-4.4 tenacity-5.1.5 typing-extensions-3.7.4.2 urllib3-1.25.9 wcwidth-0.2.4
<https://builds.apache.org/job/beam_PostCommit_Python_MongoDBIO_IT/ws/src/sdks/python/apache_beam/__init__.py>:82: UserWarning: You are using Apache Beam with Python 2. New releases of Apache Beam will soon support Python 3 only.
  'You are using Apache Beam with Python 2. '

> Task :sdks:python:test-suites:direct:py35:mongodbioIT
Using default tag: latest
latest: Pulling from library/mongo
Digest: sha256:d080599e887a18a67b09dbcda4af227b6d2d9a7c4fc5602c25208fba749a8cf2
Status: Image is up to date for mongo:latest
4d10a0ac46d5368733ea1d1c8c62d2f660c370a7dd10e424bf61fee7659533e5
Obtaining file://<https://builds.apache.org/job/beam_PostCommit_Python_MongoDBIO_IT/ws/src/sdks/python>
Processing /home/jenkins/.cache/pip/wheels/50/24/4d/4580ca4a299f1ad6fd63443e6e584cb21e9a07988e4aa8daac/crcmod-1.7-cp35-cp35m-linux_x86_64.whl
Processing /home/jenkins/.cache/pip/wheels/34/63/8b/137c251bca70f301c47a62dae335f36c21a8b86e42c803129a/dill-0.3.1.1-py3-none-any.whl
Collecting fastavro<0.24,>=0.21.4
  Using cached fastavro-0.23.4-cp35-cp35m-manylinux2010_x86_64.whl (1.3 MB)
Requirement already satisfied: future<1.0.0,>=0.18.2 in <https://builds.apache.org/job/beam_PostCommit_Python_MongoDBIO_IT/ws/src/build/gradleenv/1398941889/lib/python3.5/site-packages> (from apache-beam==2.23.0.dev0) (0.18.2)
Requirement already satisfied: grpcio<2,>=1.12.1 in <https://builds.apache.org/job/beam_PostCommit_Python_MongoDBIO_IT/ws/src/build/gradleenv/1398941889/lib/python3.5/site-packages> (from apache-beam==2.23.0.dev0) (1.29.0)
Processing /home/jenkins/.cache/pip/wheels/c3/cd/d8/8d1f32dc46461f8eccebb0bfde7131007393ce4ec0ef866e15/hdfs-2.5.8-py3-none-any.whl
Collecting httplib2<0.18.0,>=0.8
  Using cached httplib2-0.17.4-py3-none-any.whl (95 kB)
Collecting mock<3.0.0,>=1.0.1
  Using cached mock-2.0.0-py2.py3-none-any.whl (56 kB)
Collecting numpy<2,>=1.14.3
  Using cached numpy-1.18.5-cp35-cp35m-manylinux1_x86_64.whl (19.9 MB)
Collecting pymongo<4.0.0,>=3.8.0
  Using cached pymongo-3.10.1-cp35-cp35m-manylinux2014_x86_64.whl (459 kB)
Processing /home/jenkins/.cache/pip/wheels/48/f7/87/b932f09c6335dbcf45d916937105a372ab14f353a9ca431d7d/oauth2client-3.0.0-cp35-none-any.whl
Requirement already satisfied: protobuf<4,>=3.5.0.post1 in <https://builds.apache.org/job/beam_PostCommit_Python_MongoDBIO_IT/ws/src/build/gradleenv/1398941889/lib/python3.5/site-packages> (from apache-beam==2.23.0.dev0) (3.12.2)
Collecting pydot<2,>=1.2.0
  Using cached pydot-1.4.1-py2.py3-none-any.whl (19 kB)
Collecting python-dateutil<3,>=2.8.0
  Using cached python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB)
Collecting pytz>=2018.3
  Using cached pytz-2020.1-py2.py3-none-any.whl (510 kB)
Collecting typing-extensions<3.8.0,>=3.7.0
  Using cached typing_extensions-3.7.4.2-py3-none-any.whl (22 kB)
Collecting typing<3.8.0,>=3.7.0
  Using cached typing-3.7.4.1-py3-none-any.whl (25 kB)
Collecting pyarrow<0.18.0,>=0.15.1
  Using cached pyarrow-0.17.1-cp35-cp35m-manylinux2014_x86_64.whl (63.7 MB)
Processing /home/jenkins/.cache/pip/wheels/de/f4/b9/d6546ebbb81a0b7c261c73b4a831a285cc47184821aa2e6e8e/avro_python3-1.9.2.1-py3-none-any.whl
Collecting freezegun>=0.3.12
  Using cached freezegun-0.3.15-py2.py3-none-any.whl (14 kB)
Collecting nose>=1.3.7
  Using cached nose-1.3.7-py3-none-any.whl (154 kB)
Processing /home/jenkins/.cache/pip/wheels/cf/90/07/287645608eafad8090586024dc245b16aa8b4d273d80558106/nose_xunitmp-0.4.1-py3-none-any.whl
Collecting pandas<0.25,>=0.23.4
  Using cached pandas-0.24.2-cp35-cp35m-manylinux1_x86_64.whl (10.0 MB)
Collecting parameterized<0.8.0,>=0.7.1
  Using cached parameterized-0.7.4-py2.py3-none-any.whl (25 kB)
Collecting pyhamcrest!=1.10.0,<2.0.0,>=1.9
  Using cached PyHamcrest-1.10.1-py3-none-any.whl (48 kB)
Processing /home/jenkins/.cache/pip/wheels/57/d0/2c/e2003abb5bc1a94c2e8a6fe1c03b8055d074e34c13672e7eb7/PyYAML-5.3.1-cp35-cp35m-linux_x86_64.whl
Collecting requests_mock<2.0,>=1.7
  Using cached requests_mock-1.8.0-py2.py3-none-any.whl (23 kB)
Collecting tenacity<6.0,>=5.0.2
  Using cached tenacity-5.1.5-py2.py3-none-any.whl (34 kB)
Collecting pytest<5.0,>=4.4.0
  Using cached pytest-4.6.11-py2.py3-none-any.whl (231 kB)
Collecting pytest-xdist<2,>=1.29.0
  Using cached pytest_xdist-1.32.0-py2.py3-none-any.whl (36 kB)
Collecting pytest-timeout<2,>=1.3.3
  Using cached pytest_timeout-1.3.4-py2.py3-none-any.whl (10 kB)
Requirement already satisfied: six>=1.5.2 in <https://builds.apache.org/job/beam_PostCommit_Python_MongoDBIO_IT/ws/src/build/gradleenv/1398941889/lib/python3.5/site-packages> (from grpcio<2,>=1.12.1->apache-beam==2.23.0.dev0) (1.15.0)
Processing /home/jenkins/.cache/pip/wheels/9b/04/dd/7daf4150b6d9b12949298737de9431a324d4b797ffd63f526e/docopt-0.6.2-py2.py3-none-any.whl
Collecting requests>=2.7.0
  Using cached requests-2.23.0-py2.py3-none-any.whl (58 kB)
Collecting pbr>=0.11
  Using cached pbr-5.4.5-py2.py3-none-any.whl (110 kB)
Collecting pyasn1>=0.1.7
  Using cached pyasn1-0.4.8-py2.py3-none-any.whl (77 kB)
Collecting pyasn1-modules>=0.0.5
  Using cached pyasn1_modules-0.2.8-py2.py3-none-any.whl (155 kB)
Collecting rsa>=3.1.4
  Downloading rsa-4.4.1-py2.py3-none-any.whl (33 kB)
Requirement already satisfied: setuptools in <https://builds.apache.org/job/beam_PostCommit_Python_MongoDBIO_IT/ws/src/build/gradleenv/1398941889/lib/python3.5/site-packages> (from protobuf<4,>=3.5.0.post1->apache-beam==2.23.0.dev0) (47.1.1)
Collecting pyparsing>=2.1.4
  Using cached pyparsing-2.4.7-py2.py3-none-any.whl (67 kB)
Collecting more-itertools>=4.0.0; python_version > "2.7"
  Using cached more_itertools-8.3.0-py3-none-any.whl (44 kB)
Collecting attrs>=17.4.0
  Using cached attrs-19.3.0-py2.py3-none-any.whl (39 kB)
Requirement already satisfied: importlib-metadata>=0.12; python_version < "3.8" in <https://builds.apache.org/job/beam_PostCommit_Python_MongoDBIO_IT/ws/src/build/gradleenv/1398941889/lib/python3.5/site-packages> (from pytest<5.0,>=4.4.0->apache-beam==2.23.0.dev0) (1.6.1)
Collecting atomicwrites>=1.0
  Using cached atomicwrites-1.4.0-py2.py3-none-any.whl (6.8 kB)
Requirement already satisfied: pluggy<1.0,>=0.12 in <https://builds.apache.org/job/beam_PostCommit_Python_MongoDBIO_IT/ws/src/build/gradleenv/1398941889/lib/python3.5/site-packages> (from pytest<5.0,>=4.4.0->apache-beam==2.23.0.dev0) (0.13.1)
Collecting pathlib2>=2.2.0; python_version < "3.6"
  Using cached pathlib2-2.3.5-py2.py3-none-any.whl (18 kB)
Collecting packaging
  Using cached packaging-20.4-py2.py3-none-any.whl (37 kB)
Collecting wcwidth
  Using cached wcwidth-0.2.4-py2.py3-none-any.whl (30 kB)
Requirement already satisfied: py>=1.5.0 in <https://builds.apache.org/job/beam_PostCommit_Python_MongoDBIO_IT/ws/src/build/gradleenv/1398941889/lib/python3.5/site-packages> (from pytest<5.0,>=4.4.0->apache-beam==2.23.0.dev0) (1.8.1)
Collecting pytest-forked
  Using cached pytest_forked-1.1.3-py2.py3-none-any.whl (4.5 kB)
Collecting execnet>=1.1
  Using cached execnet-1.7.1-py2.py3-none-any.whl (39 kB)
Collecting idna<3,>=2.5
  Using cached idna-2.9-py2.py3-none-any.whl (58 kB)
Collecting chardet<4,>=3.0.2
  Using cached chardet-3.0.4-py2.py3-none-any.whl (133 kB)
Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1
  Using cached urllib3-1.25.9-py2.py3-none-any.whl (126 kB)
Collecting certifi>=2017.4.17
  Using cached certifi-2020.4.5.2-py2.py3-none-any.whl (157 kB)
Requirement already satisfied: zipp>=0.5 in <https://builds.apache.org/job/beam_PostCommit_Python_MongoDBIO_IT/ws/src/build/gradleenv/1398941889/lib/python3.5/site-packages> (from importlib-metadata>=0.12; python_version < "3.8"->pytest<5.0,>=4.4.0->apache-beam==2.23.0.dev0) (1.2.0)
Collecting apipkg>=1.4
  Using cached apipkg-1.5-py2.py3-none-any.whl (4.9 kB)
Installing collected packages: crcmod, dill, pytz, fastavro, docopt, idna, chardet, urllib3, certifi, requests, hdfs, httplib2, pbr, mock, numpy, pymongo, pyasn1, pyasn1-modules, rsa, oauth2client, pyparsing, pydot, python-dateutil, typing-extensions, typing, pyarrow, avro-python3, freezegun, nose, nose-xunitmp, pandas, parameterized, pyhamcrest, pyyaml, requests-mock, tenacity, more-itertools, attrs, atomicwrites, pathlib2, packaging, wcwidth, pytest, pytest-forked, apipkg, execnet, pytest-xdist, pytest-timeout, apache-beam
  Running setup.py develop for apache-beam

> Task :sdks:python:test-suites:direct:py2:mongodbioIT FAILED
Traceback (most recent call last):
  File "/usr/lib/python2.7/runpy.py", line 163, in _run_module_as_main
    mod_name, _Error)
  File "/usr/lib/python2.7/runpy.py", line 102, in _get_module_details
    loader = get_loader(mod_name)
  File "/usr/lib/python2.7/pkgutil.py", line 464, in get_loader
    return find_loader(fullname)
  File "/usr/lib/python2.7/pkgutil.py", line 474, in find_loader
    for importer in iter_importers(fullname):
  File "/usr/lib/python2.7/pkgutil.py", line 430, in iter_importers
    __import__(pkg)
  File "<https://builds.apache.org/job/beam_PostCommit_Python_MongoDBIO_IT/ws/src/sdks/python/apache_beam/__init__.py",> line 96, in <module>
    from apache_beam import io
  File "<https://builds.apache.org/job/beam_PostCommit_Python_MongoDBIO_IT/ws/src/sdks/python/apache_beam/io/__init__.py",> line 38, in <module>
    from apache_beam.io.gcp.bigquery import *
  File "<https://builds.apache.org/job/beam_PostCommit_Python_MongoDBIO_IT/ws/src/sdks/python/apache_beam/io/gcp/bigquery.py",> line 256, in <module>
    from apache_beam.io.gcp import bigquery_tools
  File "<https://builds.apache.org/job/beam_PostCommit_Python_MongoDBIO_IT/ws/src/sdks/python/apache_beam/io/gcp/bigquery_tools.py",> line 49, in <module>
    from apache_beam.internal.gcp import auth
  File "<https://builds.apache.org/job/beam_PostCommit_Python_MongoDBIO_IT/ws/src/sdks/python/apache_beam/internal/gcp/auth.py",> line 28, in <module>
    from oauth2client.client import GoogleCredentials
  File "<https://builds.apache.org/job/beam_PostCommit_Python_MongoDBIO_IT/ws/src/build/gradleenv/45127155/local/lib/python2.7/site-packages/oauth2client/client.py",> line 47, in <module>
    from oauth2client import crypt
  File "<https://builds.apache.org/job/beam_PostCommit_Python_MongoDBIO_IT/ws/src/build/gradleenv/45127155/local/lib/python2.7/site-packages/oauth2client/crypt.py",> line 23, in <module>
    from oauth2client import _pure_python_crypt
  File "<https://builds.apache.org/job/beam_PostCommit_Python_MongoDBIO_IT/ws/src/build/gradleenv/45127155/local/lib/python2.7/site-packages/oauth2client/_pure_python_crypt.py",> line 26, in <module>
    import rsa
  File "<https://builds.apache.org/job/beam_PostCommit_Python_MongoDBIO_IT/ws/src/build/gradleenv/45127155/local/lib/python2.7/site-packages/rsa/__init__.py",> line 24, in <module>
    from rsa.key import newkeys, PrivateKey, PublicKey
  File "<https://builds.apache.org/job/beam_PostCommit_Python_MongoDBIO_IT/ws/src/build/gradleenv/45127155/local/lib/python2.7/site-packages/rsa/key.py",> line 1
SyntaxError: Non-ASCII character '\xc3' in file <https://builds.apache.org/job/beam_PostCommit_Python_MongoDBIO_IT/ws/src/build/gradleenv/45127155/local/lib/python2.7/site-packages/rsa/key.py> on line 1, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details

> Task :sdks:python:test-suites:direct:py35:mongodbioIT
Successfully installed apache-beam apipkg-1.5 atomicwrites-1.4.0 attrs-19.3.0 avro-python3-1.9.2.1 certifi-2020.4.5.2 chardet-3.0.4 crcmod-1.7 dill-0.3.1.1 docopt-0.6.2 execnet-1.7.1 fastavro-0.23.4 freezegun-0.3.15 hdfs-2.5.8 httplib2-0.17.4 idna-2.9 mock-2.0.0 more-itertools-8.3.0 nose-1.3.7 nose-xunitmp-0.4.1 numpy-1.18.5 oauth2client-3.0.0 packaging-20.4 pandas-0.24.2 parameterized-0.7.4 pathlib2-2.3.5 pbr-5.4.5 pyarrow-0.17.1 pyasn1-0.4.8 pyasn1-modules-0.2.8 pydot-1.4.1 pyhamcrest-1.10.1 pymongo-3.10.1 pyparsing-2.4.7 pytest-4.6.11 pytest-forked-1.1.3 pytest-timeout-1.3.4 pytest-xdist-1.32.0 python-dateutil-2.8.1 pytz-2020.1 pyyaml-5.3.1 requests-2.23.0 requests-mock-1.8.0 rsa-4.4.1 tenacity-5.1.5 typing-3.7.4.1 typing-extensions-3.7.4.2 urllib3-1.25.9 wcwidth-0.2.4
INFO:root:Missing pipeline option (runner). Executing pipeline using the default runner: DirectRunner.
INFO:__main__:Writing 100000 documents to mongodb
<https://builds.apache.org/job/beam_PostCommit_Python_MongoDBIO_IT/ws/src/sdks/python/apache_beam/io/mongodbio_it_test.py>:82: FutureWarning: WriteToMongoDB is experimental.
  known_args.batch_size))
INFO:apache_beam.runners.portability.fn_api_runner.translations:==================== <function annotate_downstream_side_inputs at 0x7f06db1f9598> ====================
INFO:apache_beam.runners.portability.fn_api_runner.translations:==================== <function fix_side_input_pcoll_coders at 0x7f06db1f96a8> ====================
INFO:apache_beam.runners.portability.fn_api_runner.translations:==================== <function lift_combiners at 0x7f06db1f9730> ====================
INFO:apache_beam.runners.portability.fn_api_runner.translations:==================== <function expand_sdf at 0x7f06db1f97b8> ====================
INFO:apache_beam.runners.portability.fn_api_runner.translations:==================== <function expand_gbk at 0x7f06db1f9840> ====================
INFO:apache_beam.runners.portability.fn_api_runner.translations:==================== <function sink_flattens at 0x7f06db1f9950> ====================
INFO:apache_beam.runners.portability.fn_api_runner.translations:==================== <function greedily_fuse at 0x7f06db1f99d8> ====================
INFO:apache_beam.runners.portability.fn_api_runner.translations:==================== <function read_to_impulse at 0x7f06db1f9a60> ====================
INFO:apache_beam.runners.portability.fn_api_runner.translations:==================== <function impulse_to_input at 0x7f06db1f9ae8> ====================
INFO:apache_beam.runners.portability.fn_api_runner.translations:==================== <function sort_stages at 0x7f06db1f9d08> ====================
INFO:apache_beam.runners.portability.fn_api_runner.translations:==================== <function setup_timer_mapping at 0x7f06db1f9c80> ====================
INFO:apache_beam.runners.portability.fn_api_runner.translations:==================== <function populate_data_channel_coders at 0x7f06db1f9d90> ====================
INFO:apache_beam.runners.worker.statecache:Creating state cache with size 100
INFO:apache_beam.runners.portability.fn_api_runner.worker_handlers:Created Worker handler <apache_beam.runners.portability.fn_api_runner.worker_handlers.EmbeddedWorkerHandler object at 0x7f06db077320> for environment urn: "beam:env:embedded_python:v1"

INFO:apache_beam.runners.portability.fn_api_runner.fn_runner:Running ((((ref_AppliedPTransform_Create/Impulse_3)+(ref_AppliedPTransform_Create/FlatMap(<lambda at core.py:2623>)_4))+((ref_AppliedPTransform_Create/Map(decode)_6)+(ref_AppliedPTransform_Create documents_7)))+((ref_AppliedPTransform_WriteToMongoDB/ParDo(_GenerateObjectIdFn)_9)+((ref_AppliedPTransform_WriteToMongoDB/Reshuffle/AddRandomKeys_11)+(ref_AppliedPTransform_WriteToMongoDB/Reshuffle/ReshufflePerKey/Map(reify_timestamps)_13))))+(WriteToMongoDB/Reshuffle/ReshufflePerKey/GroupByKey/Write)
INFO:apache_beam.runners.portability.fn_api_runner.fn_runner:Running (((WriteToMongoDB/Reshuffle/ReshufflePerKey/GroupByKey/Read)+(ref_AppliedPTransform_WriteToMongoDB/Reshuffle/ReshufflePerKey/FlatMap(restore_timestamps)_15))+(ref_AppliedPTransform_WriteToMongoDB/Reshuffle/RemoveRandomKeys_16))+(ref_AppliedPTransform_WriteToMongoDB/ParDo(_WriteMongoFn)_17)
INFO:__main__:Writing 100000 documents to mongodb finished in 37.488 seconds
INFO:root:Missing pipeline option (runner). Executing pipeline using the default runner: DirectRunner.
INFO:__main__:Reading from mongodb beam_mongodbio_it_db:integration_test_1591985071
<https://builds.apache.org/job/beam_PostCommit_Python_MongoDBIO_IT/ws/src/sdks/python/apache_beam/io/mongodbio_it_test.py>:101: FutureWarning: ReadFromMongoDB is experimental.
  | 'Combine' >> beam.CombineGlobally(sum))
INFO:apache_beam.runners.portability.fn_api_runner.translations:==================== <function annotate_downstream_side_inputs at 0x7f06db1f9598> ====================
INFO:apache_beam.runners.portability.fn_api_runner.translations:==================== <function fix_side_input_pcoll_coders at 0x7f06db1f96a8> ====================
INFO:apache_beam.runners.portability.fn_api_runner.translations:==================== <function lift_combiners at 0x7f06db1f9730> ====================
INFO:apache_beam.runners.portability.fn_api_runner.translations:==================== <function expand_sdf at 0x7f06db1f97b8> ====================
INFO:apache_beam.runners.portability.fn_api_runner.translations:==================== <function expand_gbk at 0x7f06db1f9840> ====================
INFO:apache_beam.runners.portability.fn_api_runner.translations:==================== <function sink_flattens at 0x7f06db1f9950> ====================
INFO:apache_beam.runners.portability.fn_api_runner.translations:==================== <function greedily_fuse at 0x7f06db1f99d8> ====================
INFO:apache_beam.runners.portability.fn_api_runner.translations:==================== <function read_to_impulse at 0x7f06db1f9a60> ====================
INFO:apache_beam.runners.portability.fn_api_runner.translations:==================== <function impulse_to_input at 0x7f06db1f9ae8> ====================
INFO:apache_beam.runners.portability.fn_api_runner.translations:==================== <function sort_stages at 0x7f06db1f9d08> ====================
INFO:apache_beam.runners.portability.fn_api_runner.translations:==================== <function setup_timer_mapping at 0x7f06db1f9c80> ====================
INFO:apache_beam.runners.portability.fn_api_runner.translations:==================== <function populate_data_channel_coders at 0x7f06db1f9d90> ====================
INFO:apache_beam.runners.worker.statecache:Creating state cache with size 100
INFO:apache_beam.runners.portability.fn_api_runner.worker_handlers:Created Worker handler <apache_beam.runners.portability.fn_api_runner.worker_handlers.EmbeddedWorkerHandler object at 0x7f06bc0eacc0> for environment urn: "beam:env:embedded_python:v1"

INFO:apache_beam.runners.portability.fn_api_runner.fn_runner:Running (((((ref_AppliedPTransform_assert_that/Create/Impulse_23)+(ref_AppliedPTransform_assert_that/Create/FlatMap(<lambda at core.py:2623>)_24))+(ref_AppliedPTransform_assert_that/Create/Map(decode)_26))+(ref_AppliedPTransform_assert_that/Group/pair_with_0_30))+(assert_that/Group/Flatten/Transcode/0))+(assert_that/Group/Flatten/Write/0)
INFO:apache_beam.runners.portability.fn_api_runner.fn_runner:Running (ref_AppliedPTransform_ReadFromMongoDB/Read/_SDFBoundedSourceWrapper/Impulse_5)+((ReadFromMongoDB/Read/_SDFBoundedSourceWrapper/ParDo(SDFBoundedSourceDoFn)/PairWithRestriction)+((ReadFromMongoDB/Read/_SDFBoundedSourceWrapper/ParDo(SDFBoundedSourceDoFn)/SplitAndSizeRestriction)+(ref_PCollection_PCollection_1_split/Write)))
INFO:apache_beam.runners.portability.fn_api_runner.fn_runner:Running ((((ref_PCollection_PCollection_1_split/Read)+(ReadFromMongoDB/Read/_SDFBoundedSourceWrapper/ParDo(SDFBoundedSourceDoFn)/Process))+(ref_AppliedPTransform_Map_7))+((ref_AppliedPTransform_Combine/KeyWithVoid_9)+(Combine/CombinePerKey/Precombine)))+(Combine/CombinePerKey/Group/Write)
INFO:apache_beam.runners.portability.fn_api_runner.fn_runner:Running (((Combine/CombinePerKey/Group/Read)+(Combine/CombinePerKey/Merge))+(Combine/CombinePerKey/ExtractOutputs))+((ref_AppliedPTransform_Combine/UnKey_14)+(ref_PCollection_PCollection_7/Write))
INFO:apache_beam.runners.portability.fn_api_runner.fn_runner:Running (ref_AppliedPTransform_Combine/DoOnce/Impulse_16)+((((ref_AppliedPTransform_Combine/DoOnce/FlatMap(<lambda at core.py:2623>)_17)+(ref_AppliedPTransform_Combine/DoOnce/Map(decode)_19))+(((ref_AppliedPTransform_Combine/InjectDefault_20)+((ref_AppliedPTransform_assert_that/WindowInto(WindowIntoFn)_27)+(ref_AppliedPTransform_assert_that/ToVoidKey_28)))+((ref_AppliedPTransform_assert_that/Group/pair_with_1_31)+(assert_that/Group/Flatten/Transcode/1))))+(assert_that/Group/Flatten/Write/1))
INFO:apache_beam.runners.portability.fn_api_runner.fn_runner:Running (assert_that/Group/Flatten/Read)+(assert_that/Group/GroupByKey/Write)
INFO:apache_beam.runners.portability.fn_api_runner.fn_runner:Running (assert_that/Group/GroupByKey/Read)+(((ref_AppliedPTransform_assert_that/Group/Map(_merge_tagged_vals_under_key)_34)+(ref_AppliedPTransform_assert_that/Unkey_35))+(ref_AppliedPTransform_assert_that/Match_36))
INFO:__main__:Read 100000 documents from mongodb finished in 4.589 seconds
mongoioit27316
mongoioit27316

FAILURE: Build failed with an exception.

* Where:
Build file '<https://builds.apache.org/job/beam_PostCommit_Python_MongoDBIO_IT/ws/src/sdks/python/test-suites/direct/py2/build.gradle'> line: 108

* What went wrong:
Execution failed for task ':sdks:python:test-suites:direct:py2:mongodbioIT'.
> 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 6.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/5.2.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 1m 47s
4 actionable tasks: 4 executed

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

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