See <https://ci-beam.apache.org/job/beam_PreCommit_GoPortable_Cron/3009/display/redirect>
Changes: ------------------------------------------ [...truncated 256.98 KB...] > Task :release:go-licenses:go:dockerRun cloud.google.com/go/compute/metadata,https://github.com/googleapis/google-cloud-go/blob/compute/metadata/v0.2.3/compute/metadata/LICENSE,Apache-2.0 cloud.google.com/go/iam,https://github.com/googleapis/google-cloud-go/blob/iam/v0.8.0/iam/LICENSE,Apache-2.0 cloud.google.com/go/internal,https://github.com/googleapis/google-cloud-go/blob/v0.107.0/LICENSE,Apache-2.0 cloud.google.com/go/storage,https://github.com/googleapis/google-cloud-go/blob/storage/v1.29.0/storage/LICENSE,Apache-2.0 github.com/apache/beam/sdks/v2/go,https://github.com/apache/beam/blob/sdks/v2.46.0/sdks/go/README.md,Apache-2.0 github.com/golang/groupcache/lru,https://github.com/golang/groupcache/blob/41bb18bfe9da/LICENSE,Apache-2.0 github.com/golang/protobuf,https://github.com/golang/protobuf/blob/v1.5.2/LICENSE,BSD-3-Clause github.com/google/go-cmp/cmp,https://github.com/google/go-cmp/blob/v0.5.9/LICENSE,BSD-3-Clause github.com/google/uuid,https://github.com/google/uuid/blob/v1.3.0/LICENSE,BSD-3-Clause github.com/googleapis/enterprise-certificate-proxy/client,https://github.com/googleapis/enterprise-certificate-proxy/blob/v0.2.1/LICENSE,Apache-2.0 github.com/googleapis/gax-go/v2,https://github.com/googleapis/gax-go/blob/v2.7.0/v2/LICENSE,BSD-3-Clause go.opencensus.io,https://github.com/census-instrumentation/opencensus-go/blob/v0.24.0/LICENSE,Apache-2.0 golang.org/x/net,https://cs.opensource.google/go/x/net/+/v0.5.0:LICENSE,BSD-3-Clause golang.org/x/oauth2,https://cs.opensource.google/go/x/oauth2/+/6fdb5e3d:LICENSE,BSD-3-Clause golang.org/x/sys/unix,https://cs.opensource.google/go/x/sys/+/v0.5.0:LICENSE,BSD-3-Clause golang.org/x/text,https://cs.opensource.google/go/x/text/+/v0.7.0:LICENSE,BSD-3-Clause golang.org/x/xerrors,https://cs.opensource.google/go/x/xerrors/+/04be3eba:LICENSE,BSD-3-Clause google.golang.org/api,https://github.com/googleapis/google-api-go-client/blob/v0.109.0/LICENSE,BSD-3-Clause google.golang.org/api/internal/third_party/uritemplates,https://github.com/googleapis/google-api-go-client/blob/v0.109.0/internal/third_party/uritemplates/LICENSE,BSD-3-Clause google.golang.org/genproto/googleapis,https://github.com/googleapis/go-genproto/blob/76db0878b65f/LICENSE,Apache-2.0 google.golang.org/grpc,https://github.com/grpc/grpc-go/blob/v1.52.3/LICENSE,Apache-2.0 google.golang.org/protobuf,https://github.com/protocolbuffers/protobuf-go/blob/v1.28.1/LICENSE,BSD-3-Clause + chmod -R a+w /output/licenses > Task :release:go-licenses:go:createLicenses > Task :sdks:go:container:copyGolangLicenses > Task :sdks:go:container:dockerPrepare > Task :sdks:java:container:pullLicenses Traceback (most recent call last): File "<https://ci-beam.apache.org/job/beam_PreCommit_GoPortable_Cron/ws/src/sdks/java/container/license_scripts/pull_licenses_java.py",> line 62, in pull_from_url url_read = urlopen(Request(url, headers={ File "/usr/lib/python3.8/urllib/request.py", line 222, in urlopen return opener.open(url, data, timeout) File "/usr/lib/python3.8/urllib/request.py", line 531, in open response = meth(req, response) File "/usr/lib/python3.8/urllib/request.py", line 640, in http_response response = self.parent.error( File "/usr/lib/python3.8/urllib/request.py", line 569, in error return self._call_chain(*args) File "/usr/lib/python3.8/urllib/request.py", line 502, in _call_chain result = func(*args) File "/usr/lib/python3.8/urllib/request.py", line 649, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp) urllib.error.HTTPError: HTTP Error 502: Bad Gateway ERROR:root:Invalid url for json-20220320: http://json.org/license.html. Retrying... Traceback (most recent call last): File "<https://ci-beam.apache.org/job/beam_PreCommit_GoPortable_Cron/ws/src/sdks/java/container/license_scripts/pull_licenses_java.py",> line 62, in pull_from_url url_read = urlopen(Request(url, headers={ File "/usr/lib/python3.8/urllib/request.py", line 222, in urlopen return opener.open(url, data, timeout) File "/usr/lib/python3.8/urllib/request.py", line 531, in open response = meth(req, response) File "/usr/lib/python3.8/urllib/request.py", line 640, in http_response response = self.parent.error( File "/usr/lib/python3.8/urllib/request.py", line 569, in error return self._call_chain(*args) File "/usr/lib/python3.8/urllib/request.py", line 502, in _call_chain result = func(*args) File "/usr/lib/python3.8/urllib/request.py", line 649, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp) urllib.error.HTTPError: HTTP Error 502: Bad Gateway ERROR:root:Invalid url for json-20220320: http://json.org/license.html. Retrying... > Task :sdks:go:container:docker #1 [internal] load build definition from Dockerfile #1 transferring dockerfile: 1.94kB done #1 DONE 0.0s #2 [internal] load .dockerignore #2 transferring context: 2B done #2 DONE 0.0s #3 [internal] load metadata for docker.io/library/debian:bullseye #3 DONE 0.3s #4 [1/8] FROM docker.io/library/debian:bullseye@sha256:7b991788987ad860810df60927e1adbaf8e156520177bd4db82409f81dd3b721 #4 resolve docker.io/library/debian:bullseye@sha256:7b991788987ad860810df60927e1adbaf8e156520177bd4db82409f81dd3b721 0.0s done #4 CACHED #5 [internal] load build context #5 transferring context: 22.33MB 0.2s done #5 DONE 0.2s #6 [2/8] RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y ca-certificates && rm -rf /var/lib/apt/lists/* #6 0.413 Get:1 http://deb.debian.org/debian bullseye InRelease [116 kB] #6 0.491 Get:2 http://deb.debian.org/debian-security bullseye-security InRelease [48.4 kB] #6 0.521 Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB] #6 0.637 Get:4 http://deb.debian.org/debian bullseye/main amd64 Packages [8183 kB] #6 0.837 Get:5 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages [236 kB] #6 0.877 Get:6 http://deb.debian.org/debian bullseye-updates/main amd64 Packages [14.6 kB] #6 2.132 Fetched 8642 kB in 2s (4866 kB/s) #6 2.132 Reading package lists... #6 2.784 Reading package lists... #6 3.417 Building dependency tree... #6 3.572 Reading state information... #6 3.731 The following additional packages will be installed: #6 3.731 openssl #6 3.758 The following NEW packages will be installed: #6 3.759 ca-certificates openssl #6 3.878 0 upgraded, 2 newly installed, 0 to remove and 1 not upgraded. #6 3.878 Need to get 1011 kB of archives. #6 3.878 After this operation, 1892 kB of additional disk space will be used. #6 3.878 Get:1 http://deb.debian.org/debian-security bullseye-security/main amd64 openssl amd64 1.1.1n-0+deb11u4 [853 kB] #6 4.080 Get:2 http://deb.debian.org/debian bullseye/main amd64 ca-certificates all 20210119 [158 kB] #6 4.240 debconf: delaying package configuration, since apt-utils is not installed #6 4.274 Fetched 1011 kB in 0s (3179 kB/s) #6 4.299 Selecting previously unselected package openssl. #6 4.299 (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 ... 6661 files and directories currently installed.) #6 4.310 Preparing to unpack .../openssl_1.1.1n-0+deb11u4_amd64.deb ... #6 4.314 Unpacking openssl (1.1.1n-0+deb11u4) ... #6 4.425 Selecting previously unselected package ca-certificates. #6 4.426 Preparing to unpack .../ca-certificates_20210119_all.deb ... #6 4.431 Unpacking ca-certificates (20210119) ... #6 4.497 Setting up openssl (1.1.1n-0+deb11u4) ... #6 4.512 Setting up ca-certificates (20210119) ... #6 5.087 Updating certificates in /etc/ssl/certs... #6 5.780 129 added, 0 removed; done. #6 5.820 Processing triggers for ca-certificates (20210119) ... #6 5.829 Updating certificates in /etc/ssl/certs... #6 6.382 0 added, 0 removed; done. #6 6.382 Running hooks in /etc/ca-certificates/update.d... #6 6.384 done. #6 DONE 7.1s #7 [3/8] ADD target/linux_amd64/boot /opt/apache/beam/ #7 DONE 0.3s #8 [4/8] COPY target/LICENSE /opt/apache/beam/ #8 DONE 0.1s #9 [5/8] COPY target/NOTICE /opt/apache/beam/ #9 DONE 0.1s #10 [6/8] COPY target/LICENSE target/go-licenses/* /opt/apache/beam/third_party_licenses/golang/ #10 DONE 0.1s #11 [7/8] RUN rm /opt/apache/beam/third_party_licenses/golang/LICENSE #11 DONE 0.3s #12 [8/8] RUN if [ "true" = "false" ] ; then rm -rf /opt/apache/beam/third_party_licenses ; fi #12 DONE 0.4s #13 exporting to image #13 exporting layers #13 exporting layers 0.2s done #13 writing image sha256:dfceff219a8493ec66d3f14db11df2ee3c1ef45dfe8d9072971499642e1b74fa 0.1s done #13 naming to docker.io/apache/beam_go_sdk:latest done #13 DONE 0.3s > Task :sdks:java:container:pullLicenses Traceback (most recent call last): File "<https://ci-beam.apache.org/job/beam_PreCommit_GoPortable_Cron/ws/src/sdks/java/container/license_scripts/pull_licenses_java.py",> line 62, in pull_from_url url_read = urlopen(Request(url, headers={ File "/usr/lib/python3.8/urllib/request.py", line 222, in urlopen return opener.open(url, data, timeout) File "/usr/lib/python3.8/urllib/request.py", line 531, in open response = meth(req, response) File "/usr/lib/python3.8/urllib/request.py", line 640, in http_response response = self.parent.error( File "/usr/lib/python3.8/urllib/request.py", line 569, in error return self._call_chain(*args) File "/usr/lib/python3.8/urllib/request.py", line 502, in _call_chain result = func(*args) File "/usr/lib/python3.8/urllib/request.py", line 649, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp) urllib.error.HTTPError: HTTP Error 502: Bad Gateway ERROR:root:Invalid url for json-20220320: http://json.org/license.html. Retrying... Traceback (most recent call last): File "<https://ci-beam.apache.org/job/beam_PreCommit_GoPortable_Cron/ws/src/sdks/java/container/license_scripts/pull_licenses_java.py",> line 62, in pull_from_url url_read = urlopen(Request(url, headers={ File "/usr/lib/python3.8/urllib/request.py", line 222, in urlopen return opener.open(url, data, timeout) File "/usr/lib/python3.8/urllib/request.py", line 531, in open response = meth(req, response) File "/usr/lib/python3.8/urllib/request.py", line 640, in http_response response = self.parent.error( File "/usr/lib/python3.8/urllib/request.py", line 569, in error return self._call_chain(*args) File "/usr/lib/python3.8/urllib/request.py", line 502, in _call_chain result = func(*args) File "/usr/lib/python3.8/urllib/request.py", line 649, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp) urllib.error.HTTPError: HTTP Error 502: Bad Gateway ERROR:root:Invalid url for json-20220320: http://json.org/license.html. Retrying... Traceback (most recent call last): File "<https://ci-beam.apache.org/job/beam_PreCommit_GoPortable_Cron/ws/src/sdks/java/container/license_scripts/pull_licenses_java.py",> line 62, in pull_from_url url_read = urlopen(Request(url, headers={ File "/usr/lib/python3.8/urllib/request.py", line 222, in urlopen return opener.open(url, data, timeout) File "/usr/lib/python3.8/urllib/request.py", line 531, in open response = meth(req, response) File "/usr/lib/python3.8/urllib/request.py", line 640, in http_response response = self.parent.error( File "/usr/lib/python3.8/urllib/request.py", line 569, in error return self._call_chain(*args) File "/usr/lib/python3.8/urllib/request.py", line 502, in _call_chain result = func(*args) File "/usr/lib/python3.8/urllib/request.py", line 649, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp) urllib.error.HTTPError: HTTP Error 502: Bad Gateway ERROR:root:Invalid url for json-20220320: http://json.org/license.html after 9 retries. ERROR:root:['json-20220320'] ERROR:root:**************************************** Licenses were not able to be pulled automatically for some dependencies. Please search source code of the dependencies on the internet and add "license" and "notice" (if available) field to <https://ci-beam.apache.org/job/beam_PreCommit_GoPortable_Cron/ws/src/sdks/java/container/license_scripts/dep_urls_java.yaml> for each missing license. Dependency List: [json-20220320] INFO:root:pull_licenses_java.py failed. It took 55.820197 seconds with 16 threads. Traceback (most recent call last): File "<https://ci-beam.apache.org/job/beam_PreCommit_GoPortable_Cron/ws/src/sdks/java/container/license_scripts/pull_licenses_java.py",> line 330, in <module> raise RuntimeError('{n} error(s) occurred.'.format(n=len(error_msg)), RuntimeError: ('1 error(s) occurred.', ['**************************************** Licenses were not able to be pulled automatically for some dependencies. Please search source code of the dependencies on the internet and add "license" and "notice" (if available) field to <https://ci-beam.apache.org/job/beam_PreCommit_GoPortable_Cron/ws/src/sdks/java/container/license_scripts/dep_urls_java.yaml> for each missing license. Dependency List: [json-20220320]']) > Task :sdks:java:container:pullLicenses FAILED > Task :sdks:java:container:goPrepare UP-TO-DATE > Task :sdks:java:container:goBuild > Task :sdks:java:container:java8:copySdkHarnessLauncher Execution optimizations have been disabled for task ':sdks:java:container:java8:copySdkHarnessLauncher' to ensure correctness due to the following reasons: - Gradle detected a problem with the following location: '<https://ci-beam.apache.org/job/beam_PreCommit_GoPortable_Cron/ws/src/sdks/java/container/build/target'.> Reason: Task ':sdks:java:container:java8:copySdkHarnessLauncher' uses this output of task ':sdks:java:container:downloadCloudProfilerAgent' 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. - Gradle detected a problem with the following location: '<https://ci-beam.apache.org/job/beam_PreCommit_GoPortable_Cron/ws/src/sdks/java/container/build/target'.> Reason: Task ':sdks:java:container:java8:copySdkHarnessLauncher' uses this output of task ':sdks:java:container:pullLicenses' 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. FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':sdks:java:container:pullLicenses'. > Process 'command './license_scripts/license_script.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 36s 115 actionable tasks: 74 executed, 35 from cache, 6 up-to-date Publishing build scan... https://gradle.com/s/4ijharzqzncxe 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]
