See 
<https://ci-beam.apache.org/job/beam_PreCommit_PythonDocker_Cron/2810/display/redirect?page=changes>

Changes:

[noreply] [BEAM-11934] Add enable_file_dynamic_sharding to allow DataflowRunner

[noreply] [BEAM-12777] Create symlink for `current` directory (#17105)

[noreply] [BEAM-14020] Adding SchemaTransform, SchemaTransformProvider,

[noreply] [BEAM-13015] Modify metrics to begin and reset to a non-dirty state.

[noreply] [BEAM-14112] Avoid storing a generator in _CustomBigQuerySource 
(#17100)


------------------------------------------
[...truncated 1.62 MB...]
PyMySQL==1.0.2
pyparsing==2.4.7
pytest==4.6.11
pytest-forked==1.4.0
pytest-timeout==1.4.2
pytest-xdist==1.34.0
python-dateutil==2.8.2
python-snappy==0.6.1
pytz==2021.3
PyYAML==6.0
regex==2022.3.2
requests==2.27.1
requests-mock==1.9.3
requests-oauthlib==1.3.1
rsa==4.8
scikit-learn==0.24.2
scipy==1.5.4
setuptools==57.5.0
six==1.15.0
soupsieve==2.3.1
SQLAlchemy==1.4.31
tenacity==5.1.5
tensorboard==2.6.0
tensorboard-data-server==0.6.1
tensorboard-plugin-wit==1.8.1
tensorflow==2.6.2
tensorflow-estimator==2.6.0
termcolor==1.1.0
testcontainers==3.4.2
threadpoolctl==3.1.0
tqdm==4.63.0
typing-extensions==3.7.4.3
typing-inspect==0.7.1
typing-utils==0.1.0
uritemplate==4.1.1
urllib3==1.26.8
wcwidth==0.2.5
websocket-client==1.3.1
Werkzeug==2.0.3
wheel==0.37.0
wrapt==1.12.1
zipp==3.6.0
Removing intermediate container bc3054bb5276
 ---> 1c613f495a59
Step 16/31 : COPY target/LICENSE /opt/apache/beam/
 ---> a1d4ed90836b
Step 17/31 : COPY target/LICENSE.python /opt/apache/beam/
 ---> eb3247d1443b
Step 18/31 : COPY target/NOTICE /opt/apache/beam/
 ---> b1116406a3cb
Step 19/31 : COPY target/launcher/linux_amd64/boot /opt/apache/beam/
 ---> 0b257a770439
Step 20/31 : ENTRYPOINT ["/opt/apache/beam/boot"]
 ---> Running in d71beddb5495
Removing intermediate container d71beddb5495
 ---> e7ae01445d65
Step 21/31 : FROM beam as third_party_licenses
 ---> e7ae01445d65
Step 22/31 : ARG pull_licenses
 ---> Running in db92aad86853
Removing intermediate container db92aad86853
 ---> 0cead5b5636a
Step 23/31 : COPY target/license_scripts /tmp/license_scripts/
 ---> 0ac15fbc1e3d
Step 24/31 : COPY target/LICENSE target/go-licenses/* 
/opt/apache/beam/third_party_licenses/golang/
 ---> ef4ee5e064a0
Step 25/31 : RUN rm /opt/apache/beam/third_party_licenses/golang/LICENSE
 ---> Running in 937aad27a3b3
Removing intermediate container 937aad27a3b3
 ---> 6a936e685e17
Step 26/31 : COPY target/license_scripts /tmp/license_scripts/
 ---> afd10944d0a8
Step 27/31 : RUN if [ "$pull_licenses" = "true" ] ; then       pip install 
'pip-licenses<3.0.0' pyyaml tenacity &&       python 
/tmp/license_scripts/pull_licenses_py.py ;     fi
 ---> Running in f64c7c68c7a3
Collecting pip-licenses<3.0.0
  Downloading pip_licenses-2.3.0-py3-none-any.whl (14 kB)
Requirement already satisfied: pyyaml in /usr/local/lib/python3.6/site-packages 
(6.0)
Requirement already satisfied: tenacity in 
/usr/local/lib/python3.6/site-packages (5.1.5)
Collecting PTable
  Downloading PTable-0.9.2.tar.gz (31 kB)
Requirement already satisfied: six>=1.9.0 in 
/usr/local/lib/python3.6/site-packages (from tenacity) (1.15.0)
Building wheels for collected packages: PTable
  Building wheel for PTable (setup.py): started
  Building wheel for PTable (setup.py): finished with status 'done'
  Created wheel for PTable: filename=PTable-0.9.2-py3-none-any.whl size=22924 
sha256=33e604af5c2aa80ddeef8b28a4748afabf038874da470e872c96471c03e1fbea
  Stored in directory: 
/root/.cache/pip/wheels/f3/65/67/71f473ec87ea4554d1bdfb1b5128cfe1414c2b113b72a1ee8e
Successfully built PTable
Installing collected packages: PTable, pip-licenses
Successfully installed PTable-0.9.2 pip-licenses-2.3.0
WARNING: Running pip as the 'root' user can result in broken permissions 
and conflicting behaviour with the system package manager. It is recommended to 
use a virtual environment instead: https://pip.pypa.io/warnings/venv
WARNING: You are using pip version 21.2.4; however, version 21.3.1 is 
available.
You should consider upgrading via the '/usr/local/bin/python -m pip install 
--upgrade pip' command.

> Task :sdks:python:container:py39:docker FAILED
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/piplicenses.py", line 40, in 
<module>
    from pip._internal.utils.misc import get_installed_distributions
ImportError: cannot import name 'get_installed_distributions' from 
'pip._internal.utils.misc' 
(/usr/local/lib/python3.9/site-packages/pip/_internal/utils/misc.py)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/bin/pip-licenses", line 5, in <module>
    from piplicenses import main
  File "/usr/local/lib/python3.9/site-packages/piplicenses.py", line 42, in 
<module>
    from pip import get_installed_distributions
ImportError: cannot import name 'get_installed_distributions' from 'pip' 
(/usr/local/lib/python3.9/site-packages/pip/__init__.py)
Traceback (most recent call last):
  File "/tmp/license_scripts/pull_licenses_py.py", line 166, in <module>
    dependencies = run_pip_licenses()
  File "/tmp/license_scripts/pull_licenses_py.py", line 49, in run_pip_licenses
    dependencies = run_bash_command(command)
  File "/tmp/license_scripts/pull_licenses_py.py", line 44, in run_bash_command
    return subprocess.check_output(command.split()).decode('utf-8')
  File "/usr/local/lib/python3.9/subprocess.py", line 424, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
  File "/usr/local/lib/python3.9/subprocess.py", line 528, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['pip-licenses', 
'--with-license-file', '--with-urls', '--from=mixed', '--ignore', 
'apache-beam', '--format=json']' returned non-zero exit status 1.
The command '/bin/sh -c if [ "$pull_licenses" = "true" ] ; then       pip 
install 'pip-licenses<3.0.0' pyyaml tenacity &&       python 
/tmp/license_scripts/pull_licenses_py.py ;     fi' returned a non-zero code: 1
:sdks:python:container:py39:docker (Thread[Execution worker for ':' Thread 
6,5,main]) completed. Took 10 mins 16.288 secs.

> Task :sdks:python:container:py37:docker
 ---> 507526e2c4d4
Step 25/31 : RUN rm /opt/apache/beam/third_party_licenses/golang/LICENSE
 ---> Running in 4e36d82c4978
Removing intermediate container 4e36d82c4978
 ---> 7546e967e875
Step 26/31 : COPY target/license_scripts /tmp/license_scripts/
 ---> db4651e1d8d2
Step 27/31 : RUN if [ "$pull_licenses" = "true" ] ; then       pip install 
'pip-licenses<3.0.0' pyyaml tenacity &&       python 
/tmp/license_scripts/pull_licenses_py.py ;     fi
 ---> Running in 8533e324a4ed
Collecting pip-licenses<3.0.0
  Downloading pip_licenses-2.3.0-py3-none-any.whl (14 kB)
Requirement already satisfied: pyyaml in /usr/local/lib/python3.7/site-packages 
(6.0)
Requirement already satisfied: tenacity in 
/usr/local/lib/python3.7/site-packages (5.1.5)
Collecting PTable
  Downloading PTable-0.9.2.tar.gz (31 kB)
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Requirement already satisfied: six>=1.9.0 in 
/usr/local/lib/python3.7/site-packages (from tenacity) (1.16.0)
Building wheels for collected packages: PTable
  Building wheel for PTable (setup.py): started
  Building wheel for PTable (setup.py): finished with status 'done'
  Created wheel for PTable: filename=PTable-0.9.2-py3-none-any.whl size=22925 
sha256=942750d932916c6488a4737fa2fb9e8ec73f253d04f3063e1e80253d96873754
  Stored in directory: 
/root/.cache/pip/wheels/33/df/2f/674985b3f8a2de3f96357d1eadef5110f74fa91b3785e52a54
Successfully built PTable
Installing collected packages: PTable, pip-licenses
Successfully installed PTable-0.9.2 pip-licenses-2.3.0
WARNING: Running pip as the 'root' user can result in broken permissions 
and conflicting behaviour with the system package manager. It is recommended to 
use a virtual environment instead: https://pip.pypa.io/warnings/venv
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/piplicenses.py", line 40, in 
<module>
    from pip._internal.utils.misc import get_installed_distributions
ImportError: cannot import name 'get_installed_distributions' from 
'pip._internal.utils.misc' 
(/usr/local/lib/python3.7/site-packages/pip/_internal/utils/misc.py)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/bin/pip-licenses", line 5, in <module>
    from piplicenses import main
  File "/usr/local/lib/python3.7/site-packages/piplicenses.py", line 42, in 
<module>
    from pip import get_installed_distributions
ImportError: cannot import name 'get_installed_distributions' from 'pip' 
(/usr/local/lib/python3.7/site-packages/pip/__init__.py)
Traceback (most recent call last):
  File "/tmp/license_scripts/pull_licenses_py.py", line 166, in <module>
    dependencies = run_pip_licenses()
  File "/tmp/license_scripts/pull_licenses_py.py", line 49, in run_pip_licenses
    dependencies = run_bash_command(command)
  File "/tmp/license_scripts/pull_licenses_py.py", line 44, in run_bash_command
    return subprocess.check_output(command.split()).decode('utf-8')
  File "/usr/local/lib/python3.7/subprocess.py", line 411, in check_output
    **kwargs).stdout
  File "/usr/local/lib/python3.7/subprocess.py", line 512, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['pip-licenses', '--with-license-file', 
'--with-urls', '--from=mixed', '--ignore', 'apache-beam', '--format=json']' 
returned non-zero exit status 1.
The command '/bin/sh -c if [ "$pull_licenses" = "true" ] ; then       pip 
install 'pip-licenses<3.0.0' pyyaml tenacity &&       python 
/tmp/license_scripts/pull_licenses_py.py ;     fi' returned a non-zero code: 1

> Task :sdks:python:container:py37:docker FAILED
:sdks:python:container:py37:docker (Thread[Execution worker for ':' Thread 
3,5,main]) completed. Took 10 mins 16.862 secs.

> Task :sdks:python:container:py36:docker
Skip pulling license for  bs4
INFO:root:Successfully pulled licenses for 139 dependencies
Removing intermediate container f64c7c68c7a3
 ---> 3f9ee9fa3953
Step 28/31 : FROM beam
 ---> e7ae01445d65
Step 29/31 : ARG pull_licenses
 ---> Running in 7b95038099b4
Removing intermediate container 7b95038099b4
 ---> 6200aeb007c8
Step 30/31 : COPY --from=third_party_licenses 
/opt/apache/beam/third_party_licenses /opt/apache/beam/third_party_licenses
 ---> 22068a8b9e58
Step 31/31 : RUN if [ "$pull_licenses" != "true" ] ; then       rm -rf 
/opt/apache/beam/third_party_licenses ;     fi
 ---> Running in 1658638686f8
Removing intermediate container 1658638686f8
 ---> c9424f6e57ed
Successfully built c9424f6e57ed
Successfully tagged apache/beam_python3.6_sdk:2.38.0.dev
:sdks:python:container:py36:docker (Thread[Execution worker for ':' Thread 
11,5,main]) completed. Took 10 mins 24.108 secs.

FAILURE: Build completed with 3 failures.

1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':sdks:python:container:py38:docker'.
> Process 'command 'docker'' finished with non-zero exit value 1

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

2: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':sdks:python:container:py39:docker'.
> Process 'command 'docker'' finished with non-zero exit value 1

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

3: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':sdks:python:container:py37:docker'.
> Process 'command 'docker'' finished with non-zero exit value 1

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

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

BUILD FAILED in 12m 27s
50 actionable tasks: 39 executed, 4 from cache, 7 up-to-date

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

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