Started by an SCM change Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on ha:////4D0Mp9k3nELlrr58S6cPqwRkeTQyKtJRF4gBrOG5QIBwAAAAqh+LCAAAAAAAAP9b85aBtbiIQTGjNKU4P08vOT+vOD8nVc83PyU1x6OyILUoJzMv2y+/JJUBAhiZGBgqihhk0NSjKDWzXb3RdlLBUSYGJk8GtpzUvPSSDB8G5tKinBIGIZ+sxLJE/ZzEvHT94JKizLx0a6BxUmjGOUNodHsLgAyFEgY5/eT83ILSktQi/ZT85OzUIl0Dg+Qs03KT9Eojg3wDAJo5MRHTAAAAdocker-00cj5w4gy20o0 on gcloud64 (bazel-debian mvn bazel-chrome-69 bazel-debian-chrome-69 docker) in workspace /home/jenkins/workspace/module-index-elasticsearch-bazel-stable-3.6 Selected Git installation does not exist. Using Default Wiping out workspace first. Cloning the remote Git repository Avoid fetching tags Cloning repository https://gerrit.googlesource.com/a/gerrit > /usr/bin/git init /home/jenkins/workspace/module-index-elasticsearch-bazel-stable-3.6 # timeout=10 Fetching upstream changes from https://gerrit.googlesource.com/a/gerrit > /usr/bin/git --version # timeout=10 using GIT_ASKPASS to set credentials .netrc credentials for gerrit.googlesource.com > /usr/bin/git fetch --no-tags --force --progress -- https://gerrit.googlesource.com/a/gerrit +refs/heads/*:refs/remotes/gerrit/* # timeout=10 > /usr/bin/git config remote.gerrit.url https://gerrit.googlesource.com/a/gerrit # timeout=10 > /usr/bin/git config --add remote.gerrit.fetch +refs/heads/*:refs/remotes/gerrit/* # timeout=10 > /usr/bin/git config remote.gerrit.url https://gerrit.googlesource.com/a/gerrit # timeout=10 Fetching upstream changes from https://gerrit.googlesource.com/a/gerrit using GIT_ASKPASS to set credentials .netrc credentials for gerrit.googlesource.com > /usr/bin/git fetch --no-tags --force --progress -- https://gerrit.googlesource.com/a/gerrit +refs/heads/*:refs/remotes/gerrit/* # timeout=10 > /usr/bin/git config remote.origin.url https://gerrit.googlesource.com/a/modules/index-elasticsearch # timeout=10 Fetching upstream changes from https://gerrit.googlesource.com/a/modules/index-elasticsearch using GIT_ASKPASS to set credentials .netrc credentials for gerrit.googlesource.com > /usr/bin/git fetch --no-tags --force --progress -- https://gerrit.googlesource.com/a/modules/index-elasticsearch +refs/heads/*:refs/remotes/origin/* # timeout=10 Seen branch in repository gerrit/infra/config Seen branch in repository gerrit/master Seen branch in repository gerrit/stable-2.10 Seen branch in repository gerrit/stable-2.11 Seen branch in repository gerrit/stable-2.12 Seen branch in repository gerrit/stable-2.13 Seen branch in repository gerrit/stable-2.14 Seen branch in repository gerrit/stable-2.14-2020-11.notedb-refs-tags Seen branch in repository gerrit/stable-2.15 Seen branch in repository gerrit/stable-2.15-2020-11.notedb-refs-tags Seen branch in repository gerrit/stable-2.15-issue-13858 Seen branch in repository gerrit/stable-2.16 Seen branch in repository gerrit/stable-2.16-2020-11.notedb-refs-tags Seen branch in repository gerrit/stable-2.16-issue-13858 Seen branch in repository gerrit/stable-2.4 Seen branch in repository gerrit/stable-2.5 Seen branch in repository gerrit/stable-2.6 Seen branch in repository gerrit/stable-2.7 Seen branch in repository gerrit/stable-2.8 Seen branch in repository gerrit/stable-2.9 Seen branch in repository gerrit/stable-3.0 Seen branch in repository gerrit/stable-3.0-2020-11.notedb-refs-tags Seen branch in repository gerrit/stable-3.0-issue-13858 Seen branch in repository gerrit/stable-3.1 Seen branch in repository gerrit/stable-3.1-2020-11.notedb-refs-tags Seen branch in repository gerrit/stable-3.1-2021-07 Seen branch in repository gerrit/stable-3.1-issue-13858 Seen branch in repository gerrit/stable-3.2 Seen branch in repository gerrit/stable-3.2-2020-11.notedb-refs-tags Seen branch in repository gerrit/stable-3.2-2021-07 Seen branch in repository gerrit/stable-3.2-issue-13858 Seen branch in repository gerrit/stable-3.3 Seen branch in repository gerrit/stable-3.3-2021-07 Seen branch in repository gerrit/stable-3.3-issue-13858 Seen branch in repository gerrit/stable-3.3-issue-15563 Seen branch in repository gerrit/stable-3.4 Seen branch in repository gerrit/stable-3.4-2021-07 Seen branch in repository gerrit/stable-3.5 Seen branch in repository gerrit/stable-3.6 Seen branch in repository origin/master Seen branch in repository origin/stable-3.5 Seen branch in repository origin/stable-3.6 Seen 42 remote branches > /usr/bin/git show-ref --tags -d # timeout=10 Checking out Revision cf102dc870a111a71df3362f81bfa20334edf861 (gerrit/stable-3.6) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f cf102dc870a111a71df3362f81bfa20334edf861 # timeout=10 Commit message: "Fix stacked votes in firefox" > /usr/bin/git rev-list --no-walk cf102dc870a111a71df3362f81bfa20334edf861 # timeout=10 [module-index-elasticsearch-bazel-stable-3.6] $ /bin/bash -e /tmp/jenkins6781320369538332062.sh [module-index-elasticsearch-bazel-stable-3.6] $ /bin/bash -e /tmp/jenkins7934079253244534761.sh Java set to: /usr/lib/jvm/java-11-openjdk-amd64/bin/java 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/module-index-elasticsearch-bazel-stable-3.6/modules/jgit'... Cloning into '/home/jenkins/workspace/module-index-elasticsearch-bazel-stable-3.6/plugins/codemirror-editor'... Cloning into '/home/jenkins/workspace/module-index-elasticsearch-bazel-stable-3.6/plugins/commit-message-length-validator'... Cloning into '/home/jenkins/workspace/module-index-elasticsearch-bazel-stable-3.6/plugins/delete-project'... Cloning into '/home/jenkins/workspace/module-index-elasticsearch-bazel-stable-3.6/plugins/download-commands'... Cloning into '/home/jenkins/workspace/module-index-elasticsearch-bazel-stable-3.6/plugins/gitiles'... Cloning into '/home/jenkins/workspace/module-index-elasticsearch-bazel-stable-3.6/plugins/hooks'... Cloning into '/home/jenkins/workspace/module-index-elasticsearch-bazel-stable-3.6/plugins/plugin-manager'... Cloning into '/home/jenkins/workspace/module-index-elasticsearch-bazel-stable-3.6/plugins/replication'... Cloning into '/home/jenkins/workspace/module-index-elasticsearch-bazel-stable-3.6/plugins/reviewnotes'... Cloning into '/home/jenkins/workspace/module-index-elasticsearch-bazel-stable-3.6/plugins/singleusergroup'... Cloning into '/home/jenkins/workspace/module-index-elasticsearch-bazel-stable-3.6/plugins/webhooks'... Cloning into '/home/jenkins/workspace/module-index-elasticsearch-bazel-stable-3.6/polymer-bridges'... Submodule path 'modules/jgit': checked out '1bd087a7f515bcd944f8d8a1fbb26a0184bdccf6' 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 '71331e15af5a62ee7b13dee6ebdadf23d7e75a40' Submodule path 'plugins/gitiles': checked out '44b5333d08d02c15334f81906134a5613d3f0a3b' Submodule path 'plugins/hooks': checked out 'd760a4b49f79c31696e425e761cad0fcbfe410c9' Submodule path 'plugins/plugin-manager': checked out 'dbd68200d867513e2c0449798476e275aaf08cfd' Submodule path 'plugins/replication': checked out '99c9794a6d5d649bd60e1f0d8f59f79f929f7ba6' Submodule path 'plugins/reviewnotes': checked out '6226d01c563846ae479cb4fdafd698b31472772c' Submodule path 'plugins/singleusergroup': checked out '3239ce3a471f5aa9edd8f6f702bee655ea81f77d' Submodule path 'plugins/webhooks': checked out 'd8815bf9660b6655696db242b8ad2801e866c036' Submodule path 'polymer-bridges': checked out '855f4781b702de120953a64da5c277ea4908deaa' From https://gerrit.googlesource.com/a/modules/index-elasticsearch * branch HEAD -> FETCH_HEAD openjdk full version "11.0.12+7-post-Debian-2deb10u1" 2022/08/29 22:45:57 Downloading https://releases.bazel.build/5.0.0/release/bazel-5.0.0-linux-x86_64... Bazelisk version: v1.7.4 Extracting Bazel installation... Starting local Bazel server and connecting to it... Build label: 5.0.0 Build target: bazel-out/k8-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar Build time: Wed Jan 19 14:08:54 2022 (1642601334) Build timestamp: 1642601334 Build timestamp as int: 1642601334 INFO: Invocation ID: d007f8df-b4ac-487e-b6b0-61c7bc896417 INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'build' from /home/jenkins/workspace/module-index-elasticsearch-bazel-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 --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 Loading: 0 packages loaded Loading: 0 packages loaded Analyzing: target //plugins/index-elasticsearch:index-elasticsearch (1 packages loaded, 0 targets configured) Analyzing: target //plugins/index-elasticsearch:index-elasticsearch (32 packages loaded, 7 targets configured) Analyzing: target //plugins/index-elasticsearch:index-elasticsearch (32 packages loaded, 7 targets configured) Analyzing: target //plugins/index-elasticsearch:index-elasticsearch (32 packages loaded, 7 targets configured) Analyzing: target //plugins/index-elasticsearch:index-elasticsearch (32 packages loaded, 7 targets configured) Analyzing: target //plugins/index-elasticsearch:index-elasticsearch (32 packages loaded, 7 targets configured) Analyzing: target //plugins/index-elasticsearch:index-elasticsearch (46 packages loaded, 416 targets configured) Analyzing: target //plugins/index-elasticsearch:index-elasticsearch (54 packages loaded, 723 targets configured) Analyzing: target //plugins/index-elasticsearch:index-elasticsearch (54 packages loaded, 723 targets configured) Analyzing: target //plugins/index-elasticsearch:index-elasticsearch (55 packages loaded, 871 targets configured) Analyzing: target //plugins/index-elasticsearch:index-elasticsearch (55 packages loaded, 871 targets configured) Analyzing: target //plugins/index-elasticsearch:index-elasticsearch (194 packages loaded, 4868 targets configured) INFO: Analyzed target //plugins/index-elasticsearch:index-elasticsearch (233 packages loaded, 5620 targets configured). INFO: Found 1 target... [0 / 14] [Prepa] Writing file build-info-redacted.properties [53 / 353] Compiling src/google/protobuf/compiler/command_line_interface.cc; 5s remote-cache, processwrapper-sandbox ... (31 actions, 30 running) [82 / 353] Compiling src/google/protobuf/compiler/cpp/cpp_message.cc; 11s remote-cache, processwrapper-sandbox ... (31 actions, 30 running) [107 / 353] Compiling src/google/protobuf/compiler/objectivec/objectivec_helpers.cc; 8s remote-cache, processwrapper-sandbox ... (31 actions, 30 running) [139 / 353] Compiling src/google/protobuf/descriptor.cc; 16s remote-cache, processwrapper-sandbox ... (31 actions, 30 running) [170 / 353] Compiling src/google/protobuf/compiler/js/js_generator.cc; 12s remote-cache, processwrapper-sandbox ... (31 actions, 30 running) [325 / 405] Compiling src/google/protobuf/compiler/cpp/cpp_parse_function_generator.cc; 7s remote-cache, processwrapper-sandbox ... (18 actions, 16 running) [360 / 405] Building external/jgit/org.eclipse.jgit/libjgit_non_stamped-class.jar (866 source files); 15s remote-cache, multiplex-worker ... (4 actions running) [363 / 405] Executing genrule @jgit//org.eclipse.jgit:jgit; 2s remote-cache, processwrapper-sandbox [398 / 405] Compiling Java headers java/com/google/gerrit/httpd/libhttpd-hjar.jar (102 source files); 0s remote-cache, processwrapper-sandbox ... (6 actions running) Target //plugins/index-elasticsearch:index-elasticsearch up-to-date: bazel-bin/plugins/index-elasticsearch/index-elasticsearch.jar INFO: Elapsed time: 149.900s, Critical Path: 75.94s INFO: 405 processes: 16 disk cache hit, 29 internal, 353 processwrapper-sandbox, 7 worker. INFO: Build completed successfully, 405 total actions INFO: Build completed successfully, 405 total actions INFO: Invocation ID: 548d7dd9-2b9a-4223-9e32-e7b1d0ffcabf INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'test' from /home/jenkins/workspace/module-index-elasticsearch-bazel-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 --incompatible_strict_action_env --announce_rc INFO: Reading rc options for 'test' from /home/jenkins/workspace/module-index-elasticsearch-bazel-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: 6 targets (1 packages loaded, 0 targets configured) Analyzing: 6 targets (57 packages loaded, 5881 targets configured) INFO: Analyzed 6 targets (78 packages loaded, 6293 targets configured). INFO: Found 6 test targets... [0 / 3] [Prepa] BazelWorkspaceStatusAction stable-status.txt [392 / 511] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... (27 actions, 21 running) [399 / 535] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... (30 actions, 19 running) [405 / 554] Building external/com_google_protobuf/java/core/libcore.jar (36 source files, 1 source jar); 2s remote-cache, multiplex-worker ... (32 actions, 21 running) [408 / 554] Building external/com_google_protobuf/java/core/libcore.jar (36 source files, 1 source jar); 3s remote-cache, multiplex-worker ... (32 actions, 22 running) [413 / 554] Building external/com_google_protobuf/java/core/libcore.jar (36 source files, 1 source jar); 4s remote-cache, multiplex-worker ... (32 actions, 21 running) [414 / 554] Building external/com_google_protobuf/java/core/libcore.jar (36 source files, 1 source jar); 5s remote-cache, multiplex-worker ... (32 actions, 20 running) [419 / 554] Building external/com_google_protobuf/java/core/libcore.jar (36 source files, 1 source jar); 6s remote-cache, multiplex-worker ... (32 actions, 22 running) [421 / 554] Building external/com_google_protobuf/java/core/libcore.jar (36 source files, 1 source jar); 8s remote-cache, multiplex-worker ... (32 actions, 21 running) [427 / 554] Building external/com_google_protobuf/java/core/libcore.jar (36 source files, 1 source jar); 9s remote-cache, multiplex-worker ... (32 actions, 20 running) [432 / 554] Building external/com_google_protobuf/java/core/libcore.jar (36 source files, 1 source jar); 11s remote-cache, multiplex-worker ... (32 actions, 21 running) [448 / 554] Building external/com_google_protobuf/java/core/libcore.jar (36 source files, 1 source jar); 14s remote-cache, multiplex-worker ... (32 actions, 21 running) [457 / 562] Building proto/libcache_proto-speed.jar (1 source jar); 10s remote-cache, multiplex-worker ... (31 actions, 18 running) INFO: From Building java/com/google/gerrit/extensions/common/testing/libcommon-test-util.jar (13 source files): java/com/google/gerrit/extensions/common/testing/GitPersonSubject.java:82: warning: [JavaUtilDate] Date has a bad API that leads to bugs; prefer java.time.Instant or LocalDate. check("roundedDate()").that(gitPerson.date.getTime()).isEqualTo(ident.getWhen().getTime()); ^ (see https://errorprone.info/bugpattern/JavaUtilDate) [485 / 585] Building java/com/google/gerrit/index/libquery_exception.jar (2 source files); 2s remote-cache ... (32 actions, 23 running) [499 / 585] Building java/com/google/gerrit/entities/libentities.jar (75 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor, AutoOneOfProcessor, AutoValueGsonAdapterFactoryProcessor); 5s remote-cache, multiplex-worker ... (31 actions, 21 running) [514 / 585] Building java/com/google/gerrit/entities/libentities.jar (75 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor, AutoOneOfProcessor, AutoValueGsonAdapterFactoryProcessor); 9s remote-cache, multiplex-worker ... (31 actions, 19 running) [529 / 585] Building java/com/google/gerrit/gpg/libgpg.jar (18 source files); 6s remote-cache ... (32 actions, 23 running) [557 / 589] Building java/com/google/gerrit/server/fixes/testing/libtesting.jar (2 source files); 4s remote-cache ... (31 actions, 20 running) INFO: From Testing //tools/bzl:always_pass_test: ==================== Test output for //tools/bzl:always_pass_test: ================================================================================ [583 / 592] 1 / 6 tests; Building java/com/google/gerrit/server/restapi/librestapi.jar (303 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor, AutoOneOfProcessor); 11s remote-cache, multiplex-worker ... (16 actions, 12 running) [590 / 592] 1 / 6 tests; Building java/com/google/gerrit/server/libserver-class.jar (1123 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor, AutoOneOfProcessor); 12s remote-cache, multiplex-worker [590 / 592] 1 / 6 tests; Building java/com/google/gerrit/server/libserver-class.jar (1123 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor, AutoOneOfProcessor); 20s remote-cache, multiplex-worker INFO: From Building java/com/google/gerrit/server/libserver-class.jar (1123 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor, AutoOneOfProcessor): java/com/google/gerrit/server/notedb/CommitRewriter.java:585: warning: [JavaUtilDate] Date has a bad API that leads to bugs; prefer java.time.Instant or LocalDate. && newIdent.getWhen().getTime() == originalIdent.getWhen().getTime() ^ (see https://errorprone.info/bugpattern/JavaUtilDate) java/com/google/gerrit/server/notedb/CommitRewriter.java:585: warning: [JavaUtilDate] Date has a bad API that leads to bugs; prefer java.time.Instant or LocalDate. && newIdent.getWhen().getTime() == originalIdent.getWhen().getTime() ^ (see https://errorprone.info/bugpattern/JavaUtilDate) [591 / 592] 1 / 6 tests; [Prepa] Building Java resource jar INFO: From Testing //plugins/index-elasticsearch:index-elasticsearch_tests: ==================== Test output for //plugins/index-elasticsearch:index-elasticsearch_tests: JUnit4 Test Runner .log4j:WARN No appenders could be found for logger (com.google.gerrit.elasticsearch.ElasticConfiguration). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. .......... Time: 0.413 OK (11 tests) BazelTestRunner exiting with a return value of 0 JVM shutdown hooks (if any) will run now. The JVM will exit once they complete. -- JVM shutdown starting at 2022-08-29 22:49:59 -- ================================================================================ [593 / 597] 2 / 6 tests; Testing //plugins/index-elasticsearch:elasticsearch_query_changes_test_V7; 13s remote-cache, processwrapper-sandbox ... (8 actions running) [593 / 597] 2 / 6 tests; Testing //plugins/index-elasticsearch:elasticsearch_query_changes_test_V7; 36s remote-cache, processwrapper-sandbox ... (8 actions running)