See 
<https://ci-beam.apache.org/job/beam_PreCommit_Whitespace_Cron/3684/display/redirect>

Changes:


------------------------------------------
[...truncated 837 B...]
 > git --version # timeout=10
 > git --version # 'git version 2.25.1'
 > git fetch --no-tags --force --progress --depth=1 -- 
 > https://github.com/apache/beam.git +refs/heads/*:refs/remotes/origin/* # 
 > timeout=10
 > git config remote.origin.url https://github.com/apache/beam.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # 
 > timeout=10
 > git config remote.origin.url https://github.com/apache/beam.git # timeout=10
Using shallow fetch with depth 1
Fetching upstream changes from https://github.com/apache/beam.git
 > git fetch --no-tags --force --progress --depth=1 -- 
 > https://github.com/apache/beam.git +refs/heads/*:refs/remotes/origin/* 
 > +refs/pull/${ghprbPullId}/*:refs/remotes/origin/pr/${ghprbPullId}/* # 
 > timeout=10
 > git rev-parse origin/master^{commit} # timeout=10
Checking out Revision ddae966f3346fbe247486324cbf8a8a532895316 (origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f ddae966f3346fbe247486324cbf8a8a532895316 # timeout=10
Commit message: "[25949] Add csv and file-schema-transform modules to 
PreCommit_Java_IO checks (#25951)"
 > git rev-list --no-walk 40ca181ebeade2a386798c67da924d63348b5aac # timeout=10
First time build. Skipping changelog.
No emails were triggered.
[EnvInject] - Executing scripts and injecting environment variables after the 
SCM step.
[EnvInject] - Injecting as environment variables the properties content 
SETUPTOOLS_USE_DISTUTILS=stdlib
SPARK_LOCAL_IP=127.0.0.1

[EnvInject] - Variables injected successfully.
[Gradle] - Launching build.
[src] $ 
<https://ci-beam.apache.org/job/beam_PreCommit_Whitespace_Cron/ws/src/gradlew> 
--continue --max-workers=8 -Dorg.gradle.jvmargs=-Xms2g 
-Dorg.gradle.jvmargs=-Xmx6g -Dorg.gradle.vfs.watch=false -Pdocker-pull-licenses 
:whitespacePreCommit
To honour the JVM settings for this build a single-use Daemon process will be 
forked. See 
https://docs.gradle.org/7.5.1/userguide/gradle_daemon.html#sec:disabling_the_daemon.
Daemon will be stopped at the end of the build 
Configuration on demand is an incubating feature.
> Task :buildSrc:compileJava NO-SOURCE
> Task :buildSrc:compileGroovy FROM-CACHE
> Task :buildSrc:pluginDescriptors
> Task :buildSrc:processResources
> Task :buildSrc:classes
> Task :buildSrc:jar
> Task :buildSrc:assemble
> Task :buildSrc:spotlessGroovy FROM-CACHE
> Task :buildSrc:spotlessGroovyCheck UP-TO-DATE
> Task :buildSrc:spotlessGroovyGradle FROM-CACHE
> Task :buildSrc:spotlessGroovyGradleCheck UP-TO-DATE
> Task :buildSrc:spotlessCheck UP-TO-DATE
> Task :buildSrc:pluginUnderTestMetadata
> Task :buildSrc:compileTestJava NO-SOURCE
> Task :buildSrc:compileTestGroovy NO-SOURCE
> Task :buildSrc:processTestResources NO-SOURCE
> Task :buildSrc:testClasses UP-TO-DATE
> Task :buildSrc:test NO-SOURCE
> Task :buildSrc:validatePlugins FROM-CACHE
> Task :buildSrc:check UP-TO-DATE
> Task :buildSrc:build
> Task :sdks:python:test-suites:tox:py38:cleanPython

> Task :sdks:python:test-suites:tox:py38:archiveFilesToLint
Execution optimizations have been disabled for task 
':sdks:python:test-suites:tox:py38:archiveFilesToLint' to ensure correctness 
due to the following reasons:
  - Gradle detected a problem with the following location: 
'<https://ci-beam.apache.org/job/beam_PreCommit_Whitespace_Cron/ws/src'.> 
Reason: Task ':sdks:python:test-suites:tox:py38:archiveFilesToLint' uses this 
output of task ':sdks:python:setupVirtualenv' without declaring an explicit or 
implicit dependency. This can lead to incorrect results being produced, 
depending on what order the tasks are executed. Please refer to 
https://docs.gradle.org/7.5.1/userguide/validation_problems.html#implicit_dependency
 for more details about this problem.

> Task :sdks:python:test-suites:tox:py38:unpackFilesToLint

> Task :sdks:python:setupVirtualenv
Collecting pip
  Using cached pip-23.0.1-py3-none-any.whl (2.1 MB)
Installing collected packages: pip
  Attempting uninstall: pip
    Found existing installation: pip 20.0.2
    Uninstalling pip-20.0.2:
      Successfully uninstalled pip-20.0.2
Successfully installed pip-23.0.1
Collecting tox==3.20.1
  Using cached tox-3.20.1-py2.py3-none-any.whl (83 kB)
Requirement already satisfied: setuptools in 
<https://ci-beam.apache.org/job/beam_PreCommit_Whitespace_Cron/ws/src/build/gradleenv/1922375555/lib/python3.8/site-packages>
 (from -r 
<https://ci-beam.apache.org/job/beam_PreCommit_Whitespace_Cron/ws/src/sdks/python/build-requirements.txt>
 (line 20)) (44.0.0)
Collecting setuptools
  Using cached setuptools-67.6.0-py3-none-any.whl (1.1 MB)
Collecting wheel>=0.36.0
  Using cached wheel-0.40.0-py3-none-any.whl (64 kB)
Collecting grpcio-tools==1.51.3
  Using cached 
grpcio_tools-1.51.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl 
(2.4 MB)
Collecting mypy-protobuf==3.4.0
  Using cached mypy_protobuf-3.4.0-py3-none-any.whl (15 kB)
Collecting distlib==0.3.6
  Using cached distlib-0.3.6-py2.py3-none-any.whl (468 kB)
Collecting numpy<1.25,>=1.14.3
  Using cached 
numpy-1.24.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.3 MB)
Collecting six>=1.14.0
  Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting 
virtualenv!=20.0.0,!=20.0.1,!=20.0.2,!=20.0.3,!=20.0.4,!=20.0.5,!=20.0.6,!=20.0.7,>=16.0.0
  Using cached virtualenv-20.21.0-py3-none-any.whl (8.7 MB)
Collecting packaging>=14
  Using cached packaging-23.0-py3-none-any.whl (42 kB)
Collecting py>=1.4.17
  Using cached py-1.11.0-py2.py3-none-any.whl (98 kB)
Collecting toml>=0.9.4
  Using cached toml-0.10.2-py2.py3-none-any.whl (16 kB)
Collecting pluggy>=0.12.0
  Using cached pluggy-1.0.0-py2.py3-none-any.whl (13 kB)
Collecting filelock>=3.0.0
  Using cached filelock-3.10.2-py3-none-any.whl (10.0 kB)
Collecting grpcio>=1.51.3
  Using cached 
grpcio-1.51.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.8 MB)
Collecting protobuf<5.0dev,>=4.21.6
  Using cached protobuf-4.22.1-cp37-abi3-manylinux2014_x86_64.whl (302 kB)
Collecting types-protobuf>=3.20.4
  Using cached types_protobuf-4.22.0.0-py3-none-any.whl (61 kB)
Collecting platformdirs<4,>=2.4
  Using cached platformdirs-3.1.1-py3-none-any.whl (14 kB)
Installing collected packages: types-protobuf, distlib, wheel, toml, six, 
setuptools, py, protobuf, pluggy, platformdirs, packaging, numpy, grpcio, 
filelock, virtualenv, 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 distlib-0.3.6 filelock-3.10.2 grpcio-1.51.3 
grpcio-tools-1.51.3 mypy-protobuf-3.4.0 numpy-1.24.2 packaging-23.0 
platformdirs-3.1.1 pluggy-1.0.0 protobuf-4.22.1 py-1.11.0 setuptools-67.6.0 
six-1.16.0 toml-0.10.2 tox-3.20.1 types-protobuf-4.22.0.0 virtualenv-20.21.0 
wheel-0.40.0

> Task :sdks:python:test-suites:tox:py38:setupVirtualenv
Collecting pip
  Using cached pip-23.0.1-py3-none-any.whl (2.1 MB)
Installing collected packages: pip
  Attempting uninstall: pip
    Found existing installation: pip 20.0.2
    Uninstalling pip-20.0.2:
      Successfully uninstalled pip-20.0.2
Successfully installed pip-23.0.1
Collecting tox==3.20.1
  Using cached tox-3.20.1-py2.py3-none-any.whl (83 kB)
Requirement already satisfied: setuptools in 
<https://ci-beam.apache.org/job/beam_PreCommit_Whitespace_Cron/ws/src/build/gradleenv/-1227304282/lib/python3.8/site-packages>
 (from -r 
<https://ci-beam.apache.org/job/beam_PreCommit_Whitespace_Cron/ws/src/sdks/python/build-requirements.txt>
 (line 20)) (44.0.0)
Collecting setuptools
  Using cached setuptools-67.6.0-py3-none-any.whl (1.1 MB)
Collecting wheel>=0.36.0
  Using cached wheel-0.40.0-py3-none-any.whl (64 kB)
Collecting grpcio-tools==1.51.3
  Using cached 
grpcio_tools-1.51.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl 
(2.4 MB)
Collecting mypy-protobuf==3.4.0
  Using cached mypy_protobuf-3.4.0-py3-none-any.whl (15 kB)
Collecting distlib==0.3.6
  Using cached distlib-0.3.6-py2.py3-none-any.whl (468 kB)
Collecting numpy<1.25,>=1.14.3
  Using cached 
numpy-1.24.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.3 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.21.0-py3-none-any.whl (8.7 MB)
Collecting py>=1.4.17
  Using cached py-1.11.0-py2.py3-none-any.whl (98 kB)
Collecting packaging>=14
  Using cached packaging-23.0-py3-none-any.whl (42 kB)
Collecting six>=1.14.0
  Using cached six-1.16.0-py2.py3-none-any.whl (11 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.10.2-py3-none-any.whl (10.0 kB)
Collecting pluggy>=0.12.0
  Using cached pluggy-1.0.0-py2.py3-none-any.whl (13 kB)
Collecting grpcio>=1.51.3
  Using cached 
grpcio-1.51.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.8 MB)
Collecting protobuf<5.0dev,>=4.21.6
  Using cached protobuf-4.22.1-cp37-abi3-manylinux2014_x86_64.whl (302 kB)
Collecting types-protobuf>=3.20.4
  Using cached types_protobuf-4.22.0.0-py3-none-any.whl (61 kB)
Collecting platformdirs<4,>=2.4
  Using cached platformdirs-3.1.1-py3-none-any.whl (14 kB)
Installing collected packages: types-protobuf, distlib, wheel, toml, six, 
setuptools, py, protobuf, pluggy, platformdirs, packaging, numpy, grpcio, 
filelock, virtualenv, 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 distlib-0.3.6 filelock-3.10.2 grpcio-1.51.3 
grpcio-tools-1.51.3 mypy-protobuf-3.4.0 numpy-1.24.2 packaging-23.0 
platformdirs-3.1.1 pluggy-1.0.0 protobuf-4.22.1 py-1.11.0 setuptools-67.6.0 
six-1.16.0 toml-0.10.2 tox-3.20.1 types-protobuf-4.22.0.0 virtualenv-20.21.0 
wheel-0.40.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_Whitespace_Cron/ws/src/build/gradleenv/1922375555/lib/python3.8/site-packages/setuptools/dist.py>:547:
 UserWarning: Normalizing '2.47.0.dev' to '2.47.0.dev0'
  warnings.warn(tmpl.format(**locals()))
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:py38:whitespacelint
GLOB sdist-make: 
<https://ci-beam.apache.org/job/beam_PreCommit_Whitespace_Cron/ws/src/sdks/python/test-suites/tox/py38/build/srcs/sdks/python/setup.py>
whitespacelint create: 
<https://ci-beam.apache.org/job/beam_PreCommit_Whitespace_Cron/ws/src/sdks/python/test-suites/tox/py38/build/srcs/sdks/python/target/.tox-whitespacelint/whitespacelint>
whitespacelint installdeps: whitespacelint==1.1.0
whitespacelint inst: 
<https://ci-beam.apache.org/job/beam_PreCommit_Whitespace_Cron/ws/src/sdks/python/test-suites/tox/py38/build/srcs/sdks/python/target/.tox-whitespacelint/.tmp/package/1/apache-beam-2.47.0.dev0.zip>
whitespacelint installed: apache-beam @ 
file://<https://ci-beam.apache.org/job/beam_PreCommit_Whitespace_Cron/ws/src/sdks/python/test-suites/tox/py38/build/srcs/sdks/python/target/.tox-whitespacelint/.tmp/package/1/apache-beam-2.47.0.dev0.zip,attrs==22.2.0,certifi==2022.12.7,cffi==1.15.1,charset-normalizer==3.1.0,cloudpickle==2.2.1,crcmod==1.7,cryptography==39.0.2,deprecation==2.1.0,dill==0.3.1.1,dnspython==2.3.0,docker==6.0.1,docopt==0.6.2,exceptiongroup==1.1.1,execnet==1.9.0,fastavro==1.7.3,fasteners==0.18,freezegun==1.2.2,greenlet==2.0.2,grpcio==1.51.3,hdfs==2.7.0,httplib2==0.21.0,hypothesis==6.70.0,idna==3.4,iniconfig==2.0.0,joblib==1.2.0,mock==5.0.1,numpy==1.24.2,objsize==0.6.1,orjson==3.8.8,packaging==23.0,pandas==1.5.3,parameterized==0.8.1,pluggy==1.0.0,proto-plus==1.22.2,protobuf==4.22.1,psycopg2-binary==2.9.5,pyarrow==9.0.0,pycparser==2.21,pydot==1.4.2,PyHamcrest==1.10.1,pymongo==4.3.3,PyMySQL==1.0.2,pyparsing==3.0.9,pytest==7.2.2,pytest-timeout==2.1.0,pytest-xdist==3.2.1,python-dateutil==2.8.2,pytz==2022.7.1,PyYAML==6.0,regex==2023.3.23,requests==2.28.2,requests-mock==1.10.0,scikit-learn==1.2.2,scipy==1.10.1,six==1.16.0,sortedcontainers==2.4.0,SQLAlchemy==1.4.47,tenacity==5.1.5,testcontainers==3.7.1,threadpoolctl==3.1.0,tomli==2.0.1,typing_extensions==4.5.0,urllib3==1.26.15,websocket-client==1.5.1,whitespacelint==1.1.0,wrapt==1.15.0,zstandard==0.20.0>
whitespacelint run-test-pre: PYTHONHASHSEED='1063727844'
whitespacelint run-test-pre: commands[0] | python --version
Python 3.8.10
whitespacelint run-test-pre: commands[1] | pip --version
pip 23.0.1 from 
<https://ci-beam.apache.org/job/beam_PreCommit_Whitespace_Cron/ws/src/sdks/python/test-suites/tox/py38/build/srcs/sdks/python/target/.tox-whitespacelint/whitespacelint/lib/python3.8/site-packages/pip>
 (python 3.8)
whitespacelint run-test-pre: commands[2] | pip check
No broken requirements found.
whitespacelint run-test-pre: commands[3] | bash 
<https://ci-beam.apache.org/job/beam_PreCommit_Whitespace_Cron/ws/src/sdks/python/test-suites/tox/py38/build/srcs/sdks/python/scripts/run_tox_cleanup.sh>
whitespacelint run-test: commands[0] | time 
<https://ci-beam.apache.org/job/beam_PreCommit_Whitespace_Cron/ws/src/sdks/python/test-suites/tox/py38/build/srcs/sdks/python/scripts/run_whitespacelint.sh>
<https://ci-beam.apache.org/job/beam_PreCommit_Whitespace_Cron/ws/src/sdks/python/test-suites/tox/py38/build/files-to-whitespacelint>
 
<https://ci-beam.apache.org/job/beam_PreCommit_Whitespace_Cron/ws/src/sdks/python/test-suites/tox/py38/build/srcs/sdks/python>
Running whitespacelint...
./CHANGES.md:70:92: W201 Trailing whitespace
====================================================================================================
Whitespacelint has found above issues.
You can open the file with vim and remove trailing whitespaces by:
vim -es -c ":%s/\s\+$//e" -c ":wq" "./CHANGES.md"
====================================================================================================
<https://ci-beam.apache.org/job/beam_PreCommit_Whitespace_Cron/ws/src/sdks/python/test-suites/tox/py38/build/srcs/sdks/python>
Command exited with non-zero status 1
31.45user 9.07system 0:40.29elapsed 100%CPU (0avgtext+0avgdata 
12380maxresident)k
0inputs+0outputs (0major+1517425minor)pagefaults 0swaps
ERROR: InvocationError for command /usr/bin/time 
scripts/run_whitespacelint.sh (exited with code 1)
whitespacelint run-test-post: commands[0] | bash 
<https://ci-beam.apache.org/job/beam_PreCommit_Whitespace_Cron/ws/src/sdks/python/test-suites/tox/py38/build/srcs/sdks/python/scripts/run_tox_cleanup.sh>
___________________________________ summary 
____________________________________
ERROR:   whitespacelint: commands failed

> Task :sdks:python:test-suites:tox:py38:whitespacelint FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':sdks:python:test-suites:tox:py38:whitespacelint'.
> 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.

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

Deprecated Gradle features were used in this build, making it incompatible with 
Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings 
and determine if they come from your own scripts or plugins.

See 
https://docs.gradle.org/7.5.1/userguide/command_line_interface.html#sec:command_line_warnings

Execution optimizations have been disabled for 1 invalid unit(s) of work during 
this build to ensure correctness.
Please consult deprecation warnings for more details.

BUILD FAILED in 1m 51s
17 actionable tasks: 11 executed, 4 from cache, 2 up-to-date

Publishing build scan...
https://gradle.com/s/2fd5ll6axw7b4

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]

Reply via email to