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:////4NRRfhxSYh/o919E7zWd26s+7DXM/NnIUZif6PeHBnYUAAAAqx+LCAAAAAAAAP9b85aBtbiIQTGjNKU4P08vOT+vOD8nVc83PyU1x6OyILUoJzMv2y+/JJUBAhiZGBgqihhk0NSjKDWzXb3RdlLBUSYGJk8GtpzUvPSSDB8G5tKinBIGIZ+sxLJE/ZzEvHT94JKizLx0a6BxUmjGOUNodHsLgAzREgZ5/eT83ILSktQi/fTknPzSFDMTXYtkyzQjC0NTU1MTAwA1dUpX1AAAAA==gcloud64-8c9f28155540 (bazel-debian mvn) in workspace /home/jenkins/workspace/plugin-its-bugzilla-bazel-stable-2.15 Wiping out workspace first. Cloning the remote Git repository Cloning repository https://gerrit.googlesource.com/plugins/its-base > git init /home/jenkins/workspace/plugin-its-bugzilla-bazel-stable-2.15 # timeout=10 Fetching upstream changes from https://gerrit.googlesource.com/plugins/its-base > git --version # timeout=10 > git fetch --tags --progress https://gerrit.googlesource.com/plugins/its-base +refs/heads/*:refs/remotes/base/* > git config remote.base.url https://gerrit.googlesource.com/plugins/its-base # timeout=10 > git config --add remote.base.fetch +refs/heads/*:refs/remotes/base/* # timeout=10 > git config remote.base.url https://gerrit.googlesource.com/plugins/its-base # timeout=10 Fetching upstream changes from https://gerrit.googlesource.com/plugins/its-base > git fetch --tags --progress https://gerrit.googlesource.com/plugins/its-base +refs/heads/*:refs/remotes/base/* > 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/its-bugzilla # timeout=10 Fetching upstream changes from https://gerrit.googlesource.com/plugins/its-bugzilla > git fetch --tags --progress https://gerrit.googlesource.com/plugins/its-bugzilla +refs/heads/*:refs/remotes/origin/* > git rev-parse origin/stable-2.15^{commit} # timeout=10 > git rev-parse refs/remotes/base/origin/stable-2.15^{commit} # timeout=10 > 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 ac01ebe4318c438547bbc40d63aa0b660b7e266d (origin/stable-2.15) > git config core.sparsecheckout # timeout=10 > git checkout -f ac01ebe4318c438547bbc40d63aa0b660b7e266d Commit message: "Format BUILD file with buildifier 0.12.0" > git rev-list --no-walk ac01ebe4318c438547bbc40d63aa0b660b7e266d # timeout=10 [plugin-its-bugzilla-bazel-stable-2.15] $ /bin/bash -e /tmp/jenkins6152584080515904336.sh Previous HEAD position was ac01ebe431... Format BUILD file with buildifier 0.12.0 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: be624213-5f0d-4a54-8dfd-993146074b0c Loading: Loading: 0 packages loaded Loading: 0 packages loaded Loading: 0 packages loaded Analyzing: 2 targets (1 packages loaded) Analyzing: 2 targets (1 packages loaded, 0 targets configured) Analyzing: 2 targets (11 packages loaded, 30 targets configured) Analyzing: 2 targets (34 packages loaded, 101 targets configured) Analyzing: 2 targets (53 packages loaded, 304 targets configured) Analyzing: 2 targets (64 packages loaded, 509 targets configured) Analyzing: 2 targets (88 packages loaded, 1171 targets configured) Analyzing: 2 targets (128 packages loaded, 3012 targets configured) Analyzing: 2 targets (167 packages loaded, 3158 targets configured) Analyzing: 2 targets (204 packages loaded, 3236 targets configured) Analyzing: 2 targets (205 packages loaded, 3812 targets configured) INFO: Analyzed 2 targets (206 packages loaded, 4280 targets configured). INFO: Found 2 targets... [0 / 8] [Prepa] BazelWorkspaceStatusAction stable-status.txt [27 / 239] SkylarkAction external/bazel_tools/tools/jdk/platformclasspath_classes/DumpPlatformClassPath.class; 0s local, remote-cache ... (71 actions, 38 running) [55 / 243] SkylarkAction external/bazel_tools/tools/jdk/platformclasspath_classes/DumpPlatformClassPath.class; 4s local, remote-cache ... (119 actions, 46 running) [76 / 243] [Scann] Compiling external/com_google_protobuf/src/google/protobuf/descriptor_database.cc [for host]; 8s ... (99 actions, 46 running) [94 / 243] [Scann] Compiling external/com_google_protobuf/src/google/protobuf/io/printer.cc [for host]; 13s ... (81 actions, 46 running) [124 / 243] [Scann] Compiling external/com_google_protobuf/src/google/protobuf/util/time_util.cc [for host]; 18s ... (51 actions, 46 running) [149 / 260] Compiling external/com_google_protobuf/src/google/protobuf/compiler/js/js_generator.cc [for host]; 17s local, remote-cache ... (47 actions, 46 running) [178 / 289] Compiling external/com_google_protobuf/src/google/protobuf/descriptor.cc [for host]; 19s local, remote-cache ... (48 actions running) [318 / 442] Compiling external/com_google_protobuf/src/google/protobuf/descriptor.cc [for host]; 28s local, remote-cache ... (48 actions running) [350 / 442] Building gerrit-extension-api/libclient-class.jar (24 source files); 11s local, remote-cache ... (34 actions running) [366 / 442] Building gerrit-extension-api/libapi.jar (295 source files); 18s local, remote-cache ... (22 actions 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-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;'? [381 / 442] Building external/com_google_protobuf/libprotobuf_java.jar (122 source files, 1 source jar); 31s local, remote-cache ... (6 actions running) [397 / 442] Building external/com_google_protobuf/libprotobuf_java.jar (122 source files, 1 source jar); 45s local, remote-cache ... (38 actions 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) INFO: From Building gerrit-lucene/liblucene.jar (11 source files): WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.google.errorprone.bugpatterns.FutureReturnValueIgnored (file:/home/jenkins/.cache/bazel/_bazel_jenkins/9b97e65e2c5e6e687a35bf3434ac8273/external/remote_java_tools_linux/java_tools/JavaBuilder_deploy.jar) to field com.sun.tools.javac.code.Type$StructuralTypeMapping$4.this$0 WARNING: Please consider reporting this to the maintainers of com.google.errorprone.bugpatterns.FutureReturnValueIgnored WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release 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)) {'? 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());'? 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. [419 / 442] Building gerrit-server/libserver-class.jar (1398 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor); 41s local, remote-cache ... (20 actions 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-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 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): WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.google.errorprone.bugpatterns.FutureReturnValueIgnored (file:/home/jenkins/.cache/bazel/_bazel_jenkins/9b97e65e2c5e6e687a35bf3434ac8273/external/remote_java_tools_linux/java_tools/JavaBuilder_deploy.jar) to field com.sun.tools.javac.code.Type$StructuralTypeMapping$4.this$0 WARNING: Please consider reporting this to the maintainers of com.google.errorprone.bugpatterns.FutureReturnValueIgnored WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release 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) [440 / 442] Building gerrit-server/libserver-class.jar (1398 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor); 61s local, remote-cache INFO: From Building gerrit-server/libserver-class.jar (1398 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor): WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.google.errorprone.bugpatterns.FutureReturnValueIgnored (file:/home/jenkins/.cache/bazel/_bazel_jenkins/9b97e65e2c5e6e687a35bf3434ac8273/external/remote_java_tools_linux/java_tools/JavaBuilder_deploy.jar) to field com.sun.tools.javac.code.Type$StructuralTypeMapping$4.this$0 WARNING: Please consider reporting this to the maintainers of com.google.errorprone.bugpatterns.FutureReturnValueIgnored WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release 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();'? INFO: Elapsed time: 155.601s, Critical Path: 110.27s INFO: 417 processes: 417 local. INFO: Build completed successfully, 442 total actions INFO: Build completed successfully, 442 total actions INFO: Invocation ID: ca88b6dd-7451-4a60-8013-af867e165535 Loading: Loading: 0 packages loaded INFO: Build option --test_env has changed, discarding analysis cache. Analyzing: target //plugins/its-bugzilla:its_bugzilla_tests (0 packages loaded, 0 targets configured) INFO: Analyzed target //plugins/its-bugzilla:its_bugzilla_tests (0 packages loaded, 4276 targets configured). INFO: Found 1 test target... [0 / 3] [Prepa] BazelWorkspaceStatusAction stable-status.txt [436 / 437] Testing //plugins/its-bugzilla:its_bugzilla_tests; 0s remote-cache, processwrapper-sandbox Target //plugins/its-bugzilla:its_bugzilla_tests up-to-date: bazel-bin/plugins/its-bugzilla/its_bugzilla_tests.jar bazel-bin/plugins/its-bugzilla/its_bugzilla_tests INFO: Elapsed time: 2.266s, Critical Path: 1.45s INFO: 1 process: 1 processwrapper-sandbox. INFO: Build completed successfully, 2 total actions //plugins/its-bugzilla:its_bugzilla_tests PASSED in 0.9s 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, 2 total actions Jun 13, 2019 7:00:46 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 7:00:46 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-its-bugzilla-bazel-stable-2.15] $ /bin/bash -e /tmp/jenkins5547343742012392895.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 1744 0 1744 0 0 9370 0 --:--:-- --:--:-- --:--:-- 9376 100 1744 0 1744 0 0 9042 0 --:--:-- --:--:-- --:--:-- 9036 Archiving artifacts Finished: SUCCESS