See
<https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/5346/display/redirect>
Changes:
------------------------------------------
[...truncated 8.59 KB...]
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 152.0/152.0 kB 4.8 MB/s eta 0:00:00
Requirement already satisfied: setuptools in
<https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/build/gradleenv/1922375555/lib/python3.8/site-packages>
(from -r
<https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/build-requirements.txt>
(line 20)) (44.0.0)
Collecting setuptools (from -r
<https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/build-requirements.txt>
(line 20))
Using cached setuptools-67.8.0-py3-none-any.whl (1.1 MB)
Collecting wheel>=0.36.0 (from -r
<https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/build-requirements.txt>
(line 21))
Using cached wheel-0.40.0-py3-none-any.whl (64 kB)
Collecting grpcio-tools==1.53.0 (from -r
<https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/build-requirements.txt>
(line 22))
Using cached
grpcio_tools-1.53.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
(2.4 MB)
Collecting mypy-protobuf==3.4.0 (from -r
<https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/build-requirements.txt>
(line 23))
Using cached mypy_protobuf-3.4.0-py3-none-any.whl (15 kB)
Collecting distlib==0.3.6 (from -r
<https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/build-requirements.txt>
(line 25))
Using cached distlib-0.3.6-py2.py3-none-any.whl (468 kB)
Collecting numpy<1.25,>=1.14.3 (from -r
<https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/build-requirements.txt>
(line 28))
Using cached
numpy-1.24.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.3 MB)
Collecting protobuf<5.0dev,>=4.21.6 (from grpcio-tools==1.53.0->-r
<https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/build-requirements.txt>
(line 22))
Using cached protobuf-4.23.3-cp37-abi3-manylinux2014_x86_64.whl (304 kB)
Collecting grpcio>=1.53.0 (from grpcio-tools==1.53.0->-r
<https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/build-requirements.txt>
(line 22))
Using cached
grpcio-1.54.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.1 MB)
Collecting types-protobuf>=3.20.4 (from mypy-protobuf==3.4.0->-r
<https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/build-requirements.txt>
(line 23))
Using cached types_protobuf-4.23.0.1-py3-none-any.whl (61 kB)
Collecting cachetools>=5.3.1 (from tox)
Using cached cachetools-5.3.1-py3-none-any.whl (9.3 kB)
Collecting chardet>=5.1 (from tox)
Using cached chardet-5.1.0-py3-none-any.whl (199 kB)
Collecting colorama>=0.4.6 (from tox)
Using cached colorama-0.4.6-py2.py3-none-any.whl (25 kB)
Collecting filelock>=3.12.2 (from tox)
Using cached filelock-3.12.2-py3-none-any.whl (10 kB)
Collecting packaging>=23.1 (from tox)
Using cached packaging-23.1-py3-none-any.whl (48 kB)
Collecting platformdirs>=3.5.3 (from tox)
Using cached platformdirs-3.5.3-py3-none-any.whl (15 kB)
Collecting pluggy>=1 (from tox)
Using cached pluggy-1.0.0-py2.py3-none-any.whl (13 kB)
Collecting pyproject-api>=1.5.1 (from tox)
Using cached pyproject_api-1.5.2-py3-none-any.whl (12 kB)
Collecting tomli>=2.0.1 (from tox)
Using cached tomli-2.0.1-py3-none-any.whl (12 kB)
Collecting virtualenv>=20.23 (from tox)
Using cached virtualenv-20.23.0-py3-none-any.whl (3.3 MB)
Installing collected packages: types-protobuf, distlib, wheel, tomli,
setuptools, protobuf, pluggy, platformdirs, packaging, numpy, grpcio, filelock,
colorama, chardet, cachetools, virtualenv, pyproject-api, mypy-protobuf,
grpcio-tools, tox
Attempting uninstall: setuptools
Found existing installation: setuptools 44.0.0
Uninstalling setuptools-44.0.0:
Successfully uninstalled setuptools-44.0.0
Successfully installed cachetools-5.3.1 chardet-5.1.0 colorama-0.4.6
distlib-0.3.6 filelock-3.12.2 grpcio-1.54.2 grpcio-tools-1.53.0
mypy-protobuf-3.4.0 numpy-1.24.3 packaging-23.1 platformdirs-3.5.3 pluggy-1.0.0
protobuf-4.23.3 pyproject-api-1.5.2 setuptools-67.8.0 tomli-2.0.1 tox-4.6.1
types-protobuf-4.23.0.1 virtualenv-20.23.0 wheel-0.40.0
> Task :sdks:python:test-suites:tox:py37:setupVirtualenv
Collecting pip
Using cached pip-23.1.2-py3-none-any.whl (2.1 MB)
Installing collected packages: pip
Attempting uninstall: pip
Found existing installation: pip 20.1.1
Uninstalling pip-20.1.1:
Successfully uninstalled pip-20.1.1
Successfully installed pip-23.1.2
Collecting tox
Using cached tox-4.6.1-py3-none-any.whl (151 kB)
Requirement already satisfied: setuptools in
<https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/build/gradleenv/-1227304283/lib/python3.7/site-packages>
(from -r
<https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/build-requirements.txt>
(line 20)) (47.1.0)
Collecting setuptools (from -r
<https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/build-requirements.txt>
(line 20))
Using cached setuptools-67.8.0-py3-none-any.whl (1.1 MB)
Collecting wheel>=0.36.0 (from -r
<https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/build-requirements.txt>
(line 21))
Using cached wheel-0.40.0-py3-none-any.whl (64 kB)
Collecting grpcio-tools==1.53.0 (from -r
<https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/build-requirements.txt>
(line 22))
Using cached
grpcio_tools-1.53.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
(2.4 MB)
Collecting mypy-protobuf==3.4.0 (from -r
<https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/build-requirements.txt>
(line 23))
Using cached mypy_protobuf-3.4.0-py3-none-any.whl (15 kB)
Collecting distlib==0.3.6 (from -r
<https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/build-requirements.txt>
(line 25))
Using cached distlib-0.3.6-py2.py3-none-any.whl (468 kB)
Collecting numpy<1.25,>=1.14.3 (from -r
<https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/build-requirements.txt>
(line 28))
Using cached
numpy-1.21.6-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (15.7 MB)
Collecting protobuf<5.0dev,>=4.21.6 (from grpcio-tools==1.53.0->-r
<https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/build-requirements.txt>
(line 22))
Using cached protobuf-4.23.3-cp37-abi3-manylinux2014_x86_64.whl (304 kB)
Collecting grpcio>=1.53.0 (from grpcio-tools==1.53.0->-r
<https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/build-requirements.txt>
(line 22))
Using cached
grpcio-1.54.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.1 MB)
Collecting types-protobuf>=3.20.4 (from mypy-protobuf==3.4.0->-r
<https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/build-requirements.txt>
(line 23))
Using cached types_protobuf-4.23.0.1-py3-none-any.whl (61 kB)
Collecting cachetools>=5.3.1 (from tox)
Using cached cachetools-5.3.1-py3-none-any.whl (9.3 kB)
Collecting chardet>=5.1 (from tox)
Using cached chardet-5.1.0-py3-none-any.whl (199 kB)
Collecting colorama>=0.4.6 (from tox)
Using cached colorama-0.4.6-py2.py3-none-any.whl (25 kB)
Collecting filelock>=3.12.2 (from tox)
Using cached filelock-3.12.2-py3-none-any.whl (10 kB)
Collecting importlib-metadata>=6.6 (from tox)
Using cached importlib_metadata-6.6.0-py3-none-any.whl (22 kB)
Collecting packaging>=23.1 (from tox)
Using cached packaging-23.1-py3-none-any.whl (48 kB)
Collecting platformdirs>=3.5.3 (from tox)
Using cached platformdirs-3.5.3-py3-none-any.whl (15 kB)
Collecting pluggy>=1 (from tox)
Using cached pluggy-1.0.0-py2.py3-none-any.whl (13 kB)
Collecting pyproject-api>=1.5.1 (from tox)
Using cached pyproject_api-1.5.2-py3-none-any.whl (12 kB)
Collecting tomli>=2.0.1 (from tox)
Using cached tomli-2.0.1-py3-none-any.whl (12 kB)
Collecting typing-extensions>=4.6.3 (from tox)
Using cached typing_extensions-4.6.3-py3-none-any.whl (31 kB)
Collecting virtualenv>=20.23 (from tox)
Using cached virtualenv-20.23.0-py3-none-any.whl (3.3 MB)
Collecting zipp>=0.5 (from importlib-metadata>=6.6->tox)
Using cached zipp-3.15.0-py3-none-any.whl (6.8 kB)
Installing collected packages: types-protobuf, distlib, zipp, wheel,
typing-extensions, tomli, setuptools, protobuf, packaging, numpy, grpcio,
filelock, colorama, chardet, cachetools, pyproject-api, platformdirs,
mypy-protobuf, importlib-metadata, grpcio-tools, virtualenv, pluggy, tox
Attempting uninstall: setuptools
Found existing installation: setuptools 47.1.0
Uninstalling setuptools-47.1.0:
Successfully uninstalled setuptools-47.1.0
Successfully installed cachetools-5.3.1 chardet-5.1.0 colorama-0.4.6
distlib-0.3.6 filelock-3.12.2 grpcio-1.54.2 grpcio-tools-1.53.0
importlib-metadata-6.6.0 mypy-protobuf-3.4.0 numpy-1.21.6 packaging-23.1
platformdirs-3.5.3 pluggy-1.0.0 protobuf-4.23.3 pyproject-api-1.5.2
setuptools-67.8.0 tomli-2.0.1 tox-4.6.1 types-protobuf-4.23.0.1
typing-extensions-4.6.3 virtualenv-20.23.0 wheel-0.40.0 zipp-3.15.0
> Task :sdks:python:sdist
org/apache/beam/model/interactive/v1/beam_interactive_api.proto:36:1: warning:
Import google/protobuf/timestamp.proto is unused.
Writing mypy to org/apache/beam/model/pipeline/v1/external_transforms_pb2.pyi
Writing mypy to org/apache/beam/model/pipeline/v1/beam_runner_api_pb2.pyi
Writing mypy to org/apache/beam/model/pipeline/v1/standard_window_fns_pb2.pyi
Writing mypy to org/apache/beam/model/pipeline/v1/metrics_pb2.pyi
Writing mypy to org/apache/beam/model/pipeline/v1/endpoints_pb2.pyi
Writing mypy to org/apache/beam/model/pipeline/v1/schema_pb2.pyi
Writing mypy to
org/apache/beam/model/job_management/v1/beam_artifact_api_pb2.pyi
Writing mypy to
org/apache/beam/model/job_management/v1/beam_expansion_api_pb2.pyi
Writing mypy to org/apache/beam/model/job_management/v1/beam_job_api_pb2.pyi
Writing mypy to org/apache/beam/model/fn_execution/v1/beam_provision_api_pb2.pyi
Writing mypy to org/apache/beam/model/fn_execution/v1/beam_fn_api_pb2.pyi
Writing mypy to
org/apache/beam/model/interactive/v1/beam_interactive_api_pb2.pyi
<https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/build/gradleenv/1922375555/lib/python3.8/site-packages/setuptools/dist.py>:519:
InformationOnly: Normalizing '2.49.0.dev' to '2.49.0.dev0'
self.metadata.version = self._normalize_version(
warning: no files found matching 'README.md'
warning: no files found matching 'NOTICE'
warning: no files found matching 'LICENSE'
warning: no files found matching 'LICENSE.python'
warning: sdist: standard file not found: should have one of README, README.rst,
README.txt, README.md
> Task :sdks:python:test-suites:tox:py37:lintPy37
.pkg: remove tox env folder
<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/.pkg>
py37-lint: install_deps> target/.tox-py37-lint/py37-lint/bin/python
<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/bin/pip>
install --retries 10 --pre 'astroid<2.9,>=2.8.0' flake8==4.0.1 isort==4.2.15
pycodestyle==2.8.0 pylint==2.11.1 -r build-requirements.txt
.pkg: install_requires> python -I -m pip install 'setuptools>=40.8.0' wheel
.pkg: _optional_hooks> python
<https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/build/gradleenv/-1227304283/lib/python3.7/site-packages/pyproject_api/_backend.py>
True setuptools.build_meta __legacy__
.pkg: get_requires_for_build_sdist> python
<https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/build/gradleenv/-1227304283/lib/python3.7/site-packages/pyproject_api/_backend.py>
True setuptools.build_meta __legacy__
.pkg: freeze> python -m pip freeze --all
.pkg: pip==23.1.2,setuptools==67.7.2,wheel==0.40.0
.pkg: prepare_metadata_for_build_wheel> python
<https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/build/gradleenv/-1227304283/lib/python3.7/site-packages/pyproject_api/_backend.py>
True setuptools.build_meta __legacy__
.pkg: build_sdist> python
<https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/build/gradleenv/-1227304283/lib/python3.7/site-packages/pyproject_api/_backend.py>
True setuptools.build_meta __legacy__
py37-lint: install_package_deps> target/.tox-py37-lint/py37-lint/bin/python
<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/bin/pip>
install --retries 10 --pre 'cloudpickle~=2.2.1' 'crcmod<2.0,>=1.7'
'cryptography>=36.0.0' 'dill<0.3.2,>=0.3.1.1' 'fastavro<2,>=0.23.6'
'fasteners<1.0,>=0.3' 'freezegun>=0.3.12' 'grpcio!=1.48.0,<2,>=1.33.1'
'hdfs<3.0.0,>=2.1.0' 'httplib2<0.23.0,>=0.8' 'hypothesis<=7.0.0,>5.0.0'
'joblib>=1.0.1' 'mock<6.0.0,>=1.0.1' 'numpy<1.25.0,>=1.14.3'
'objsize<0.7.0,>=0.6.1' 'orjson<4.0' 'pandas!=1.5.0,!=1.5.1,<1.6,>=1.4.3;
python_version >= "3.8"' 'pandas<1.6.0; python_version == "3.7"' 'pandas<2.0.0'
'parameterized<0.10.0,>=0.7.1' 'proto-plus<2,>=1.7.1'
'protobuf<4.24.0,>=3.20.3' 'psycopg2-binary<3.0.0,>=2.8.5'
'pyarrow<12.0.0,>=3.0.0' 'pydot<2,>=1.2.0' 'pyhamcrest!=1.10.0,<3.0.0,>=1.9'
'pymongo<5.0.0,>=3.8.0' 'pytest-timeout<3,>=2.1.0' 'pytest-xdist<4,>=2.5.0'
'pytest<8.0,>=7.1.2' 'python-dateutil<3,>=2.8.0' 'pytz>=2018.3'
'pyyaml<7.0.0,>=3.12' 'regex>=2020.6.8' 'requests-mock<2.0,>=1.7'
'requests<3.0.0,>=2.24.0' 'scikit-learn>=0.20.0' 'sqlalchemy<2.0,>=1.3'
'tenacity<9,>=8.0.0' 'testcontainers[mysql]<4.0.0,>=3.0.3'
'typing-extensions>=3.7.0' 'zstandard<1,>=0.18.0'
py37-lint: install_package> target/.tox-py37-lint/py37-lint/bin/python
<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/bin/pip>
install --retries 10 --pre --force-reinstall --no-deps
<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.49.0.dev0.tar.gz>
py37-lint: freeze> target/.tox-py37-lint/py37-lint/bin/python
<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/bin/pip>
freeze
py37-lint: 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.49.0.dev0.tar.gz>#sha256=2f5d8dc7c2cf1bdcf7a68134b579da27a7e3fdd6d5afb87ae3a6cb482738ac24,astroid==2.8.6,attrs==23.1.0,certifi==2023.5.7,cffi==1.15.1,charset-normalizer==3.1.0,cloudpickle==2.2.1,crcmod==1.7,cryptography==41.0.1,deprecation==2.1.0,dill==0.3.1.1,distlib==0.3.6,dnspython==2.3.0,docker==6.1.3,docopt==0.6.2,exceptiongroup==1.1.1,execnet==1.9.0,fastavro==1.7.4,fasteners==0.18,flake8==4.0.1,freezegun==1.2.2,greenlet==2.0.2,grpcio==1.56.0rc2,grpcio-tools==1.53.0,hdfs==2.7.0,httplib2==0.22.0,hypothesis==6.78.3,idna==3.4,importlib-metadata==4.2.0,iniconfig==2.0.0,isort==4.2.15,joblib==1.2.0,lazy-object-proxy==1.9.0,mccabe==0.6.1,mock==5.0.2,mypy-protobuf==3.4.0,numpy==1.21.6,objsize==0.6.1,orjson==3.9.1,packaging==23.1,pandas==1.3.5,parameterized==0.9.0,platformdirs==3.5.3,pluggy==1.0.0,proto-plus==1.22.2,protobuf==4.23.3,psycopg2-binary==2.9.6,pyarrow==11.0.0,pycodestyle==2.8.0,pycparser==2.21,pydot==1.4.2,pyflakes==2.4.0,PyHamcrest==2.0.4,pylint==2.11.1,pymongo==4.4.0b0,PyMySQL==1.1.0rc2,pyparsing==3.1.0b2,pytest==7.3.2,pytest-timeout==2.1.0,pytest-xdist==3.3.1,python-dateutil==2.8.2,pytz==2023.3,PyYAML==6.0,regex==2023.6.3,requests==2.31.0,requests-mock==1.11.0,scikit-learn==1.0.2,scipy==1.7.3,six==1.16.0,sortedcontainers==2.4.0,SQLAlchemy==1.4.48,tenacity==8.2.2,testcontainers==3.7.1,threadpoolctl==3.1.0,toml==0.10.2,tomli==2.0.1,typed-ast==1.5.4,types-protobuf==4.23.0.1,typing_extensions==4.6.3,urllib3==2.0.3,websocket-client==1.5.3,wrapt==1.13.3,zipp==3.15.0,zstandard==0.21.0
py37-lint: commands_pre[0]> python --version
Python 3.7.12
py37-lint: commands_pre[1]> pip --version
pip 23.1.2 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: commands_pre[2]> pip check
No broken requirements found.
py37-lint: commands_pre[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: commands[0]> pylint --version
PYLINTHOME is now '/home/jenkins/.cache/pylint' but obsolescent
'/home/jenkins/.pylint.d' is found; you can safely remove the latter
pylint 2.11.1
astroid 2.8.6
Python 3.7.12 (default, Jan 15 2022, 18:42:10)
[GCC 9.3.0]
py37-lint: 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_interactive_api_pb2_grpc.py,
beam_interactive_api_pb2.py, beam_fn_api_pb2_grpc.py,
beam_provision_api_pb2.py, beam_provision_api_pb2_grpc.py, beam_fn_api_pb2.py,
external_transforms_pb2_urns.py, metrics_pb2.py, endpoints_pb2.py,
metrics_pb2_urns.py, schema_pb2.py, beam_runner_api_pb2_urns.py,
schema_pb2_grpc.py, standard_window_fns_pb2_urns.py, metrics_pb2_grpc.py,
beam_runner_api_pb2_grpc.py, endpoints_pb2_grpc.py,
external_transforms_pb2_grpc.py, standard_window_fns_pb2.py,
standard_window_fns_pb2_grpc.py, schema_pb2_urns.py,
external_transforms_pb2.py, beam_runner_api_pb2.py, beam_artifact_api_pb2.py,
beam_expansion_api_pb2.py, beam_expansion_api_pb2_grpc.py,
beam_job_api_pb2_grpc.py, beam_artifact_api_pb2_urns.py, beam_job_api_pb2.py,
beam_artifact_api_pb2_grpc.py
Linting modules:
apache_beam conftest.py gen_protos.py setup.py
Running pylint...
************* Module apache_beam.yaml.readme_test
apache_beam/yaml/readme_test.py:229:42: E1133: Non-iterable value code_lines is
used in an iterating context (not-an-iterable)
--------------------------------------------------------------------
Your code has been rated at 10.00/10 (previous run: 10.00/10, -0.00)
Command exited with non-zero status 2
493.87user 14.15system 1:06.99elapsed 758%CPU (0avgtext+0avgdata
703712maxresident)k
72inputs+504outputs (3major+1842690minor)pagefaults 0swaps
py37-lint: exit 2 (67.00 seconds)
<https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python>>
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>
pid=2474154
py37-lint: commands_post[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>
.pkg: _exit> python
<https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/build/gradleenv/-1227304283/lib/python3.7/site-packages/pyproject_api/_backend.py>
True setuptools.build_meta __legacy__
py37-lint: FAIL code 2
(129.04=setup[59.93]+cmd[0.01,0.36,1.14,0.04,0.54,67.00,0.02] seconds)
evaluation failed :( (129.28 seconds)
> Task :sdks:python:test-suites:tox:py37:lintPy37 FAILED
> Task :sdks:python:test-suites:tox:py37:mypyPy37
.pkg: remove tox env folder
<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/.pkg>
py37-mypy: install_deps> target/.tox-py37-mypy/py37-mypy/bin/python
<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/pip>
install --retries 10 --pre dask==2022.01.0 distributed==2022.01.0 mypy==0.790
-r build-requirements.txt
.pkg: install_requires> python -I -m pip install 'setuptools>=40.8.0' wheel
.pkg: _optional_hooks> python
<https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/build/gradleenv/-1227304283/lib/python3.7/site-packages/pyproject_api/_backend.py>
True setuptools.build_meta __legacy__
.pkg: get_requires_for_build_sdist> python
<https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/build/gradleenv/-1227304283/lib/python3.7/site-packages/pyproject_api/_backend.py>
True setuptools.build_meta __legacy__
.pkg: freeze> python -m pip freeze --all
.pkg: pip==23.1.2,setuptools==67.7.2,wheel==0.40.0
.pkg: prepare_metadata_for_build_wheel> python
<https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/build/gradleenv/-1227304283/lib/python3.7/site-packages/pyproject_api/_backend.py>
True setuptools.build_meta __legacy__
.pkg: build_sdist> python
<https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/build/gradleenv/-1227304283/lib/python3.7/site-packages/pyproject_api/_backend.py>
True setuptools.build_meta __legacy__
py37-mypy: install_package_deps> target/.tox-py37-mypy/py37-mypy/bin/python
<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/pip>
install --retries 10 --pre 'cachetools<6,>=3.1.0' 'cloudpickle~=2.2.1'
'crcmod<2.0,>=1.7' 'dill<0.3.2,>=0.3.1.1' 'fastavro<2,>=0.23.6'
'fasteners<1.0,>=0.3' 'google-apitools<0.5.32,>=0.5.31'
'google-auth-httplib2<0.2.0,>=0.1.0' 'google-auth<3,>=1.18.0'
'google-cloud-bigquery-storage<3,>=2.6.3' 'google-cloud-bigquery<4,>=2.0.0'
'google-cloud-bigtable<2.18.0,>=2.0.0' 'google-cloud-core<3,>=2.0.0'
'google-cloud-datastore<3,>=2.0.0' 'google-cloud-dlp<4,>=3.0.0'
'google-cloud-language<3,>=2.0' 'google-cloud-pubsub<3,>=2.1.0'
'google-cloud-pubsublite<2,>=1.2.0'
'google-cloud-recommendations-ai<0.11.0,>=0.1.0'
'google-cloud-spanner<4,>=3.0.0' 'google-cloud-videointelligence<3,>=2.0'
'google-cloud-vision<4,>=2' 'grpcio!=1.48.0,<2,>=1.33.1' 'hdfs<3.0.0,>=2.1.0'
'httplib2<0.23.0,>=0.8' 'numpy<1.25.0,>=1.14.3' 'objsize<0.7.0,>=0.6.1'
'orjson<4.0' 'proto-plus<2,>=1.7.1' 'protobuf<4.24.0,>=3.20.3'
'pyarrow<12.0.0,>=3.0.0' 'pydot<2,>=1.2.0' 'pymongo<5.0.0,>=3.8.0'
'python-dateutil<3,>=2.8.0' 'pytz>=2018.3' 'regex>=2020.6.8'
'requests<3.0.0,>=2.24.0' 'typing-extensions>=3.7.0' 'zstandard<1,>=0.18.0'
py37-mypy: install_package> target/.tox-py37-mypy/py37-mypy/bin/python
<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/pip>
install --retries 10 --pre --force-reinstall --no-deps
<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.49.0.dev0.tar.gz>
py37-mypy: freeze> target/.tox-py37-mypy/py37-mypy/bin/python
<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/pip>
freeze
py37-mypy: 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.49.0.dev0.tar.gz>#sha256=4676c8c2a7c8e8a968024e2aff996bae9483ecb711f1cbe06410a21ee7481551,cachetools==5.3.1,certifi==2023.5.7,charset-normalizer==3.1.0,click==8.1.3,cloudpickle==2.2.1,crcmod==1.7,dask==2022.1.0,dill==0.3.1.1,distlib==0.3.6,distributed==2022.1.0,dnspython==2.3.0,docopt==0.6.2,fastavro==1.7.4,fasteners==0.18,fsspec==2023.1.0,google-api-core==2.11.1,google-apitools==0.5.31,google-auth==2.20.0,google-auth-httplib2==0.1.0,google-cloud-bigquery==3.11.1,google-cloud-bigquery-storage==2.20.0,google-cloud-bigtable==2.17.0,google-cloud-core==2.3.2,google-cloud-datastore==2.15.2,google-cloud-dlp==3.12.1,google-cloud-language==2.10.0,google-cloud-pubsub==2.17.1,google-cloud-pubsublite==1.7.0,google-cloud-recommendations-ai==0.10.3,google-cloud-spanner==3.36.0,google-cloud-videointelligence==2.11.2,google-cloud-vision==3.4.2,google-crc32c==1.5.0,google-resumable-media==2.5.0,googleapis-common-protos==1.59.1,grpc-google-iam-v1==0.12.6,grpcio==1.56.0rc2,grpcio-status==1.56.0rc2,grpcio-tools==1.53.0,hdfs==2.7.0,HeapDict==1.0.1,httplib2==0.22.0,idna==3.4,importlib-metadata==6.6.0,Jinja2==3.1.2,locket==1.0.0,MarkupSafe==2.1.3,msgpack==1.0.5,mypy==0.790,mypy-extensions==0.4.4,mypy-protobuf==3.4.0,numpy==1.21.6,oauth2client==4.1.3,objsize==0.6.1,orjson==3.9.1,overrides==6.5.0,packaging==23.1,partd==1.4.0,proto-plus==1.22.2,protobuf==4.23.3,psutil==5.9.5,pyarrow==11.0.0,pyasn1==0.5.0,pyasn1-modules==0.3.0,pydot==1.4.2,pymongo==4.4.0b0,pyparsing==3.1.0b2,python-dateutil==2.8.2,pytz==2023.3,PyYAML==6.0,regex==2023.6.3,requests==2.31.0,rsa==4.9,six==1.16.0,sortedcontainers==2.4.0,sqlparse==0.4.4,tblib==1.7.0,toolz==0.12.0,tornado==6.2,typed-ast==1.4.3,types-protobuf==4.23.0.1,typing_extensions==4.6.3,urllib3==1.26.16,zict==2.2.0,zipp==3.15.0,zstandard==0.21.0
py37-mypy: commands_pre[0]> python --version
Python 3.7.12
py37-mypy: commands_pre[1]> pip --version
pip 23.1.2 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: commands_pre[2]> pip check
No broken requirements found.
py37-mypy: commands_pre[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: commands[0]> mypy --version
mypy 0.790
py37-mypy: commands[1]> python setup.py mypy
running mypy
running egg_info
writing apache_beam.egg-info/PKG-INFO
writing dependency_links to apache_beam.egg-info/dependency_links.txt
writing requirements to apache_beam.egg-info/requires.txt
writing top-level names to apache_beam.egg-info/top_level.txt
reading manifest file 'apache_beam.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
<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>:520:
InformationOnly: Normalizing '2.49.0.dev' to '2.49.0.dev0'
self._validate_version(self.metadata.version)
warning: no files found matching 'README.md'
warning: no files found matching 'NOTICE'
warning: no files found matching 'LICENSE'
warning: no files found matching 'LICENSE.python'
writing manifest file 'apache_beam.egg-info/SOURCES.txt'
running build_ext
Success: no issues found in 1059 source files
py37-mypy: commands_post[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>
.pkg: _exit> python
<https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/build/gradleenv/-1227304283/lib/python3.7/site-packages/pyproject_api/_backend.py>
True setuptools.build_meta __legacy__
py37-mypy: OK (122.80=setup[46.71]+cmd[0.01,0.38,1.08,0.03,0.25,74.32,0.02]
seconds)
congratulations :) (123.04 seconds)
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':sdks:python:test-suites:tox:py37:lintPy37'.
> Process 'command 'sh'' finished with non-zero exit value 2
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
* Get more help at https://help.gradle.org
BUILD FAILED in 4m 41s
15 actionable tasks: 9 executed, 4 from cache, 2 up-to-date
Publishing build scan...
https://ge.apache.org/s/iyijuablk5ldq
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]