See <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/567/display/redirect>
Changes: ------------------------------------------ [...truncated 63.70 KB...] File "<https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/sdks/python/apache_beam/runners/portability/flink_runner_test.py",> line 44, in <module> from apache_beam.runners.portability import portable_runner File "apache_beam/runners/portability/portable_runner.py", line 30, in <module> import grpc File "<https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/local/lib/python2.7/site-packages/grpc/__init__.py",> line 18, in <module> import enum ImportError: No module named enum > Task > :sdks:python:test-suites:portable:py2:flinkCompatibilityMatrixBatchLOOPBACK > FAILED > Task > :sdks:python:test-suites:portable:py2:flinkCompatibilityMatrixStreamingLOOPBACK DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support Obtaining file://<https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/sdks/python> Requirement already satisfied: crcmod<2.0,>=1.7 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from apache-beam==2.20.0.dev0) (1.7) Requirement already satisfied: dill<0.3.2,>=0.3.1.1 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from apache-beam==2.20.0.dev0) (0.3.1.1) Requirement already satisfied: fastavro<0.22,>=0.21.4 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from apache-beam==2.20.0.dev0) (0.21.24) Requirement already satisfied: future<1.0.0,>=0.16.0 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from apache-beam==2.20.0.dev0) (0.16.0) Requirement already satisfied: grpcio<2,>=1.12.1 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from apache-beam==2.20.0.dev0) (1.27.2) Requirement already satisfied: hdfs<3.0.0,>=2.1.0 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from apache-beam==2.20.0.dev0) (2.5.8) Requirement already satisfied: httplib2<=0.12.0,>=0.8 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from apache-beam==2.20.0.dev0) (0.12.0) Requirement already satisfied: mock<3.0.0,>=1.0.1 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from apache-beam==2.20.0.dev0) (2.0.0) Requirement already satisfied: numpy<2,>=1.14.3 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from apache-beam==2.20.0.dev0) (1.16.6) Requirement already satisfied: pymongo<4.0.0,>=3.8.0 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from apache-beam==2.20.0.dev0) (3.10.1) Requirement already satisfied: oauth2client<4,>=2.0.1 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from apache-beam==2.20.0.dev0) (3.0.0) Requirement already satisfied: protobuf<4,>=3.5.0.post1 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from apache-beam==2.20.0.dev0) (3.11.3) Requirement already satisfied: pydot<2,>=1.2.0 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from apache-beam==2.20.0.dev0) (1.4.1) Requirement already satisfied: python-dateutil<3,>=2.8.0 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from apache-beam==2.20.0.dev0) (2.8.1) Requirement already satisfied: pytz>=2018.3 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from apache-beam==2.20.0.dev0) (2019.3) Requirement already satisfied: avro<1.10.0,>=1.8.1 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from apache-beam==2.20.0.dev0) (1.9.2) Requirement already satisfied: funcsigs<2,>=1.0.2 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from apache-beam==2.20.0.dev0) (1.0.2) Requirement already satisfied: futures<4.0.0,>=3.2.0 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from apache-beam==2.20.0.dev0) (3.3.0) Requirement already satisfied: pyvcf<0.7.0,>=0.6.8 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from apache-beam==2.20.0.dev0) (0.6.8) Requirement already satisfied: pyarrow<0.16.0,>=0.15.1 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from apache-beam==2.20.0.dev0) (0.15.1) Requirement already satisfied: typing<3.8.0,>=3.7.0 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from apache-beam==2.20.0.dev0) (3.7.4.1) Requirement already satisfied: typing-extensions<3.8.0,>=3.7.0 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from apache-beam==2.20.0.dev0) (3.7.4.1) Requirement already satisfied: freezegun>=0.3.12 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from apache-beam==2.20.0.dev0) (0.3.15) Requirement already satisfied: nose>=1.3.7 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from apache-beam==2.20.0.dev0) (1.3.7) Requirement already satisfied: nose_xunitmp>=0.4.1 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from apache-beam==2.20.0.dev0) (0.4.1) Requirement already satisfied: pandas<0.25,>=0.23.4 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from apache-beam==2.20.0.dev0) (0.24.2) Requirement already satisfied: parameterized<0.8.0,>=0.7.1 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from apache-beam==2.20.0.dev0) (0.7.1) Requirement already satisfied: pyhamcrest!=1.10.0,<2.0.0,>=1.9 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from apache-beam==2.20.0.dev0) (1.10.1) Requirement already satisfied: pyyaml<6.0.0,>=3.12 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from apache-beam==2.20.0.dev0) (5.3) Requirement already satisfied: requests_mock<2.0,>=1.7 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from apache-beam==2.20.0.dev0) (1.7.0) Requirement already satisfied: tenacity<6.0,>=5.0.2 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from apache-beam==2.20.0.dev0) (5.1.5) Requirement already satisfied: pytest<5.0,>=4.4.0 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from apache-beam==2.20.0.dev0) (4.6.9) Requirement already satisfied: pytest-xdist<2,>=1.29.0 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from apache-beam==2.20.0.dev0) (1.31.0) Requirement already satisfied: pytest-timeout<2,>=1.3.3 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from apache-beam==2.20.0.dev0) (1.3.4) Requirement already satisfied: six>=1.5.2 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from grpcio<2,>=1.12.1->apache-beam==2.20.0.dev0) (1.14.0) Requirement already satisfied: enum34>=1.0.4; python_version < "3.4" in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from grpcio<2,>=1.12.1->apache-beam==2.20.0.dev0) (1.1.8) Requirement already satisfied: docopt in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from hdfs<3.0.0,>=2.1.0->apache-beam==2.20.0.dev0) (0.6.2) Requirement already satisfied: requests>=2.7.0 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from hdfs<3.0.0,>=2.1.0->apache-beam==2.20.0.dev0) (2.23.0) Requirement already satisfied: pbr>=0.11 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from mock<3.0.0,>=1.0.1->apache-beam==2.20.0.dev0) (5.4.4) Requirement already satisfied: rsa>=3.1.4 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from oauth2client<4,>=2.0.1->apache-beam==2.20.0.dev0) (4.0) Requirement already satisfied: pyasn1>=0.1.7 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from oauth2client<4,>=2.0.1->apache-beam==2.20.0.dev0) (0.4.8) Requirement already satisfied: pyasn1-modules>=0.0.5 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from oauth2client<4,>=2.0.1->apache-beam==2.20.0.dev0) (0.2.8) Requirement already satisfied: setuptools in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from protobuf<4,>=3.5.0.post1->apache-beam==2.20.0.dev0) (44.0.0) Requirement already satisfied: pyparsing>=2.1.4 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from pydot<2,>=1.2.0->apache-beam==2.20.0.dev0) (2.4.6) Requirement already satisfied: monotonic>=0.6; python_version == "2.7" in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from tenacity<6.0,>=5.0.2->apache-beam==2.20.0.dev0) (1.5) Requirement already satisfied: atomicwrites>=1.0 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from pytest<5.0,>=4.4.0->apache-beam==2.20.0.dev0) (1.3.0) Requirement already satisfied: pluggy<1.0,>=0.12 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from pytest<5.0,>=4.4.0->apache-beam==2.20.0.dev0) (0.13.1) Requirement already satisfied: packaging in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from pytest<5.0,>=4.4.0->apache-beam==2.20.0.dev0) (20.1) Requirement already satisfied: attrs>=17.4.0 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from pytest<5.0,>=4.4.0->apache-beam==2.20.0.dev0) (19.3.0) Requirement already satisfied: importlib-metadata>=0.12; python_version < "3.8" in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from pytest<5.0,>=4.4.0->apache-beam==2.20.0.dev0) (1.5.0) Requirement already satisfied: wcwidth in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from pytest<5.0,>=4.4.0->apache-beam==2.20.0.dev0) (0.1.8) Requirement already satisfied: more-itertools<6.0.0,>=4.0.0; python_version <= "2.7" in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from pytest<5.0,>=4.4.0->apache-beam==2.20.0.dev0) (5.0.0) Requirement already satisfied: pathlib2>=2.2.0; python_version < "3.6" in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from pytest<5.0,>=4.4.0->apache-beam==2.20.0.dev0) (2.3.5) Requirement already satisfied: py>=1.5.0 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from pytest<5.0,>=4.4.0->apache-beam==2.20.0.dev0) (1.8.1) Requirement already satisfied: pytest-forked in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from pytest-xdist<2,>=1.29.0->apache-beam==2.20.0.dev0) (1.1.3) Requirement already satisfied: execnet>=1.1 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from pytest-xdist<2,>=1.29.0->apache-beam==2.20.0.dev0) (1.7.1) Requirement already satisfied: certifi>=2017.4.17 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from requests>=2.7.0->hdfs<3.0.0,>=2.1.0->apache-beam==2.20.0.dev0) (2019.11.28) Requirement already satisfied: idna<3,>=2.5 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from requests>=2.7.0->hdfs<3.0.0,>=2.1.0->apache-beam==2.20.0.dev0) (2.9) Requirement already satisfied: chardet<4,>=3.0.2 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from requests>=2.7.0->hdfs<3.0.0,>=2.1.0->apache-beam==2.20.0.dev0) (3.0.4) Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from requests>=2.7.0->hdfs<3.0.0,>=2.1.0->apache-beam==2.20.0.dev0) (1.25.8) Requirement already satisfied: contextlib2; python_version < "3" in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from importlib-metadata>=0.12; python_version < "3.8"->pytest<5.0,>=4.4.0->apache-beam==2.20.0.dev0) (0.6.0.post1) Requirement already satisfied: zipp>=0.5 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from importlib-metadata>=0.12; python_version < "3.8"->pytest<5.0,>=4.4.0->apache-beam==2.20.0.dev0) (1.2.0) Requirement already satisfied: configparser>=3.5; python_version < "3" in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from importlib-metadata>=0.12; python_version < "3.8"->pytest<5.0,>=4.4.0->apache-beam==2.20.0.dev0) (4.0.2) Requirement already satisfied: scandir; python_version < "3.5" in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from pathlib2>=2.2.0; python_version < "3.6"->pytest<5.0,>=4.4.0->apache-beam==2.20.0.dev0) (1.10.0) Requirement already satisfied: apipkg>=1.4 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from execnet>=1.1->pytest-xdist<2,>=1.29.0->apache-beam==2.20.0.dev0) (1.5) Installing collected packages: apache-beam Attempting uninstall: apache-beam Found existing installation: apache-beam 2.20.0.dev0 Not uninstalling apache-beam at <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/sdks/python,> outside environment <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813> Can't uninstall 'apache-beam'. No files were found to uninstall. Running setup.py develop for apache-beam Successfully installed apache-beam 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 174, in _run_module_as_main "__main__", fname, loader, pkg_name) File "/usr/lib/python2.7/runpy.py", line 72, in _run_code exec code in run_globals File "<https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/sdks/python/apache_beam/runners/portability/flink_runner_test.py",> line 44, in <module> from apache_beam.runners.portability import portable_runner File "apache_beam/runners/portability/portable_runner.py", line 30, in <module> import grpc File "<https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/local/lib/python2.7/site-packages/grpc/__init__.py",> line 18, in <module> import enum ImportError: No module named enum > Task > :sdks:python:test-suites:portable:py2:flinkCompatibilityMatrixStreamingLOOPBACK > FAILED > Task > :sdks:python:test-suites:portable:py2:flinkCompatibilityMatrixStreamingPreOptimizeLOOPBACK DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support Obtaining file://<https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/sdks/python> Requirement already satisfied: crcmod<2.0,>=1.7 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from apache-beam==2.20.0.dev0) (1.7) Requirement already satisfied: dill<0.3.2,>=0.3.1.1 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from apache-beam==2.20.0.dev0) (0.3.1.1) Requirement already satisfied: fastavro<0.22,>=0.21.4 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from apache-beam==2.20.0.dev0) (0.21.24) Requirement already satisfied: future<1.0.0,>=0.16.0 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from apache-beam==2.20.0.dev0) (0.16.0) Requirement already satisfied: grpcio<2,>=1.12.1 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from apache-beam==2.20.0.dev0) (1.27.2) Requirement already satisfied: hdfs<3.0.0,>=2.1.0 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from apache-beam==2.20.0.dev0) (2.5.8) Requirement already satisfied: httplib2<=0.12.0,>=0.8 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from apache-beam==2.20.0.dev0) (0.12.0) Requirement already satisfied: mock<3.0.0,>=1.0.1 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from apache-beam==2.20.0.dev0) (2.0.0) Requirement already satisfied: numpy<2,>=1.14.3 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from apache-beam==2.20.0.dev0) (1.16.6) Requirement already satisfied: pymongo<4.0.0,>=3.8.0 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from apache-beam==2.20.0.dev0) (3.10.1) Requirement already satisfied: oauth2client<4,>=2.0.1 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from apache-beam==2.20.0.dev0) (3.0.0) Requirement already satisfied: protobuf<4,>=3.5.0.post1 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from apache-beam==2.20.0.dev0) (3.11.3) Requirement already satisfied: pydot<2,>=1.2.0 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from apache-beam==2.20.0.dev0) (1.4.1) Requirement already satisfied: python-dateutil<3,>=2.8.0 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from apache-beam==2.20.0.dev0) (2.8.1) Requirement already satisfied: pytz>=2018.3 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from apache-beam==2.20.0.dev0) (2019.3) Requirement already satisfied: avro<1.10.0,>=1.8.1 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from apache-beam==2.20.0.dev0) (1.9.2) Requirement already satisfied: funcsigs<2,>=1.0.2 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from apache-beam==2.20.0.dev0) (1.0.2) Requirement already satisfied: futures<4.0.0,>=3.2.0 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from apache-beam==2.20.0.dev0) (3.3.0) Requirement already satisfied: pyvcf<0.7.0,>=0.6.8 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from apache-beam==2.20.0.dev0) (0.6.8) Requirement already satisfied: pyarrow<0.16.0,>=0.15.1 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from apache-beam==2.20.0.dev0) (0.15.1) Requirement already satisfied: typing<3.8.0,>=3.7.0 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from apache-beam==2.20.0.dev0) (3.7.4.1) Requirement already satisfied: typing-extensions<3.8.0,>=3.7.0 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from apache-beam==2.20.0.dev0) (3.7.4.1) Requirement already satisfied: freezegun>=0.3.12 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from apache-beam==2.20.0.dev0) (0.3.15) Requirement already satisfied: nose>=1.3.7 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from apache-beam==2.20.0.dev0) (1.3.7) Requirement already satisfied: nose_xunitmp>=0.4.1 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from apache-beam==2.20.0.dev0) (0.4.1) Requirement already satisfied: pandas<0.25,>=0.23.4 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from apache-beam==2.20.0.dev0) (0.24.2) Requirement already satisfied: parameterized<0.8.0,>=0.7.1 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from apache-beam==2.20.0.dev0) (0.7.1) Requirement already satisfied: pyhamcrest!=1.10.0,<2.0.0,>=1.9 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from apache-beam==2.20.0.dev0) (1.10.1) Requirement already satisfied: pyyaml<6.0.0,>=3.12 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from apache-beam==2.20.0.dev0) (5.3) Requirement already satisfied: requests_mock<2.0,>=1.7 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from apache-beam==2.20.0.dev0) (1.7.0) Requirement already satisfied: tenacity<6.0,>=5.0.2 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from apache-beam==2.20.0.dev0) (5.1.5) Requirement already satisfied: pytest<5.0,>=4.4.0 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from apache-beam==2.20.0.dev0) (4.6.9) Requirement already satisfied: pytest-xdist<2,>=1.29.0 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from apache-beam==2.20.0.dev0) (1.31.0) Requirement already satisfied: pytest-timeout<2,>=1.3.3 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from apache-beam==2.20.0.dev0) (1.3.4) Requirement already satisfied: six>=1.5.2 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from grpcio<2,>=1.12.1->apache-beam==2.20.0.dev0) (1.14.0) Requirement already satisfied: enum34>=1.0.4; python_version < "3.4" in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from grpcio<2,>=1.12.1->apache-beam==2.20.0.dev0) (1.1.8) Requirement already satisfied: docopt in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from hdfs<3.0.0,>=2.1.0->apache-beam==2.20.0.dev0) (0.6.2) Requirement already satisfied: requests>=2.7.0 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from hdfs<3.0.0,>=2.1.0->apache-beam==2.20.0.dev0) (2.23.0) Requirement already satisfied: pbr>=0.11 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from mock<3.0.0,>=1.0.1->apache-beam==2.20.0.dev0) (5.4.4) Requirement already satisfied: rsa>=3.1.4 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from oauth2client<4,>=2.0.1->apache-beam==2.20.0.dev0) (4.0) Requirement already satisfied: pyasn1>=0.1.7 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from oauth2client<4,>=2.0.1->apache-beam==2.20.0.dev0) (0.4.8) Requirement already satisfied: pyasn1-modules>=0.0.5 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from oauth2client<4,>=2.0.1->apache-beam==2.20.0.dev0) (0.2.8) Requirement already satisfied: setuptools in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from protobuf<4,>=3.5.0.post1->apache-beam==2.20.0.dev0) (44.0.0) Requirement already satisfied: pyparsing>=2.1.4 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from pydot<2,>=1.2.0->apache-beam==2.20.0.dev0) (2.4.6) Requirement already satisfied: monotonic>=0.6; python_version == "2.7" in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from tenacity<6.0,>=5.0.2->apache-beam==2.20.0.dev0) (1.5) Requirement already satisfied: atomicwrites>=1.0 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from pytest<5.0,>=4.4.0->apache-beam==2.20.0.dev0) (1.3.0) Requirement already satisfied: pluggy<1.0,>=0.12 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from pytest<5.0,>=4.4.0->apache-beam==2.20.0.dev0) (0.13.1) Requirement already satisfied: packaging in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from pytest<5.0,>=4.4.0->apache-beam==2.20.0.dev0) (20.1) Requirement already satisfied: attrs>=17.4.0 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from pytest<5.0,>=4.4.0->apache-beam==2.20.0.dev0) (19.3.0) Requirement already satisfied: importlib-metadata>=0.12; python_version < "3.8" in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from pytest<5.0,>=4.4.0->apache-beam==2.20.0.dev0) (1.5.0) Requirement already satisfied: wcwidth in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from pytest<5.0,>=4.4.0->apache-beam==2.20.0.dev0) (0.1.8) Requirement already satisfied: more-itertools<6.0.0,>=4.0.0; python_version <= "2.7" in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from pytest<5.0,>=4.4.0->apache-beam==2.20.0.dev0) (5.0.0) Requirement already satisfied: pathlib2>=2.2.0; python_version < "3.6" in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from pytest<5.0,>=4.4.0->apache-beam==2.20.0.dev0) (2.3.5) Requirement already satisfied: py>=1.5.0 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from pytest<5.0,>=4.4.0->apache-beam==2.20.0.dev0) (1.8.1) Requirement already satisfied: pytest-forked in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from pytest-xdist<2,>=1.29.0->apache-beam==2.20.0.dev0) (1.1.3) Requirement already satisfied: execnet>=1.1 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from pytest-xdist<2,>=1.29.0->apache-beam==2.20.0.dev0) (1.7.1) Requirement already satisfied: certifi>=2017.4.17 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from requests>=2.7.0->hdfs<3.0.0,>=2.1.0->apache-beam==2.20.0.dev0) (2019.11.28) Requirement already satisfied: idna<3,>=2.5 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from requests>=2.7.0->hdfs<3.0.0,>=2.1.0->apache-beam==2.20.0.dev0) (2.9) Requirement already satisfied: chardet<4,>=3.0.2 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from requests>=2.7.0->hdfs<3.0.0,>=2.1.0->apache-beam==2.20.0.dev0) (3.0.4) Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from requests>=2.7.0->hdfs<3.0.0,>=2.1.0->apache-beam==2.20.0.dev0) (1.25.8) Requirement already satisfied: contextlib2; python_version < "3" in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from importlib-metadata>=0.12; python_version < "3.8"->pytest<5.0,>=4.4.0->apache-beam==2.20.0.dev0) (0.6.0.post1) Requirement already satisfied: zipp>=0.5 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from importlib-metadata>=0.12; python_version < "3.8"->pytest<5.0,>=4.4.0->apache-beam==2.20.0.dev0) (1.2.0) Requirement already satisfied: configparser>=3.5; python_version < "3" in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from importlib-metadata>=0.12; python_version < "3.8"->pytest<5.0,>=4.4.0->apache-beam==2.20.0.dev0) (4.0.2) Requirement already satisfied: scandir; python_version < "3.5" in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from pathlib2>=2.2.0; python_version < "3.6"->pytest<5.0,>=4.4.0->apache-beam==2.20.0.dev0) (1.10.0) Requirement already satisfied: apipkg>=1.4 in <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages> (from execnet>=1.1->pytest-xdist<2,>=1.29.0->apache-beam==2.20.0.dev0) (1.5) Installing collected packages: apache-beam Attempting uninstall: apache-beam Found existing installation: apache-beam 2.20.0.dev0 Not uninstalling apache-beam at <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/sdks/python,> outside environment <https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813> Can't uninstall 'apache-beam'. No files were found to uninstall. Running setup.py develop for apache-beam Successfully installed apache-beam 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 174, in _run_module_as_main "__main__", fname, loader, pkg_name) File "/usr/lib/python2.7/runpy.py", line 72, in _run_code exec code in run_globals File "<https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/sdks/python/apache_beam/runners/portability/flink_runner_test.py",> line 44, in <module> from apache_beam.runners.portability import portable_runner File "apache_beam/runners/portability/portable_runner.py", line 30, in <module> import grpc File "<https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/build/gradleenv/1866363813/local/lib/python2.7/site-packages/grpc/__init__.py",> line 18, in <module> import enum ImportError: No module named enum > Task > :sdks:python:test-suites:portable:py2:flinkCompatibilityMatrixStreamingPreOptimizeLOOPBACK > FAILED FAILURE: Build completed with 3 failures. 1: Task failed with an exception. ----------- * Where: Script '<https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/sdks/python/test-suites/portable/common.gradle'> line: 55 * What went wrong: Execution failed for task ':sdks:python:test-suites:portable:py2:flinkCompatibilityMatrixBatchLOOPBACK'. > 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. ============================================================================== 2: Task failed with an exception. ----------- * Where: Script '<https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/sdks/python/test-suites/portable/common.gradle'> line: 55 * What went wrong: Execution failed for task ':sdks:python:test-suites:portable:py2:flinkCompatibilityMatrixStreamingLOOPBACK'. > 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. ============================================================================== 3: Task failed with an exception. ----------- * Where: Script '<https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/ws/src/sdks/python/test-suites/portable/common.gradle'> line: 55 * What went wrong: Execution failed for task ':sdks:python:test-suites:portable:py2:flinkCompatibilityMatrixStreamingPreOptimizeLOOPBACK'. > 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 3m 42s 73 actionable tasks: 55 executed, 17 from cache, 1 up-to-date Publishing build scan... https://gradle.com/s/ppsnog354ybmw Build step 'Invoke Gradle script' changed build result to FAILURE Build step 'Invoke Gradle script' marked build as failure --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
