Started by an SCM change Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on ha:////4ACpEp/POHYgx8BbTnjZl4kfbud2+z9hwZ0DUiFEA44uAAAAqh+LCAAAAAAAAP9b85aBtbiIQTGjNKU4P08vOT+vOD8nVc83PyU1x6OyILUoJzMv2y+/JJUBAhiZGBgqihhk0NSjKDWzXb3RdlLBUSYGJk8GtpzUvPSSDB8G5tKinBIGIZ+sxLJE/ZzEvHT94JKizLx0a6BxUmjGOUNodHsLgAz5EgY5/eT83ILSktQi/ZT85OzUIl0DA+PEqqp046Q8S8N0AJj0WKjTAAAAdocker-003azzg3bn91g on gcloud1 (bazel-chrome-latest bazel-debian mvn bazel-debian-chrome-latest docker) in workspace /home/jenkins/workspace/plugin-login-redirect-bazel-master-stable-3.6 Selected Git installation does not exist. Using Default Wiping out workspace first. Cloning the remote Git repository Cloning repository https://gerrit.googlesource.com/a/plugins/login-redirect > /usr/bin/git init /home/jenkins/workspace/plugin-login-redirect-bazel-master-stable-3.6 # timeout=10 Fetching upstream changes from https://gerrit.googlesource.com/a/plugins/login-redirect > /usr/bin/git --version # timeout=10 using GIT_ASKPASS to set credentials .netrc credentials for gerrit.googlesource.com > /usr/bin/git fetch --tags --force --progress -- https://gerrit.googlesource.com/a/plugins/login-redirect +refs/heads/*:refs/remotes/origin/* # timeout=10 > /usr/bin/git config remote.origin.url https://gerrit.googlesource.com/a/plugins/login-redirect # timeout=10 > /usr/bin/git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > /usr/bin/git config remote.origin.url https://gerrit.googlesource.com/a/plugins/login-redirect # timeout=10 Fetching upstream changes from https://gerrit.googlesource.com/a/plugins/login-redirect using GIT_ASKPASS to set credentials .netrc credentials for gerrit.googlesource.com > /usr/bin/git fetch --tags --force --progress -- https://gerrit.googlesource.com/a/plugins/login-redirect +refs/heads/*:refs/remotes/origin/* # timeout=10 > /usr/bin/git rev-parse refs/remotes/origin/master^{commit} # timeout=10 > /usr/bin/git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10 Checking out Revision e9e48538d19cd7406850a0671c6e5b763f7095da (refs/remotes/origin/master) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f e9e48538d19cd7406850a0671c6e5b763f7095da # timeout=10 Commit message: "Do not redirect git over http" > /usr/bin/git rev-list --no-walk 0f50cb7918e68de235d3f4ebcba3723f7733f97d # timeout=10 [plugin-login-redirect-bazel-master-stable-3.6] $ /bin/bash -e /tmp/jenkins7069263954649682780.sh [plugin-login-redirect-bazel-master-stable-3.6] $ /bin/bash -e /tmp/jenkins510228882545456398.sh Java set to: /usr/lib/jvm/java-17-openjdk-amd64/bin/java Building plugin login-redirect/master with Gerrit/stable-3.6 From https://gerrit.googlesource.com/a/gerrit * branch stable-3.6 -> FETCH_HEAD * [new branch] stable-3.6 -> gerrit/stable-3.6 Previous HEAD position was e9e48538d1 Do not redirect git over http Switched to a new branch 'stable-3.6' Branch 'stable-3.6' set up to track remote branch 'stable-3.6' from 'gerrit'. 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-login-redirect-bazel-master-stable-3.6/modules/jgit'... Cloning into '/home/jenkins/workspace/plugin-login-redirect-bazel-master-stable-3.6/plugins/codemirror-editor'... Cloning into '/home/jenkins/workspace/plugin-login-redirect-bazel-master-stable-3.6/plugins/commit-message-length-validator'... Cloning into '/home/jenkins/workspace/plugin-login-redirect-bazel-master-stable-3.6/plugins/delete-project'... Cloning into '/home/jenkins/workspace/plugin-login-redirect-bazel-master-stable-3.6/plugins/download-commands'... Cloning into '/home/jenkins/workspace/plugin-login-redirect-bazel-master-stable-3.6/plugins/gitiles'... Cloning into '/home/jenkins/workspace/plugin-login-redirect-bazel-master-stable-3.6/plugins/hooks'... Cloning into '/home/jenkins/workspace/plugin-login-redirect-bazel-master-stable-3.6/plugins/plugin-manager'... Cloning into '/home/jenkins/workspace/plugin-login-redirect-bazel-master-stable-3.6/plugins/replication'... Cloning into '/home/jenkins/workspace/plugin-login-redirect-bazel-master-stable-3.6/plugins/reviewnotes'... Cloning into '/home/jenkins/workspace/plugin-login-redirect-bazel-master-stable-3.6/plugins/singleusergroup'... Cloning into '/home/jenkins/workspace/plugin-login-redirect-bazel-master-stable-3.6/plugins/webhooks'... Cloning into '/home/jenkins/workspace/plugin-login-redirect-bazel-master-stable-3.6/polymer-bridges'... Submodule path 'modules/jgit': checked out '5ae8d28faaf6168921f673c89a4e6d601ffad78d' Submodule path 'plugins/codemirror-editor': checked out 'c5bda5b6b5fe91a2f7cd40c5a917dd2280b04814' Submodule path 'plugins/commit-message-length-validator': checked out 'c38e0a9d36767092b20558b28eff7f546c6d754c' Submodule path 'plugins/delete-project': checked out '5717badf4250dfe900c05fc00d0758a09ba77297' 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 '10db2cf772989d031c6f3558010c51fe07cf9722' 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.7+7-Debian-1deb11u1" 2023/11/08 16:43:11 Downloading https://releases.bazel.build/5.3.1/release/bazel-5.3.1-linux-x86_64... 2023/11/08 16:43:11 Skipping basic authentication for releases.bazel.build because no credentials found in /home/jenkins/.netrc Bazelisk version: v1.12.0 Extracting Bazel installation... Starting local Bazel server and connecting to it... Build label: 5.3.1 Build target: bazel-out/k8-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar Build time: Mon Sep 19 17:28:49 2022 (1663608529) Build timestamp: 1663608529 Build timestamp as int: 1663608529 INFO: Invocation ID: 651d8bce-d220-48d7-85cf-9a09f6e6b7aa 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-login-redirect-bazel-master-stable-3.6/.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 --host_conlyopt=-std=c90 --incompatible_strict_action_env --announce_rc Loading: Loading: 0 packages loaded Loading: 0 packages loaded Loading: 0 packages loaded Loading: 0 packages loaded Loading: 0 packages loaded Analyzing: target //plugins/login-redirect:login-redirect (1 packages loaded, 0 targets configured) Analyzing: target //plugins/login-redirect:login-redirect (34 packages loaded, 7 targets configured) Analyzing: target //plugins/login-redirect:login-redirect (34 packages loaded, 7 targets configured) Analyzing: target //plugins/login-redirect:login-redirect (34 packages loaded, 7 targets configured) Analyzing: target //plugins/login-redirect:login-redirect (34 packages loaded, 7 targets configured) Analyzing: target //plugins/login-redirect:login-redirect (46 packages loaded, 466 targets configured) Analyzing: target //plugins/login-redirect:login-redirect (52 packages loaded, 844 targets configured) Analyzing: target //plugins/login-redirect:login-redirect (52 packages loaded, 844 targets configured) Analyzing: target //plugins/login-redirect:login-redirect (53 packages loaded, 992 targets configured) Analyzing: target //plugins/login-redirect:login-redirect (53 packages loaded, 992 targets configured) INFO: Analyzed target //plugins/login-redirect:login-redirect (231 packages loaded, 5772 targets configured). INFO: Found 1 target... [0 / 56] [Prepa] Writing file external/remote_java_tools/singlejar_cc_bin-2.params ... (9 actions, 0 running) [85 / 390] Compiling src/google/protobuf/compiler/command_line_interface.cc; 5s remote-cache, linux-sandbox ... (63 actions, 62 running) [129 / 390] Compiling src/google/protobuf/compiler/js/js_generator.cc; 11s remote-cache, linux-sandbox ... (63 actions, 62 running) [212 / 473] Compiling src/google/protobuf/descriptor.pb.cc; 9s remote-cache, linux-sandbox ... (47 actions, 46 running) INFO: From Compiling java_tools/src/tools/singlejar/combiners.cc: 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:84: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:84: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]; | ^~~~~~~~~~ [445 / 534] Compiling src/google/protobuf/descriptor.cc; 12s remote-cache, linux-sandbox ... (25 actions, 24 running) [488 / 534] Building external/jgit/org.eclipse.jgit/libjgit_non_stamped-class.jar (904 source files); 10s remote-cache, multiplex-worker ... (3 actions, 2 running) [489 / 534] Building external/jgit/org.eclipse.jgit/libjgit_non_stamped-class.jar (904 source files); 21s remote-cache, multiplex-worker [515 / 534] Compiling Java headers java/com/google/gerrit/server/libserver-hjar.jar (1129 source files); 1s remote-cache, linux-sandbox Target //plugins/login-redirect:login-redirect up-to-date: bazel-bin/plugins/login-redirect/login-redirect.jar INFO: Elapsed time: 108.034s, Critical Path: 50.87s INFO: 534 processes: 1 disk cache hit, 92 internal, 434 linux-sandbox, 7 worker. INFO: Build completed successfully, 534 total actions INFO: Build completed successfully, 534 total actions INFO: Invocation ID: 45102408-cfeb-4c96-b1d3-c7f3a4202c54 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-login-redirect-bazel-master-stable-3.6/.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 --host_conlyopt=-std=c90 --incompatible_strict_action_env --announce_rc INFO: Reading rc options for 'test' from /home/jenkins/workspace/plugin-login-redirect-bazel-master-stable-3.6/.bazelrc: 'test' options: --build_tests_only --test_output=all 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 (3 packages loaded, 552 targets configured). INFO: Found 1 test target... [0 / 2] [Prepa] BazelWorkspaceStatusAction stable-status.txt INFO: From Testing //tools/bzl:always_pass_test: ==================== Test output for //tools/bzl:always_pass_test: ================================================================================ [4 / 5] 1 / 1 tests; [Prepa] BazelWorkspaceStatusAction stable-status.txt Target //tools/bzl:always_pass_test up-to-date: bazel-bin/tools/bzl/always_pass_test INFO: Elapsed time: 2.598s, Critical Path: 1.49s INFO: 5 processes: 3 internal, 2 linux-sandbox. INFO: Build completed successfully, 5 total actions //tools/bzl:always_pass_test PASSED in 0.1s 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. INFO: Build completed successfully, 5 total actions Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 Nov 08, 2023 4:45:07 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-login-redirect-bazel-master-stable-3.6] $ /bin/bash -e /tmp/jenkins290945960636189065.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 2270 0 2270 0 0 41272 0 --:--:-- --:--:-- --:--:-- 41272 Archiving artifacts Finished: SUCCESS