See 
<https://builds.apache.org/job/beam_PreCommit_Portable_Python_Cron/1967/display/redirect?page=changes>

Changes:

[github] add missing bracket

[github] Update environments.py to add a method to specify container image

[kcweaver] Moving to 2.22.0-SNAPSHOT on master branch.


------------------------------------------
[...truncated 531.49 KB...]
Successfully pulled license for pathlib2 from 
https://raw.githubusercontent.com/mcmtroffaes/pathlib2/develop/LICENSE.rst.
Successfully pulled license for pbr with pip-licenses.
Successfully pulled license for protobuf from 
https://raw.githubusercontent.com/protocolbuffers/protobuf/master/LICENSE.
Successfully pulled license for protorpc from 
https://raw.githubusercontent.com/google/protorpc/master/LICENSE.
Successfully pulled license for pyarrow from 
https://raw.githubusercontent.com/apache/arrow/master/LICENSE.txt.
Successfully pulled license for pyasn1 with pip-licenses.
Successfully pulled license for pyasn1-modules with pip-licenses.
Successfully pulled license for pydot with pip-licenses.
Successfully pulled license for pymongo from 
https://raw.githubusercontent.com/mongodb/mongo-python-driver/master/LICENSE.
Successfully pulled license for pyparsing with pip-licenses.
Successfully pulled license for python-dateutil with pip-licenses.
Successfully pulled license for python-gflags from 
https://raw.githubusercontent.com/google/python-gflags/master/COPYING.
Successfully pulled license for pytz with pip-licenses.
Successfully pulled license for requests with pip-licenses.
Successfully pulled license for requests-oauthlib with pip-licenses.
Successfully pulled license for rsa with pip-licenses.
Successfully pulled license for scandir with pip-licenses.
Successfully pulled license for scipy from 
https://raw.githubusercontent.com/scipy/scipy/master/LICENSE.txt.
Successfully pulled license for singledispatch from 
file:///tmp/license_scripts/manual_licenses/singledispatch/LICENSE.
Successfully pulled license for six with pip-licenses.
Successfully pulled license for tenacity with pip-licenses.
Successfully pulled license for tensorboard with pip-licenses.
Successfully pulled license for tensorflow with pip-licenses.
Successfully pulled license for tensorflow-estimator from 
https://raw.githubusercontent.com/tensorflow/estimator/master/LICENSE.
Successfully pulled license for termcolor from 
file:///tmp/license_scripts/manual_licenses/termcolor/LICENSE.
Successfully pulled license for typing with pip-licenses.
Successfully pulled license for typing-extensions with pip-licenses.
Successfully pulled license for urllib3 with pip-licenses.
Successfully pulled license for virtualenv with pip-licenses.
Successfully pulled license for wrapt with pip-licenses.
Successfully pulled license for zipp with pip-licenses.
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. 
Please upgrade your Python as Python 2.7 is no longer maintained. A future 
version of pip will drop support for Python 2.7. More details about Python 2 
support in pip, can be found at 
https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Found existing installation: pip-licenses 1.18.0
Uninstalling pip-licenses-1.18.0:
  Successfully uninstalled pip-licenses-1.18.0
Removing intermediate container ee39f78e9d7a
 ---> 02df093330ea
Step 12/16 : RUN pip freeze --all
 ---> Running in d8f1a7a47e0f
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. 
Please upgrade your Python as Python 2.7 is no longer maintained. A future 
version of pip will drop support for Python 2.7. More details about Python 2 
support in pip, can be found at 
https://pip.pypa.io/en/latest/development/release-process/#python-2-support
absl-py==0.9.0
apache-beam==2.22.0.dev0
appdirs==1.4.3
astor==0.8.1
avro==1.8.2
backports.weakref==1.0.post1
cachetools==3.1.1
certifi==2020.4.5.1
chardet==3.0.4
configparser==4.0.2
contextlib2==0.6.0.post1
crcmod==1.7
Cython==0.29.13
dill==0.3.1.1
distlib==0.3.0
docopt==0.6.2
enum34==1.1.10
fastavro==0.21.24
fasteners==0.15
filelock==3.0.12
funcsigs==1.0.2
functools32==3.2.3.post2
future==0.17.1
futures==3.2.0
gast==0.2.2
google-api-core==1.16.0
google-apitools==0.5.28
google-auth==1.13.1
google-auth-oauthlib==0.4.1
google-cloud-bigquery==1.24.0
google-cloud-bigtable==1.0.0
google-cloud-core==1.1.0
google-cloud-datastore==1.7.4
google-cloud-dlp==0.13.0
google-cloud-language==1.3.0
google-cloud-pubsub==1.0.2
google-cloud-spanner==1.13.0
google-cloud-videointelligence==1.13.0
google-cloud-vision==0.42.0
google-pasta==0.2.0
google-resumable-media==0.5.0
googleapis-common-protos==1.51.0
grpc-google-iam-v1==0.12.3
grpcio==1.24.3
grpcio-gcp==0.2.2
guppy==0.1.11
h5py==2.10.0
hdfs==2.5.8
httplib2==0.12.0
idna==2.9
importlib-metadata==1.6.0
importlib-resources==1.4.0
Keras-Applications==1.0.8
Keras-Preprocessing==1.1.0
Markdown==3.1.1
mock==2.0.0
monotonic==1.5
nose==1.3.7
numpy==1.16.5
oauth2client==3.0.0
oauthlib==3.1.0
opt-einsum==2.3.2
pandas==0.24.2
pathlib2==2.3.5
pbr==5.4.5
pip==20.0.2
protobuf==3.11.1
protorpc==0.12.0
PTable==0.9.2
pyarrow==0.15.1
pyasn1==0.4.8
pyasn1-modules==0.2.8
pydot==1.4.1
PyHamcrest==1.10.1
pymongo==3.9.0
pyparsing==2.4.7
python-dateutil==2.8.1
python-gflags==3.0.6
pytz==2019.3
PyVCF==0.6.8
PyYAML==5.1
requests==2.23.0
requests-oauthlib==1.3.0
rsa==4.0
scandir==1.10.0
scipy==1.2.2
setuptools==44.1.0
singledispatch==3.4.0.3
six==1.14.0
tenacity==6.1.0
tensorboard==2.1.0
tensorflow==2.1.0
tensorflow-estimator==2.1.0
termcolor==1.1.0
typing==3.7.4.1
typing-extensions==3.7.4.1
urllib3==1.25.8
virtualenv==20.0.15
Werkzeug==1.0.1
wheel==0.34.2
wrapt==1.12.1
zipp==1.2.0
Removing intermediate container d8f1a7a47e0f
 ---> f013f39d838b
Step 13/16 : COPY target/LICENSE /opt/apache/beam/
 ---> dd0308b0c10a
Step 14/16 : COPY target/NOTICE /opt/apache/beam/
 ---> dfcc5eae8b09
Step 15/16 : ADD target/launcher/linux_amd64/boot /opt/apache/beam/
 ---> abde464137a5
Step 16/16 : ENTRYPOINT ["/opt/apache/beam/boot"]
 ---> Running in b0acda2c583b
Removing intermediate container b0acda2c583b
 ---> 7a1e8021e10b
Successfully built 7a1e8021e10b
Successfully tagged apache/beam_python2.7_sdk:2.22.0.dev

> Task :sdks:python:test-suites:portable:py2:portableWordCountBatch
<https://builds.apache.org/job/beam_PreCommit_Portable_Python_Cron/ws/src/build/gradleenv/1866363813/local/lib/python2.7/site-packages/apache_beam/__init__.py>:82:
 UserWarning: You are using Apache Beam with Python 2. New releases of Apache 
Beam will soon support Python 3 only.
  'You are using Apache Beam with Python 2. '
Traceback (most recent call last):
  File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File 
"<https://builds.apache.org/job/beam_PreCommit_Portable_Python_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages/apache_beam/examples/wordcount.py";,>
 line 142, in <module>
    run()
  File 
"<https://builds.apache.org/job/beam_PreCommit_Portable_Python_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages/apache_beam/examples/wordcount.py";,>
 line 121, in run
    result = p.run()
  File 
"<https://builds.apache.org/job/beam_PreCommit_Portable_Python_Cron/ws/src/build/gradleenv/1866363813/local/lib/python2.7/site-packages/apache_beam/pipeline.py";,>
 line 501, in run
    self._options).run(False)
  File 
"<https://builds.apache.org/job/beam_PreCommit_Portable_Python_Cron/ws/src/build/gradleenv/1866363813/local/lib/python2.7/site-packages/apache_beam/pipeline.py";,>
 line 514, in run
    return self.runner.run_pipeline(self, self._options)
  File 
"<https://builds.apache.org/job/beam_PreCommit_Portable_Python_Cron/ws/src/build/gradleenv/1866363813/local/lib/python2.7/site-packages/apache_beam/runners/portability/portable_runner.py";,>
 line 403, in run_pipeline
    proto_pipeline = self.get_proto_pipeline(pipeline, options)
  File 
"<https://builds.apache.org/job/beam_PreCommit_Portable_Python_Cron/ws/src/build/gradleenv/1866363813/local/lib/python2.7/site-packages/apache_beam/runners/portability/portable_runner.py";,>
 line 320, in get_proto_pipeline
    portable_options))
  File 
"<https://builds.apache.org/job/beam_PreCommit_Portable_Python_Cron/ws/src/build/gradleenv/1866363813/local/lib/python2.7/site-packages/apache_beam/runners/portability/portable_runner.py";,>
 line 282, in _create_environment
    return env_class.from_options(portable_options)
  File 
"<https://builds.apache.org/job/beam_PreCommit_Portable_Python_Cron/ws/src/build/gradleenv/1866363813/local/lib/python2.7/site-packages/apache_beam/transforms/environments.py";,>
 line 255, in from_options
    return from_container_image(
NameError: global name 'from_container_image' is not defined

> Task :sdks:python:test-suites:portable:py2:portableWordCountBatch FAILED

> Task :sdks:python:test-suites:portable:py2:portableWordCountStreaming
<https://builds.apache.org/job/beam_PreCommit_Portable_Python_Cron/ws/src/build/gradleenv/1866363813/local/lib/python2.7/site-packages/apache_beam/__init__.py>:82:
 UserWarning: You are using Apache Beam with Python 2. New releases of Apache 
Beam will soon support Python 3 only.
  'You are using Apache Beam with Python 2. '
Traceback (most recent call last):
  File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File 
"<https://builds.apache.org/job/beam_PreCommit_Portable_Python_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages/apache_beam/examples/wordcount.py";,>
 line 142, in <module>
    run()
  File 
"<https://builds.apache.org/job/beam_PreCommit_Portable_Python_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages/apache_beam/examples/wordcount.py";,>
 line 121, in run
    result = p.run()
  File 
"<https://builds.apache.org/job/beam_PreCommit_Portable_Python_Cron/ws/src/build/gradleenv/1866363813/local/lib/python2.7/site-packages/apache_beam/pipeline.py";,>
 line 501, in run
    self._options).run(False)
  File 
"<https://builds.apache.org/job/beam_PreCommit_Portable_Python_Cron/ws/src/build/gradleenv/1866363813/local/lib/python2.7/site-packages/apache_beam/pipeline.py";,>
 line 514, in run
    return self.runner.run_pipeline(self, self._options)
  File 
"<https://builds.apache.org/job/beam_PreCommit_Portable_Python_Cron/ws/src/build/gradleenv/1866363813/local/lib/python2.7/site-packages/apache_beam/runners/portability/portable_runner.py";,>
 line 403, in run_pipeline
    proto_pipeline = self.get_proto_pipeline(pipeline, options)
  File 
"<https://builds.apache.org/job/beam_PreCommit_Portable_Python_Cron/ws/src/build/gradleenv/1866363813/local/lib/python2.7/site-packages/apache_beam/runners/portability/portable_runner.py";,>
 line 320, in get_proto_pipeline
    portable_options))
  File 
"<https://builds.apache.org/job/beam_PreCommit_Portable_Python_Cron/ws/src/build/gradleenv/1866363813/local/lib/python2.7/site-packages/apache_beam/runners/portability/portable_runner.py";,>
 line 282, in _create_environment
    return env_class.from_options(portable_options)
  File 
"<https://builds.apache.org/job/beam_PreCommit_Portable_Python_Cron/ws/src/build/gradleenv/1866363813/local/lib/python2.7/site-packages/apache_beam/transforms/environments.py";,>
 line 255, in from_options
    return from_container_image(
NameError: global name 'from_container_image' is not defined

> Task :sdks:python:test-suites:portable:py2:portableWordCountStreaming FAILED

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task 
':sdks:python:test-suites:portable:py2:portableWordCountBatch'.
> 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.
==============================================================================

2: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task 
':sdks:python:test-suites:portable:py2:portableWordCountStreaming'.
> 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 6.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See 
https://docs.gradle.org/5.2.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 11m 38s
85 actionable tasks: 65 executed, 18 from cache, 2 up-to-date

Publishing build scan...
https://gradle.com/s/42kxgmyb2mx3u

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