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/01/31 12:06:05 UTC

Build failed in Jenkins: beam_PreCommit_PythonLint_Cron #1932

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

Changes:


------------------------------------------
[...truncated 9.14 KB...]
Collecting pluggy>=0.12.0
  Using cached pluggy-0.13.1-py2.py3-none-any.whl (18 kB)
Collecting six>=1.14.0
  Using cached six-1.15.0-py2.py3-none-any.whl (10 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
  Downloading virtualenv-20.4.1-py2.py3-none-any.whl (7.2 MB)
Collecting py>=1.4.17
  Using cached py-1.10.0-py2.py3-none-any.whl (97 kB)
Collecting zipp>=0.5
  Using cached zipp-3.4.0-py3-none-any.whl (5.2 kB)
Collecting pyparsing>=2.0.2
  Using cached pyparsing-2.4.7-py2.py3-none-any.whl (67 kB)
Collecting appdirs<2,>=1.4.3
  Using cached appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Installing collected packages: zipp, six, pyparsing, importlib-metadata, filelock, distlib, appdirs, virtualenv, toml, py, protobuf, pluggy, packaging, grpcio, tox, mypy-protobuf, grpcio-tools, future
Successfully installed appdirs-1.4.4 distlib-0.3.1 filelock-3.0.12 future-0.18.2 grpcio-1.35.0 grpcio-tools-1.30.0 importlib-metadata-2.1.1 mypy-protobuf-1.18 packaging-20.9 pluggy-0.13.1 protobuf-3.14.0 py-1.10.0 pyparsing-2.4.7 six-1.15.0 toml-0.10.2 tox-3.20.1 virtualenv-20.4.1 zipp-3.4.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.30.0
  Using cached grpcio_tools-1.30.0-cp38-cp38-manylinux2010_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 grpcio>=1.30.0
  Using cached grpcio-1.35.0-cp38-cp38-manylinux2014_x86_64.whl (4.1 MB)
Collecting protobuf>=3.5.0.post1
  Using cached protobuf-3.14.0-cp38-cp38-manylinux1_x86_64.whl (1.0 MB)
Collecting packaging>=14
  Using cached packaging-20.9-py2.py3-none-any.whl (40 kB)
Collecting six>=1.14.0
  Using cached six-1.15.0-py2.py3-none-any.whl (10 kB)
Collecting pluggy>=0.12.0
  Using cached pluggy-0.13.1-py2.py3-none-any.whl (18 kB)
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)
Collecting filelock>=3.0.0
  Using cached filelock-3.0.12-py3-none-any.whl (7.6 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
  Downloading virtualenv-20.4.1-py2.py3-none-any.whl (7.2 MB)
Collecting pyparsing>=2.0.2
  Using cached pyparsing-2.4.7-py2.py3-none-any.whl (67 kB)
Collecting appdirs<2,>=1.4.3
  Using cached appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Installing collected packages: six, pyparsing, filelock, distlib, appdirs, virtualenv, toml, py, protobuf, pluggy, packaging, grpcio, tox, mypy-protobuf, grpcio-tools, future
Successfully installed appdirs-1.4.4 distlib-0.3.1 filelock-3.0.12 future-0.18.2 grpcio-1.35.0 grpcio-tools-1.30.0 mypy-protobuf-1.18 packaging-20.9 pluggy-0.13.1 protobuf-3.14.0 py-1.10.0 pyparsing-2.4.7 six-1.15.0 toml-0.10.2 tox-3.20.1 virtualenv-20.4.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>:461: UserWarning: Normalizing '2.29.0.dev' to '2.29.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/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: 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.29.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.29.0.dev0.zip,apipkg==1.5,astroid==2.3.3,atomicwrites==1.4.0,attrs==20.3.0,avro-python3==1.9.2.1,certifi==2020.12.5,chardet==4.0.0,crcmod==1.7,deprecation==2.1.0,dill==0.3.1.1,distlib==0.3.1,docker==4.4.1,docopt==0.6.2,execnet==1.8.0,fastavro==1.3.0,flake8==3.5.0,freezegun==1.1.0,future==0.18.2,grpcio==1.35.0,grpcio-tools==1.30.0,hdfs==2.5.8,httplib2==0.17.4,idna==2.10,importlib-metadata==3.4.0,isort==4.2.15,lazy-object-proxy==1.4.3,mccabe==0.6.1,mock==2.0.0,more-itertools==8.6.0,mypy-protobuf==1.18,nose==1.3.7,nose-xunitmp==0.4.1,numpy==1.20.0,oauth2client==4.1.3,packaging==20.9,pandas==1.1.5,parameterized==0.7.5,pbr==5.5.1,pluggy==0.13.1,protobuf==3.14.0,psycopg2-binary==2.8.6,py==1.10.0,pyarrow==2.0.0,pyasn1==0.4.8,pyasn1-modules==0.2.8,pycodestyle==2.3.1,pydot==1.4.1,pyflakes==1.6.0,PyHamcrest==1.10.1,pylint==2.4.3,pymongo==3.11.2,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.1,pytz==2020.5,PyYAML==5.4.1,requests==2.25.1,requests-mock==1.8.0,rsa==4.7,six==1.15.0,SQLAlchemy==1.3.22,tenacity==5.1.5,testcontainers==3.2.0,typed-ast==1.4.2,typing-extensions==3.7.4.3,urllib3==1.26.3,wcwidth==0.2.5,websocket-client==0.57.0,wrapt==1.11.2,zipp==3.4.0>
py37-lint run-test-pre: PYTHONHASHSEED='3320858354'
py37-lint run-test-pre: commands[0] | python --version
Python 3.7.3
py37-lint run-test-pre: commands[1] | pip --version
pip 20.3.3 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, 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  test_config.py
Running pylint...
internal error with sending report for module ['apache_beam/dataframe/convert_test.py']
maximum recursion depth exceeded while calling a Python object

--------------------------------------------------------------------
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 124 files
Checking unittest.main...
722.46user 28.58system 1:38.89elapsed 759%CPU (0avgtext+0avgdata 599240maxresident)k
344inputs+352outputs (0major+1639561minor)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.29.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.29.0.dev0.zip,avro-python3==1.9.2.1,cachetools==4.2.1,certifi==2020.12.5,cffi==1.14.4,chardet==4.0.0,crcmod==1.7,dill==0.3.1.1,distlib==0.3.1,docopt==0.6.2,fastavro==1.3.0,fasteners==0.16,future==0.18.2,google-api-core==1.25.1,google-apitools==0.5.31,google-auth==1.24.0,google-cloud-bigquery==1.28.0,google-cloud-bigtable==1.6.1,google-cloud-build==2.0.0,google-cloud-core==1.5.0,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-spanner==1.19.1,google-cloud-videointelligence==1.16.1,google-cloud-vision==1.0.0,google-crc32c==1.1.2,google-resumable-media==1.2.0,googleapis-common-protos==1.52.0,grpc-google-iam-v1==0.12.3,grpcio==1.35.0,grpcio-gcp==0.2.2,grpcio-tools==1.30.0,hdfs==2.5.8,httplib2==0.17.4,idna==2.10,libcst==0.3.16,mock==2.0.0,mypy==0.782,mypy-extensions==0.4.3,mypy-protobuf==1.18,numpy==1.20.0,oauth2client==4.1.3,pbr==5.5.1,proto-plus==1.13.0,protobuf==3.14.0,pyarrow==2.0.0,pyasn1==0.4.8,pyasn1-modules==0.2.8,pycparser==2.20,pydot==1.4.1,pymongo==3.11.2,pyparsing==2.4.7,python-dateutil==2.8.1,pytz==2020.5,PyYAML==5.4.1,requests==2.25.1,rsa==4.7,six==1.15.0,typed-ast==1.4.2,typing-extensions==3.7.4.3,typing-inspect==0.6.0,urllib3==1.26.3>
py37-mypy run-test-pre: PYTHONHASHSEED='3492141272'
py37-mypy run-test-pre: commands[0] | python --version
Python 3.7.3
py37-mypy run-test-pre: commands[1] | pip --version
pip 20.3.3 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>:452: UserWarning: Normalizing '2.29.0.dev' to '2.29.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 entry points to apache_beam.egg-info/entry_points.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'
writing manifest file 'apache_beam.egg-info/SOURCES.txt'
running build_ext
apache_beam/dataframe/schemas.py:94: error: Module has no attribute "bool"; maybe "bool_" or "bool8"?  [attr-defined]
apache_beam/dataframe/schemas.py:105: error: Module has no attribute "object"; maybe "object_" or "object0"?  [attr-defined]
apache_beam/dataframe/schemas.py:111: error: Module has no attribute "bool"; maybe "bool_" or "bool8"?  [attr-defined]
apache_beam/dataframe/schemas.py:127: error: Argument 1 to "append" of "list" has incompatible type "Type[str]"; expected "Type[floating[Any]]"  [arg-type]
apache_beam/dataframe/schemas.py:185: error: Module has no attribute "object"; maybe "object_" or "object0"?  [attr-defined]
apache_beam/coders/row_coder_test.py:60: error: Argument "age" to "Person" has incompatible type "int"; expected "signedinteger[_32Bit]"  [arg-type]
apache_beam/coders/row_coder_test.py:72: error: Argument 2 to "Person" has incompatible type "int"; expected "signedinteger[_32Bit]"  [arg-type]
apache_beam/coders/row_coder_test.py:82: error: Argument 2 to "Person" has incompatible type "int"; expected "signedinteger[_32Bit]"  [arg-type]
apache_beam/testing/synthetic_pipeline_test.py:41: error: Incompatible types in assignment (expression has type "None", variable has type Module)  [assignment]
apache_beam/dataframe/schemas_test.py:78: error: Module has no attribute "bool"; maybe "bool_" or "bool8"?  [attr-defined]
apache_beam/dataframe/schemas_test.py:79: error: Module has no attribute "object"; maybe "object_" or "object0"?  [attr-defined]
Found 11 errors in 4 files (checked 769 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.8/userguide/command_line_interface.html#sec:command_line_warnings

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

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

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 #1938

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

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

Changes:

[randomstep] [BEAM-11652] bump aircompressor to 0.1.8


------------------------------------------
[...truncated 9.09 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.4.2-py2.py3-none-any.whl (7.2 MB)
Collecting importlib-metadata<3,>=0.12
  Using cached importlib_metadata-2.1.1-py2.py3-none-any.whl (10 kB)
Collecting six>=1.14.0
  Using cached six-1.15.0-py2.py3-none-any.whl (10 kB)
Collecting filelock>=3.0.0
  Using cached filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting zipp>=0.5
  Using cached zipp-3.4.0-py3-none-any.whl (5.2 kB)
Collecting pyparsing>=2.0.2
  Using cached pyparsing-2.4.7-py2.py3-none-any.whl (67 kB)
Collecting appdirs<2,>=1.4.3
  Using cached appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Installing collected packages: zipp, six, pyparsing, importlib-metadata, filelock, distlib, appdirs, virtualenv, toml, py, protobuf, pluggy, packaging, grpcio, tox, mypy-protobuf, grpcio-tools, future
Successfully installed appdirs-1.4.4 distlib-0.3.1 filelock-3.0.12 future-0.18.2 grpcio-1.35.0 grpcio-tools-1.30.0 importlib-metadata-2.1.1 mypy-protobuf-1.18 packaging-20.9 pluggy-0.13.1 protobuf-3.14.0 py-1.10.0 pyparsing-2.4.7 six-1.15.0 toml-0.10.2 tox-3.20.1 virtualenv-20.4.2 zipp-3.4.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.30.0
  Using cached grpcio_tools-1.30.0-cp38-cp38-manylinux2010_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 grpcio>=1.30.0
  Using cached grpcio-1.35.0-cp38-cp38-manylinux2014_x86_64.whl (4.1 MB)
Collecting protobuf>=3.5.0.post1
  Using cached protobuf-3.14.0-cp38-cp38-manylinux1_x86_64.whl (1.0 MB)
Collecting filelock>=3.0.0
  Using cached filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting pluggy>=0.12.0
  Using cached pluggy-0.13.1-py2.py3-none-any.whl (18 kB)
Collecting six>=1.14.0
  Using cached six-1.15.0-py2.py3-none-any.whl (10 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.4.2-py2.py3-none-any.whl (7.2 MB)
Collecting toml>=0.9.4
  Using cached toml-0.10.2-py2.py3-none-any.whl (16 kB)
Collecting py>=1.4.17
  Using cached py-1.10.0-py2.py3-none-any.whl (97 kB)
Collecting packaging>=14
  Using cached packaging-20.9-py2.py3-none-any.whl (40 kB)
Collecting pyparsing>=2.0.2
  Using cached pyparsing-2.4.7-py2.py3-none-any.whl (67 kB)
Collecting appdirs<2,>=1.4.3
  Using cached appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Installing collected packages: six, pyparsing, filelock, distlib, appdirs, virtualenv, toml, py, protobuf, pluggy, packaging, grpcio, tox, mypy-protobuf, grpcio-tools, future
Successfully installed appdirs-1.4.4 distlib-0.3.1 filelock-3.0.12 future-0.18.2 grpcio-1.35.0 grpcio-tools-1.30.0 mypy-protobuf-1.18 packaging-20.9 pluggy-0.13.1 protobuf-3.14.0 py-1.10.0 pyparsing-2.4.7 six-1.15.0 toml-0.10.2 tox-3.20.1 virtualenv-20.4.2

> 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>:461: UserWarning: Normalizing '2.29.0.dev' to '2.29.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/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: 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.29.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.29.0.dev0.zip,apipkg==1.5,astroid==2.3.3,atomicwrites==1.4.0,attrs==20.3.0,avro-python3==1.9.2.1,certifi==2020.12.5,chardet==4.0.0,crcmod==1.7,deprecation==2.1.0,dill==0.3.1.1,distlib==0.3.1,docker==4.4.1,docopt==0.6.2,execnet==1.8.0,fastavro==1.3.0,flake8==3.5.0,freezegun==1.1.0,future==0.18.2,grpcio==1.35.0,grpcio-tools==1.30.0,hdfs==2.5.8,httplib2==0.17.4,idna==2.10,importlib-metadata==3.4.0,isort==4.2.15,lazy-object-proxy==1.4.3,mccabe==0.6.1,mock==2.0.0,more-itertools==8.6.0,mypy-protobuf==1.18,nose==1.3.7,nose-xunitmp==0.4.1,numpy==1.20.0,oauth2client==4.1.3,packaging==20.9,pandas==1.1.5,parameterized==0.7.5,pbr==5.5.1,pluggy==0.13.1,protobuf==3.14.0,psycopg2-binary==2.8.6,py==1.10.0,pyarrow==2.0.0,pyasn1==0.4.8,pyasn1-modules==0.2.8,pycodestyle==2.3.1,pydot==1.4.1,pyflakes==1.6.0,PyHamcrest==1.10.1,pylint==2.4.3,pymongo==3.11.2,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.1,pytz==2021.1,PyYAML==5.4.1,requests==2.25.1,requests-mock==1.8.0,rsa==4.7,six==1.15.0,SQLAlchemy==1.3.22,tenacity==5.1.5,testcontainers==3.2.0,typed-ast==1.4.2,typing-extensions==3.7.4.3,urllib3==1.26.3,wcwidth==0.2.5,websocket-client==0.57.0,wrapt==1.11.2,zipp==3.4.0>
py37-lint run-test-pre: PYTHONHASHSEED='3407615650'
py37-lint run-test-pre: commands[0] | python --version
Python 3.7.3
py37-lint run-test-pre: commands[1] | pip --version
pip 21.0.1 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, 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  test_config.py
Running pylint...
internal error with sending report for module ['apache_beam/dataframe/frames.py']
maximum recursion depth exceeded while calling a Python object

------------------------------------
Your code has been rated at 10.00/10

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 124 files
Checking unittest.main...
817.91user 26.73system 1:49.82elapsed 769%CPU (0avgtext+0avgdata 610948maxresident)k
0inputs+352outputs (0major+1662611minor)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.29.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.29.0.dev0.zip,avro-python3==1.9.2.1,cachetools==4.2.1,certifi==2020.12.5,cffi==1.14.4,chardet==4.0.0,crcmod==1.7,dill==0.3.1.1,distlib==0.3.1,docopt==0.6.2,fastavro==1.3.0,fasteners==0.16,future==0.18.2,google-api-core==1.25.1,google-apitools==0.5.31,google-auth==1.24.0,google-cloud-bigquery==1.28.0,google-cloud-bigtable==1.6.1,google-cloud-build==2.0.0,google-cloud-core==1.5.0,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-spanner==1.19.1,google-cloud-videointelligence==1.16.1,google-cloud-vision==1.0.0,google-crc32c==1.1.2,google-resumable-media==1.2.0,googleapis-common-protos==1.52.0,grpc-google-iam-v1==0.12.3,grpcio==1.35.0,grpcio-gcp==0.2.2,grpcio-tools==1.30.0,hdfs==2.5.8,httplib2==0.17.4,idna==2.10,libcst==0.3.16,mock==2.0.0,mypy==0.782,mypy-extensions==0.4.3,mypy-protobuf==1.18,numpy==1.20.0,oauth2client==4.1.3,pbr==5.5.1,proto-plus==1.13.0,protobuf==3.14.0,pyarrow==2.0.0,pyasn1==0.4.8,pyasn1-modules==0.2.8,pycparser==2.20,pydot==1.4.1,pymongo==3.11.2,pyparsing==2.4.7,python-dateutil==2.8.1,pytz==2021.1,PyYAML==5.4.1,requests==2.25.1,rsa==4.7,six==1.15.0,typed-ast==1.4.2,typing-extensions==3.7.4.3,typing-inspect==0.6.0,urllib3==1.26.3>
py37-mypy run-test-pre: PYTHONHASHSEED='299391067'
py37-mypy run-test-pre: commands[0] | python --version
Python 3.7.3
py37-mypy run-test-pre: commands[1] | pip --version
pip 21.0.1 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>:461: UserWarning: Normalizing '2.29.0.dev' to '2.29.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 entry points to apache_beam.egg-info/entry_points.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'
writing manifest file 'apache_beam.egg-info/SOURCES.txt'
running build_ext
apache_beam/dataframe/schemas.py:94: error: Module has no attribute "bool"; maybe "bool_" or "bool8"?  [attr-defined]
apache_beam/dataframe/schemas.py:105: error: Module has no attribute "object"; maybe "object_" or "object0"?  [attr-defined]
apache_beam/dataframe/schemas.py:111: error: Module has no attribute "bool"; maybe "bool_" or "bool8"?  [attr-defined]
apache_beam/dataframe/schemas.py:127: error: Argument 1 to "append" of "list" has incompatible type "Type[str]"; expected "Type[floating[Any]]"  [arg-type]
apache_beam/dataframe/schemas.py:185: error: Module has no attribute "object"; maybe "object_" or "object0"?  [attr-defined]
apache_beam/coders/row_coder_test.py:60: error: Argument "age" to "Person" has incompatible type "int"; expected "signedinteger[_32Bit]"  [arg-type]
apache_beam/coders/row_coder_test.py:72: error: Argument 2 to "Person" has incompatible type "int"; expected "signedinteger[_32Bit]"  [arg-type]
apache_beam/coders/row_coder_test.py:82: error: Argument 2 to "Person" has incompatible type "int"; expected "signedinteger[_32Bit]"  [arg-type]
apache_beam/testing/synthetic_pipeline_test.py:41: error: Incompatible types in assignment (expression has type "None", variable has type Module)  [assignment]
apache_beam/dataframe/schemas_test.py:78: error: Module has no attribute "bool"; maybe "bool_" or "bool8"?  [attr-defined]
apache_beam/dataframe/schemas_test.py:79: error: Module has no attribute "object"; maybe "object_" or "object0"?  [attr-defined]
Found 11 errors in 4 files (checked 769 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.8/userguide/command_line_interface.html#sec:command_line_warnings

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

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

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


Build failed in Jenkins: beam_PreCommit_PythonLint_Cron #1936

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

Changes:


------------------------------------------
[...truncated 9.20 KB...]
Collecting importlib-metadata<3,>=0.12
  Using cached importlib_metadata-2.1.1-py2.py3-none-any.whl (10 kB)
Collecting py>=1.4.17
  Using cached py-1.10.0-py2.py3-none-any.whl (97 kB)
Collecting six>=1.14.0
  Using cached six-1.15.0-py2.py3-none-any.whl (10 kB)
Collecting packaging>=14
  Using cached packaging-20.9-py2.py3-none-any.whl (40 kB)
Collecting zipp>=0.5
  Using cached zipp-3.4.0-py3-none-any.whl (5.2 kB)
Collecting pyparsing>=2.0.2
  Using cached pyparsing-2.4.7-py2.py3-none-any.whl (67 kB)
Collecting appdirs<2,>=1.4.3
  Using cached appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Installing collected packages: zipp, six, pyparsing, importlib-metadata, filelock, distlib, appdirs, virtualenv, toml, py, protobuf, pluggy, packaging, grpcio, tox, mypy-protobuf, grpcio-tools, future

> 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.30.0
  Using cached grpcio_tools-1.30.0-cp38-cp38-manylinux2010_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 grpcio>=1.30.0
  Using cached grpcio-1.35.0-cp38-cp38-manylinux2014_x86_64.whl (4.1 MB)
Collecting protobuf>=3.5.0.post1
  Using cached protobuf-3.14.0-cp38-cp38-manylinux1_x86_64.whl (1.0 MB)
Collecting packaging>=14
  Using cached packaging-20.9-py2.py3-none-any.whl (40 kB)
Collecting filelock>=3.0.0
  Using cached filelock-3.0.12-py3-none-any.whl (7.6 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.4.2-py2.py3-none-any.whl (7.2 MB)
Collecting pluggy>=0.12.0
  Using cached pluggy-0.13.1-py2.py3-none-any.whl (18 kB)
Collecting toml>=0.9.4
  Using cached toml-0.10.2-py2.py3-none-any.whl (16 kB)
Collecting py>=1.4.17
  Using cached py-1.10.0-py2.py3-none-any.whl (97 kB)
Collecting six>=1.14.0
  Using cached six-1.15.0-py2.py3-none-any.whl (10 kB)
Collecting pyparsing>=2.0.2
  Using cached pyparsing-2.4.7-py2.py3-none-any.whl (67 kB)
Collecting appdirs<2,>=1.4.3
  Using cached appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Installing collected packages: six, pyparsing, filelock, distlib, appdirs, virtualenv, toml, py, protobuf, pluggy, packaging, grpcio, tox, mypy-protobuf, grpcio-tools, future
Successfully installed appdirs-1.4.4 distlib-0.3.1 filelock-3.0.12 future-0.18.2 grpcio-1.35.0 grpcio-tools-1.30.0 mypy-protobuf-1.18 packaging-20.9 pluggy-0.13.1 protobuf-3.14.0 py-1.10.0 pyparsing-2.4.7 six-1.15.0 toml-0.10.2 tox-3.20.1 virtualenv-20.4.2

> Task :sdks:python:test-suites:tox:py37:setupVirtualenv
Successfully installed appdirs-1.4.4 distlib-0.3.1 filelock-3.0.12 future-0.18.2 grpcio-1.35.0 grpcio-tools-1.30.0 importlib-metadata-2.1.1 mypy-protobuf-1.18 packaging-20.9 pluggy-0.13.1 protobuf-3.14.0 py-1.10.0 pyparsing-2.4.7 six-1.15.0 toml-0.10.2 tox-3.20.1 virtualenv-20.4.2 zipp-3.4.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>:461: UserWarning: Normalizing '2.29.0.dev' to '2.29.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/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: 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.29.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.29.0.dev0.zip,apipkg==1.5,astroid==2.3.3,atomicwrites==1.4.0,attrs==20.3.0,avro-python3==1.9.2.1,certifi==2020.12.5,chardet==4.0.0,crcmod==1.7,deprecation==2.1.0,dill==0.3.1.1,distlib==0.3.1,docker==4.4.1,docopt==0.6.2,execnet==1.8.0,fastavro==1.3.0,flake8==3.5.0,freezegun==1.1.0,future==0.18.2,grpcio==1.35.0,grpcio-tools==1.30.0,hdfs==2.5.8,httplib2==0.17.4,idna==2.10,importlib-metadata==3.4.0,isort==4.2.15,lazy-object-proxy==1.4.3,mccabe==0.6.1,mock==2.0.0,more-itertools==8.6.0,mypy-protobuf==1.18,nose==1.3.7,nose-xunitmp==0.4.1,numpy==1.20.0,oauth2client==4.1.3,packaging==20.9,pandas==1.1.5,parameterized==0.7.5,pbr==5.5.1,pluggy==0.13.1,protobuf==3.14.0,psycopg2-binary==2.8.6,py==1.10.0,pyarrow==2.0.0,pyasn1==0.4.8,pyasn1-modules==0.2.8,pycodestyle==2.3.1,pydot==1.4.1,pyflakes==1.6.0,PyHamcrest==1.10.1,pylint==2.4.3,pymongo==3.11.2,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.1,pytz==2021.1,PyYAML==5.4.1,requests==2.25.1,requests-mock==1.8.0,rsa==4.7,six==1.15.0,SQLAlchemy==1.3.22,tenacity==5.1.5,testcontainers==3.2.0,typed-ast==1.4.2,typing-extensions==3.7.4.3,urllib3==1.26.3,wcwidth==0.2.5,websocket-client==0.57.0,wrapt==1.11.2,zipp==3.4.0>
py37-lint run-test-pre: PYTHONHASHSEED='4059484493'
py37-lint run-test-pre: commands[0] | python --version
Python 3.7.3
py37-lint run-test-pre: commands[1] | pip --version
pip 20.3.3 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, 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  test_config.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 124 files
Checking unittest.main...
1079.63user 36.28system 2:28.31elapsed 752%CPU (0avgtext+0avgdata 571956maxresident)k
0inputs+352outputs (0major+1659499minor)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.29.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.29.0.dev0.zip,avro-python3==1.9.2.1,cachetools==4.2.1,certifi==2020.12.5,cffi==1.14.4,chardet==4.0.0,crcmod==1.7,dill==0.3.1.1,distlib==0.3.1,docopt==0.6.2,fastavro==1.3.0,fasteners==0.16,future==0.18.2,google-api-core==1.25.1,google-apitools==0.5.31,google-auth==1.24.0,google-cloud-bigquery==1.28.0,google-cloud-bigtable==1.6.1,google-cloud-build==2.0.0,google-cloud-core==1.5.0,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-spanner==1.19.1,google-cloud-videointelligence==1.16.1,google-cloud-vision==1.0.0,google-crc32c==1.1.2,google-resumable-media==1.2.0,googleapis-common-protos==1.52.0,grpc-google-iam-v1==0.12.3,grpcio==1.35.0,grpcio-gcp==0.2.2,grpcio-tools==1.30.0,hdfs==2.5.8,httplib2==0.17.4,idna==2.10,libcst==0.3.16,mock==2.0.0,mypy==0.782,mypy-extensions==0.4.3,mypy-protobuf==1.18,numpy==1.20.0,oauth2client==4.1.3,pbr==5.5.1,proto-plus==1.13.0,protobuf==3.14.0,pyarrow==2.0.0,pyasn1==0.4.8,pyasn1-modules==0.2.8,pycparser==2.20,pydot==1.4.1,pymongo==3.11.2,pyparsing==2.4.7,python-dateutil==2.8.1,pytz==2021.1,PyYAML==5.4.1,requests==2.25.1,rsa==4.7,six==1.15.0,typed-ast==1.4.2,typing-extensions==3.7.4.3,typing-inspect==0.6.0,urllib3==1.26.3>
py37-mypy run-test-pre: PYTHONHASHSEED='1600236617'
py37-mypy run-test-pre: commands[0] | python --version
Python 3.7.3
py37-mypy run-test-pre: commands[1] | pip --version
pip 21.0.1 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>:461: UserWarning: Normalizing '2.29.0.dev' to '2.29.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 entry points to apache_beam.egg-info/entry_points.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'
writing manifest file 'apache_beam.egg-info/SOURCES.txt'
running build_ext
apache_beam/dataframe/schemas.py:94: error: Module has no attribute "bool"; maybe "bool_" or "bool8"?  [attr-defined]
apache_beam/dataframe/schemas.py:105: error: Module has no attribute "object"; maybe "object_" or "object0"?  [attr-defined]
apache_beam/dataframe/schemas.py:111: error: Module has no attribute "bool"; maybe "bool_" or "bool8"?  [attr-defined]
apache_beam/dataframe/schemas.py:127: error: Argument 1 to "append" of "list" has incompatible type "Type[str]"; expected "Type[floating[Any]]"  [arg-type]
apache_beam/dataframe/schemas.py:185: error: Module has no attribute "object"; maybe "object_" or "object0"?  [attr-defined]
apache_beam/coders/row_coder_test.py:60: error: Argument "age" to "Person" has incompatible type "int"; expected "signedinteger[_32Bit]"  [arg-type]
apache_beam/coders/row_coder_test.py:72: error: Argument 2 to "Person" has incompatible type "int"; expected "signedinteger[_32Bit]"  [arg-type]
apache_beam/coders/row_coder_test.py:82: error: Argument 2 to "Person" has incompatible type "int"; expected "signedinteger[_32Bit]"  [arg-type]
apache_beam/testing/synthetic_pipeline_test.py:41: error: Incompatible types in assignment (expression has type "None", variable has type Module)  [assignment]
apache_beam/dataframe/schemas_test.py:78: error: Module has no attribute "bool"; maybe "bool_" or "bool8"?  [attr-defined]
apache_beam/dataframe/schemas_test.py:79: error: Module has no attribute "object"; maybe "object_" or "object0"?  [attr-defined]
Found 11 errors in 4 files (checked 769 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.8/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 7m 55s
5 actionable tasks: 5 executed

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

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


Build failed in Jenkins: beam_PreCommit_PythonLint_Cron #1935

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

Changes:


------------------------------------------
[...truncated 9.09 KB...]
Collecting packaging>=14
  Using cached packaging-20.9-py2.py3-none-any.whl (40 kB)
Collecting py>=1.4.17
  Using cached py-1.10.0-py2.py3-none-any.whl (97 kB)
Collecting pluggy>=0.12.0
  Using cached pluggy-0.13.1-py2.py3-none-any.whl (18 kB)
Collecting six>=1.14.0
  Using cached six-1.15.0-py2.py3-none-any.whl (10 kB)
Collecting pyparsing>=2.0.2
  Using cached pyparsing-2.4.7-py2.py3-none-any.whl (67 kB)
Collecting appdirs<2,>=1.4.3
  Using cached appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Installing collected packages: six, pyparsing, filelock, distlib, appdirs, virtualenv, toml, py, protobuf, pluggy, packaging, grpcio, tox, mypy-protobuf, grpcio-tools, future
Successfully installed appdirs-1.4.4 distlib-0.3.1 filelock-3.0.12 future-0.18.2 grpcio-1.35.0 grpcio-tools-1.30.0 mypy-protobuf-1.18 packaging-20.9 pluggy-0.13.1 protobuf-3.14.0 py-1.10.0 pyparsing-2.4.7 six-1.15.0 toml-0.10.2 tox-3.20.1 virtualenv-20.4.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.30.0
  Using cached grpcio_tools-1.30.0-cp37-cp37m-manylinux2010_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 grpcio>=1.30.0
  Using cached grpcio-1.35.0-cp37-cp37m-manylinux2014_x86_64.whl (4.0 MB)
Collecting protobuf>=3.5.0.post1
  Using cached protobuf-3.14.0-cp37-cp37m-manylinux1_x86_64.whl (1.0 MB)
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.4.1-py2.py3-none-any.whl (7.2 MB)
Collecting six>=1.14.0
  Using cached six-1.15.0-py2.py3-none-any.whl (10 kB)
Collecting pluggy>=0.12.0
  Using cached pluggy-0.13.1-py2.py3-none-any.whl (18 kB)
Collecting py>=1.4.17
  Using cached py-1.10.0-py2.py3-none-any.whl (97 kB)
Collecting packaging>=14
  Using cached packaging-20.9-py2.py3-none-any.whl (40 kB)
Collecting filelock>=3.0.0
  Using cached filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting toml>=0.9.4
  Using cached toml-0.10.2-py2.py3-none-any.whl (16 kB)
Collecting importlib-metadata<3,>=0.12
  Using cached importlib_metadata-2.1.1-py2.py3-none-any.whl (10 kB)
Collecting zipp>=0.5
  Using cached zipp-3.4.0-py3-none-any.whl (5.2 kB)
Collecting pyparsing>=2.0.2
  Using cached pyparsing-2.4.7-py2.py3-none-any.whl (67 kB)
Collecting appdirs<2,>=1.4.3
  Using cached appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Installing collected packages: zipp, six, pyparsing, importlib-metadata, filelock, distlib, appdirs, virtualenv, toml, py, protobuf, pluggy, packaging, grpcio, tox, mypy-protobuf, grpcio-tools, future
Successfully installed appdirs-1.4.4 distlib-0.3.1 filelock-3.0.12 future-0.18.2 grpcio-1.35.0 grpcio-tools-1.30.0 importlib-metadata-2.1.1 mypy-protobuf-1.18 packaging-20.9 pluggy-0.13.1 protobuf-3.14.0 py-1.10.0 pyparsing-2.4.7 six-1.15.0 toml-0.10.2 tox-3.20.1 virtualenv-20.4.1 zipp-3.4.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>:461: UserWarning: Normalizing '2.29.0.dev' to '2.29.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/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: 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.29.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.29.0.dev0.zip,apipkg==1.5,astroid==2.3.3,atomicwrites==1.4.0,attrs==20.3.0,avro-python3==1.9.2.1,certifi==2020.12.5,chardet==4.0.0,crcmod==1.7,deprecation==2.1.0,dill==0.3.1.1,distlib==0.3.1,docker==4.4.1,docopt==0.6.2,execnet==1.8.0,fastavro==1.3.0,flake8==3.5.0,freezegun==1.1.0,future==0.18.2,grpcio==1.35.0,grpcio-tools==1.30.0,hdfs==2.5.8,httplib2==0.17.4,idna==2.10,importlib-metadata==3.4.0,isort==4.2.15,lazy-object-proxy==1.4.3,mccabe==0.6.1,mock==2.0.0,more-itertools==8.6.0,mypy-protobuf==1.18,nose==1.3.7,nose-xunitmp==0.4.1,numpy==1.20.0,oauth2client==4.1.3,packaging==20.9,pandas==1.1.5,parameterized==0.7.5,pbr==5.5.1,pluggy==0.13.1,protobuf==3.14.0,psycopg2-binary==2.8.6,py==1.10.0,pyarrow==2.0.0,pyasn1==0.4.8,pyasn1-modules==0.2.8,pycodestyle==2.3.1,pydot==1.4.1,pyflakes==1.6.0,PyHamcrest==1.10.1,pylint==2.4.3,pymongo==3.11.2,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.1,pytz==2020.5,PyYAML==5.4.1,requests==2.25.1,requests-mock==1.8.0,rsa==4.7,six==1.15.0,SQLAlchemy==1.3.22,tenacity==5.1.5,testcontainers==3.2.0,typed-ast==1.4.2,typing-extensions==3.7.4.3,urllib3==1.26.3,wcwidth==0.2.5,websocket-client==0.57.0,wrapt==1.11.2,zipp==3.4.0>
py37-lint run-test-pre: PYTHONHASHSEED='88224568'
py37-lint run-test-pre: commands[0] | python --version
Python 3.7.3
py37-lint run-test-pre: commands[1] | pip --version
pip 20.3.3 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, 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  test_config.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 124 files
Checking unittest.main...
1237.46user 47.52system 3:46.59elapsed 567%CPU (0avgtext+0avgdata 614108maxresident)k
0inputs+352outputs (0major+1670730minor)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.29.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.29.0.dev0.zip,avro-python3==1.9.2.1,cachetools==4.2.1,certifi==2020.12.5,cffi==1.14.4,chardet==4.0.0,crcmod==1.7,dill==0.3.1.1,distlib==0.3.1,docopt==0.6.2,fastavro==1.3.0,fasteners==0.16,future==0.18.2,google-api-core==1.25.1,google-apitools==0.5.31,google-auth==1.24.0,google-cloud-bigquery==1.28.0,google-cloud-bigtable==1.6.1,google-cloud-build==2.0.0,google-cloud-core==1.5.0,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-spanner==1.19.1,google-cloud-videointelligence==1.16.1,google-cloud-vision==1.0.0,google-crc32c==1.1.2,google-resumable-media==1.2.0,googleapis-common-protos==1.52.0,grpc-google-iam-v1==0.12.3,grpcio==1.35.0,grpcio-gcp==0.2.2,grpcio-tools==1.30.0,hdfs==2.5.8,httplib2==0.17.4,idna==2.10,libcst==0.3.16,mock==2.0.0,mypy==0.782,mypy-extensions==0.4.3,mypy-protobuf==1.18,numpy==1.20.0,oauth2client==4.1.3,pbr==5.5.1,proto-plus==1.13.0,protobuf==3.14.0,pyarrow==2.0.0,pyasn1==0.4.8,pyasn1-modules==0.2.8,pycparser==2.20,pydot==1.4.1,pymongo==3.11.2,pyparsing==2.4.7,python-dateutil==2.8.1,pytz==2020.5,PyYAML==5.4.1,requests==2.25.1,rsa==4.7,six==1.15.0,typed-ast==1.4.2,typing-extensions==3.7.4.3,typing-inspect==0.6.0,urllib3==1.26.3>
py37-mypy run-test-pre: PYTHONHASHSEED='3981816225'
py37-mypy run-test-pre: commands[0] | python --version
Python 3.7.3
py37-mypy run-test-pre: commands[1] | pip --version
pip 20.3.3 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>:452: UserWarning: Normalizing '2.29.0.dev' to '2.29.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 entry points to apache_beam.egg-info/entry_points.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'
writing manifest file 'apache_beam.egg-info/SOURCES.txt'
running build_ext
apache_beam/dataframe/schemas.py:94: error: Module has no attribute "bool"; maybe "bool_" or "bool8"?  [attr-defined]
apache_beam/dataframe/schemas.py:105: error: Module has no attribute "object"; maybe "object_" or "object0"?  [attr-defined]
apache_beam/dataframe/schemas.py:111: error: Module has no attribute "bool"; maybe "bool_" or "bool8"?  [attr-defined]
apache_beam/dataframe/schemas.py:127: error: Argument 1 to "append" of "list" has incompatible type "Type[str]"; expected "Type[floating[Any]]"  [arg-type]
apache_beam/dataframe/schemas.py:185: error: Module has no attribute "object"; maybe "object_" or "object0"?  [attr-defined]
apache_beam/coders/row_coder_test.py:60: error: Argument "age" to "Person" has incompatible type "int"; expected "signedinteger[_32Bit]"  [arg-type]
apache_beam/coders/row_coder_test.py:72: error: Argument 2 to "Person" has incompatible type "int"; expected "signedinteger[_32Bit]"  [arg-type]
apache_beam/coders/row_coder_test.py:82: error: Argument 2 to "Person" has incompatible type "int"; expected "signedinteger[_32Bit]"  [arg-type]
apache_beam/testing/synthetic_pipeline_test.py:41: error: Incompatible types in assignment (expression has type "None", variable has type Module)  [assignment]
apache_beam/dataframe/schemas_test.py:78: error: Module has no attribute "bool"; maybe "bool_" or "bool8"?  [attr-defined]
apache_beam/dataframe/schemas_test.py:79: error: Module has no attribute "object"; maybe "object_" or "object0"?  [attr-defined]
Found 11 errors in 4 files (checked 769 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.8/userguide/command_line_interface.html#sec:command_line_warnings

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

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

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


Build failed in Jenkins: beam_PreCommit_PythonLint_Cron #1934

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

Changes:


------------------------------------------
[...truncated 9.01 KB...]
Collecting six>=1.14.0
  Using cached six-1.15.0-py2.py3-none-any.whl (10 kB)
Collecting toml>=0.9.4
  Using cached toml-0.10.2-py2.py3-none-any.whl (16 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.4.1-py2.py3-none-any.whl (7.2 MB)
Collecting packaging>=14
  Using cached packaging-20.9-py2.py3-none-any.whl (40 kB)
Collecting pyparsing>=2.0.2
  Using cached pyparsing-2.4.7-py2.py3-none-any.whl (67 kB)
Collecting appdirs<2,>=1.4.3
  Using cached appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Installing collected packages: six, pyparsing, filelock, distlib, appdirs, virtualenv, toml, py, protobuf, pluggy, packaging, grpcio, tox, mypy-protobuf, grpcio-tools, future
Successfully installed appdirs-1.4.4 distlib-0.3.1 filelock-3.0.12 future-0.18.2 grpcio-1.35.0 grpcio-tools-1.30.0 mypy-protobuf-1.18 packaging-20.9 pluggy-0.13.1 protobuf-3.14.0 py-1.10.0 pyparsing-2.4.7 six-1.15.0 toml-0.10.2 tox-3.20.1 virtualenv-20.4.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.30.0
  Using cached grpcio_tools-1.30.0-cp37-cp37m-manylinux2010_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 grpcio>=1.30.0
  Using cached grpcio-1.35.0-cp37-cp37m-manylinux2014_x86_64.whl (4.0 MB)
Collecting protobuf>=3.5.0.post1
  Using cached protobuf-3.14.0-cp37-cp37m-manylinux1_x86_64.whl (1.0 MB)
Collecting pluggy>=0.12.0
  Using cached pluggy-0.13.1-py2.py3-none-any.whl (18 kB)
Collecting six>=1.14.0
  Using cached six-1.15.0-py2.py3-none-any.whl (10 kB)
Collecting toml>=0.9.4
  Using cached toml-0.10.2-py2.py3-none-any.whl (16 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.4.1-py2.py3-none-any.whl (7.2 MB)
Collecting py>=1.4.17
  Using cached py-1.10.0-py2.py3-none-any.whl (97 kB)
Collecting filelock>=3.0.0
  Using cached filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting packaging>=14
  Using cached packaging-20.9-py2.py3-none-any.whl (40 kB)
Collecting importlib-metadata<3,>=0.12
  Using cached importlib_metadata-2.1.1-py2.py3-none-any.whl (10 kB)
Collecting zipp>=0.5
  Using cached zipp-3.4.0-py3-none-any.whl (5.2 kB)
Collecting pyparsing>=2.0.2
  Using cached pyparsing-2.4.7-py2.py3-none-any.whl (67 kB)
Collecting appdirs<2,>=1.4.3
  Using cached appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Installing collected packages: zipp, six, pyparsing, importlib-metadata, filelock, distlib, appdirs, virtualenv, toml, py, protobuf, pluggy, packaging, grpcio, tox, mypy-protobuf, grpcio-tools, future
Successfully installed appdirs-1.4.4 distlib-0.3.1 filelock-3.0.12 future-0.18.2 grpcio-1.35.0 grpcio-tools-1.30.0 importlib-metadata-2.1.1 mypy-protobuf-1.18 packaging-20.9 pluggy-0.13.1 protobuf-3.14.0 py-1.10.0 pyparsing-2.4.7 six-1.15.0 toml-0.10.2 tox-3.20.1 virtualenv-20.4.1 zipp-3.4.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>:461: UserWarning: Normalizing '2.29.0.dev' to '2.29.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/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: 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.29.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.29.0.dev0.zip,apipkg==1.5,astroid==2.3.3,atomicwrites==1.4.0,attrs==20.3.0,avro-python3==1.9.2.1,certifi==2020.12.5,chardet==4.0.0,crcmod==1.7,deprecation==2.1.0,dill==0.3.1.1,distlib==0.3.1,docker==4.4.1,docopt==0.6.2,execnet==1.8.0,fastavro==1.3.0,flake8==3.5.0,freezegun==1.1.0,future==0.18.2,grpcio==1.35.0,grpcio-tools==1.30.0,hdfs==2.5.8,httplib2==0.17.4,idna==2.10,importlib-metadata==3.4.0,isort==4.2.15,lazy-object-proxy==1.4.3,mccabe==0.6.1,mock==2.0.0,more-itertools==8.6.0,mypy-protobuf==1.18,nose==1.3.7,nose-xunitmp==0.4.1,numpy==1.20.0,oauth2client==4.1.3,packaging==20.9,pandas==1.1.5,parameterized==0.7.5,pbr==5.5.1,pluggy==0.13.1,protobuf==3.14.0,psycopg2-binary==2.8.6,py==1.10.0,pyarrow==2.0.0,pyasn1==0.4.8,pyasn1-modules==0.2.8,pycodestyle==2.3.1,pydot==1.4.1,pyflakes==1.6.0,PyHamcrest==1.10.1,pylint==2.4.3,pymongo==3.11.2,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.1,pytz==2020.5,PyYAML==5.4.1,requests==2.25.1,requests-mock==1.8.0,rsa==4.7,six==1.15.0,SQLAlchemy==1.3.22,tenacity==5.1.5,testcontainers==3.2.0,typed-ast==1.4.2,typing-extensions==3.7.4.3,urllib3==1.26.3,wcwidth==0.2.5,websocket-client==0.57.0,wrapt==1.11.2,zipp==3.4.0>
py37-lint run-test-pre: PYTHONHASHSEED='669415124'
py37-lint run-test-pre: commands[0] | python --version
Python 3.7.3
py37-lint run-test-pre: commands[1] | pip --version
pip 20.3.3 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, 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  test_config.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 124 files
Checking unittest.main...
1285.12user 41.10system 3:43.38elapsed 593%CPU (0avgtext+0avgdata 588868maxresident)k
344inputs+352outputs (0major+1654857minor)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.29.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.29.0.dev0.zip,avro-python3==1.9.2.1,cachetools==4.2.1,certifi==2020.12.5,cffi==1.14.4,chardet==4.0.0,crcmod==1.7,dill==0.3.1.1,distlib==0.3.1,docopt==0.6.2,fastavro==1.3.0,fasteners==0.16,future==0.18.2,google-api-core==1.25.1,google-apitools==0.5.31,google-auth==1.24.0,google-cloud-bigquery==1.28.0,google-cloud-bigtable==1.6.1,google-cloud-build==2.0.0,google-cloud-core==1.5.0,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-spanner==1.19.1,google-cloud-videointelligence==1.16.1,google-cloud-vision==1.0.0,google-crc32c==1.1.2,google-resumable-media==1.2.0,googleapis-common-protos==1.52.0,grpc-google-iam-v1==0.12.3,grpcio==1.35.0,grpcio-gcp==0.2.2,grpcio-tools==1.30.0,hdfs==2.5.8,httplib2==0.17.4,idna==2.10,libcst==0.3.16,mock==2.0.0,mypy==0.782,mypy-extensions==0.4.3,mypy-protobuf==1.18,numpy==1.20.0,oauth2client==4.1.3,pbr==5.5.1,proto-plus==1.13.0,protobuf==3.14.0,pyarrow==2.0.0,pyasn1==0.4.8,pyasn1-modules==0.2.8,pycparser==2.20,pydot==1.4.1,pymongo==3.11.2,pyparsing==2.4.7,python-dateutil==2.8.1,pytz==2020.5,PyYAML==5.4.1,requests==2.25.1,rsa==4.7,six==1.15.0,typed-ast==1.4.2,typing-extensions==3.7.4.3,typing-inspect==0.6.0,urllib3==1.26.3>
py37-mypy run-test-pre: PYTHONHASHSEED='3440780806'
py37-mypy run-test-pre: commands[0] | python --version
Python 3.7.3
py37-mypy run-test-pre: commands[1] | pip --version
pip 20.3.3 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>:452: UserWarning: Normalizing '2.29.0.dev' to '2.29.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 entry points to apache_beam.egg-info/entry_points.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'
writing manifest file 'apache_beam.egg-info/SOURCES.txt'
running build_ext
apache_beam/dataframe/schemas.py:94: error: Module has no attribute "bool"; maybe "bool_" or "bool8"?  [attr-defined]
apache_beam/dataframe/schemas.py:105: error: Module has no attribute "object"; maybe "object_" or "object0"?  [attr-defined]
apache_beam/dataframe/schemas.py:111: error: Module has no attribute "bool"; maybe "bool_" or "bool8"?  [attr-defined]
apache_beam/dataframe/schemas.py:127: error: Argument 1 to "append" of "list" has incompatible type "Type[str]"; expected "Type[floating[Any]]"  [arg-type]
apache_beam/dataframe/schemas.py:185: error: Module has no attribute "object"; maybe "object_" or "object0"?  [attr-defined]
apache_beam/coders/row_coder_test.py:60: error: Argument "age" to "Person" has incompatible type "int"; expected "signedinteger[_32Bit]"  [arg-type]
apache_beam/coders/row_coder_test.py:72: error: Argument 2 to "Person" has incompatible type "int"; expected "signedinteger[_32Bit]"  [arg-type]
apache_beam/coders/row_coder_test.py:82: error: Argument 2 to "Person" has incompatible type "int"; expected "signedinteger[_32Bit]"  [arg-type]
apache_beam/testing/synthetic_pipeline_test.py:41: error: Incompatible types in assignment (expression has type "None", variable has type Module)  [assignment]
apache_beam/dataframe/schemas_test.py:78: error: Module has no attribute "bool"; maybe "bool_" or "bool8"?  [attr-defined]
apache_beam/dataframe/schemas_test.py:79: error: Module has no attribute "object"; maybe "object_" or "object0"?  [attr-defined]
Found 11 errors in 4 files (checked 769 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.8/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 8m 27s
5 actionable tasks: 5 executed

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

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


Build failed in Jenkins: beam_PreCommit_PythonLint_Cron #1933

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

Changes:


------------------------------------------
[...truncated 9.12 KB...]
Collecting importlib-metadata<3,>=0.12
  Using cached importlib_metadata-2.1.1-py2.py3-none-any.whl (10 kB)
Collecting packaging>=14
  Using cached packaging-20.9-py2.py3-none-any.whl (40 kB)
Collecting six>=1.14.0
  Using cached six-1.15.0-py2.py3-none-any.whl (10 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.4.1-py2.py3-none-any.whl (7.2 MB)
Collecting zipp>=0.5
  Using cached zipp-3.4.0-py3-none-any.whl (5.2 kB)
Collecting pyparsing>=2.0.2
  Using cached pyparsing-2.4.7-py2.py3-none-any.whl (67 kB)
Collecting appdirs<2,>=1.4.3
  Using cached appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Installing collected packages: zipp, six, pyparsing, importlib-metadata, filelock, distlib, appdirs, virtualenv, toml, py, protobuf, pluggy, packaging, grpcio, tox, mypy-protobuf, grpcio-tools, future

> 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.30.0
  Using cached grpcio_tools-1.30.0-cp38-cp38-manylinux2010_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 grpcio>=1.30.0
  Using cached grpcio-1.35.0-cp38-cp38-manylinux2014_x86_64.whl (4.1 MB)
Collecting protobuf>=3.5.0.post1
  Using cached protobuf-3.14.0-cp38-cp38-manylinux1_x86_64.whl (1.0 MB)
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.4.1-py2.py3-none-any.whl (7.2 MB)
Collecting filelock>=3.0.0
  Using cached filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting pluggy>=0.12.0
  Using cached pluggy-0.13.1-py2.py3-none-any.whl (18 kB)
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)
Collecting six>=1.14.0
  Using cached six-1.15.0-py2.py3-none-any.whl (10 kB)
Collecting packaging>=14
  Using cached packaging-20.9-py2.py3-none-any.whl (40 kB)
Collecting pyparsing>=2.0.2
  Using cached pyparsing-2.4.7-py2.py3-none-any.whl (67 kB)
Collecting appdirs<2,>=1.4.3
  Using cached appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Installing collected packages: six, pyparsing, filelock, distlib, appdirs, virtualenv, toml, py, protobuf, pluggy, packaging, grpcio, tox, mypy-protobuf, grpcio-tools, future
Successfully installed appdirs-1.4.4 distlib-0.3.1 filelock-3.0.12 future-0.18.2 grpcio-1.35.0 grpcio-tools-1.30.0 mypy-protobuf-1.18 packaging-20.9 pluggy-0.13.1 protobuf-3.14.0 py-1.10.0 pyparsing-2.4.7 six-1.15.0 toml-0.10.2 tox-3.20.1 virtualenv-20.4.1

> Task :sdks:python:test-suites:tox:py37:setupVirtualenv
Successfully installed appdirs-1.4.4 distlib-0.3.1 filelock-3.0.12 future-0.18.2 grpcio-1.35.0 grpcio-tools-1.30.0 importlib-metadata-2.1.1 mypy-protobuf-1.18 packaging-20.9 pluggy-0.13.1 protobuf-3.14.0 py-1.10.0 pyparsing-2.4.7 six-1.15.0 toml-0.10.2 tox-3.20.1 virtualenv-20.4.1 zipp-3.4.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>:461: UserWarning: Normalizing '2.29.0.dev' to '2.29.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/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: 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.29.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.29.0.dev0.zip,apipkg==1.5,astroid==2.3.3,atomicwrites==1.4.0,attrs==20.3.0,avro-python3==1.9.2.1,certifi==2020.12.5,chardet==4.0.0,crcmod==1.7,deprecation==2.1.0,dill==0.3.1.1,distlib==0.3.1,docker==4.4.1,docopt==0.6.2,execnet==1.8.0,fastavro==1.3.0,flake8==3.5.0,freezegun==1.1.0,future==0.18.2,grpcio==1.35.0,grpcio-tools==1.30.0,hdfs==2.5.8,httplib2==0.17.4,idna==2.10,importlib-metadata==3.4.0,isort==4.2.15,lazy-object-proxy==1.4.3,mccabe==0.6.1,mock==2.0.0,more-itertools==8.6.0,mypy-protobuf==1.18,nose==1.3.7,nose-xunitmp==0.4.1,numpy==1.20.0,oauth2client==4.1.3,packaging==20.9,pandas==1.1.5,parameterized==0.7.5,pbr==5.5.1,pluggy==0.13.1,protobuf==3.14.0,psycopg2-binary==2.8.6,py==1.10.0,pyarrow==2.0.0,pyasn1==0.4.8,pyasn1-modules==0.2.8,pycodestyle==2.3.1,pydot==1.4.1,pyflakes==1.6.0,PyHamcrest==1.10.1,pylint==2.4.3,pymongo==3.11.2,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.1,pytz==2020.5,PyYAML==5.4.1,requests==2.25.1,requests-mock==1.8.0,rsa==4.7,six==1.15.0,SQLAlchemy==1.3.22,tenacity==5.1.5,testcontainers==3.2.0,typed-ast==1.4.2,typing-extensions==3.7.4.3,urllib3==1.26.3,wcwidth==0.2.5,websocket-client==0.57.0,wrapt==1.11.2,zipp==3.4.0>
py37-lint run-test-pre: PYTHONHASHSEED='299621982'
py37-lint run-test-pre: commands[0] | python --version
Python 3.7.3
py37-lint run-test-pre: commands[1] | pip --version
pip 20.3.3 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, 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  test_config.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 124 files
Checking unittest.main...
1148.43user 37.23system 3:01.32elapsed 653%CPU (0avgtext+0avgdata 597824maxresident)k
0inputs+352outputs (0major+1676346minor)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.29.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.29.0.dev0.zip,avro-python3==1.9.2.1,cachetools==4.2.1,certifi==2020.12.5,cffi==1.14.4,chardet==4.0.0,crcmod==1.7,dill==0.3.1.1,distlib==0.3.1,docopt==0.6.2,fastavro==1.3.0,fasteners==0.16,future==0.18.2,google-api-core==1.25.1,google-apitools==0.5.31,google-auth==1.24.0,google-cloud-bigquery==1.28.0,google-cloud-bigtable==1.6.1,google-cloud-build==2.0.0,google-cloud-core==1.5.0,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-spanner==1.19.1,google-cloud-videointelligence==1.16.1,google-cloud-vision==1.0.0,google-crc32c==1.1.2,google-resumable-media==1.2.0,googleapis-common-protos==1.52.0,grpc-google-iam-v1==0.12.3,grpcio==1.35.0,grpcio-gcp==0.2.2,grpcio-tools==1.30.0,hdfs==2.5.8,httplib2==0.17.4,idna==2.10,libcst==0.3.16,mock==2.0.0,mypy==0.782,mypy-extensions==0.4.3,mypy-protobuf==1.18,numpy==1.20.0,oauth2client==4.1.3,pbr==5.5.1,proto-plus==1.13.0,protobuf==3.14.0,pyarrow==2.0.0,pyasn1==0.4.8,pyasn1-modules==0.2.8,pycparser==2.20,pydot==1.4.1,pymongo==3.11.2,pyparsing==2.4.7,python-dateutil==2.8.1,pytz==2020.5,PyYAML==5.4.1,requests==2.25.1,rsa==4.7,six==1.15.0,typed-ast==1.4.2,typing-extensions==3.7.4.3,typing-inspect==0.6.0,urllib3==1.26.3>
py37-mypy run-test-pre: PYTHONHASHSEED='1494256519'
py37-mypy run-test-pre: commands[0] | python --version
Python 3.7.3
py37-mypy run-test-pre: commands[1] | pip --version
pip 20.3.3 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>:452: UserWarning: Normalizing '2.29.0.dev' to '2.29.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 entry points to apache_beam.egg-info/entry_points.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'
writing manifest file 'apache_beam.egg-info/SOURCES.txt'
running build_ext
apache_beam/dataframe/schemas.py:94: error: Module has no attribute "bool"; maybe "bool_" or "bool8"?  [attr-defined]
apache_beam/dataframe/schemas.py:105: error: Module has no attribute "object"; maybe "object_" or "object0"?  [attr-defined]
apache_beam/dataframe/schemas.py:111: error: Module has no attribute "bool"; maybe "bool_" or "bool8"?  [attr-defined]
apache_beam/dataframe/schemas.py:127: error: Argument 1 to "append" of "list" has incompatible type "Type[str]"; expected "Type[floating[Any]]"  [arg-type]
apache_beam/dataframe/schemas.py:185: error: Module has no attribute "object"; maybe "object_" or "object0"?  [attr-defined]
apache_beam/coders/row_coder_test.py:60: error: Argument "age" to "Person" has incompatible type "int"; expected "signedinteger[_32Bit]"  [arg-type]
apache_beam/coders/row_coder_test.py:72: error: Argument 2 to "Person" has incompatible type "int"; expected "signedinteger[_32Bit]"  [arg-type]
apache_beam/coders/row_coder_test.py:82: error: Argument 2 to "Person" has incompatible type "int"; expected "signedinteger[_32Bit]"  [arg-type]
apache_beam/testing/synthetic_pipeline_test.py:41: error: Incompatible types in assignment (expression has type "None", variable has type Module)  [assignment]
apache_beam/dataframe/schemas_test.py:78: error: Module has no attribute "bool"; maybe "bool_" or "bool8"?  [attr-defined]
apache_beam/dataframe/schemas_test.py:79: error: Module has no attribute "object"; maybe "object_" or "object0"?  [attr-defined]
Found 11 errors in 4 files (checked 769 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.8/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 8m 0s
5 actionable tasks: 5 executed

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

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