See 
<https://ci-beam.apache.org/job/beam_PreCommit_GoPortable_Cron/2815/display/redirect>

Changes:


------------------------------------------
[...truncated 247.25 KB...]
  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.1 filelock-3.9.0 grpcio-1.51.1 
grpcio-tools-1.37.0 mypy-protobuf-1.18 numpy-1.24.2 packaging-23.0 
platformdirs-2.6.2 pluggy-1.0.0 protobuf-3.20.3 py-1.11.0 setuptools-67.3.1 
six-1.16.0 toml-0.10.2 tox-3.20.1 virtualenv-20.16.2 wheel-0.38.4

> Task :release:go-licenses:go:dockerRun
go: downloading golang.org/x/sys v0.2.0
go: downloading golang.org/x/text v0.4.0
go: downloading github.com/googleapis/enterprise-certificate-proxy v0.2.0
go: downloading github.com/google/go-cmp v0.5.9
go: added cloud.google.com/go v0.105.0
go: added cloud.google.com/go/compute v1.12.1
go: added cloud.google.com/go/compute/metadata v0.2.1
go: added cloud.google.com/go/iam v0.7.0
go: added cloud.google.com/go/storage v1.28.0
go: added github.com/apache/beam/sdks/v2 v2.44.0
go: added github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da
go: added github.com/golang/protobuf v1.5.2
go: added github.com/google/go-cmp v0.5.9
go: added github.com/google/uuid v1.3.0
go: added github.com/googleapis/enterprise-certificate-proxy v0.2.0
go: added github.com/googleapis/gax-go/v2 v2.7.0
go: added go.opencensus.io v0.24.0
go: added golang.org/x/net v0.2.0
go: added golang.org/x/oauth2 v0.0.0-20221014153046-6fdb5e3db783
go: added golang.org/x/sys v0.2.0
go: added golang.org/x/text v0.4.0
go: added golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2
go: added google.golang.org/api v0.103.0
go: added google.golang.org/appengine v1.6.7
go: added google.golang.org/genproto v0.0.0-20221118155620-16455021b5e6
go: added google.golang.org/grpc v1.51.0
go: added google.golang.org/protobuf v1.28.1
+ go-licenses save github.com/apache/beam/sdks/v2/go/container 
--save_path=/output/licenses
W0214 14:14:29.122667      33 library.go:101] "golang.org/x/sys/unix" contains 
non-Go code that can't be inspected for further dependencies:
/go/pkg/mod/golang.org/x/[email protected]/unix/asm_linux_amd64.s
+ go-licenses csv github.com/apache/beam/sdks/v2/go/container
+ tee /output/licenses/list.csv
W0214 14:14:35.531526      78 library.go:101] "golang.org/x/sys/unix" contains 
non-Go code that can't be inspected for further dependencies:
/go/pkg/mod/golang.org/x/[email protected]/unix/asm_linux_amd64.s

> Task :release:go-licenses:java:dockerRun
github.com/apache/beam/sdks/v2/go/pkg/beam,https://github.com/apache/beam/blob/sdks/v2.44.0/sdks/go/README.md,Apache-2.0
github.com/apache/beam/sdks/v2/java/container,https://github.com/apache/beam/blob/sdks/v2.44.0/sdks/LICENSE,Apache-2.0
github.com/golang/protobuf,https://github.com/golang/protobuf/blob/v1.5.2/LICENSE,BSD-3-Clause
golang.org/x/net,https://cs.opensource.google/go/x/net/+/v0.2.0:LICENSE,BSD-3-Clause
golang.org/x/sys/unix,https://cs.opensource.google/go/x/sys/+/v0.2.0:LICENSE,BSD-3-Clause
golang.org/x/text,https://cs.opensource.google/go/x/text/+/v0.4.0:LICENSE,BSD-3-Clause
google.golang.org/genproto/googleapis/rpc/status,https://github.com/googleapis/go-genproto/blob/16455021b5e6/LICENSE,Apache-2.0
google.golang.org/grpc,https://github.com/grpc/grpc-go/blob/v1.51.0/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:java:createLicenses
> Task :sdks:java:container:java8:copyGolangLicenses

> 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 58, 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 404: Not Found
ERROR:root:Invalid url for zstd-jni-1.5.2-5: 
https://opensource.org/licenses/BSD-2-Clause. 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 58, 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 404: Not Found
ERROR:root:Invalid url for zstd-jni-1.5.2-5: 
https://opensource.org/licenses/BSD-2-Clause. 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 58, 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 404: Not Found
ERROR:root:Invalid url for zstd-jni-1.5.2-5: 
https://opensource.org/licenses/BSD-2-Clause. Retrying...

> Task :release:go-licenses:go:dockerRun
cloud.google.com/go/compute/metadata,https://github.com/googleapis/google-cloud-go/blob/compute/metadata/v0.2.1/compute/metadata/LICENSE,Apache-2.0
cloud.google.com/go/iam,https://github.com/googleapis/google-cloud-go/blob/iam/v0.7.0/iam/LICENSE,Apache-2.0
cloud.google.com/go/internal,https://github.com/googleapis/google-cloud-go/blob/v0.105.0/LICENSE,Apache-2.0
cloud.google.com/go/storage,https://github.com/googleapis/google-cloud-go/blob/storage/v1.28.0/storage/LICENSE,Apache-2.0
github.com/apache/beam/sdks/v2/go,https://github.com/apache/beam/blob/sdks/v2.44.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.0/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.2.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.2.0:LICENSE,BSD-3-Clause
golang.org/x/text,https://cs.opensource.google/go/x/text/+/v0.4.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.103.0/LICENSE,BSD-3-Clause
google.golang.org/api/internal/third_party/uritemplates,https://github.com/googleapis/google-api-go-client/blob/v0.103.0/internal/third_party/uritemplates/LICENSE,BSD-3-Clause
google.golang.org/genproto,https://github.com/googleapis/go-genproto/blob/16455021b5e6/LICENSE,Apache-2.0
google.golang.org/grpc,https://github.com/grpc/grpc-go/blob/v1.51.0/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 58, 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 404: Not Found
ERROR:root:Invalid url for zstd-jni-1.5.2-5: 
https://opensource.org/licenses/BSD-2-Clause. 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 58, 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 404: Not Found
ERROR:root:Invalid url for zstd-jni-1.5.2-5: 
https://opensource.org/licenses/BSD-2-Clause. 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 58, 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 404: Not Found
ERROR:root:Invalid url for zstd-jni-1.5.2-5: 
https://opensource.org/licenses/BSD-2-Clause after 9 retries.
ERROR:root:['zstd-jni-1.5.2-5']
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: [zstd-jni-1.5.2-5]
INFO:root:pull_licenses_java.py failed. It took 44.415709 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 326, 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: [zstd-jni-1.5.2-5]'])

> Task :sdks:java:container:pullLicenses FAILED
> Task :sdks:java:container:goPrepare UP-TO-DATE

> Task :sdks:go:container:docker
Removing intermediate container 5ba8b495cec9
 ---> a1153a8788e6
Step 11/11 : ENTRYPOINT ["/opt/apache/beam/boot"]
 ---> Running in 8e2b9ab0220d
Removing intermediate container 8e2b9ab0220d
 ---> 00d636efddd7
Successfully built 00d636efddd7
Successfully tagged apache/beam_go_sdk:latest

> Task :sdks:java:container:goBuild
/home/jenkins/go/bin/go1.19.3 build -o ./build/target/linux_amd64/boot boot.go 
boot_test.go

> 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 23s
99 actionable tasks: 65 executed, 28 from cache, 6 up-to-date

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

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