You are viewing a plain text version of this content. The canonical link for it is here.
Posted to builds@beam.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2021/09/27 12:09:58 UTC

Build failed in Jenkins: beam_PreCommit_PythonLint_Cron #2859

See <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/2859/display/redirect>

Changes:


------------------------------------------
[...truncated 9.20 KB...]
  Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting py>=1.4.17
  Using cached py-1.10.0-py2.py3-none-any.whl (97 kB)
Requirement already satisfied: setuptools in <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/build/gradleenv/1922375555/lib/python3.8/site-packages> (from grpcio-tools==1.37.0->-r <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/build-requirements.txt> (line 17)) (58.1.0)
Collecting grpcio>=1.37.0
  Using cached grpcio-1.40.0-cp38-cp38-manylinux2014_x86_64.whl (4.3 MB)
Collecting protobuf<4.0dev,>=3.5.0.post1
  Using cached protobuf-3.18.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.1 MB)
Collecting pyparsing>=2.0.2
  Using cached pyparsing-2.4.7-py2.py3-none-any.whl (67 kB)
Collecting platformdirs<3,>=2
  Using cached platformdirs-2.4.0-py3-none-any.whl (14 kB)
Collecting backports.entry-points-selectable>=1.0.4
  Using cached backports.entry_points_selectable-1.1.0-py2.py3-none-any.whl (6.2 kB)
Installing collected packages: six, pyparsing, platformdirs, filelock, distlib, backports.entry-points-selectable, virtualenv, toml, py, protobuf, pluggy, packaging, grpcio, tox, mypy-protobuf, grpcio-tools, future
Successfully installed backports.entry-points-selectable-1.1.0 distlib-0.3.1 filelock-3.1.0 future-0.18.2 grpcio-1.40.0 grpcio-tools-1.37.0 mypy-protobuf-1.18 packaging-21.0 platformdirs-2.4.0 pluggy-1.0.0 protobuf-3.18.0 py-1.10.0 pyparsing-2.4.7 six-1.16.0 toml-0.10.2 tox-3.20.1 virtualenv-20.8.1

> Task :sdks:python:test-suites:tox:py37:setupVirtualenv
Using base prefix '/usr'
New python executable in <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/build/gradleenv/-1227304283/bin/python3.7>
Also creating executable in <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/build/gradleenv/-1227304283/bin/python>
Installing setuptools, pip, wheel...
done.
Running virtualenv with interpreter /usr/bin/python3.7
Collecting tox==3.20.1
  Using cached tox-3.20.1-py2.py3-none-any.whl (83 kB)
Collecting grpcio-tools==1.37.0
  Using cached grpcio_tools-1.37.0-cp37-cp37m-manylinux2014_x86_64.whl (2.5 MB)
Collecting future==0.18.2
  Using cached future-0.18.2-py3-none-any.whl
Collecting mypy-protobuf==1.18
  Using cached mypy_protobuf-1.18-py3-none-any.whl (7.3 kB)
Collecting distlib==0.3.1
  Using cached distlib-0.3.1-py2.py3-none-any.whl (335 kB)
Collecting virtualenv!=20.0.0,!=20.0.1,!=20.0.2,!=20.0.3,!=20.0.4,!=20.0.5,!=20.0.6,!=20.0.7,>=16.0.0
  Using cached virtualenv-20.8.1-py2.py3-none-any.whl (5.3 MB)
Collecting filelock>=3.0.0
  Using cached filelock-3.1.0-py2.py3-none-any.whl (8.4 kB)
Collecting importlib-metadata<3,>=0.12
  Using cached importlib_metadata-2.1.1-py2.py3-none-any.whl (10 kB)
Collecting pluggy>=0.12.0
  Using cached pluggy-1.0.0-py2.py3-none-any.whl (13 kB)
Collecting toml>=0.9.4
  Using cached toml-0.10.2-py2.py3-none-any.whl (16 kB)
Collecting packaging>=14
  Using cached packaging-21.0-py3-none-any.whl (40 kB)
Collecting six>=1.14.0
  Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting py>=1.4.17
  Using cached py-1.10.0-py2.py3-none-any.whl (97 kB)
Requirement already satisfied: setuptools in <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/build/gradleenv/-1227304283/lib/python3.7/site-packages> (from grpcio-tools==1.37.0->-r <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/build-requirements.txt> (line 17)) (58.1.0)
Collecting protobuf<4.0dev,>=3.5.0.post1
  Using cached protobuf-3.18.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.1 MB)
Collecting grpcio>=1.37.0
  Using cached grpcio-1.40.0-cp37-cp37m-manylinux2014_x86_64.whl (4.3 MB)
Collecting zipp>=0.5
  Using cached zipp-3.5.0-py3-none-any.whl (5.7 kB)
Collecting pyparsing>=2.0.2
  Using cached pyparsing-2.4.7-py2.py3-none-any.whl (67 kB)
Collecting backports.entry-points-selectable>=1.0.4
  Using cached backports.entry_points_selectable-1.1.0-py2.py3-none-any.whl (6.2 kB)
Collecting platformdirs<3,>=2
  Using cached platformdirs-2.4.0-py3-none-any.whl (14 kB)
Installing collected packages: zipp, importlib-metadata, six, pyparsing, platformdirs, filelock, distlib, backports.entry-points-selectable, virtualenv, toml, py, protobuf, pluggy, packaging, grpcio, tox, mypy-protobuf, grpcio-tools, future
Successfully installed backports.entry-points-selectable-1.1.0 distlib-0.3.1 filelock-3.1.0 future-0.18.2 grpcio-1.40.0 grpcio-tools-1.37.0 importlib-metadata-2.1.1 mypy-protobuf-1.18 packaging-21.0 platformdirs-2.4.0 pluggy-1.0.0 protobuf-3.18.0 py-1.10.0 pyparsing-2.4.7 six-1.16.0 toml-0.10.2 tox-3.20.1 virtualenv-20.8.1 zipp-3.5.0

> Task :sdks:python:sdist
<https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/build/gradleenv/1922375555/lib/python3.8/site-packages/setuptools/dist.py>:487: UserWarning: Normalizing '2.34.0.dev' to '2.34.0.dev0'
  warnings.warn(tmpl.format(**locals()))
INFO:gen_protos:Regenerating Python proto definitions (no output files).
INFO:gen_protos:Found protoc_gen_mypy at <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/build/gradleenv/1922375555/bin/protoc-gen-mypy>
beam_interactive_api.proto:36:1: warning: Import google/protobuf/timestamp.proto is unused.
Writing mypy to external_transforms_pb2.pyi
Writing mypy to beam_runner_api_pb2.pyi
Writing mypy to standard_window_fns_pb2.pyi
Writing mypy to metrics_pb2.pyi
Writing mypy to endpoints_pb2.pyi
Writing mypy to schema_pb2.pyi
Writing mypy to beam_artifact_api_pb2.pyi
Writing mypy to beam_expansion_api_pb2.pyi
Writing mypy to beam_job_api_pb2.pyi
Writing mypy to beam_provision_api_pb2.pyi
Writing mypy to beam_fn_api_pb2.pyi
Writing mypy to beam_interactive_api_pb2.pyi
RefactoringTool: Skipping optional fixer: idioms
RefactoringTool: Skipping optional fixer: ws_comma
RefactoringTool: Refactored <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/apache_beam/portability/api/beam_artifact_api_pb2.py>
RefactoringTool: Refactored <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/apache_beam/portability/api/beam_artifact_api_pb2_grpc.py>
RefactoringTool: Refactored <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/apache_beam/portability/api/beam_expansion_api_pb2.py>
RefactoringTool: Refactored <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/apache_beam/portability/api/beam_expansion_api_pb2_grpc.py>
RefactoringTool: Refactored <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/apache_beam/portability/api/beam_fn_api_pb2.py>
RefactoringTool: Refactored <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/apache_beam/portability/api/beam_fn_api_pb2_grpc.py>
RefactoringTool: Refactored <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/apache_beam/portability/api/beam_interactive_api_pb2.py>
RefactoringTool: Refactored <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/apache_beam/portability/api/beam_job_api_pb2.py>
RefactoringTool: Refactored <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/apache_beam/portability/api/beam_job_api_pb2_grpc.py>
RefactoringTool: Refactored <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/apache_beam/portability/api/beam_provision_api_pb2.py>
RefactoringTool: Refactored <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/apache_beam/portability/api/beam_provision_api_pb2_grpc.py>
RefactoringTool: Refactored <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/apache_beam/portability/api/beam_runner_api_pb2.py>
RefactoringTool: Refactored <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/apache_beam/portability/api/beam_runner_api_pb2_grpc.py>
RefactoringTool: No changes to <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/apache_beam/portability/api/endpoints_pb2.py>
RefactoringTool: Refactored <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/apache_beam/portability/api/external_transforms_pb2.py>
RefactoringTool: Refactored <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/apache_beam/portability/api/metrics_pb2.py>
RefactoringTool: No changes to <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/apache_beam/portability/api/schema_pb2.py>
RefactoringTool: Refactored <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/apache_beam/portability/api/standard_window_fns_pb2.py>
RefactoringTool: Files that were modified:
RefactoringTool: <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/apache_beam/portability/api/beam_artifact_api_pb2.py>
RefactoringTool: <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/apache_beam/portability/api/beam_artifact_api_pb2_grpc.py>
RefactoringTool: <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/apache_beam/portability/api/beam_expansion_api_pb2.py>
RefactoringTool: <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/apache_beam/portability/api/beam_expansion_api_pb2_grpc.py>
RefactoringTool: <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/apache_beam/portability/api/beam_fn_api_pb2.py>
RefactoringTool: <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/apache_beam/portability/api/beam_fn_api_pb2_grpc.py>
RefactoringTool: <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/apache_beam/portability/api/beam_interactive_api_pb2.py>
RefactoringTool: <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/apache_beam/portability/api/beam_job_api_pb2.py>
RefactoringTool: <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/apache_beam/portability/api/beam_job_api_pb2_grpc.py>
RefactoringTool: <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/apache_beam/portability/api/beam_provision_api_pb2.py>
RefactoringTool: <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/apache_beam/portability/api/beam_provision_api_pb2_grpc.py>
RefactoringTool: <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/apache_beam/portability/api/beam_runner_api_pb2.py>
RefactoringTool: <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/apache_beam/portability/api/beam_runner_api_pb2_grpc.py>
RefactoringTool: <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/apache_beam/portability/api/endpoints_pb2.py>
RefactoringTool: <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/apache_beam/portability/api/external_transforms_pb2.py>
RefactoringTool: <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/apache_beam/portability/api/metrics_pb2.py>
RefactoringTool: <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/apache_beam/portability/api/schema_pb2.py>
RefactoringTool: <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/apache_beam/portability/api/standard_window_fns_pb2.py>
INFO:gen_protos:Writing urn stubs: <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/apache_beam/portability/api/metrics_pb2_urns.py>
INFO:gen_protos:Writing urn stubs: <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/apache_beam/portability/api/beam_artifact_api_pb2_urns.py>
INFO:gen_protos:Writing urn stubs: <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/apache_beam/portability/api/standard_window_fns_pb2_urns.py>
INFO:gen_protos:Writing urn stubs: <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/apache_beam/portability/api/external_transforms_pb2_urns.py>
INFO:gen_protos:Writing urn stubs: <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/apache_beam/portability/api/beam_runner_api_pb2_urns.py>
warning: no files found matching 'README.md'
warning: no files found matching 'NOTICE'
warning: no files found matching 'LICENSE'
warning: no files found matching 'LICENSE.python'
warning: sdist: standard file not found: should have one of README, README.rst, README.txt, README.md


> Task :sdks:python:test-suites:tox:py37:lintPy37
GLOB sdist-make: <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/setup.py>
py37-lint create: <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/target/.tox-py37-lint/py37-lint>
py37-lint installdeps: -rbuild-requirements.txt, astroid<2.4,>=2.3.0, pycodestyle==2.3.1, pylint==2.4.3, isort==4.2.15, flake8==3.5.0
py37-lint inst: <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/target/.tox-py37-lint/.tmp/package/1/apache-beam-2.34.0.dev0.zip>
py37-lint installed: apache-beam @ file://<https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/target/.tox-py37-lint/.tmp/package/1/apache-beam-2.34.0.dev0.zip,astroid==2.3.3,atomicwrites==1.4.0,attrs==21.2.0,avro-python3==1.9.2.1,certifi==2021.5.30,charset-normalizer==2.0.6,crcmod==1.7,deprecation==2.1.0,dill==0.3.1.1,distlib==0.3.1,docker==5.0.2,docopt==0.6.2,execnet==1.9.0,fastavro==1.4.5,flake8==3.5.0,freezegun==1.1.0,future==0.18.2,greenlet==1.1.1,grpcio==1.40.0,grpcio-tools==1.37.0,hdfs==2.6.0,httplib2==0.19.1,idna==3.2,importlib-metadata==4.8.1,isort==4.2.15,lazy-object-proxy==1.4.3,mccabe==0.6.1,mock==2.0.0,more-itertools==8.10.0,mypy-protobuf==1.18,numpy==1.20.3,oauth2client==4.1.3,orjson==3.6.3,packaging==21.0,pandas==1.2.5,parameterized==0.7.5,pbr==5.6.0,pluggy==0.13.1,protobuf==3.18.0,psycopg2-binary==2.9.1,py==1.10.0,pyarrow==4.0.1,pyasn1==0.4.8,pyasn1-modules==0.2.8,pycodestyle==2.3.1,pydot==1.4.2,pyflakes==1.6.0,PyHamcrest==1.10.1,pylint==2.4.3,pymongo==3.12.0,pyparsing==2.4.7,pytest==4.6.11,pytest-forked==1.3.0,pytest-timeout==1.4.2,pytest-xdist==1.34.0,python-dateutil==2.8.2,pytz==2021.1,PyYAML==5.4.1,requests==2.26.0,requests-mock==1.9.3,rsa==4.7.2,six==1.16.0,SQLAlchemy==1.4.25,tenacity==5.1.5,testcontainers==3.4.2,typed-ast==1.4.3,typing-extensions==3.10.0.2,urllib3==1.26.7,wcwidth==0.2.5,websocket-client==1.2.1,wrapt==1.11.2,zipp==3.5.0>
py37-lint run-test-pre: PYTHONHASHSEED='2265137765'
py37-lint run-test-pre: commands[0] | python --version
Python 3.7.3
py37-lint run-test-pre: commands[1] | pip --version
pip 21.2.4 from <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/target/.tox-py37-lint/py37-lint/lib/python3.7/site-packages/pip> (python 3.7)
py37-lint run-test-pre: commands[2] | pip check
No broken requirements found.
py37-lint run-test-pre: commands[3] | bash <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/scripts/run_tox_cleanup.sh>
py37-lint run-test: commands[0] | pylint --version
pylint 2.4.3
astroid 2.3.3
Python 3.7.3 (default, Mar 26 2019, 01:59:45) 
[GCC 5.4.0 20160609]
py37-lint run-test: commands[1] | time <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/scripts/run_pylint.sh>
Skipping lint for files:
bigquery_v2_client.py, bigquery_v2_messages.py, dataflow_v1b3_client.py, dataflow_v1b3_messages.py, storage_v1_client.py, storage_v1_messages.py, proto2_coder_test_messages_pb2.py, beam_artifact_api_pb2_grpc.py, beam_artifact_api_pb2.py, beam_artifact_api_pb2_urns.py, beam_expansion_api_pb2_grpc.py, beam_expansion_api_pb2.py, beam_fn_api_pb2_grpc.py, beam_fn_api_pb2.py, beam_interactive_api_pb2_grpc.py, beam_interactive_api_pb2.py, beam_job_api_pb2_grpc.py, beam_job_api_pb2.py, beam_provision_api_pb2_grpc.py, beam_provision_api_pb2.py, beam_runner_api_pb2_grpc.py, beam_runner_api_pb2.py, beam_runner_api_pb2_urns.py, endpoints_pb2_grpc.py, endpoints_pb2.py, external_transforms_pb2_grpc.py, external_transforms_pb2.py, external_transforms_pb2_urns.py, metrics_pb2_grpc.py, metrics_pb2.py, metrics_pb2_urns.py, schema_pb2_grpc.py, schema_pb2.py, standard_window_fns_pb2_grpc.py, standard_window_fns_pb2.py, standard_window_fns_pb2_urns.py
Linting modules:
apache_beam  conftest.py  gen_protos.py  setup.py
Running pylint...

--------------------------------------------------------------------
Your code has been rated at 10.00/10 (previous run: 10.00/10, +0.00)

Running flake8...
<https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/target/.tox-py37-lint/py37-lint/lib/python3.7/site-packages/pycodestyle.py>:113: FutureWarning: Possible nested set at position 1
  EXTRANEOUS_WHITESPACE_REGEX = re.compile(r'[[({] | []}),;:]')
0
Running isort...
Skipped 127 files
Checking unittest.main...
750.45user 21.97system 1:47.40elapsed 719%CPU (0avgtext+0avgdata 585592maxresident)k
5848inputs+368outputs (0major+1656984minor)pagefaults 0swaps
py37-lint run-test-post: commands[0] | bash <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/scripts/run_tox_cleanup.sh>
___________________________________ summary ____________________________________
  py37-lint: commands succeeded
  congratulations :)

> Task :sdks:python:test-suites:tox:py37:mypyPy37
GLOB sdist-make: <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/setup.py>
py37-mypy create: <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/target/.tox-py37-mypy/py37-mypy>
py37-mypy installdeps: -rbuild-requirements.txt, mypy==0.782
py37-mypy inst: <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/target/.tox-py37-mypy/.tmp/package/1/apache-beam-2.34.0.dev0.zip>
py37-mypy installed: apache-beam @ file://<https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/target/.tox-py37-mypy/.tmp/package/1/apache-beam-2.34.0.dev0.zip,avro-python3==1.9.2.1,cachetools==4.2.2,certifi==2021.5.30,charset-normalizer==2.0.6,crcmod==1.7,dill==0.3.1.1,distlib==0.3.1,docopt==0.6.2,fastavro==1.4.5,fasteners==0.16.3,future==0.18.2,google-api-core==1.31.3,google-apitools==0.5.31,google-auth==1.35.0,google-cloud-bigquery==2.27.0,google-cloud-bigtable==1.7.0,google-cloud-core==1.7.2,google-cloud-datastore==1.15.3,google-cloud-dlp==1.0.0,google-cloud-language==1.3.0,google-cloud-pubsub==1.7.0,google-cloud-recommendations-ai==0.2.0,google-cloud-spanner==1.19.1,google-cloud-videointelligence==1.16.1,google-cloud-vision==1.0.0,google-crc32c==1.2.0,google-resumable-media==2.0.3,googleapis-common-protos==1.53.0,grpc-google-iam-v1==0.12.3,grpcio==1.40.0,grpcio-gcp==0.2.2,grpcio-tools==1.37.0,hdfs==2.6.0,httplib2==0.19.1,idna==3.2,mypy==0.782,mypy-extensions==0.4.3,mypy-protobuf==1.18,numpy==1.20.3,oauth2client==4.1.3,orjson==3.6.3,packaging==21.0,proto-plus==1.19.0,protobuf==3.17.3,pyarrow==4.0.1,pyasn1==0.4.8,pyasn1-modules==0.2.8,pydot==1.4.2,pymongo==3.12.0,pyparsing==2.4.7,python-dateutil==2.8.2,pytz==2021.1,requests==2.26.0,rsa==4.7.2,six==1.16.0,typed-ast==1.4.3,typing-extensions==3.10.0.2,urllib3==1.26.7>
py37-mypy run-test-pre: PYTHONHASHSEED='2507953360'
py37-mypy run-test-pre: commands[0] | python --version
Python 3.7.3
py37-mypy run-test-pre: commands[1] | pip --version
pip 21.2.4 from <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/target/.tox-py37-mypy/py37-mypy/lib/python3.7/site-packages/pip> (python 3.7)
py37-mypy run-test-pre: commands[2] | pip check
No broken requirements found.
py37-mypy run-test-pre: commands[3] | bash <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/scripts/run_tox_cleanup.sh>
py37-mypy run-test: commands[0] | mypy --version
mypy 0.782
py37-mypy run-test: commands[1] | python setup.py mypy
running mypy
<https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/target/.tox-py37-mypy/py37-mypy/lib/python3.7/site-packages/setuptools/dist.py>:484: UserWarning: Normalizing '2.34.0.dev' to '2.34.0.dev0'
  warnings.warn(tmpl.format(**locals()))
INFO:gen_protos:Skipping proto regeneration: all files up to date
running egg_info
INFO:gen_protos:Skipping proto regeneration: all files up to date
writing apache_beam.egg-info/PKG-INFO
writing dependency_links to apache_beam.egg-info/dependency_links.txt
writing requirements to apache_beam.egg-info/requires.txt
writing top-level names to apache_beam.egg-info/top_level.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'
warning: no files found matching 'LICENSE.python'
writing manifest file 'apache_beam.egg-info/SOURCES.txt'
running build_ext
apache_beam/testing/load_tests/load_test_metrics_utils.py:51: error: unused 'type: ignore' comment
apache_beam/testing/load_tests/load_test_metrics_utils.py:55: error: Incompatible types in assignment (expression has type "None", variable has type Module)  [assignment]
apache_beam/testing/load_tests/load_test_metrics_utils.py:56: error: Cannot assign to a type  [misc]
apache_beam/testing/load_tests/load_test_metrics_utils.py:56: error: Incompatible types in assignment (expression has type "None", variable has type "Type[SchemaField]")  [assignment]
Found 4 errors in 1 file (checked 805 source files)
error: mypy exited with status 1
ERROR: InvocationError for command <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/target/.tox-py37-mypy/py37-mypy/bin/python> setup.py mypy (exited with code 1)
py37-mypy run-test-post: commands[0] | bash <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/scripts/run_tox_cleanup.sh>
___________________________________ summary ____________________________________
ERROR:   py37-mypy: commands failed

> Task :sdks:python:test-suites:tox:py37:mypyPy37 FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':sdks:python:test-suites:tox:py37:mypyPy37'.
> Process 'command 'sh'' finished with non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

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

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

BUILD FAILED in 5m 45s
5 actionable tasks: 5 executed

Publishing build scan...
https://gradle.com/s/65cbjnchzvldk

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_PreCommit_PythonLint_Cron #2861

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/2861/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_PreCommit_PythonLint_Cron #2860

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/2860/display/redirect?page=changes>

Changes:

[noreply] Update container tags used by unreleased SDKs.


------------------------------------------
[...truncated 9.17 KB...]
  Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting virtualenv!=20.0.0,!=20.0.1,!=20.0.2,!=20.0.3,!=20.0.4,!=20.0.5,!=20.0.6,!=20.0.7,>=16.0.0
  Using cached virtualenv-20.8.1-py2.py3-none-any.whl (5.3 MB)
Collecting py>=1.4.17
  Using cached py-1.10.0-py2.py3-none-any.whl (97 kB)
Requirement already satisfied: setuptools in <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/build/gradleenv/-1227304283/lib/python3.7/site-packages> (from grpcio-tools==1.37.0->-r <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/build-requirements.txt> (line 17)) (58.1.0)
Collecting grpcio>=1.37.0
  Using cached grpcio-1.40.0-cp37-cp37m-manylinux2014_x86_64.whl (4.3 MB)
Collecting protobuf<4.0dev,>=3.5.0.post1
  Using cached protobuf-3.18.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.1 MB)
Collecting zipp>=0.5
  Using cached zipp-3.5.0-py3-none-any.whl (5.7 kB)
Collecting pyparsing>=2.0.2
  Using cached pyparsing-2.4.7-py2.py3-none-any.whl (67 kB)
Collecting platformdirs<3,>=2
  Using cached platformdirs-2.4.0-py3-none-any.whl (14 kB)
Collecting backports.entry-points-selectable>=1.0.4
  Using cached backports.entry_points_selectable-1.1.0-py2.py3-none-any.whl (6.2 kB)
Installing collected packages: zipp, importlib-metadata, six, pyparsing, platformdirs, filelock, distlib, backports.entry-points-selectable, virtualenv, toml, py, protobuf, pluggy, packaging, grpcio, tox, mypy-protobuf, grpcio-tools, future
Successfully installed backports.entry-points-selectable-1.1.0 distlib-0.3.1 filelock-3.1.0 future-0.18.2 grpcio-1.40.0 grpcio-tools-1.37.0 importlib-metadata-2.1.1 mypy-protobuf-1.18 packaging-21.0 platformdirs-2.4.0 pluggy-1.0.0 protobuf-3.18.0 py-1.10.0 pyparsing-2.4.7 six-1.16.0 toml-0.10.2 tox-3.20.1 virtualenv-20.8.1 zipp-3.5.0

> Task :sdks:python:setupVirtualenv
Using base prefix '/usr'
New python executable in <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/build/gradleenv/1922375555/bin/python3.8>
Also creating executable in <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/build/gradleenv/1922375555/bin/python>
Installing setuptools, pip, wheel...
done.
Running virtualenv with interpreter /usr/bin/python3.8
Collecting tox==3.20.1
  Using cached tox-3.20.1-py2.py3-none-any.whl (83 kB)
Collecting grpcio-tools==1.37.0
  Using cached grpcio_tools-1.37.0-cp38-cp38-manylinux2014_x86_64.whl (2.5 MB)
Collecting future==0.18.2
  Using cached future-0.18.2-py3-none-any.whl
Collecting mypy-protobuf==1.18
  Using cached mypy_protobuf-1.18-py3-none-any.whl (7.3 kB)
Collecting distlib==0.3.1
  Using cached distlib-0.3.1-py2.py3-none-any.whl (335 kB)
Collecting filelock>=3.0.0
  Using cached filelock-3.1.0-py2.py3-none-any.whl (8.4 kB)
Collecting packaging>=14
  Using cached packaging-21.0-py3-none-any.whl (40 kB)
Collecting six>=1.14.0
  Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting pluggy>=0.12.0
  Using cached pluggy-1.0.0-py2.py3-none-any.whl (13 kB)
Collecting virtualenv!=20.0.0,!=20.0.1,!=20.0.2,!=20.0.3,!=20.0.4,!=20.0.5,!=20.0.6,!=20.0.7,>=16.0.0
  Using cached virtualenv-20.8.1-py2.py3-none-any.whl (5.3 MB)
Collecting py>=1.4.17
  Using cached py-1.10.0-py2.py3-none-any.whl (97 kB)
Collecting toml>=0.9.4
  Using cached toml-0.10.2-py2.py3-none-any.whl (16 kB)
Requirement already satisfied: setuptools in <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/build/gradleenv/1922375555/lib/python3.8/site-packages> (from grpcio-tools==1.37.0->-r <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/build-requirements.txt> (line 17)) (58.1.0)
Collecting protobuf<4.0dev,>=3.5.0.post1
  Using cached protobuf-3.18.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.1 MB)
Collecting grpcio>=1.37.0
  Using cached grpcio-1.40.0-cp38-cp38-manylinux2014_x86_64.whl (4.3 MB)
Collecting pyparsing>=2.0.2
  Using cached pyparsing-2.4.7-py2.py3-none-any.whl (67 kB)
Collecting platformdirs<3,>=2
  Using cached platformdirs-2.4.0-py3-none-any.whl (14 kB)
Collecting backports.entry-points-selectable>=1.0.4
  Using cached backports.entry_points_selectable-1.1.0-py2.py3-none-any.whl (6.2 kB)
Installing collected packages: six, pyparsing, platformdirs, filelock, distlib, backports.entry-points-selectable, virtualenv, toml, py, protobuf, pluggy, packaging, grpcio, tox, mypy-protobuf, grpcio-tools, future
Successfully installed backports.entry-points-selectable-1.1.0 distlib-0.3.1 filelock-3.1.0 future-0.18.2 grpcio-1.40.0 grpcio-tools-1.37.0 mypy-protobuf-1.18 packaging-21.0 platformdirs-2.4.0 pluggy-1.0.0 protobuf-3.18.0 py-1.10.0 pyparsing-2.4.7 six-1.16.0 toml-0.10.2 tox-3.20.1 virtualenv-20.8.1

> Task :sdks:python:sdist
<https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/build/gradleenv/1922375555/lib/python3.8/site-packages/setuptools/dist.py>:487: UserWarning: Normalizing '2.34.0.dev' to '2.34.0.dev0'
  warnings.warn(tmpl.format(**locals()))
INFO:gen_protos:Regenerating Python proto definitions (no output files).
INFO:gen_protos:Found protoc_gen_mypy at <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/build/gradleenv/1922375555/bin/protoc-gen-mypy>
beam_interactive_api.proto:36:1: warning: Import google/protobuf/timestamp.proto is unused.
Writing mypy to external_transforms_pb2.pyi
Writing mypy to beam_runner_api_pb2.pyi
Writing mypy to standard_window_fns_pb2.pyi
Writing mypy to metrics_pb2.pyi
Writing mypy to endpoints_pb2.pyi
Writing mypy to schema_pb2.pyi
Writing mypy to beam_artifact_api_pb2.pyi
Writing mypy to beam_expansion_api_pb2.pyi
Writing mypy to beam_job_api_pb2.pyi
Writing mypy to beam_provision_api_pb2.pyi
Writing mypy to beam_fn_api_pb2.pyi
Writing mypy to beam_interactive_api_pb2.pyi
RefactoringTool: Skipping optional fixer: idioms
RefactoringTool: Skipping optional fixer: ws_comma
RefactoringTool: Refactored <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/apache_beam/portability/api/beam_artifact_api_pb2.py>
RefactoringTool: Refactored <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/apache_beam/portability/api/beam_artifact_api_pb2_grpc.py>
RefactoringTool: Refactored <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/apache_beam/portability/api/beam_expansion_api_pb2.py>
RefactoringTool: Refactored <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/apache_beam/portability/api/beam_expansion_api_pb2_grpc.py>
RefactoringTool: Refactored <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/apache_beam/portability/api/beam_fn_api_pb2.py>
RefactoringTool: Refactored <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/apache_beam/portability/api/beam_fn_api_pb2_grpc.py>
RefactoringTool: Refactored <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/apache_beam/portability/api/beam_interactive_api_pb2.py>
RefactoringTool: Refactored <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/apache_beam/portability/api/beam_job_api_pb2.py>
RefactoringTool: Refactored <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/apache_beam/portability/api/beam_job_api_pb2_grpc.py>
RefactoringTool: Refactored <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/apache_beam/portability/api/beam_provision_api_pb2.py>
RefactoringTool: Refactored <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/apache_beam/portability/api/beam_provision_api_pb2_grpc.py>
RefactoringTool: Refactored <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/apache_beam/portability/api/beam_runner_api_pb2.py>
RefactoringTool: Refactored <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/apache_beam/portability/api/beam_runner_api_pb2_grpc.py>
RefactoringTool: No changes to <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/apache_beam/portability/api/endpoints_pb2.py>
RefactoringTool: Refactored <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/apache_beam/portability/api/external_transforms_pb2.py>
RefactoringTool: Refactored <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/apache_beam/portability/api/metrics_pb2.py>
RefactoringTool: No changes to <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/apache_beam/portability/api/schema_pb2.py>
RefactoringTool: Refactored <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/apache_beam/portability/api/standard_window_fns_pb2.py>
RefactoringTool: Files that were modified:
RefactoringTool: <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/apache_beam/portability/api/beam_artifact_api_pb2.py>
RefactoringTool: <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/apache_beam/portability/api/beam_artifact_api_pb2_grpc.py>
RefactoringTool: <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/apache_beam/portability/api/beam_expansion_api_pb2.py>
RefactoringTool: <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/apache_beam/portability/api/beam_expansion_api_pb2_grpc.py>
RefactoringTool: <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/apache_beam/portability/api/beam_fn_api_pb2.py>
RefactoringTool: <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/apache_beam/portability/api/beam_fn_api_pb2_grpc.py>
RefactoringTool: <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/apache_beam/portability/api/beam_interactive_api_pb2.py>
RefactoringTool: <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/apache_beam/portability/api/beam_job_api_pb2.py>
RefactoringTool: <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/apache_beam/portability/api/beam_job_api_pb2_grpc.py>
RefactoringTool: <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/apache_beam/portability/api/beam_provision_api_pb2.py>
RefactoringTool: <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/apache_beam/portability/api/beam_provision_api_pb2_grpc.py>
RefactoringTool: <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/apache_beam/portability/api/beam_runner_api_pb2.py>
RefactoringTool: <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/apache_beam/portability/api/beam_runner_api_pb2_grpc.py>
RefactoringTool: <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/apache_beam/portability/api/endpoints_pb2.py>
RefactoringTool: <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/apache_beam/portability/api/external_transforms_pb2.py>
RefactoringTool: <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/apache_beam/portability/api/metrics_pb2.py>
RefactoringTool: <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/apache_beam/portability/api/schema_pb2.py>
RefactoringTool: <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/apache_beam/portability/api/standard_window_fns_pb2.py>
INFO:gen_protos:Writing urn stubs: <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/apache_beam/portability/api/metrics_pb2_urns.py>
INFO:gen_protos:Writing urn stubs: <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/apache_beam/portability/api/beam_artifact_api_pb2_urns.py>
INFO:gen_protos:Writing urn stubs: <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/apache_beam/portability/api/standard_window_fns_pb2_urns.py>
INFO:gen_protos:Writing urn stubs: <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/apache_beam/portability/api/external_transforms_pb2_urns.py>
INFO:gen_protos:Writing urn stubs: <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/apache_beam/portability/api/beam_runner_api_pb2_urns.py>
warning: no files found matching 'README.md'
warning: no files found matching 'NOTICE'
warning: no files found matching 'LICENSE'
warning: no files found matching 'LICENSE.python'
warning: sdist: standard file not found: should have one of README, README.rst, README.txt, README.md


> Task :sdks:python:test-suites:tox:py37:lintPy37
GLOB sdist-make: <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/setup.py>
py37-lint create: <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/target/.tox-py37-lint/py37-lint>
py37-lint installdeps: -rbuild-requirements.txt, astroid<2.4,>=2.3.0, pycodestyle==2.3.1, pylint==2.4.3, isort==4.2.15, flake8==3.5.0
py37-lint inst: <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/target/.tox-py37-lint/.tmp/package/1/apache-beam-2.34.0.dev0.zip>
py37-lint installed: apache-beam @ file://<https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/target/.tox-py37-lint/.tmp/package/1/apache-beam-2.34.0.dev0.zip,astroid==2.3.3,atomicwrites==1.4.0,attrs==21.2.0,avro-python3==1.9.2.1,certifi==2021.5.30,charset-normalizer==2.0.6,crcmod==1.7,deprecation==2.1.0,dill==0.3.1.1,distlib==0.3.1,docker==5.0.2,docopt==0.6.2,execnet==1.9.0,fastavro==1.4.5,flake8==3.5.0,freezegun==1.1.0,future==0.18.2,greenlet==1.1.1,grpcio==1.40.0,grpcio-tools==1.37.0,hdfs==2.6.0,httplib2==0.19.1,idna==3.2,importlib-metadata==4.8.1,isort==4.2.15,lazy-object-proxy==1.4.3,mccabe==0.6.1,mock==2.0.0,more-itertools==8.10.0,mypy-protobuf==1.18,numpy==1.20.3,oauth2client==4.1.3,orjson==3.6.3,packaging==21.0,pandas==1.2.5,parameterized==0.7.5,pbr==5.6.0,pluggy==0.13.1,protobuf==3.18.0,psycopg2-binary==2.9.1,py==1.10.0,pyarrow==4.0.1,pyasn1==0.4.8,pyasn1-modules==0.2.8,pycodestyle==2.3.1,pydot==1.4.2,pyflakes==1.6.0,PyHamcrest==1.10.1,pylint==2.4.3,pymongo==3.12.0,pyparsing==2.4.7,pytest==4.6.11,pytest-forked==1.3.0,pytest-timeout==1.4.2,pytest-xdist==1.34.0,python-dateutil==2.8.2,pytz==2021.1,PyYAML==5.4.1,requests==2.26.0,requests-mock==1.9.3,rsa==4.7.2,six==1.16.0,SQLAlchemy==1.4.25,tenacity==5.1.5,testcontainers==3.4.2,typed-ast==1.4.3,typing-extensions==3.10.0.2,urllib3==1.26.7,wcwidth==0.2.5,websocket-client==1.2.1,wrapt==1.11.2,zipp==3.5.0>
py37-lint run-test-pre: PYTHONHASHSEED='1041903148'
py37-lint run-test-pre: commands[0] | python --version
Python 3.7.3
py37-lint run-test-pre: commands[1] | pip --version
pip 21.2.4 from <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/target/.tox-py37-lint/py37-lint/lib/python3.7/site-packages/pip> (python 3.7)
py37-lint run-test-pre: commands[2] | pip check
No broken requirements found.
py37-lint run-test-pre: commands[3] | bash <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/scripts/run_tox_cleanup.sh>
py37-lint run-test: commands[0] | pylint --version
pylint 2.4.3
astroid 2.3.3
Python 3.7.3 (default, Mar 26 2019, 01:59:45) 
[GCC 5.4.0 20160609]
py37-lint run-test: commands[1] | time <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/scripts/run_pylint.sh>
Skipping lint for files:
bigquery_v2_client.py, bigquery_v2_messages.py, dataflow_v1b3_client.py, dataflow_v1b3_messages.py, storage_v1_client.py, storage_v1_messages.py, proto2_coder_test_messages_pb2.py, beam_artifact_api_pb2_grpc.py, beam_artifact_api_pb2.py, beam_artifact_api_pb2_urns.py, beam_expansion_api_pb2_grpc.py, beam_expansion_api_pb2.py, beam_fn_api_pb2_grpc.py, beam_fn_api_pb2.py, beam_interactive_api_pb2_grpc.py, beam_interactive_api_pb2.py, beam_job_api_pb2_grpc.py, beam_job_api_pb2.py, beam_provision_api_pb2_grpc.py, beam_provision_api_pb2.py, beam_runner_api_pb2_grpc.py, beam_runner_api_pb2.py, beam_runner_api_pb2_urns.py, endpoints_pb2_grpc.py, endpoints_pb2.py, external_transforms_pb2_grpc.py, external_transforms_pb2.py, external_transforms_pb2_urns.py, metrics_pb2_grpc.py, metrics_pb2.py, metrics_pb2_urns.py, schema_pb2_grpc.py, schema_pb2.py, standard_window_fns_pb2_grpc.py, standard_window_fns_pb2.py, standard_window_fns_pb2_urns.py
Linting modules:
apache_beam  conftest.py  gen_protos.py  setup.py
Running pylint...

--------------------------------------------------------------------
Your code has been rated at 10.00/10 (previous run: 10.00/10, +0.00)

Running flake8...
<https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/target/.tox-py37-lint/py37-lint/lib/python3.7/site-packages/pycodestyle.py>:113: FutureWarning: Possible nested set at position 1
  EXTRANEOUS_WHITESPACE_REGEX = re.compile(r'[[({] | []}),;:]')
0
Running isort...
Skipped 127 files
Checking unittest.main...
653.15user 19.88system 1:35.39elapsed 705%CPU (0avgtext+0avgdata 594244maxresident)k
360inputs+368outputs (0major+1677362minor)pagefaults 0swaps
py37-lint run-test-post: commands[0] | bash <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/scripts/run_tox_cleanup.sh>
___________________________________ summary ____________________________________
  py37-lint: commands succeeded
  congratulations :)

> Task :sdks:python:test-suites:tox:py37:mypyPy37
GLOB sdist-make: <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/setup.py>
py37-mypy create: <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/target/.tox-py37-mypy/py37-mypy>
py37-mypy installdeps: -rbuild-requirements.txt, mypy==0.782
py37-mypy inst: <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/target/.tox-py37-mypy/.tmp/package/1/apache-beam-2.34.0.dev0.zip>
py37-mypy installed: apache-beam @ file://<https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/target/.tox-py37-mypy/.tmp/package/1/apache-beam-2.34.0.dev0.zip,avro-python3==1.9.2.1,cachetools==4.2.2,certifi==2021.5.30,charset-normalizer==2.0.6,crcmod==1.7,dill==0.3.1.1,distlib==0.3.1,docopt==0.6.2,fastavro==1.4.5,fasteners==0.16.3,future==0.18.2,google-api-core==1.31.3,google-apitools==0.5.31,google-auth==1.35.0,google-cloud-bigquery==2.27.0,google-cloud-bigtable==1.7.0,google-cloud-core==1.7.2,google-cloud-datastore==1.15.3,google-cloud-dlp==1.0.0,google-cloud-language==1.3.0,google-cloud-pubsub==1.7.0,google-cloud-recommendations-ai==0.2.0,google-cloud-spanner==1.19.1,google-cloud-videointelligence==1.16.1,google-cloud-vision==1.0.0,google-crc32c==1.2.0,google-resumable-media==2.0.3,googleapis-common-protos==1.53.0,grpc-google-iam-v1==0.12.3,grpcio==1.40.0,grpcio-gcp==0.2.2,grpcio-tools==1.37.0,hdfs==2.6.0,httplib2==0.19.1,idna==3.2,mypy==0.782,mypy-extensions==0.4.3,mypy-protobuf==1.18,numpy==1.20.3,oauth2client==4.1.3,orjson==3.6.3,packaging==21.0,proto-plus==1.19.0,protobuf==3.17.3,pyarrow==4.0.1,pyasn1==0.4.8,pyasn1-modules==0.2.8,pydot==1.4.2,pymongo==3.12.0,pyparsing==2.4.7,python-dateutil==2.8.2,pytz==2021.1,requests==2.26.0,rsa==4.7.2,six==1.16.0,typed-ast==1.4.3,typing-extensions==3.10.0.2,urllib3==1.26.7>
py37-mypy run-test-pre: PYTHONHASHSEED='2849688152'
py37-mypy run-test-pre: commands[0] | python --version
Python 3.7.3
py37-mypy run-test-pre: commands[1] | pip --version
pip 21.2.4 from <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/target/.tox-py37-mypy/py37-mypy/lib/python3.7/site-packages/pip> (python 3.7)
py37-mypy run-test-pre: commands[2] | pip check
No broken requirements found.
py37-mypy run-test-pre: commands[3] | bash <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/scripts/run_tox_cleanup.sh>
py37-mypy run-test: commands[0] | mypy --version
mypy 0.782
py37-mypy run-test: commands[1] | python setup.py mypy
running mypy
<https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/target/.tox-py37-mypy/py37-mypy/lib/python3.7/site-packages/setuptools/dist.py>:484: UserWarning: Normalizing '2.34.0.dev' to '2.34.0.dev0'
  warnings.warn(tmpl.format(**locals()))
INFO:gen_protos:Skipping proto regeneration: all files up to date
running egg_info
INFO:gen_protos:Skipping proto regeneration: all files up to date
writing apache_beam.egg-info/PKG-INFO
writing dependency_links to apache_beam.egg-info/dependency_links.txt
writing requirements to apache_beam.egg-info/requires.txt
writing top-level names to apache_beam.egg-info/top_level.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'
warning: no files found matching 'LICENSE.python'
writing manifest file 'apache_beam.egg-info/SOURCES.txt'
running build_ext
apache_beam/testing/load_tests/load_test_metrics_utils.py:51: error: unused 'type: ignore' comment
apache_beam/testing/load_tests/load_test_metrics_utils.py:55: error: Incompatible types in assignment (expression has type "None", variable has type Module)  [assignment]
apache_beam/testing/load_tests/load_test_metrics_utils.py:56: error: Cannot assign to a type  [misc]
apache_beam/testing/load_tests/load_test_metrics_utils.py:56: error: Incompatible types in assignment (expression has type "None", variable has type "Type[SchemaField]")  [assignment]
Found 4 errors in 1 file (checked 805 source files)
error: mypy exited with status 1
ERROR: InvocationError for command <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/target/.tox-py37-mypy/py37-mypy/bin/python> setup.py mypy (exited with code 1)
py37-mypy run-test-post: commands[0] | bash <https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/scripts/run_tox_cleanup.sh>
___________________________________ summary ____________________________________
ERROR:   py37-mypy: commands failed

> Task :sdks:python:test-suites:tox:py37:mypyPy37 FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':sdks:python:test-suites:tox:py37:mypyPy37'.
> Process 'command 'sh'' finished with non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

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

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

BUILD FAILED in 4m 5s
5 actionable tasks: 5 executed

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

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