Started by user ha:////4A52BKSfCWAUP5ho9/KHi8vnIsp0wYVNrRwmhgiz+UDNAAAAnh+LCAAAAAAAAP9b85aBtbiIQTGjNKU4P08vOT+vOD8nVc83PyU1x6OyILUoJzMv2y+/JJUBAhiZGBgqihhk0NSjKDWzXb3RdlLBUSYGJk8GtpzUvPSSDB8G5tKinBIGIZ+sxLJE/ZzEvHT94JKizLx0a6BxUmjGOUNodHsLgAy+EgZh/dLi1CL9nNLkxNxMoEmpxZn5ANPJiavIAAAALuca Milanesio Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on ha:////4HRykcwAlN7+JX/wheO1t2s91ZnorX0Nudyp9cD9DAVCAAAAqh+LCAAAAAAAAP9b85aBtbiIQTGjNKU4P08vOT+vOD8nVc83PyU1x6OyILUoJzMv2y+/JJUBAhiZGBgqihhk0NSjKDWzXb3RdlLBUSYGJk8GtpzUvPSSDB8G5tKinBIGIZ+sxLJE/ZzEvHT94JKizLx0a6BxUmjGOUNodHsLgAylEgY5/eT83ILSktQi/ZT85OzUIl0DAxPjqsqqFOOUVNMsAEStCJfTAAAAdocker-0043zyzd3de5j on dockerhost (bazel-debian bazel-debian-chrome-latest) in workspace /home/jenkins/workspace/plugin-metrics-reporter-prometheus-bazel-master-stable-3.7 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-prometheus > git init /home/jenkins/workspace/plugin-metrics-reporter-prometheus-bazel-master-stable-3.7 # timeout=10 Fetching upstream changes from https://gerrit.googlesource.com/a/plugins/metrics-reporter-prometheus > git --version # timeout=10 > git --version # 'git version 2.42.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-prometheus +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url https://gerrit.googlesource.com/a/plugins/metrics-reporter-prometheus # 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 f2ee1de665281596ae300144243fcf94bf6f1f7d (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f f2ee1de665281596ae300144243fcf94bf6f1f7d # timeout=10 Commit message: "Merge branch 'stable-2.16'" > git rev-list --no-walk f2ee1de665281596ae300144243fcf94bf6f1f7d # timeout=10 [plugin-metrics-reporter-prometheus-bazel-master-stable-3.7] $ /bin/bash -e /tmp/jenkins7305624284169997278.sh [plugin-metrics-reporter-prometheus-bazel-master-stable-3.7] $ /bin/bash -e /tmp/jenkins3056884024553301201.sh Java set to: /usr/lib/jvm/java-17-openjdk-amd64/bin/java Building plugin metrics-reporter-prometheus/master with Gerrit/stable-3.7 from plugins/metrics-reporter-prometheus From https://gerrit.googlesource.com/a/gerrit * branch stable-3.7 -> FETCH_HEAD * [new branch] stable-3.7 -> gerrit/stable-3.7 Previous HEAD position was f2ee1de665 Merge branch 'stable-2.16' Switched to a new branch 'stable-3.7' branch 'stable-3.7' set up to track 'gerrit/stable-3.7'. 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-prometheus-bazel-master-stable-3.7/modules/jgit'... Cloning into '/home/jenkins/workspace/plugin-metrics-reporter-prometheus-bazel-master-stable-3.7/plugins/codemirror-editor'... Cloning into '/home/jenkins/workspace/plugin-metrics-reporter-prometheus-bazel-master-stable-3.7/plugins/commit-message-length-validator'... Cloning into '/home/jenkins/workspace/plugin-metrics-reporter-prometheus-bazel-master-stable-3.7/plugins/delete-project'... Cloning into '/home/jenkins/workspace/plugin-metrics-reporter-prometheus-bazel-master-stable-3.7/plugins/download-commands'... Cloning into '/home/jenkins/workspace/plugin-metrics-reporter-prometheus-bazel-master-stable-3.7/plugins/gitiles'... Cloning into '/home/jenkins/workspace/plugin-metrics-reporter-prometheus-bazel-master-stable-3.7/plugins/hooks'... Cloning into '/home/jenkins/workspace/plugin-metrics-reporter-prometheus-bazel-master-stable-3.7/plugins/plugin-manager'... Cloning into '/home/jenkins/workspace/plugin-metrics-reporter-prometheus-bazel-master-stable-3.7/plugins/replication'... Cloning into '/home/jenkins/workspace/plugin-metrics-reporter-prometheus-bazel-master-stable-3.7/plugins/reviewnotes'... Cloning into '/home/jenkins/workspace/plugin-metrics-reporter-prometheus-bazel-master-stable-3.7/plugins/singleusergroup'... Cloning into '/home/jenkins/workspace/plugin-metrics-reporter-prometheus-bazel-master-stable-3.7/plugins/webhooks'... Cloning into '/home/jenkins/workspace/plugin-metrics-reporter-prometheus-bazel-master-stable-3.7/polymer-bridges'... Submodule path 'modules/jgit': checked out 'c0b415fb028b4c1f29b6df749323bbb11599495d' Submodule path 'plugins/codemirror-editor': checked out '3af12c5a5e65861830b42bd07933e275c33b9159' Submodule path 'plugins/commit-message-length-validator': checked out 'c38e0a9d36767092b20558b28eff7f546c6d754c' Submodule path 'plugins/delete-project': checked out '8f6ea7eeb22f8b8487d3b433d367272172ea32d1' Submodule path 'plugins/download-commands': checked out 'b90e523f589a0e2902823233010163f453243926' Submodule path 'plugins/gitiles': checked out '24529d232268ac51fd6850770f70dc0fcd732dd8' Submodule path 'plugins/hooks': checked out '30073628612bce23826f4be71bfdd159da521cbc' Submodule path 'plugins/plugin-manager': checked out 'ba74d4969462c2592bcf97868dd76c33041d47b2' Submodule path 'plugins/replication': checked out '47ee3dab0dd96900e85662adf0d5f48a33d17733' Submodule path 'plugins/reviewnotes': checked out '4198fe8df1c1b86d812f32da63e891b1c2fc6f3e' Submodule path 'plugins/singleusergroup': checked out '3239ce3a471f5aa9edd8f6f702bee655ea81f77d' Submodule path 'plugins/webhooks': checked out '1dc0a718839f8872a59c189da7243ee77a4fe782' Submodule path 'polymer-bridges': checked out '855f4781b702de120953a64da5c277ea4908deaa' openjdk full version "17.0.9+9-Debian-1deb11u1" Bazelisk version: v1.12.0 Starting local Bazel server and connecting to it... Build label: 6.3.2 Build target: bazel-out/k8-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar Build time: Tue Aug 8 15:48:33 2023 (1691509713) Build timestamp: 1691509713 Build timestamp as int: 1691509713 INFO: Invocation ID: f8f0f7b3-36d6-4350-8c76-686c7e9fe8b7 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-prometheus-bazel-master-stable-3.7/.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=11 --java_runtime_version=remotejdk_11 --tool_java_language_version=11 --tool_java_runtime_version=remotejdk_11 --incompatible_strict_action_env --announce_rc Loading: Loading: Loading: Loading: Loading: 0 packages loaded Analyzing: target //plugins/metrics-reporter-prometheus:metrics-reporter-prometheus (1 packages loaded, 0 targets configured) Analyzing: target //plugins/metrics-reporter-prometheus:metrics-reporter-prometheus (36 packages loaded, 146 targets configured) Analyzing: target //plugins/metrics-reporter-prometheus:metrics-reporter-prometheus (37 packages loaded, 146 targets configured) Analyzing: target //plugins/metrics-reporter-prometheus:metrics-reporter-prometheus (37 packages loaded, 146 targets configured) Analyzing: target //plugins/metrics-reporter-prometheus:metrics-reporter-prometheus (37 packages loaded, 146 targets configured) Analyzing: target //plugins/metrics-reporter-prometheus:metrics-reporter-prometheus (37 packages loaded, 146 targets configured) Analyzing: target //plugins/metrics-reporter-prometheus:metrics-reporter-prometheus (54 packages loaded, 621 targets configured) Analyzing: target //plugins/metrics-reporter-prometheus:metrics-reporter-prometheus (54 packages loaded, 621 targets configured) Analyzing: target //plugins/metrics-reporter-prometheus:metrics-reporter-prometheus (54 packages loaded, 621 targets configured) Analyzing: target //plugins/metrics-reporter-prometheus:metrics-reporter-prometheus (54 packages loaded, 621 targets configured) Analyzing: target //plugins/metrics-reporter-prometheus:metrics-reporter-prometheus (54 packages loaded, 621 targets configured) Analyzing: target //plugins/metrics-reporter-prometheus:metrics-reporter-prometheus (54 packages loaded, 621 targets configured) Analyzing: target //plugins/metrics-reporter-prometheus:metrics-reporter-prometheus (55 packages loaded, 640 targets configured) INFO: Analyzed target //plugins/metrics-reporter-prometheus:metrics-reporter-prometheus (236 packages loaded, 5438 targets configured). checking cached actions INFO: Found 1 target... [0 / 0] checking cached actions [300 / 490] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... (31 actions, 30 running) INFO: From Compiling java_tools/src/tools/singlejar/combiners.cc [for tool]: In file included from /usr/include/string.h:495, from bazel-out/k8-opt-exec-2B5CBBC6/bin/external/remote_java_tools/_virtual_includes/combiners/src/tools/singlejar/zip_headers.h:24, from bazel-out/k8-opt-exec-2B5CBBC6/bin/external/remote_java_tools/_virtual_includes/combiners/src/tools/singlejar/transient_bytes.h:26, from bazel-out/k8-opt-exec-2B5CBBC6/bin/external/remote_java_tools/_virtual_includes/combiners/src/tools/singlejar/combiners.h:24, from external/remote_java_tools/java_tools/src/tools/singlejar/combiners.cc:15: In function 'void* memcpy(void*, const void*, size_t)', inlined from 'void LH::extra_fields(const uint8_t*, uint16_t)' at bazel-out/k8-opt-exec-2B5CBBC6/bin/external/remote_java_tools/_virtual_includes/combiners/src/tools/singlejar/zip_headers.h:290:13, inlined from 'virtual void* Concatenator::OutputEntry(bool)' at external/remote_java_tools/java_tools/src/tools/singlejar/combiners.cc:88:21: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:34:33: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 34 | return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from bazel-out/k8-opt-exec-2B5CBBC6/bin/external/remote_java_tools/_virtual_includes/combiners/src/tools/singlejar/transient_bytes.h:26, from bazel-out/k8-opt-exec-2B5CBBC6/bin/external/remote_java_tools/_virtual_includes/combiners/src/tools/singlejar/combiners.h:24, from external/remote_java_tools/java_tools/src/tools/singlejar/combiners.cc:15: bazel-out/k8-opt-exec-2B5CBBC6/bin/external/remote_java_tools/_virtual_includes/combiners/src/tools/singlejar/zip_headers.h: In member function 'virtual void* Concatenator::OutputEntry(bool)': bazel-out/k8-opt-exec-2B5CBBC6/bin/external/remote_java_tools/_virtual_includes/combiners/src/tools/singlejar/zip_headers.h:327:8: note: at offset 0 to object 'LH::file_name_' with size 0 declared here 327 | char file_name_[0]; | ^~~~~~~~~~ In file included from /usr/include/string.h:495, from bazel-out/k8-opt-exec-2B5CBBC6/bin/external/remote_java_tools/_virtual_includes/combiners/src/tools/singlejar/zip_headers.h:24, from bazel-out/k8-opt-exec-2B5CBBC6/bin/external/remote_java_tools/_virtual_includes/combiners/src/tools/singlejar/transient_bytes.h:26, from bazel-out/k8-opt-exec-2B5CBBC6/bin/external/remote_java_tools/_virtual_includes/combiners/src/tools/singlejar/combiners.h:24, from external/remote_java_tools/java_tools/src/tools/singlejar/combiners.cc:15: In function 'void* memcpy(void*, const void*, size_t)', inlined from 'void LH::extra_fields(const uint8_t*, uint16_t)' at bazel-out/k8-opt-exec-2B5CBBC6/bin/external/remote_java_tools/_virtual_includes/combiners/src/tools/singlejar/zip_headers.h:290:13, inlined from 'virtual void* Concatenator::OutputEntry(bool)' at external/remote_java_tools/java_tools/src/tools/singlejar/combiners.cc:88:21: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:34:33: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 34 | return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from bazel-out/k8-opt-exec-2B5CBBC6/bin/external/remote_java_tools/_virtual_includes/combiners/src/tools/singlejar/transient_bytes.h:26, from bazel-out/k8-opt-exec-2B5CBBC6/bin/external/remote_java_tools/_virtual_includes/combiners/src/tools/singlejar/combiners.h:24, from external/remote_java_tools/java_tools/src/tools/singlejar/combiners.cc:15: bazel-out/k8-opt-exec-2B5CBBC6/bin/external/remote_java_tools/_virtual_includes/combiners/src/tools/singlejar/zip_headers.h: In member function 'virtual void* Concatenator::OutputEntry(bool)': bazel-out/k8-opt-exec-2B5CBBC6/bin/external/remote_java_tools/_virtual_includes/combiners/src/tools/singlejar/zip_headers.h:327:8: note: at offset 0 to object 'LH::file_name_' with size 0 declared here 327 | char file_name_[0]; | ^~~~~~~~~~ [314 / 490] Compiling java_tools/ijar/classfile.cc [for tool]; 1s remote-cache, linux-sandbox ... (8 actions running) [316 / 490] Compiling java_tools/ijar/classfile.cc [for tool]; 2s remote-cache, linux-sandbox ... (6 actions running) [416 / 490] Compiling Java headers java/com/google/gerrit/launcher/liblauncher-hjar.jar (1 source file); 0s remote-cache, linux-sandbox ... (30 actions running) [435 / 490] Building lib/prolog/libcompiler-lib.jar (1 source file) [for tool]; 1s remote-cache, multiplex-worker ... (10 actions running) [440 / 490] Building external/jgit/org.eclipse.jgit/libjgit_non_stamped-class.jar (924 source files); 1s remote-cache, multiplex-worker ... (10 actions running) [443 / 490] Building external/jgit/org.eclipse.jgit/libjgit_non_stamped-class.jar (924 source files); 2s remote-cache, multiplex-worker ... (6 actions running) [444 / 490] Building external/jgit/org.eclipse.jgit/libjgit_non_stamped-class.jar (924 source files); 3s remote-cache, multiplex-worker ... (4 actions running) [445 / 490] Building external/jgit/org.eclipse.jgit/libjgit_non_stamped-class.jar (924 source files); 4s remote-cache, multiplex-worker [446 / 490] [Prepa] Building Java resource jar [448 / 490] [Prepa] Compiling Java headers java/com/google/gerrit/jgit/libjgit-hjar.jar (1 source file) [456 / 490] Compiling Java headers java/com/google/gerrit/server/data/libdata-hjar.jar (14 source files); 0s remote-cache, linux-sandbox ... (17 actions, 16 running) [466 / 490] Compiling Java headers java/com/google/gerrit/server/logging/liblogging-hjar.jar (16 source files); 0s remote-cache, linux-sandbox [468 / 490] Compiling Java headers java/com/google/gerrit/index/libindex-hjar.jar (51 source files); 0s remote-cache, linux-sandbox [471 / 490] Compiling Java headers java/com/google/gerrit/server/libserver-hjar.jar (1142 source files) and running annotation processors (AutoFactoryProcessor); 0s remote-cache, linux-sandbox [472 / 490] [Prepa] Compiling Java headers java/com/google/gerrit/pgm/init/api/libapi-hjar.jar (14 source files) [478 / 490] Compiling Java headers java/com/google/gerrit/server/restapi/librestapi-hjar.jar (311 source files) and running annotation processors (AutoFactoryProcessor); 1s remote-cache, linux-sandbox ... (4 actions running) [482 / 490] Compiling Java headers java/com/google/gerrit/httpd/libhttpd-hjar.jar (102 source files); 0s remote-cache, linux-sandbox ... (6 actions running) [485 / 490] Compiling Java headers java/com/google/gerrit/server/schema/libschema-hjar.jar (29 source files); 0s remote-cache, linux-sandbox [487 / 490] [Prepa] Building Java resource jar Target //plugins/metrics-reporter-prometheus:metrics-reporter-prometheus up-to-date: bazel-bin/plugins/metrics-reporter-prometheus/metrics-reporter-prometheus.jar INFO: Elapsed time: 54.497s, Critical Path: 28.82s INFO: 490 processes: 200 disk cache hit, 75 internal, 208 linux-sandbox, 7 worker. INFO: Build completed successfully, 490 total actions INFO: Invocation ID: 72ae88c6-7a5a-42a5-9be0-10880a428f53 INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'test' from /home/jenkins/workspace/plugin-metrics-reporter-prometheus-bazel-master-stable-3.7/.bazelrc: Inherited '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=11 --java_runtime_version=remotejdk_11 --tool_java_language_version=11 --tool_java_runtime_version=remotejdk_11 --incompatible_strict_action_env --announce_rc INFO: Reading rc options for 'test' from /home/jenkins/workspace/plugin-metrics-reporter-prometheus-bazel-master-stable-3.7/.bazelrc: 'test' options: --build_tests_only --test_output=all Loading: Loading: Loading: 0 packages loaded INFO: Build option --test_env has changed, discarding analysis cache. Analyzing: target //tools/bzl:always_pass_test (1 packages loaded, 0 targets configured) INFO: Analyzed target //tools/bzl:always_pass_test (2 packages loaded, 195 targets configured). INFO: Found 1 test target... [0 / 4] [Prepa] BazelWorkspaceStatusAction stable-status.txt INFO: From Testing //tools/bzl:always_pass_test: ==================== Test output for //tools/bzl:always_pass_test: ================================================================================ Target //tools/bzl:always_pass_test up-to-date: bazel-bin/tools/bzl/always_pass_test INFO: Elapsed time: 1.397s, Critical Path: 0.97s INFO: 5 processes: 3 internal, 2 linux-sandbox. INFO: Build completed successfully, 5 total actions //tools/bzl:always_pass_test PASSED in 0.0s Executed 1 out of 1 test: 1 test passes. There were tests whose specified size is too big. Use the --test_verbose_timeout_warnings command line option to see which ones these are. Jun 19, 2024 2:20:19 PM java.util.jar.Attributes read WARNING: Duplicate name in Manifest: Implementation-Version. Ensure that the manifest does not have duplicate entries, and that blank lines separate individual sections in both your manifest and in the META-INF/MANIFEST.MF entry in the jar file. [plugin-metrics-reporter-prometheus-bazel-master-stable-3.7] $ /bin/bash -e /tmp/jenkins5371941429205174666.sh % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2292 0 2292 0 0 22252 0 --:--:-- --:--:-- --:--:-- 22252 Archiving artifacts Finished: SUCCESS