Started by user ha:////4PuQJrtIGOz0dRAPOlct71lEB295m0F+9F2O7hmuEJ54AAAAnh+LCAAAAAAAAP9b85aBtbiIQTGjNKU4P08vOT+vOD8nVc83PyU1x6OyILUoJzMv2y+/JJUBAhiZGBgqihhk0NSjKDWzXb3RdlLBUSYGJk8GtpzUvPSSDB8G5tKinBIGIZ+sxLJE/ZzEvHT94JKizLx0a6BxUmjGOUNodHsLgAy+EgZh/dLi1CL9nNLkxNxMoEmpxZn5ANPJiavIAAAALuca Milanesio Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on ha:////4GiRmAC7aZKX4FyVZPIbMppEM5hua79EQSM/bIfDdVzvAAAAqh+LCAAAAAAAAP9b85aBtbiIQTGjNKU4P08vOT+vOD8nVc83PyU1x6OyILUoJzMv2y+/JJUBAhiZGBgqihhk0NSjKDWzXb3RdlLBUSYGJk8GtpzUvPSSDB8G5tKinBIGIZ+sxLJE/ZzEvHT94JKizLx0a6BxUmjGOUNodHsLgAylEgY5/eT83ILSktQi/ZT85OzUIl0Dg+zs1MKKdMvE9NxUALhBLfvTAAAAdocker-00kkeqxg9agme on dockerhost (bazel-debian bazel-debian-chrome-latest) in workspace /home/jenkins/workspace/plugin-metrics-reporter-cloudwatch-bazel-master-stable-3.11 The recommended git tool is: NONE using credential gerrit.googlesource.com Wiping out workspace first. Cloning the remote Git repository Cloning repository https://gerrit.googlesource.com/a/plugins/metrics-reporter-cloudwatch > git init /home/jenkins/workspace/plugin-metrics-reporter-cloudwatch-bazel-master-stable-3.11 # timeout=10 Fetching upstream changes from https://gerrit.googlesource.com/a/plugins/metrics-reporter-cloudwatch > git --version # timeout=10 > git --version # 'git version 2.47.0' using GIT_ASKPASS to set credentials .netrc credentials for gerrit.googlesource.com > git fetch --tags --force --progress -- https://gerrit.googlesource.com/a/plugins/metrics-reporter-cloudwatch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url https://gerrit.googlesource.com/a/plugins/metrics-reporter-cloudwatch # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 Checking out Revision f83267cc7691449b7c6078d733b72436d0c6edfb (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f f83267cc7691449b7c6078d733b72436d0c6edfb # timeout=10 Commit message: "Allow applicationName to be configured" > git rev-list --no-walk f83267cc7691449b7c6078d733b72436d0c6edfb # timeout=10 [plugin-metrics-reporter-cloudwatch-bazel-master-stable-3.11] $ /bin/bash -e /tmp/jenkins1821144029044015968.sh [plugin-metrics-reporter-cloudwatch-bazel-master-stable-3.11] $ /bin/bash -e /tmp/jenkins5048116463327220245.sh Java set to: /usr/lib/jvm/temurin-21-jdk-amd64/bin/java Building plugin metrics-reporter-cloudwatch/master with Gerrit/stable-3.11 from plugins/metrics-reporter-cloudwatch From https://gerrit.googlesource.com/a/gerrit * branch stable-3.11 -> FETCH_HEAD * [new branch] stable-3.11 -> gerrit/stable-3.11 Previous HEAD position was f83267cc76 Allow applicationName to be configured Switched to a new branch 'stable-3.11' branch 'stable-3.11' set up to track 'gerrit/stable-3.11'. Submodule 'modules/java-prettify' (https://gerrit.googlesource.com/a/java-prettify) registered for path 'modules/java-prettify' Submodule 'modules/jgit' (https://gerrit.googlesource.com/a/jgit) registered for path 'modules/jgit' Submodule 'plugins/codemirror-editor' (https://gerrit.googlesource.com/a/plugins/codemirror-editor) registered for path 'plugins/codemirror-editor' Submodule 'plugins/commit-message-length-validator' (https://gerrit.googlesource.com/a/plugins/commit-message-length-validator) registered for path 'plugins/commit-message-length-validator' Submodule 'plugins/delete-project' (https://gerrit.googlesource.com/a/plugins/delete-project) registered for path 'plugins/delete-project' Submodule 'plugins/download-commands' (https://gerrit.googlesource.com/a/plugins/download-commands) registered for path 'plugins/download-commands' Submodule 'plugins/gitiles' (https://gerrit.googlesource.com/a/plugins/gitiles) registered for path 'plugins/gitiles' Submodule 'plugins/hooks' (https://gerrit.googlesource.com/a/plugins/hooks) registered for path 'plugins/hooks' Submodule 'plugins/plugin-manager' (https://gerrit.googlesource.com/a/plugins/plugin-manager) registered for path 'plugins/plugin-manager' Submodule 'plugins/replication' (https://gerrit.googlesource.com/a/plugins/replication) registered for path 'plugins/replication' Submodule 'plugins/reviewnotes' (https://gerrit.googlesource.com/a/plugins/reviewnotes) registered for path 'plugins/reviewnotes' Submodule 'plugins/singleusergroup' (https://gerrit.googlesource.com/a/plugins/singleusergroup) registered for path 'plugins/singleusergroup' Submodule 'plugins/webhooks' (https://gerrit.googlesource.com/a/plugins/webhooks) registered for path 'plugins/webhooks' Submodule 'polymer-bridges' (https://gerrit.googlesource.com/a/polymer-bridges) registered for path 'polymer-bridges' Cloning into '/home/jenkins/workspace/plugin-metrics-reporter-cloudwatch-bazel-master-stable-3.11/modules/java-prettify'... Cloning into '/home/jenkins/workspace/plugin-metrics-reporter-cloudwatch-bazel-master-stable-3.11/modules/jgit'... Cloning into '/home/jenkins/workspace/plugin-metrics-reporter-cloudwatch-bazel-master-stable-3.11/plugins/codemirror-editor'... Cloning into '/home/jenkins/workspace/plugin-metrics-reporter-cloudwatch-bazel-master-stable-3.11/plugins/commit-message-length-validator'... Cloning into '/home/jenkins/workspace/plugin-metrics-reporter-cloudwatch-bazel-master-stable-3.11/plugins/delete-project'... Cloning into '/home/jenkins/workspace/plugin-metrics-reporter-cloudwatch-bazel-master-stable-3.11/plugins/download-commands'... Cloning into '/home/jenkins/workspace/plugin-metrics-reporter-cloudwatch-bazel-master-stable-3.11/plugins/gitiles'... Cloning into '/home/jenkins/workspace/plugin-metrics-reporter-cloudwatch-bazel-master-stable-3.11/plugins/hooks'... Cloning into '/home/jenkins/workspace/plugin-metrics-reporter-cloudwatch-bazel-master-stable-3.11/plugins/plugin-manager'... Cloning into '/home/jenkins/workspace/plugin-metrics-reporter-cloudwatch-bazel-master-stable-3.11/plugins/replication'... Cloning into '/home/jenkins/workspace/plugin-metrics-reporter-cloudwatch-bazel-master-stable-3.11/plugins/reviewnotes'... Cloning into '/home/jenkins/workspace/plugin-metrics-reporter-cloudwatch-bazel-master-stable-3.11/plugins/singleusergroup'... Cloning into '/home/jenkins/workspace/plugin-metrics-reporter-cloudwatch-bazel-master-stable-3.11/plugins/webhooks'... Cloning into '/home/jenkins/workspace/plugin-metrics-reporter-cloudwatch-bazel-master-stable-3.11/polymer-bridges'... Submodule path 'modules/java-prettify': checked out '32fa081a797a97beaf77a4f2efca26c39168e72f' Submodule path 'modules/jgit': checked out '189b33dcbfd39fcfb3a671dcb323d29418b86875' Submodule path 'plugins/codemirror-editor': checked out '4e882088573fd3915f16fe685a78b2f40f944d51' Submodule path 'plugins/commit-message-length-validator': checked out 'c38e0a9d36767092b20558b28eff7f546c6d754c' Submodule path 'plugins/delete-project': checked out 'e1328bd6cc11542ec909e0537c74b47ae8edecf8' Submodule path 'plugins/download-commands': checked out '471b9440b924ec32d87ff8a246f784dded5b345e' Submodule path 'plugins/gitiles': checked out '4e8bd706e87eb11e3cfe2bfa9bbcb29020f39482' Submodule path 'plugins/hooks': checked out '4f43f5db6b8aa7f36381f4f9a4c9ec1fc335d949' Submodule path 'plugins/plugin-manager': checked out '86f7ec61a9785df246f653a1336520b9607399b1' Submodule path 'plugins/replication': checked out 'e2c75745275cff5560921917769176431d9a2433' Submodule path 'plugins/reviewnotes': checked out '18c867b6a957b3ddeb7a9e9789819fc60bdcd99a' Submodule path 'plugins/singleusergroup': checked out '4bee62cbbc21979b841843dd5faaf79470a35966' Submodule path 'plugins/webhooks': checked out 'b00a2c28eb1412312e03b541b6e2dbeefea0247a' Submodule path 'polymer-bridges': checked out '855f4781b702de120953a64da5c277ea4908deaa' openjdk full version "21.0.11+10-LTS" 2026/05/16 22:52:09 Downloading https://releases.bazel.build/7.2.1/release/bazel-7.2.1-linux-x86_64... 2026/05/16 22:52:09 Skipping basic authentication for releases.bazel.build because no credentials found in /home/jenkins/.netrc Bazelisk version: v1.27.0 Extracting Bazel installation... Starting local Bazel server and connecting to it... Build label: 7.2.1 Build target: @@//src/main/java/com/google/devtools/build/lib/bazel:BazelServer Build time: Tue Jun 25 15:53:05 2024 (1719330785) Build timestamp: 1719330785 Build timestamp as int: 1719330785 Build against Gerrit stable-3.11 on java21. BAZEL_OPTS = --sandbox_tmpfs_path=/tmp --config=java21 INFO: Invocation ID: 43e98ea0-6db5-4bc6-bcc5-b70b22375adf INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'build' from /home/jenkins/workspace/plugin-metrics-reporter-cloudwatch-bazel-master-stable-3.11/.bazelrc: Inherited 'common' options: --noenable_bzlmod --incompatible_enable_proto_toolchain_resolution INFO: Reading rc options for 'build' from /home/jenkins/workspace/plugin-metrics-reporter-cloudwatch-bazel-master-stable-3.11/.bazelrc: 'build' options: --workspace_status_command=python3 ./tools/workspace_status.py --repository_cache=~/.gerritcodereview/bazel-cache/repository --action_env=PATH --disk_cache=~/.gerritcodereview/bazel-cache/cas --java_language_version=17 --java_runtime_version=remotejdk_17 --tool_java_language_version=17 --tool_java_runtime_version=remotejdk_17 --incompatible_strict_action_env --announce_rc Computing main repo mapping: Computing main repo mapping: Computing main repo mapping: Computing main repo mapping: Loading: Loading: 0 packages loaded Loading: 0 packages loaded currently loading: polygerrit-ui/app/api Loading: 0 packages loaded currently loading: polygerrit-ui/app/api Loading: 0 packages loaded currently loading: polygerrit-ui/app/api Loading: 0 packages loaded currently loading: polygerrit-ui/app/api Analyzing: target //polygerrit-ui/app/api:js_plugin_api_npm_package (1 packages loaded) Analyzing: target //polygerrit-ui/app/api:js_plugin_api_npm_package (1 packages loaded, 0 targets configured) Analyzing: target //polygerrit-ui/app/api:js_plugin_api_npm_package (1 packages loaded, 0 targets configured) [0 / 1] checking cached actions Analyzing: target //polygerrit-ui/app/api:js_plugin_api_npm_package (46 packages loaded, 211 targets configured) [0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt Analyzing: target //polygerrit-ui/app/api:js_plugin_api_npm_package (72 packages loaded, 5136 targets configured) [1 / 1] checking cached actions Analyzing: target //polygerrit-ui/app/api:js_plugin_api_npm_package (72 packages loaded, 5136 targets configured) [1 / 1] checking cached actions INFO: Analyzed target //polygerrit-ui/app/api:js_plugin_api_npm_package (74 packages loaded, 5251 targets configured). [1 / 15] [Prepa] Creating source manifest for @@build_bazel_rules_nodejs//internal/pkg_npm:packager [for tool] [22 / 24] Compiling TypeScript project @//polygerrit-ui/app/api:js_plugin_api_compiled [tsc -p polygerrit-ui/app/api/tsconfig.json]; 0s disk-cache, linux-sandbox INFO: Found 1 target... Target //polygerrit-ui/app/api:js_plugin_api_npm_package up-to-date: bazel-bin/polygerrit-ui/app/api/js_plugin_api_npm_package INFO: Elapsed time: 29.717s, Critical Path: 2.10s INFO: 24 processes: 21 internal, 3 linux-sandbox. INFO: Build completed successfully, 24 total actions Cleaning up ... INFO: Invocation ID: f81c8a4b-ba93-448a-a447-8921e84e5f64 INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'build' from /home/jenkins/workspace/plugin-metrics-reporter-cloudwatch-bazel-master-stable-3.11/.bazelrc: Inherited 'common' options: --noenable_bzlmod --incompatible_enable_proto_toolchain_resolution INFO: Reading rc options for 'build' from /home/jenkins/workspace/plugin-metrics-reporter-cloudwatch-bazel-master-stable-3.11/.bazelrc: 'build' options: --workspace_status_command=python3 ./tools/workspace_status.py --repository_cache=~/.gerritcodereview/bazel-cache/repository --action_env=PATH --disk_cache=~/.gerritcodereview/bazel-cache/cas --java_language_version=17 --java_runtime_version=remotejdk_17 --tool_java_language_version=17 --tool_java_runtime_version=remotejdk_17 --incompatible_strict_action_env --announce_rc INFO: Found applicable config definition build:java21 in file /home/jenkins/workspace/plugin-metrics-reporter-cloudwatch-bazel-master-stable-3.11/.bazelrc: --config=build_java21_shared INFO: Found applicable config definition build:build_java21_shared in file /home/jenkins/workspace/plugin-metrics-reporter-cloudwatch-bazel-master-stable-3.11/.bazelrc: --java_language_version=21 --java_runtime_version=remotejdk_21 --tool_java_language_version=21 --tool_java_runtime_version=remotejdk_21 Computing main repo mapping: Loading: Loading: 0 packages loaded WARNING: Build options --java_language_version, --java_runtime_version, --tool_java_language_version, and 1 more have changed, discarding analysis cache (this can be expensive, see https://bazel.build/advanced/performance/iteration-speed). Analyzing: target //plugins/metrics-reporter-cloudwatch:metrics-reporter-cloudwatch (1 packages loaded, 0 targets configured) Analyzing: target //plugins/metrics-reporter-cloudwatch:metrics-reporter-cloudwatch (1 packages loaded, 0 targets configured) [0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt Analyzing: target //plugins/metrics-reporter-cloudwatch:metrics-reporter-cloudwatch (125 packages loaded, 4492 targets configured) [0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt Analyzing: target //plugins/metrics-reporter-cloudwatch:metrics-reporter-cloudwatch (152 packages loaded, 4569 targets configured) [1 / 1] checking cached actions Analyzing: target //plugins/metrics-reporter-cloudwatch:metrics-reporter-cloudwatch (158 packages loaded, 4581 targets configured) [1 / 1] checking cached actions Analyzing: target //plugins/metrics-reporter-cloudwatch:metrics-reporter-cloudwatch (161 packages loaded, 4586 targets configured) [1 / 1] checking cached actions Analyzing: target //plugins/metrics-reporter-cloudwatch:metrics-reporter-cloudwatch (162 packages loaded, 4602 targets configured) [1 / 1] checking cached actions Analyzing: target //plugins/metrics-reporter-cloudwatch:metrics-reporter-cloudwatch (194 packages loaded, 4667 targets configured) [1 / 1] checking cached actions Analyzing: target //plugins/metrics-reporter-cloudwatch:metrics-reporter-cloudwatch (194 packages loaded, 4667 targets configured) [1 / 1] checking cached actions Analyzing: target //plugins/metrics-reporter-cloudwatch:metrics-reporter-cloudwatch (195 packages loaded, 4675 targets configured) [1 / 1] checking cached actions Analyzing: target //plugins/metrics-reporter-cloudwatch:metrics-reporter-cloudwatch (195 packages loaded, 4675 targets configured) [1 / 1] checking cached actions INFO: Repository awssdk_http_client_spi instantiated at: /home/jenkins/workspace/plugin-metrics-reporter-cloudwatch-bazel-master-stable-3.11/WORKSPACE:178:21: in /home/jenkins/workspace/plugin-metrics-reporter-cloudwatch-bazel-master-stable-3.11/plugins/external_plugin_deps.bzl:70:12: in external_plugin_deps Repository rule maven_jar defined at: /home/jenkins/workspace/plugin-metrics-reporter-cloudwatch-bazel-master-stable-3.11/tools/bzl/maven_jar.bzl:175:28: in ERROR: An error occurred during the fetch of repository 'awssdk_http_client_spi': Traceback (most recent call last): File "/home/jenkins/workspace/plugin-metrics-reporter-cloudwatch-bazel-master-stable-3.11/tools/bzl/maven_jar.bzl", line 171, column 17, in _maven_jar_impl fail("failed %s: %s" % (args, out.stderr)) Error in fail: failed [/usr/bin/python3, /home/jenkins/workspace/plugin-metrics-reporter-cloudwatch-bazel-master-stable-3.11/tools/download_file.py, "-o", /home/jenkins/.cache/bazel/_bazel_jenkins/60f952ff5a88c422612e0cc5c510ab2c/external/awssdk_http_client_spi/jar/http-client-spi-2.13.54-src.jar, "-u", "MAVEN_CENTRAL:/software/amazon/awssdk/http-client-spi/2.13.54/http-client-spi-2.13.54-sources.jar"]: Download https://repo1.maven.org/maven2/software/amazon/awssdk/http-client-spi/2.13.54/http-client-spi-2.13.54-sources.jar curl: (22) The requested URL returned error: 429 error using curl: Command '['curl', '--proxy-anyauth', '-ksSfLo', '/home/jenkins/.gerritcodereview/bazel-cache/downloaded-artifacts/http-client-spi-2.13.54-src.jar-bfa987c8fd761a38e18f5ceb8a71a54710e541ee', 'https://repo1.maven.org/maven2/software/amazon/awssdk/http-client-spi/2.13.54/http-client-spi-2.13.54-sources.jar']' returned non-zero exit status 22. ERROR: no such package '@@awssdk_http_client_spi//jar': failed [/usr/bin/python3, /home/jenkins/workspace/plugin-metrics-reporter-cloudwatch-bazel-master-stable-3.11/tools/download_file.py, "-o", /home/jenkins/.cache/bazel/_bazel_jenkins/60f952ff5a88c422612e0cc5c510ab2c/external/awssdk_http_client_spi/jar/http-client-spi-2.13.54-src.jar, "-u", "MAVEN_CENTRAL:/software/amazon/awssdk/http-client-spi/2.13.54/http-client-spi-2.13.54-sources.jar"]: Download https://repo1.maven.org/maven2/software/amazon/awssdk/http-client-spi/2.13.54/http-client-spi-2.13.54-sources.jar curl: (22) The requested URL returned error: 429 error using curl: Command '['curl', '--proxy-anyauth', '-ksSfLo', '/home/jenkins/.gerritcodereview/bazel-cache/downloaded-artifacts/http-client-spi-2.13.54-src.jar-bfa987c8fd761a38e18f5ceb8a71a54710e541ee', 'https://repo1.maven.org/maven2/software/amazon/awssdk/http-client-spi/2.13.54/http-client-spi-2.13.54-sources.jar']' returned non-zero exit status 22. ERROR: /home/jenkins/workspace/plugin-metrics-reporter-cloudwatch-bazel-master-stable-3.11/plugins/metrics-reporter-cloudwatch/BUILD:10:14: //plugins/metrics-reporter-cloudwatch:metrics-reporter-cloudwatch__plugin depends on @@awssdk_http_client_spi//jar:jar in repository @@awssdk_http_client_spi which failed to fetch. no such package '@@awssdk_http_client_spi//jar': failed [/usr/bin/python3, /home/jenkins/workspace/plugin-metrics-reporter-cloudwatch-bazel-master-stable-3.11/tools/download_file.py, "-o", /home/jenkins/.cache/bazel/_bazel_jenkins/60f952ff5a88c422612e0cc5c510ab2c/external/awssdk_http_client_spi/jar/http-client-spi-2.13.54-src.jar, "-u", "MAVEN_CENTRAL:/software/amazon/awssdk/http-client-spi/2.13.54/http-client-spi-2.13.54-sources.jar"]: Download https://repo1.maven.org/maven2/software/amazon/awssdk/http-client-spi/2.13.54/http-client-spi-2.13.54-sources.jar curl: (22) The requested URL returned error: 429 error using curl: Command '['curl', '--proxy-anyauth', '-ksSfLo', '/home/jenkins/.gerritcodereview/bazel-cache/downloaded-artifacts/http-client-spi-2.13.54-src.jar-bfa987c8fd761a38e18f5ceb8a71a54710e541ee', 'https://repo1.maven.org/maven2/software/amazon/awssdk/http-client-spi/2.13.54/http-client-spi-2.13.54-sources.jar']' returned non-zero exit status 22. ERROR: Analysis of target '//plugins/metrics-reporter-cloudwatch:metrics-reporter-cloudwatch' failed; build aborted: Analysis failed INFO: Elapsed time: 10.768s, Critical Path: 1.74s INFO: 1 process: 1 internal. ERROR: Build did NOT complete successfully FAILED: Build step 'Execute shell' marked build as failure Archiving artifacts Finished: FAILURE