See 
<https://builds.apache.org/job/beam_PreCommit_Portable_Python_Cron/1968/display/redirect>

Changes:


------------------------------------------
[...truncated 82.84 KB...]
  Using cached rsa-4.0-py2.py3-none-any.whl (38 kB)
Collecting pyasn1>=0.1.7
  Using cached pyasn1-0.4.8-py2.py3-none-any.whl (77 kB)
Collecting pyasn1-modules>=0.0.5
  Using cached pyasn1_modules-0.2.8-py2.py3-none-any.whl (155 kB)
Requirement already satisfied: setuptools in 
<https://builds.apache.org/job/beam_PreCommit_Portable_Python_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages>
 (from protobuf<4,>=3.5.0.post1->apache-beam==2.22.0.dev0) (44.1.0)
Collecting pyparsing>=2.1.4
  Using cached pyparsing-2.4.7-py2.py3-none-any.whl (67 kB)
Collecting s3transfer<0.4.0,>=0.3.0
  Using cached s3transfer-0.3.3-py2.py3-none-any.whl (69 kB)
Collecting jmespath<1.0.0,>=0.7.1
  Using cached jmespath-0.9.5-py2.py3-none-any.whl (24 kB)
Collecting botocore<1.16.0,>=1.15.39
  Using cached botocore-1.15.39-py2.py3-none-any.whl (6.1 MB)
Collecting fasteners>=0.14
  Using cached fasteners-0.15-py2.py3-none-any.whl (23 kB)
Collecting google-api-core[grpc]<2.0.0dev,>=1.6.0
  Using cached google_api_core-1.16.0-py2.py3-none-any.whl (70 kB)
Processing 
/home/jenkins/.cache/pip/wheels/77/4d/90/443c1cecdcfbf9d97f6e567304aacddc234cf1b26e48c6f0e5/grpc_google_iam_v1-0.12.3-py2-none-any.whl
Collecting google-auth<2.0dev,>=1.9.0
  Using cached google_auth-1.13.1-py2.py3-none-any.whl (87 kB)
Collecting google-resumable-media<0.6dev,>=0.5.0
  Using cached google_resumable_media-0.5.0-py2.py3-none-any.whl (38 kB)
Collecting monotonic>=0.6; python_version == "2.7"
  Using cached monotonic-1.5-py2.py3-none-any.whl (5.3 kB)
Collecting atomicwrites>=1.0
  Using cached atomicwrites-1.3.0-py2.py3-none-any.whl (5.9 kB)
Requirement already satisfied: pluggy<1.0,>=0.12 in 
<https://builds.apache.org/job/beam_PreCommit_Portable_Python_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages>
 (from pytest<5.0,>=4.4.0->apache-beam==2.22.0.dev0) (0.13.1)
Collecting packaging
  Using cached packaging-20.3-py2.py3-none-any.whl (37 kB)
Collecting attrs>=17.4.0
  Using cached attrs-19.3.0-py2.py3-none-any.whl (39 kB)
Requirement already satisfied: importlib-metadata>=0.12; python_version < "3.8" 
in 
<https://builds.apache.org/job/beam_PreCommit_Portable_Python_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages>
 (from pytest<5.0,>=4.4.0->apache-beam==2.22.0.dev0) (1.6.0)
Collecting wcwidth
  Using cached wcwidth-0.1.9-py2.py3-none-any.whl (19 kB)
Collecting more-itertools<6.0.0,>=4.0.0; python_version <= "2.7"
  Using cached more_itertools-5.0.0-py2-none-any.whl (52 kB)
Requirement already satisfied: pathlib2>=2.2.0; python_version < "3.6" in 
<https://builds.apache.org/job/beam_PreCommit_Portable_Python_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages>
 (from pytest<5.0,>=4.4.0->apache-beam==2.22.0.dev0) (2.3.5)
Requirement already satisfied: py>=1.5.0 in 
<https://builds.apache.org/job/beam_PreCommit_Portable_Python_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages>
 (from pytest<5.0,>=4.4.0->apache-beam==2.22.0.dev0) (1.8.1)
Collecting pytest-forked
  Using cached pytest_forked-1.1.3-py2.py3-none-any.whl (4.5 kB)
Collecting execnet>=1.1
  Using cached execnet-1.7.1-py2.py3-none-any.whl (39 kB)
Collecting certifi>=2017.4.17
  Using cached certifi-2020.4.5.1-py2.py3-none-any.whl (157 kB)
Collecting idna<3,>=2.5
  Using cached idna-2.9-py2.py3-none-any.whl (58 kB)
Collecting chardet<4,>=3.0.2
  Using cached chardet-3.0.4-py2.py3-none-any.whl (133 kB)
Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1
  Using cached urllib3-1.25.8-py2.py3-none-any.whl (125 kB)
Collecting docutils<0.16,>=0.10
  Using cached docutils-0.15.2-py2-none-any.whl (548 kB)
Processing 
/home/jenkins/.cache/pip/wheels/56/af/44/f0c28e985bc224ffb90612f7cdeef432ba4fbd5d15485ab271/googleapis_common_protos-1.51.0-py2-none-any.whl
Requirement already satisfied: contextlib2; python_version < "3" in 
<https://builds.apache.org/job/beam_PreCommit_Portable_Python_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages>
 (from importlib-metadata>=0.12; python_version < 
"3.8"->pytest<5.0,>=4.4.0->apache-beam==2.22.0.dev0) (0.6.0.post1)
Requirement already satisfied: zipp>=0.5 in 
<https://builds.apache.org/job/beam_PreCommit_Portable_Python_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages>
 (from importlib-metadata>=0.12; python_version < 
"3.8"->pytest<5.0,>=4.4.0->apache-beam==2.22.0.dev0) (1.2.0)
Requirement already satisfied: configparser>=3.5; python_version < "3" in 
<https://builds.apache.org/job/beam_PreCommit_Portable_Python_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages>
 (from importlib-metadata>=0.12; python_version < 
"3.8"->pytest<5.0,>=4.4.0->apache-beam==2.22.0.dev0) (4.0.2)
Requirement already satisfied: scandir; python_version < "3.5" in 
<https://builds.apache.org/job/beam_PreCommit_Portable_Python_Cron/ws/src/build/gradleenv/1866363813/lib/python2.7/site-packages>
 (from pathlib2>=2.2.0; python_version < 
"3.6"->pytest<5.0,>=4.4.0->apache-beam==2.22.0.dev0) (1.10.0)
Collecting apipkg>=1.4
  Using cached apipkg-1.5-py2.py3-none-any.whl (4.9 kB)
Building wheels for collected packages: apache-beam
  Building wheel for apache-beam (setup.py): started
  Building wheel for apache-beam (setup.py): finished with status 'done'
  Created wheel for apache-beam: 
filename=apache_beam-2.22.0.dev0-py2-none-any.whl size=2013464 
sha256=1680e3b8cdc3033ac889a7ebd5fdcd263e08d3c5f3659c4756b207f5690a84f4
  Stored in directory: 
/home/jenkins/.cache/pip/wheels/b9/23/19/54774416627a49bc596b602ac356ae76d22c95394e37702cab
Successfully built apache-beam
Installing collected packages: crcmod, dill, fastavro, docopt, certifi, idna, 
chardet, urllib3, requests, hdfs, httplib2, pbr, funcsigs, mock, numpy, 
pymongo, pyasn1, rsa, pyasn1-modules, oauth2client, pyparsing, pydot, 
python-dateutil, pytz, typing-extensions, avro, pyvcf, pyarrow, docutils, 
jmespath, botocore, s3transfer, boto3, cachetools, monotonic, fasteners, 
google-apitools, google-auth, googleapis-common-protos, google-api-core, 
google-cloud-core, google-cloud-datastore, grpc-google-iam-v1, 
google-cloud-pubsub, google-resumable-media, google-cloud-bigquery, 
google-cloud-bigtable, google-cloud-spanner, grpcio-gcp, google-cloud-dlp, 
google-cloud-language, google-cloud-videointelligence, google-cloud-vision, 
freezegun, nose, nose-xunitmp, pandas, parameterized, pyhamcrest, pyyaml, 
requests-mock, tenacity, atomicwrites, packaging, attrs, wcwidth, 
more-itertools, pytest, pytest-forked, apipkg, execnet, pytest-xdist, 
pytest-timeout, apache-beam

> Task :runners:flink:1.10:job-server:shadowJar
> Task :runners:flink:1.10:job-server-container:copyDockerfileDependencies
> Task :runners:flink:1.10:job-server-container:dockerPrepare

> Task :sdks:go:resolveBuildDependencies
Resolving google.golang.org/api: 
commit='386d4e5f4f92f86e6aec85985761bba4b938a2d5', 
urls=[https://code.googlesource.com/google-api-go-client]
Resolving google.golang.org/genproto: 
commit='2b5a72b8730b0b16380010cfe5286c42108d88e7', 
urls=[https://github.com/google/go-genproto]
Resolving google.golang.org/grpc: 
commit='7646b5360d049a7ca31e9133315db43456f39e2e', 
urls=[https://github.com/grpc/grpc-go]
Resolving cached github.com/coreos/etcd: 
commit='11214aa33bf5a47d3d9d8dafe0f6b97237dfe921', 
urls=[https://github.com/coreos/etcd.git, [email protected]:coreos/etcd.git]
Resolving cached github.com/coreos/etcd: 
commit='11214aa33bf5a47d3d9d8dafe0f6b97237dfe921', 
urls=[https://github.com/coreos/etcd.git, [email protected]:coreos/etcd.git]

> Task :runners:flink:1.10:job-server-container:docker
 ---> Running in 8706c0d05b2a
Removing intermediate container 8706c0d05b2a
 ---> ff1aa3249b01
Step 3/9 : RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install 
-y libltdl7
 ---> Running in 138eda89ef74
Get:1 http://deb.debian.org/debian buster InRelease [122 kB]
Get:2 http://deb.debian.org/debian buster-updates InRelease [49.3 kB]
Get:3 http://security.debian.org/debian-security buster/updates InRelease [65.4 
kB]
Get:4 http://deb.debian.org/debian buster/main amd64 Packages [7907 kB]
Get:5 http://security.debian.org/debian-security buster/updates/main amd64 
Packages [187 kB]
Get:6 http://deb.debian.org/debian buster-updates/main amd64 Packages [7380 B]

> Task :sdks:go:installDependencies

> Task :runners:flink:1.10:job-server-container:docker
Fetched 8337 kB in 3s (2922 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
  libltdl7
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 390 kB of archives.
After this operation, 428 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian buster/main amd64 libltdl7 amd64 2.4.6-9 
[390 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 390 kB in 0s (5048 kB/s)
Selecting previously unselected package libltdl7:amd64.
(Reading database ... 
(Reading database ... 5%(Reading database ... 10%(Reading database ... 
15%(Reading database ... 20%(Reading database ... 25%(Reading database ... 
30%(Reading database ... 35%(Reading database ... 40%(Reading database ... 
45%(Reading database ... 50%(Reading database ... 55%(Reading database ... 
60%(Reading database ... 65%(Reading database ... 70%(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%(Reading database ... 12552 files and directories 
currently installed.)
Preparing to unpack .../libltdl7_2.4.6-9_amd64.deb ...
Unpacking libltdl7:amd64 (2.4.6-9) ...
Setting up libltdl7:amd64 (2.4.6-9) ...
Processing triggers for libc-bin (2.28-10) ...
Removing intermediate container 138eda89ef74
 ---> fb02c68abf7d
Step 4/9 : ADD beam-runners-flink-job-server.jar /opt/apache/beam/jars/

> Task :sdks:go:buildLinuxAmd64
> Task :sdks:go:goBuild

> Task :runners:flink:1.10:job-server-container:docker
 ---> c41bff8b3f77
Step 5/9 : ADD flink-job-server.sh /opt/apache/beam/
 ---> baca3b73993c
Step 6/9 : COPY target/LICENSE /opt/apache/beam/
 ---> aaef818aecc6
Step 7/9 : COPY target/NOTICE /opt/apache/beam/
 ---> 624a4fb80228
Step 8/9 : WORKDIR /opt/apache/beam
 ---> Running in ea76d6cad2c6

> Task :sdks:python:container:resolveBuildDependencies
Resolving 
./github.com/apache/beam/sdks/go@<https://builds.apache.org/job/beam_PreCommit_Portable_Python_Cron/ws/src/sdks/go>

> Task :runners:flink:1.10:job-server-container:docker
Removing intermediate container ea76d6cad2c6
 ---> d915100bbfd3
Step 9/9 : ENTRYPOINT ["./flink-job-server.sh"]
 ---> Running in 721b90bb075b
Removing intermediate container 721b90bb075b
 ---> b65c2ffddc4d
Successfully built b65c2ffddc4d
Successfully tagged apache/beam_flink1.10_job_server:latest

> Task :sdks:python:container:installDependencies
> Task :sdks:python:container:buildDarwinAmd64
> Task :sdks:python:container:buildLinuxAmd64
> Task :sdks:python:container:goBuild
> Task :sdks:python:container:py2:copyLauncherDependencies
> Task :sdks:python:container:py2:dockerPrepare
> Task :sdks:python:container:py2:docker

> 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 FAILED
<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

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 7m 16s
85 actionable tasks: 65 executed, 18 from cache, 2 up-to-date

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

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