Started by user ha:////4LhIf0vdZMLFequGTVnN1cMcIypvsThRPBC5Va3yiaavAAAAnh+LCAAAAAAAAP9b85aBtbiIQTGjNKU4P08vOT+vOD8nVc83PyU1x6OyILUoJzMv2y+/JJUBAhiZGBgqihhk0NSjKDWzXb3RdlLBUSYGJk8GtpzUvPSSDB8G5tKinBIGIZ+sxLJE/ZzEvHT94JKizLx0a6BxUmjGOUNodHsLgAy+EgZh/dLi1CL9nNLkxNxMoEmpxZn5ANPJiavIAAAALuca Milanesio [logstash-plugin]: Failed to send log data: rabbitmq:5672. [logstash-plugin]: No Further logs will be sent to rabbitmq:5672. java.net.UnknownHostException: rabbitmq at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:589) at com.rabbitmq.client.impl.FrameHandlerFactory.create(FrameHandlerFactory.java:32) at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:588) at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:612) at jenkins.plugins.logstash.persistence.RabbitMqDao.push(RabbitMqDao.java:116) at jenkins.plugins.logstash.LogstashWriter.write(LogstashWriter.java:176) at jenkins.plugins.logstash.LogstashWriter.write(LogstashWriter.java:111) at jenkins.plugins.logstash.LogstashOutputStream.eol(LogstashOutputStream.java:64) at hudson.console.LineTransformationOutputStream.eol(LineTransformationOutputStream.java:60) at hudson.console.LineTransformationOutputStream.write(LineTransformationOutputStream.java:56) at hudson.console.LineTransformationOutputStream.write(LineTransformationOutputStream.java:74) at hudson.plugins.timestamper.TimestamperOutputStream.write(TimestamperOutputStream.java:91) at java.io.PrintStream.write(PrintStream.java:480) at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:221) at sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:291) at sun.nio.cs.StreamEncoder.flushBuffer(StreamEncoder.java:104) at java.io.OutputStreamWriter.flushBuffer(OutputStreamWriter.java:185) at java.io.PrintStream.newLine(PrintStream.java:546) at java.io.PrintStream.println(PrintStream.java:807) at hudson.model.Cause$UserIdCause.print(Cause.java:420) at hudson.model.StreamBuildListener.started(StreamBuildListener.java:75) at hudson.model.Run.execute(Run.java:1720) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:405) [EnvInject] - Loading node environment variables. Building remotely on ha:////4EkqDiuyVWrB3xBxZdqJW8m5bjvxsJtXL1HZwbpJrXxdAAAAqx+LCAAAAAAAAP9b85aBtbiIQTGjNKU4P08vOT+vOD8nVc83PyU1x6OyILUoJzMv2y+/JJUBAhiZGBgqihhk0NSjKDWzXb3RdlLBUSYGJk8GtpzUvPSSDB8G5tKinBIGIZ+sxLJE/ZzEvHT94JKizLx0a6BxUmjGOUNodHsLgAzREgZ5/eT83ILSktQi/fTknPzSFDMT3dRUMxND4zTL5CRzUwC5n6U01AAAAA==gcloud64-ee6413f9cb75 (bazel-debian mvn) in workspace /home/jenkins/workspace/plugin-healthcheck-bazel-stable-2.15 Wiping out workspace first. Cloning the remote Git repository Cloning repository https://gerrit.googlesource.com/gerrit > git init /home/jenkins/workspace/plugin-healthcheck-bazel-stable-2.15 # timeout=10 Fetching upstream changes from https://gerrit.googlesource.com/gerrit > git --version # timeout=10 > git fetch --tags --progress https://gerrit.googlesource.com/gerrit +refs/heads/*:refs/remotes/gerrit/* > git config remote.gerrit.url https://gerrit.googlesource.com/gerrit # timeout=10 > git config --add remote.gerrit.fetch +refs/heads/*:refs/remotes/gerrit/* # timeout=10 > git config remote.gerrit.url https://gerrit.googlesource.com/gerrit # timeout=10 Fetching upstream changes from https://gerrit.googlesource.com/gerrit > git fetch --tags --progress https://gerrit.googlesource.com/gerrit +refs/heads/*:refs/remotes/gerrit/* > git config remote.origin.url https://gerrit.googlesource.com/plugins/healthcheck # timeout=10 Fetching upstream changes from https://gerrit.googlesource.com/plugins/healthcheck > git fetch --tags --progress https://gerrit.googlesource.com/plugins/healthcheck +refs/heads/*:refs/remotes/origin/* > git rev-parse origin/stable-2.15^{commit} # timeout=10 > git rev-parse refs/remotes/gerrit/origin/stable-2.15^{commit} # timeout=10 > git rev-parse refs/remotes/origin/stable-2.15^{commit} # timeout=10 > git rev-parse refs/remotes/origin/origin/stable-2.15^{commit} # timeout=10 Checking out Revision e478320ccea0e6944a28a8bb5af18b19fb57d808 (origin/stable-2.15) > git config core.sparsecheckout # timeout=10 > git checkout -f e478320ccea0e6944a28a8bb5af18b19fb57d808 Commit message: "Merge branch 'stable-2.14' into stable-2.15" > git rev-list --no-walk e478320ccea0e6944a28a8bb5af18b19fb57d808 # timeout=10 [plugin-healthcheck-bazel-stable-2.15] $ /bin/bash -e /tmp/jenkins1569058924116128636.sh Previous HEAD position was e478320cce... Merge branch 'stable-2.14' into stable-2.15 HEAD is now at b708081d99... Set version to 2.15.15-SNAPSHOT Java set to: /usr/lib/jvm/java-8-openjdk-amd64/bin/java Buck set to: /opt/buck-java/bin/buck Bazelisk version: development Starting local Bazel server and connecting to it... Build label: 0.27.0rc3 Build target: bazel-out/k8-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar Build time: Thu Jun 6 16:23:06 2019 (1559838186) Build timestamp: 1559838186 Build timestamp as int: 1559838186 INFO: Invocation ID: aa187f6e-3742-42e7-951a-d8b56e7b2805 Loading: Loading: 0 packages loaded Loading: 0 packages loaded Analyzing: target //plugins/healthcheck:healthcheck (1 packages loaded, 0 targets configured) Analyzing: target //plugins/healthcheck:healthcheck (41 packages loaded, 301 targets configured) Analyzing: target //plugins/healthcheck:healthcheck (108 packages loaded, 2784 targets configured) Analyzing: target //plugins/healthcheck:healthcheck (142 packages loaded, 2894 targets configured) Analyzing: target //plugins/healthcheck:healthcheck (142 packages loaded, 2894 targets configured) Analyzing: target //plugins/healthcheck:healthcheck (144 packages loaded, 3470 targets configured) Analyzing: target //plugins/healthcheck:healthcheck (144 packages loaded, 3470 targets configured) INFO: Analyzed target //plugins/healthcheck:healthcheck (145 packages loaded, 3825 targets configured). INFO: Found 1 target... [0 / 2] [Prepa] BazelWorkspaceStatusAction stable-status.txt [26 / 173] Extracting interface @prolog-compiler//jar:jar [for host]; 1s local, remote-cache ... (129 actions, 26 running) [41 / 173] [Scann] Compiling external/com_google_protobuf/src/google/protobuf/parse_context.cc [for host] ... (126 actions, 46 running) [47 / 173] [Scann] Compiling external/com_google_protobuf/src/google/protobuf/parse_context.cc [for host]; 6s ... (121 actions, 48 running) [57 / 173] [Scann] Compiling external/com_google_protobuf/src/google/protobuf/parse_context.cc [for host]; 9s ... (111 actions, 48 running) [70 / 173] [Scann] Compiling external/com_google_protobuf/src/google/protobuf/parse_context.cc [for host]; 13s ... (98 actions, 48 running) [86 / 173] [Scann] Compiling external/com_google_protobuf/src/google/protobuf/parse_context.cc [for host]; 17s ... (83 actions, 47 running) [100 / 173] [Scann] Compiling external/com_google_protobuf/src/google/protobuf/stubs/strutil.cc [for host]; 22s ... (69 actions, 46 running) [119 / 173] [Scann] Compiling external/com_google_protobuf/src/google/protobuf/util/internal/error_listener.cc [for host]; 27s ... (51 actions, 46 running) [138 / 188] Compiling external/com_google_protobuf/src/google/protobuf/descriptor.cc [for host]; 18s local, remote-cache ... (47 actions, 46 running) [150 / 200] Compiling external/com_google_protobuf/src/google/protobuf/descriptor.cc [for host]; 26s local, remote-cache ... (47 actions, 46 running) [174 / 224] Compiling external/com_google_protobuf/src/google/protobuf/descriptor.cc [for host]; 35s local, remote-cache ... (47 actions, 46 running) [260 / 324] Compiling external/com_google_protobuf/src/google/protobuf/descriptor.cc [for host]; 45s local, remote-cache ... (23 actions, 22 running) [275 / 324] Executing genrule //gerrit-server:prolog-common__pl2j; 6s local, remote-cache ... (34 actions running) [303 / 324] Compiling Java headers gerrit-index/libindex-hjar.jar (35 files); 3s local, remote-cache ... (6 actions running) [310 / 324] Compiling Java headers gerrit-server/libreceive-hjar.jar (15 files); 0s local, remote-cache ... (10 actions running) Target //plugins/healthcheck:healthcheck up-to-date: bazel-bin/plugins/healthcheck/healthcheck.jar INFO: Elapsed time: 132.557s, Critical Path: 92.29s INFO: 306 processes: 306 local. INFO: Build completed successfully, 324 total actions INFO: Build completed successfully, 324 total actions INFO: Invocation ID: 7e46530c-4caa-47b0-a68c-28bd3c3b7693 Loading: Loading: 0 packages loaded INFO: Build option --test_env has changed, discarding analysis cache. Analyzing: target //plugins/healthcheck:healthcheck_tests (0 packages loaded, 0 targets configured) Analyzing: target //plugins/healthcheck:healthcheck_tests (9 packages loaded, 2214 targets configured) Analyzing: target //plugins/healthcheck:healthcheck_tests (17 packages loaded, 3829 targets configured) Analyzing: target //plugins/healthcheck:healthcheck_tests (40 packages loaded, 4154 targets configured) INFO: Analyzed target //plugins/healthcheck:healthcheck_tests (55 packages loaded, 4237 targets configured). INFO: Found 1 test target... [0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt [331 / 420] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... (44 actions, 29 running) [351 / 420] Building gerrit-server/libconstants.jar (1 source file); 1s remote-cache ... (48 actions, 30 running) [353 / 420] Building gerrit-server/libconstants.jar (1 source file); 3s remote-cache ... (48 actions, 30 running) [354 / 420] Building gerrit-server/libconstants.jar (1 source file); 4s remote-cache ... (48 actions, 30 running) [356 / 420] Building gerrit-server/libconstants.jar (1 source file); 6s remote-cache ... (48 actions, 29 running) [361 / 420] Building gerrit-server/libmetrics.jar (20 source files); 8s remote-cache ... (48 actions, 28 running) [366 / 420] Building gerrit-util-http/libhttp.jar (1 source file); 10s remote-cache ... (48 actions, 28 running) [372 / 420] Building external/com_google_protobuf/libprotobuf_java.jar (122 source files, 1 source jar); 13s remote-cache ... (48 actions, 29 running) [377 / 420] Building gerrit-prettify/libserver.jar (2 source files); 16s remote-cache ... (48 actions, 31 running) [382 / 420] Building gerrit-prettify/libserver.jar (2 source files); 19s remote-cache ... (48 actions, 28 running) INFO: From Building gerrit-util-cli/libcli.jar (6 source files): gerrit-util-cli/src/main/java/com/google/gerrit/util/cli/CmdLineParser.java:326: warning: [BadAnnotationImplementation] Classes that implement Annotation must override equals and hashCode. Consider using AutoAnnotation instead of implementing Annotation by hand. private static class PrefixedOption implements Option { ^ (see https://errorprone.info/bugpattern/BadAnnotationImplementation) gerrit-util-cli/src/main/java/com/google/gerrit/util/cli/CmdLineParser.java:327: warning: [ImmutableAnnotationChecker] annotations should be immutable: 'PrefixedOption' has non-final field 'prefix' String prefix; ^ (see https://errorprone.info/bugpattern/ImmutableAnnotationChecker) Did you mean 'final String prefix;'? gerrit-util-cli/src/main/java/com/google/gerrit/util/cli/CmdLineParser.java:328: warning: [ImmutableAnnotationChecker] annotations should be immutable: 'PrefixedOption' has non-final field 'o' Option o; ^ (see https://errorprone.info/bugpattern/ImmutableAnnotationChecker) Did you mean 'final Option o;'? gerrit-util-cli/src/main/java/com/google/gerrit/util/cli/CmdLineParser.java:494: warning: [BadAnnotationImplementation] Classes that implement Annotation must override equals and hashCode. Consider using AutoAnnotation instead of implementing Annotation by hand. private static class HelpOption implements Option, Setter { ^ (see https://errorprone.info/bugpattern/BadAnnotationImplementation) gerrit-util-cli/src/main/java/com/google/gerrit/util/cli/CmdLineParser.java:495: warning: [ImmutableAnnotationChecker] annotations should be immutable: 'HelpOption' has non-final field 'value' private boolean value; ^ (see https://errorprone.info/bugpattern/ImmutableAnnotationChecker) Did you mean 'private final boolean value;'? [387 / 420] Building gerrit-lucene/liblucene.jar (11 source files); 17s remote-cache ... (48 actions, 30 running) INFO: From Building gerrit-extension-api/libapi.jar (295 source files): gerrit-extension-api/src/main/java/com/google/gerrit/extensions/restapi/RestApiException.java:37: warning: [TypeParameterUnusedInFormals] Declaring a type parameter that is only used in the return type is a misuse of generics: operations on the type parameter are unchecked, it hides unsafe casts at invocations of the method, and it interacts badly with method overload resolution. public T caching(CacheControl c) { ^ (see https://errorprone.info/bugpattern/TypeParameterUnusedInFormals) INFO: From Building gerrit-lucene/liblucene.jar (11 source files): gerrit-lucene/src/main/java/com/google/gerrit/lucene/WrappableSearcherManager.java:185: warning: [ReferenceEquality] Comparison using reference equality instead of value equality if (unwrapped == reader) { ^ (see https://errorprone.info/bugpattern/ReferenceEquality) Did you mean 'if (Objects.equals(unwrapped, reader)) {' or 'if (unwrapped.equals(reader)) {'? gerrit-lucene/src/main/java/com/google/gerrit/lucene/WrappableSearcherManager.java:196: warning: [ReferenceEquality] Comparison using reference equality instead of value equality if (unwrapped != reader) { ^ (see https://errorprone.info/bugpattern/ReferenceEquality) Did you mean 'if (!Objects.equals(unwrapped, reader)) {' or 'if (!unwrapped.equals(reader)) {'? [393 / 420] Building gerrit-lucene/libquery_builder.jar (1 source file); 20s remote-cache ... (38 actions, 24 running) INFO: From Building gerrit-server/libprolog-common.jar (1 source jar): /gerrit/PRED_commit_message_matches_1.java:8: warning: [WildcardImport] Wildcard imports, static or otherwise, should not be used import com.googlecode.prolog_cafe.builtin.*; ^ (see https://google.github.io/styleguide/javaguide.html#s3.3.1-wildcard-imports) /gerrit/PRED_split_commit_delta_5.java:8: warning: [WildcardImport] Wildcard imports, static or otherwise, should not be used import com.googlecode.prolog_cafe.builtin.*; ^ (see https://google.github.io/styleguide/javaguide.html#s3.3.1-wildcard-imports) /gerrit/PRED_commit_delta_3.java:8: warning: [WildcardImport] Wildcard imports, static or otherwise, should not be used import com.googlecode.prolog_cafe.builtin.*; ^ (see https://google.github.io/styleguide/javaguide.html#s3.3.1-wildcard-imports) /gerrit/PRED_commit_delta_1.java:8: warning: [WildcardImport] Wildcard imports, static or otherwise, should not be used import com.googlecode.prolog_cafe.builtin.*; ^ (see https://google.github.io/styleguide/javaguide.html#s3.3.1-wildcard-imports) /gerrit/PRED_commit_committer_1.java:8: warning: [WildcardImport] Wildcard imports, static or otherwise, should not be used import com.googlecode.prolog_cafe.builtin.*; ^ (see https://google.github.io/styleguide/javaguide.html#s3.3.1-wildcard-imports) /gerrit/PRED_commit_author_1.java:8: warning: [WildcardImport] Wildcard imports, static or otherwise, should not be used import com.googlecode.prolog_cafe.builtin.*; ^ (see https://google.github.io/styleguide/javaguide.html#s3.3.1-wildcard-imports) /gerrit/PRED_subtract1_3.java:8: warning: [WildcardImport] Wildcard imports, static or otherwise, should not be used import com.googlecode.prolog_cafe.builtin.*; ^ (see https://google.github.io/styleguide/javaguide.html#s3.3.1-wildcard-imports) /gerrit/PRED_remove_label_3.java:8: warning: [WildcardImport] Wildcard imports, static or otherwise, should not be used import com.googlecode.prolog_cafe.builtin.*; ^ (see https://google.github.io/styleguide/javaguide.html#s3.3.1-wildcard-imports) /gerrit/PRED_find_label2_3.java:8: warning: [WildcardImport] Wildcard imports, static or otherwise, should not be used import com.googlecode.prolog_cafe.builtin.*; ^ (see https://google.github.io/styleguide/javaguide.html#s3.3.1-wildcard-imports) /gerrit/PRED_find_label_3.java:8: warning: [WildcardImport] Wildcard imports, static or otherwise, should not be used import com.googlecode.prolog_cafe.builtin.*; ^ (see https://google.github.io/styleguide/javaguide.html#s3.3.1-wildcard-imports) /gerrit/PRED_locate_submit_type_filter_1.java:8: warning: [WildcardImport] Wildcard imports, static or otherwise, should not be used import com.googlecode.prolog_cafe.builtin.*; ^ (see https://google.github.io/styleguide/javaguide.html#s3.3.1-wildcard-imports) /gerrit/PRED_noop_filter_2.java:8: warning: [WildcardImport] Wildcard imports, static or otherwise, should not be used import com.googlecode.prolog_cafe.builtin.*; ^ (see https://google.github.io/styleguide/javaguide.html#s3.3.1-wildcard-imports) /gerrit/PRED_locate_submit_filter_1.java:8: warning: [WildcardImport] Wildcard imports, static or otherwise, should not be used import com.googlecode.prolog_cafe.builtin.*; ^ (see https://google.github.io/styleguide/javaguide.html#s3.3.1-wildcard-imports) /gerrit/PRED_filter_submit_type_results_3.java:8: warning: [WildcardImport] Wildcard imports, static or otherwise, should not be used import com.googlecode.prolog_cafe.builtin.*; ^ (see https://google.github.io/styleguide/javaguide.html#s3.3.1-wildcard-imports) /gerrit/PRED_call_submit_filter_3.java:8: warning: [WildcardImport] Wildcard imports, static or otherwise, should not be used import com.googlecode.prolog_cafe.builtin.*; ^ (see https://google.github.io/styleguide/javaguide.html#s3.3.1-wildcard-imports) /gerrit/PRED_filter_submit_results_4.java:8: warning: [WildcardImport] Wildcard imports, static or otherwise, should not be used import com.googlecode.prolog_cafe.builtin.*; ^ (see https://google.github.io/styleguide/javaguide.html#s3.3.1-wildcard-imports) /gerrit/PRED_$dummy_3_gerrit$002Dserver$002Fsrc$002Fmain$002Fprolog$002Fgerrit_common$002Epl_3.java:8: warning: [WildcardImport] Wildcard imports, static or otherwise, should not be used import com.googlecode.prolog_cafe.builtin.*; ^ (see https://google.github.io/styleguide/javaguide.html#s3.3.1-wildcard-imports) /gerrit/PRED_filter_submit_results_3.java:8: warning: [WildcardImport] Wildcard imports, static or otherwise, should not be used import com.googlecode.prolog_cafe.builtin.*; ^ (see https://google.github.io/styleguide/javaguide.html#s3.3.1-wildcard-imports) /gerrit/PRED_check_label_range_permission_3.java:8: warning: [WildcardImport] Wildcard imports, static or otherwise, should not be used import com.googlecode.prolog_cafe.builtin.*; ^ (see https://google.github.io/styleguide/javaguide.html#s3.3.1-wildcard-imports) /gerrit/PRED_max_no_block_3.java:8: warning: [WildcardImport] Wildcard imports, static or otherwise, should not be used import com.googlecode.prolog_cafe.builtin.*; ^ (see https://google.github.io/styleguide/javaguide.html#s3.3.1-wildcard-imports) /gerrit/PRED_any_with_block_3.java:8: warning: [WildcardImport] Wildcard imports, static or otherwise, should not be used import com.googlecode.prolog_cafe.builtin.*; ^ (see https://google.github.io/styleguide/javaguide.html#s3.3.1-wildcard-imports) /gerrit/PRED_$dummy_2_gerrit$002Dserver$002Fsrc$002Fmain$002Fprolog$002Fgerrit_common$002Epl_3.java:8: warning: [WildcardImport] Wildcard imports, static or otherwise, should not be used import com.googlecode.prolog_cafe.builtin.*; ^ (see https://google.github.io/styleguide/javaguide.html#s3.3.1-wildcard-imports) /gerrit/PRED_max_with_block_4.java:8: warning: [WildcardImport] Wildcard imports, static or otherwise, should not be used import com.googlecode.prolog_cafe.builtin.*; ^ (see https://google.github.io/styleguide/javaguide.html#s3.3.1-wildcard-imports) /gerrit/PRED_legacy_submit_rule_5.java:8: warning: [WildcardImport] Wildcard imports, static or otherwise, should not be used import com.googlecode.prolog_cafe.builtin.*; ^ (see https://google.github.io/styleguide/javaguide.html#s3.3.1-wildcard-imports) /gerrit/PRED_default_submit_3.java:8: warning: [WildcardImport] Wildcard imports, static or otherwise, should not be used import com.googlecode.prolog_cafe.builtin.*; ^ (see https://google.github.io/styleguide/javaguide.html#s3.3.1-wildcard-imports) /gerrit/PRED_default_submit_2.java:8: warning: [WildcardImport] Wildcard imports, static or otherwise, should not be used import com.googlecode.prolog_cafe.builtin.*; ^ (see https://google.github.io/styleguide/javaguide.html#s3.3.1-wildcard-imports) /gerrit/PRED_default_submit_1.java:8: warning: [WildcardImport] Wildcard imports, static or otherwise, should not be used import com.googlecode.prolog_cafe.builtin.*; ^ (see https://google.github.io/styleguide/javaguide.html#s3.3.1-wildcard-imports) /gerrit/PRED_locate_submit_type_1.java:8: warning: [WildcardImport] Wildcard imports, static or otherwise, should not be used import com.googlecode.prolog_cafe.builtin.*; ^ (see https://google.github.io/styleguide/javaguide.html#s3.3.1-wildcard-imports) /gerrit/PRED_get_submit_type_2.java:8: warning: [WildcardImport] Wildcard imports, static or otherwise, should not be used import com.googlecode.prolog_cafe.builtin.*; ^ (see https://google.github.io/styleguide/javaguide.html#s3.3.1-wildcard-imports) /gerrit/PRED_locate_submit_rule_1.java:8: warning: [WildcardImport] Wildcard imports, static or otherwise, should not be used import com.googlecode.prolog_cafe.builtin.*; ^ (see https://google.github.io/styleguide/javaguide.html#s3.3.1-wildcard-imports) /gerrit/PRED_listN_2.java:8: warning: [WildcardImport] Wildcard imports, static or otherwise, should not be used import com.googlecode.prolog_cafe.builtin.*; ^ (see https://google.github.io/styleguide/javaguide.html#s3.3.1-wildcard-imports) /gerrit/PRED_locate_helper_4.java:8: warning: [WildcardImport] Wildcard imports, static or otherwise, should not be used import com.googlecode.prolog_cafe.builtin.*; ^ (see https://google.github.io/styleguide/javaguide.html#s3.3.1-wildcard-imports) /gerrit/PRED_is_all_ok_1.java:8: warning: [WildcardImport] Wildcard imports, static or otherwise, should not be used import com.googlecode.prolog_cafe.builtin.*; ^ (see https://google.github.io/styleguide/javaguide.html#s3.3.1-wildcard-imports) /gerrit/PRED_call_rule_2.java:8: warning: [WildcardImport] Wildcard imports, static or otherwise, should not be used import com.googlecode.prolog_cafe.builtin.*; ^ (see https://google.github.io/styleguide/javaguide.html#s3.3.1-wildcard-imports) /gerrit/PRED_can_submit_2.java:8: warning: [WildcardImport] Wildcard imports, static or otherwise, should not be used import com.googlecode.prolog_cafe.builtin.*; ^ (see https://google.github.io/styleguide/javaguide.html#s3.3.1-wildcard-imports) /gerrit/PRED_$dummy_1_gerrit$002Dserver$002Fsrc$002Fmain$002Fprolog$002Fgerrit_common$002Epl_3.java:8: warning: [WildcardImport] Wildcard imports, static or otherwise, should not be used import com.googlecode.prolog_cafe.builtin.*; ^ (see https://google.github.io/styleguide/javaguide.html#s3.3.1-wildcard-imports) /gerrit/PRED_not_same_2.java:8: warning: [WildcardImport] Wildcard imports, static or otherwise, should not be used import com.googlecode.prolog_cafe.builtin.*; ^ (see https://google.github.io/styleguide/javaguide.html#s3.3.1-wildcard-imports) /gerrit/PRED_assume_range_from_label_4.java:8: warning: [WildcardImport] Wildcard imports, static or otherwise, should not be used import com.googlecode.prolog_cafe.builtin.*; ^ (see https://google.github.io/styleguide/javaguide.html#s3.3.1-wildcard-imports) /gerrit/PRED_assume_range_from_label_0.java:8: warning: [WildcardImport] Wildcard imports, static or otherwise, should not be used import com.googlecode.prolog_cafe.builtin.*; ^ (see https://google.github.io/styleguide/javaguide.html#s3.3.1-wildcard-imports) /gerrit/PRED_user_label_range_4.java:8: warning: [WildcardImport] Wildcard imports, static or otherwise, should not be used import com.googlecode.prolog_cafe.builtin.*; ^ (see https://google.github.io/styleguide/javaguide.html#s3.3.1-wildcard-imports) /gerrit/PRED_check_user_label_3.java:8: warning: [WildcardImport] Wildcard imports, static or otherwise, should not be used import com.googlecode.prolog_cafe.builtin.*; ^ (see https://google.github.io/styleguide/javaguide.html#s3.3.1-wildcard-imports) /gerrit/PRED_index_commit_labels_1.java:8: warning: [WildcardImport] Wildcard imports, static or otherwise, should not be used import com.googlecode.prolog_cafe.builtin.*; ^ (see https://google.github.io/styleguide/javaguide.html#s3.3.1-wildcard-imports) /gerrit/PRED_set_commit_labels_1.java:8: warning: [WildcardImport] Wildcard imports, static or otherwise, should not be used import com.googlecode.prolog_cafe.builtin.*; ^ (see https://google.github.io/styleguide/javaguide.html#s3.3.1-wildcard-imports) /gerrit/PRED_get_commit_labels_1.java:8: warning: [WildcardImport] Wildcard imports, static or otherwise, should not be used import com.googlecode.prolog_cafe.builtin.*; ^ (see https://google.github.io/styleguide/javaguide.html#s3.3.1-wildcard-imports) /gerrit/PRED_scan_commit_labels_3.java:8: warning: [WildcardImport] Wildcard imports, static or otherwise, should not be used import com.googlecode.prolog_cafe.builtin.*; ^ (see https://google.github.io/styleguide/javaguide.html#s3.3.1-wildcard-imports) /gerrit/PRED_commit_label_2.java:8: warning: [WildcardImport] Wildcard imports, static or otherwise, should not be used import com.googlecode.prolog_cafe.builtin.*; ^ (see https://google.github.io/styleguide/javaguide.html#s3.3.1-wildcard-imports) /gerrit/PRED_$dummy_0_gerrit$002Dserver$002Fsrc$002Fmain$002Fprolog$002Fgerrit_common$002Epl_4.java:8: warning: [WildcardImport] Wildcard imports, static or otherwise, should not be used import com.googlecode.prolog_cafe.builtin.*; ^ (see https://google.github.io/styleguide/javaguide.html#s3.3.1-wildcard-imports) /gerrit/PRED_define_hash_1.java:8: warning: [WildcardImport] Wildcard imports, static or otherwise, should not be used import com.googlecode.prolog_cafe.builtin.*; ^ (see https://google.github.io/styleguide/javaguide.html#s3.3.1-wildcard-imports) /gerrit/PRED_init_0.java:8: warning: [WildcardImport] Wildcard imports, static or otherwise, should not be used import com.googlecode.prolog_cafe.builtin.*; ^ (see https://google.github.io/styleguide/javaguide.html#s3.3.1-wildcard-imports) /gerrit/PRED_$init_0.java:8: warning: [WildcardImport] Wildcard imports, static or otherwise, should not be used import com.googlecode.prolog_cafe.builtin.*; ^ (see https://google.github.io/styleguide/javaguide.html#s3.3.1-wildcard-imports) [401 / 420] Building gerrit-httpd/libhttpd-class.jar (111 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor); 23s remote-cache ... (30 actions, 19 running) [404 / 420] Building external/com_google_protobuf/libprotobuf_java.jar (122 source files, 1 source jar); 26s remote-cache, worker ... (24 actions, 16 running) INFO: From Building gerrit-httpd/libhttpd-class.jar (111 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor): gerrit-httpd/src/main/java/com/google/gerrit/httpd/HttpServletResponseRecorder.java:75: warning: [MissingOverride] getStatus overrides method in HttpServletResponseWrapper; expected @Override public int getStatus() { ^ (see https://errorprone.info/bugpattern/MissingOverride) Did you mean '@Override @SuppressWarnings("all")'? gerrit-httpd/src/main/java/com/google/gerrit/httpd/rpc/AuditedHttpServletResponse.java:29: warning: [MissingOverride] getStatus overrides method in HttpServletResponseWrapper; expected @Override public int getStatus() { ^ (see https://errorprone.info/bugpattern/MissingOverride) Did you mean '@Override @SuppressWarnings("all")'? INFO: From Building gerrit-sshd/libsshd.jar (98 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor): gerrit-sshd/src/main/java/com/google/gerrit/sshd/commands/ApproveOption.java:30: warning: [BadAnnotationImplementation] Classes that implement Annotation must override equals and hashCode. Consider using AutoAnnotation instead of implementing Annotation by hand. final class ApproveOption implements Option, Setter { ^ (see https://errorprone.info/bugpattern/BadAnnotationImplementation) gerrit-sshd/src/main/java/com/google/gerrit/sshd/commands/ApproveOption.java:33: warning: [ImmutableAnnotationChecker] annotations should be immutable: 'ApproveOption' has field 'type' of type 'com.google.gerrit.common.data.LabelType', the declaration of type 'com.google.gerrit.common.data.LabelType' is not annotated with @com.google.errorprone.annotations.Immutable private final LabelType type; ^ (see https://errorprone.info/bugpattern/ImmutableAnnotationChecker) gerrit-sshd/src/main/java/com/google/gerrit/sshd/commands/ApproveOption.java:35: warning: [ImmutableAnnotationChecker] annotations should be immutable: 'ApproveOption' has non-final field 'value' private Short value; ^ (see https://errorprone.info/bugpattern/ImmutableAnnotationChecker) Did you mean 'private final Short value;'? gerrit-sshd/src/main/java/com/google/gerrit/sshd/commands/ShowConnections.java:110: warning: [BadComparable] Possible sign flip from narrowing conversion return (int) (arg0.getId() - arg1.getId()); ^ (see https://errorprone.info/bugpattern/BadComparable) Did you mean 'return Long.compare(arg0.getId(), arg1.getId());'? gerrit-sshd/src/main/java/com/google/gerrit/sshd/commands/StreamEvents.java:279: warning: [SynchronizeOnNonFinalField] Synchronizing on non-final fields is not safe: if the field is ever updated, different threads may end up locking on different objects. synchronized (stdout) { ^ (see https://errorprone.info/bugpattern/SynchronizeOnNonFinalField) gerrit-sshd/src/main/java/com/google/gerrit/sshd/commands/StreamEvents.java:286: warning: [SynchronizeOnNonFinalField] Synchronizing on non-final fields is not safe: if the field is ever updated, different threads may end up locking on different objects. synchronized (stdout) { ^ (see https://errorprone.info/bugpattern/SynchronizeOnNonFinalField) gerrit-sshd/src/main/java/com/google/gerrit/sshd/commands/UploadArchive.java:138: warning: [ReferenceEquality] Comparison using reference equality instead of value equality if (s == PacketLineIn.END) { ^ (see https://errorprone.info/bugpattern/ReferenceEquality) Did you mean 'if (Objects.equals(s, PacketLineIn.END)) {' or 'if (s.equals(PacketLineIn.END)) {'? gerrit-sshd/src/main/java/com/google/gerrit/sshd/commands/UploadArchive.java:138: warning: [StringEquality] String comparison using reference equality instead of value equality if (s == PacketLineIn.END) { ^ (see https://errorprone.info/bugpattern/StringEquality) Did you mean 'if (Objects.equals(s, PacketLineIn.END)) {' or 'if (s.equals(PacketLineIn.END)) {'? INFO: From Building gerrit-pgm/libinit-api.jar (14 source files): gerrit-pgm/src/main/java/com/google/gerrit/pgm/init/api/Section.java:121: warning: [GetClassOnEnum] Calling getClass() on an enum may return a subclass of the enum type E allowedValues = (E) EnumSet.allOf(defValue.getClass()); ^ (see https://errorprone.info/bugpattern/GetClassOnEnum) Did you mean 'E allowedValues = (E) EnumSet.allOf(defValue.getDeclaringClass());'? [410 / 420] Building external/com_google_protobuf/libprotobuf_java.jar (122 source files, 1 source jar); 33s remote-cache, worker ... (14 actions, 11 running) INFO: From Building gerrit-pgm/libinit-class.jar (60 source files): gerrit-pgm/src/main/java/com/google/gerrit/pgm/init/api/Section.java:121: warning: [GetClassOnEnum] Calling getClass() on an enum may return a subclass of the enum type E allowedValues = (E) EnumSet.allOf(defValue.getClass()); ^ (see https://errorprone.info/bugpattern/GetClassOnEnum) Did you mean 'E allowedValues = (E) EnumSet.allOf(defValue.getDeclaringClass());'? INFO: From Building external/com_google_protobuf/libprotobuf_java.jar (122 source files, 1 source jar): warning: -parameters is not supported for target value 1.7. Use 1.8 or later. INFO: From Building gerrit-server/libtestutil.jar (22 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor): gerrit-server/src/test/java/com/google/gerrit/testutil/InMemoryDatabase.java:68: warning: [AmbiguousMethodReference] This method's reference is ambiguous, its name and functional interface type are the same as: drop() public static void drop(InMemoryDatabase db) { ^ (see https://errorprone.info/bugpattern/AmbiguousMethodReference) INFO: From Building gerrit-acceptance-framework/liblib.jar (35 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor): gerrit-acceptance-framework/src/test/java/com/google/gerrit/acceptance/GerritServer.java:413: warning: [TypeParameterUnusedInFormals] Declaring a type parameter that is only used in the return type is a misuse of generics: operations on the type parameter are unchecked, it hides unsafe casts at invocations of the method, and it interacts badly with method overload resolution. private static T get(Object obj, String field) ^ (see https://errorprone.info/bugpattern/TypeParameterUnusedInFormals) gerrit-acceptance-framework/src/test/java/com/google/gerrit/acceptance/ConfigAnnotationParser.java:48: warning: [BadAnnotationImplementation] Classes that implement Annotation must override equals and hashCode. Consider using AutoAnnotation instead of implementing Annotation by hand. static class GlobalPluginConfigToGerritConfig implements GerritConfig { ^ (see https://errorprone.info/bugpattern/BadAnnotationImplementation) [418 / 420] Building gerrit-server/libserver-class.jar (1398 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor); 34s remote-cache, worker [418 / 420] Building gerrit-server/libserver-class.jar (1398 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor); 43s remote-cache, worker INFO: From Building gerrit-server/libserver-class.jar (1398 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor): gerrit-server/src/main/java/com/google/gerrit/server/notedb/ReviewerStateInternal.java:53: warning: [ImmutableEnumChecker] enums should be immutable: 'ReviewerStateInternal' has field 'footerKey' of type 'org.eclipse.jgit.revwalk.FooterKey', the declaration of type 'org.eclipse.jgit.revwalk.FooterKey' is not annotated with @com.google.errorprone.annotations.Immutable private final FooterKey footerKey; ^ (see https://errorprone.info/bugpattern/ImmutableEnumChecker) gerrit-server/src/main/java/com/google/gerrit/server/index/change/ChangeIndexRewriter.java:157: warning: [ReferenceEquality] Comparison using reference equality instead of value equality if (in == out || out instanceof IndexPredicate) { ^ (see https://errorprone.info/bugpattern/ReferenceEquality) Did you mean 'if (Objects.equals(in, out) || out instanceof IndexPredicate) {' or 'if (in.equals(out) || out instanceof IndexPredicate) {'? gerrit-server/src/main/java/com/google/gerrit/server/index/change/ChangeIndexRewriter.java:209: warning: [ReferenceEquality] Comparison using reference equality instead of value equality if (nc == c) { ^ (see https://errorprone.info/bugpattern/ReferenceEquality) Did you mean 'if (Objects.equals(nc, c)) {' or 'if (nc.equals(c)) {'? gerrit-server/src/main/java/com/google/gerrit/server/util/IdGenerator.java:58: warning: [NarrowingCompoundAssignment] Compound assignments from int to short hide lossy casts v0 += ((v1 << 2) + 0 ^ v1) + (salt ^ (v1 >>> 3)) + 1; ^ (see https://errorprone.info/bugpattern/NarrowingCompoundAssignment) Did you mean 'v0 = (short) (v0 + (((v1 << 2) + 0 ^ v1) + (salt ^ (v1 >>> 3)) + 1));'? gerrit-server/src/main/java/com/google/gerrit/server/util/IdGenerator.java:59: warning: [NarrowingCompoundAssignment] Compound assignments from int to short hide lossy casts v1 += ((v0 << 2) + 2 ^ v0) + (salt ^ (v0 >>> 3)) + 3; ^ (see https://errorprone.info/bugpattern/NarrowingCompoundAssignment) Did you mean 'v1 = (short) (v1 + (((v0 << 2) + 2 ^ v0) + (salt ^ (v0 >>> 3)) + 3));'? gerrit-server/src/main/java/com/google/gerrit/server/util/IdGenerator.java:67: warning: [NarrowingCompoundAssignment] Compound assignments from int to short hide lossy casts v1 -= ((v0 << 2) + 2 ^ v0) + (salt ^ (v0 >>> 3)) + 3; ^ (see https://errorprone.info/bugpattern/NarrowingCompoundAssignment) Did you mean 'v1 = (short) (v1 - (((v0 << 2) + 2 ^ v0) + (salt ^ (v0 >>> 3)) + 3));'? gerrit-server/src/main/java/com/google/gerrit/server/util/IdGenerator.java:68: warning: [NarrowingCompoundAssignment] Compound assignments from int to short hide lossy casts v0 -= ((v1 << 2) + 0 ^ v1) + (salt ^ (v1 >>> 3)) + 1; ^ (see https://errorprone.info/bugpattern/NarrowingCompoundAssignment) Did you mean 'v0 = (short) (v0 - (((v1 << 2) + 0 ^ v1) + (salt ^ (v1 >>> 3)) + 1));'? gerrit-server/src/main/java/com/google/gerrit/server/account/AccountDeactivator.java:74: warning: [FutureReturnValueIgnored] Return value of methods returning Future must be checked. Ignoring returned Futures suppresses exceptions thrown from the code that completes the Future. .scheduleAtFixedRate(deactivator, delay, interval, TimeUnit.MILLISECONDS); ^ (see https://errorprone.info/bugpattern/FutureReturnValueIgnored) Did you mean to remove this line? gerrit-server/src/main/java/com/google/gerrit/server/patch/PatchScriptBuilder.java:452: warning: [ReferenceEquality] Comparison using reference equality instead of value equality && (aId == within || within.equals(aId))) { ^ (see https://errorprone.info/bugpattern/ReferenceEquality) Did you mean '&& (Objects.equals(aId, within) || within.equals(aId))) {' or '&& (aId.equals(within) || within.equals(aId))) {'? gerrit-server/src/main/java/com/google/gerrit/server/patch/PatchScriptBuilder.java:472: warning: [ReferenceEquality] Comparison using reference equality instead of value equality && (aId == within || within.equals(aId))) { ^ (see https://errorprone.info/bugpattern/ReferenceEquality) Did you mean '&& (Objects.equals(aId, within) || within.equals(aId))) {' or '&& (aId.equals(within) || within.equals(aId))) {'? gerrit-server/src/main/java/com/google/gerrit/server/change/ArchiveFormat.java:38: warning: [ImmutableEnumChecker] enums should be immutable: 'ArchiveFormat' has field 'format' of type 'org.eclipse.jgit.api.ArchiveCommand.Format', the declaration of type 'org.eclipse.jgit.api.ArchiveCommand.Format' is not annotated with @com.google.errorprone.annotations.Immutable private final ArchiveCommand.Format format; ^ (see https://errorprone.info/bugpattern/ImmutableEnumChecker) gerrit-server/src/main/java/com/google/gerrit/server/git/SubmoduleOp.java:594: warning: [OperatorPrecedence] Use grouping parenthesis to make the operator precedence explicit || iter.hasNext() && (newSize + ellipsis.length()) > maxCombinedCommitMessageSize) { ^ (see https://errorprone.info/bugpattern/OperatorPrecedence) Did you mean '|| (iter.hasNext() && (newSize + ellipsis.length()) > maxCombinedCommitMessageSize)) {'? gerrit-server/src/main/java/com/google/gerrit/server/change/ChangeKindCacheImpl.java:305: warning: [ReferenceEquality] Comparison using reference equality instead of value equality if (next.getTree() != prior.getTree()) { ^ (see https://errorprone.info/bugpattern/ReferenceEquality) Did you mean 'if (!Objects.equals(next.getTree(), prior.getTree())) {' or 'if (!next.getTree().equals(prior.getTree())) {'? gerrit-server/src/main/java/com/google/gerrit/server/change/ChangeKindCacheImpl.java:318: warning: [ReferenceEquality] Comparison using reference equality instead of value equality if (next.getParent(i).getTree() != prior.getParent(i).getTree()) { ^ (see https://errorprone.info/bugpattern/ReferenceEquality) Did you mean 'if (!Objects.equals(next.getParent(i).getTree(), prior.getParent(i).getTree())) {' or 'if (!next.getParent(i).getTree().equals(prior.getParent(i).getTree())) {'? gerrit-server/src/main/java/com/google/gerrit/server/index/change/AllChangesIndexer.java:118: warning: [NarrowingCompoundAssignment] Compound assignments from long to int hide lossy casts changeCount += size; ^ (see https://errorprone.info/bugpattern/NarrowingCompoundAssignment) Did you mean 'changeCount = (int) (changeCount + size);'? gerrit-server/src/main/java/com/google/gerrit/server/notedb/NotesMigrationState.java:60: warning: [ImmutableEnumChecker] enums should be immutable: 'NotesMigrationState' has field 'snapshot' of type 'com.google.gerrit.server.notedb.NotesMigration.Snapshot', the declaration of type 'com.google.gerrit.server.notedb.NotesMigration.Snapshot' is not annotated with @com.google.errorprone.annotations.Immutable private final Snapshot snapshot; ^ (see https://errorprone.info/bugpattern/ImmutableEnumChecker) gerrit-server/src/main/java/com/google/gerrit/server/schema/Schema_154.java:54: warning: [MutableConstantField] Constant field declarations should use the immutable type (such as ImmutableList) instead of the general collection interface type (such as List) private static final Map ACCOUNT_FIELDS_MAP = ^ (see https://errorprone.info/bugpattern/MutableConstantField) Did you mean 'private static final ImmutableMap ACCOUNT_FIELDS_MAP ='? gerrit-server/src/main/java/com/google/gerrit/server/schema/Schema_146.java:107: warning: [FutureReturnValueIgnored] Return value of methods returning Future must be checked. Ignoring returned Futures suppresses exceptions thrown from the code that completes the Future. batches.stream().forEach(batch -> pool.submit(() -> processBatch(batch, ui))); ^ (see https://errorprone.info/bugpattern/FutureReturnValueIgnored) Did you mean 'batches.stream().forEach();'? [420 / 421] Testing //plugins/healthcheck:healthcheck_tests; 1s remote-cache, processwrapper-sandbox [420 / 421] Testing //plugins/healthcheck:healthcheck_tests; 13s remote-cache, processwrapper-sandbox [420 / 421] Testing //plugins/healthcheck:healthcheck_tests; 41s remote-cache, processwrapper-sandbox Target //plugins/healthcheck:healthcheck_tests up-to-date: bazel-bin/plugins/healthcheck/healthcheck_tests.jar bazel-bin/plugins/healthcheck/healthcheck_tests INFO: Elapsed time: 137.098s, Critical Path: 129.64s INFO: 100 processes: 57 processwrapper-sandbox, 43 worker. INFO: Build completed successfully, 105 total actions //plugins/healthcheck:healthcheck_tests PASSED in 54.6s Executed 1 out of 1 test: 1 test passes. INFO: Build completed successfully, 105 total actions Jun 13, 2019 6:57:55 AM 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. Jun 13, 2019 6:57:55 AM 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. Jun 13, 2019 6:57:56 AM 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-healthcheck-bazel-stable-2.15] $ /bin/bash -e /tmp/jenkins5451065257246044744.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 1732 0 1732 0 0 6542 0 --:--:-- --:--:-- --:--:-- 6560 Archiving artifacts Finished: SUCCESS