Started by user ha:////4LhIf0vdZMLFequGTVnN1cMcIypvsThRPBC5Va3yiaavAAAAnh+LCAAAAAAAAP9b85aBtbiIQTGjNKU4P08vOT+vOD8nVc83PyU1x6OyILUoJzMv2y+/JJUBAhiZGBgqihhk0NSjKDWzXb3RdlLBUSYGJk8GtpzUvPSSDB8G5tKinBIGIZ+sxLJE/ZzEvHT94JKizLx0a6BxUmjGOUNodHsLgAy+EgZh/dLi1CL9nNLkxNxMoEmpxZn5ANPJiavIAAAALuca Milanesio Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on ha:////4Lk4nWPUJUviIRvkmLcFiJa4bhDDDCX16ohbovhwI8FbAAAAqx+LCAAAAAAAAP9b85aBtbiIQTGjNKU4P08vOT+vOD8nVc83PyU1x6OyILUoJzMv2y+/JJUBAhiZGBgqihhk0NSjKDWzXb3RdlLBUSYGJk8GtpzUvPSSDB8G5tKinBIGIZ+sxLJE/ZzEvHT94JKizLx0a6BxUmjGOUNodHsLgAzREgZ5/eT83ILSktQi/fTknPzSFDMT3TQz87S0FAPLlNRUEwDSE1UV1AAAAA==gcloud64-f67ffd09dee4 (bazel-debian mvn bazel-chrome69 docker) in workspace /home/jenkins/workspace/plugin-account-bazel-stable-2.16 Selected Git installation does not exist. Using Default Wiping out workspace first. Cloning the remote Git repository Cloning repository https://gerrit.googlesource.com/a/gerrit > /usr/bin/git init /home/jenkins/workspace/plugin-account-bazel-stable-2.16 # 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 --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 --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/plugins/account # timeout=10 Fetching upstream changes from https://gerrit.googlesource.com/a/plugins/account using GIT_ASKPASS to set credentials .netrc credentials for gerrit.googlesource.com > /usr/bin/git fetch --tags --force --progress -- https://gerrit.googlesource.com/a/plugins/account +refs/heads/*:refs/remotes/origin/* # timeout=10 > /usr/bin/git rev-parse origin/stable-2.16^{commit} # timeout=10 > /usr/bin/git rev-parse refs/remotes/gerrit/origin/stable-2.16^{commit} # timeout=10 > /usr/bin/git rev-parse refs/remotes/origin/stable-2.16^{commit} # timeout=10 > /usr/bin/git rev-parse refs/remotes/origin/origin/stable-2.16^{commit} # timeout=10 Checking out Revision 82bd3b9169174d3f3f0838cdc4e6d3b0a8068597 (origin/stable-2.16) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f 82bd3b9169174d3f3f0838cdc4e6d3b0a8068597 # timeout=10 Commit message: "Fix typo in confirmation message" > /usr/bin/git rev-list --no-walk 82bd3b9169174d3f3f0838cdc4e6d3b0a8068597 # timeout=10 [plugin-account-bazel-stable-2.16] $ /bin/bash -e /tmp/jenkins3975251795135475878.sh [plugin-account-bazel-stable-2.16] $ /bin/bash -e /tmp/jenkins8882297617110174100.sh Java set to: /usr/lib/jvm/java-8-openjdk-amd64/bin/java Previous HEAD position was 82bd3b9169 Fix typo in confirmation message Switched to a new branch 'gerrit-stable-2.16' Branch 'gerrit-stable-2.16' set up to track remote branch 'stable-2.16' from 'gerrit'. 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/download-commands' (https://gerrit.googlesource.com/a/plugins/download-commands) registered for path 'plugins/download-commands' Submodule 'plugins/hooks' (https://gerrit.googlesource.com/a/plugins/hooks) registered for path 'plugins/hooks' 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' Cloning into '/home/jenkins/workspace/plugin-account-bazel-stable-2.16/plugins/codemirror-editor'... Cloning into '/home/jenkins/workspace/plugin-account-bazel-stable-2.16/plugins/commit-message-length-validator'... Cloning into '/home/jenkins/workspace/plugin-account-bazel-stable-2.16/plugins/download-commands'... Cloning into '/home/jenkins/workspace/plugin-account-bazel-stable-2.16/plugins/hooks'... Cloning into '/home/jenkins/workspace/plugin-account-bazel-stable-2.16/plugins/replication'... Cloning into '/home/jenkins/workspace/plugin-account-bazel-stable-2.16/plugins/reviewnotes'... Cloning into '/home/jenkins/workspace/plugin-account-bazel-stable-2.16/plugins/singleusergroup'... Submodule path 'plugins/codemirror-editor': checked out '59942b1adf1c949f3633f60ac42f67fae03b3255' Submodule path 'plugins/commit-message-length-validator': checked out '556e427fd737744ce8a6a37b89fd427ae59bc8ea' Submodule path 'plugins/download-commands': checked out '41c61bf8c1869bff4e0b436f69478c2137d0ca07' Submodule path 'plugins/hooks': checked out 'e7769bd52c2b709d7712a386aa6cb96aec2c11a9' Submodule path 'plugins/replication': checked out '4a44e534128a0415ebca61ad7a6751905f0f4242' Submodule path 'plugins/reviewnotes': checked out 'ba3a422f1909f4970c563212d45cce70d494f60b' Submodule path 'plugins/singleusergroup': checked out '2a38a8413c25fec910fb843932aa869647bdc1e7' npm WARN npm npm does not support Node.js v10.23.1 npm WARN npm You should probably upgrade to a newer version of node as we npm WARN npm can't make any promises that npm will work with this version. npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9. npm WARN npm You can find the latest version at https://nodejs.org/ npm notice created a lockfile as package-lock.json. You should commit this file. + bower@1.8.12 added 1 package from 1 contributor in 2.881s ~/workspace/plugin-account-bazel-stable-2.16/plugins/account ~/workspace/plugin-account-bazel-stable-2.16 bower jquery#^3.3.1 not-cached https://github.com/jquery/jquery-dist.git#^3.3.1 bower jquery#^3.3.1 resolve https://github.com/jquery/jquery-dist.git#^3.3.1 bower bootstrap#^4.1.1 not-cached https://github.com/twbs/bootstrap.git#^4.1.1 bower bootstrap#^4.1.1 resolve https://github.com/twbs/bootstrap.git#^4.1.1 bower angular#^1.7.0 not-cached https://github.com/angular/bower-angular.git#^1.7.0 bower angular#^1.7.0 resolve https://github.com/angular/bower-angular.git#^1.7.0 bower jquery#^3.3.1 download https://github.com/jquery/jquery-dist/archive/3.5.1.tar.gz bower angular#^1.7.0 download https://github.com/angular/bower-angular/archive/v1.8.2.tar.gz bower bootstrap#^4.1.1 download https://github.com/twbs/bootstrap/archive/v4.6.0.tar.gz bower jquery#^3.3.1 extract archive.tar.gz bower bootstrap#^4.1.1 extract archive.tar.gz bower angular#^1.7.0 extract archive.tar.gz bower angular#^1.7.0 resolved https://github.com/angular/bower-angular.git#1.8.2 bower jquery#^3.3.1 resolved https://github.com/jquery/jquery-dist.git#3.5.1 bower bootstrap#^4.1.1 resolved https://github.com/twbs/bootstrap.git#4.6.0 bower angular#^1.7.0 install angular#1.8.2 bower jquery#^3.3.1 install jquery#3.5.1 bower bootstrap#^4.1.1 install bootstrap#4.6.0 angular#1.8.2 bower_components/angular jquery#3.5.1 bower_components/jquery bootstrap#4.6.0 bower_components/bootstrap ~/workspace/plugin-account-bazel-stable-2.16 openjdk full version "1.8.0_275-b01" 2021/01/26 20:15:59 Downloading https://releases.bazel.build/3.1.0/release/bazel-3.1.0-linux-x86_64... Bazelisk version: v1.7.4 Extracting Bazel installation... Starting local Bazel server and connecting to it... Build label: 3.1.0 Build target: bazel-out/k8-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar Build time: Wed Apr 22 10:32:27 2020 (1587551547) Build timestamp: 1587551547 Build timestamp as int: 1587551547 INFO: Invocation ID: 11821cd4-4830-4490-99d2-d5510f57dec3 Loading: Loading: 0 packages loaded Loading: 0 packages loaded Loading: 1 packages loaded Analyzing: target //plugins/account:account (1 packages loaded, 0 targets configured) Analyzing: target //plugins/account:account (10 packages loaded, 7 targets configured) Analyzing: target //plugins/account:account (10 packages loaded, 7 targets configured) Analyzing: target //plugins/account:account (10 packages loaded, 7 targets configured) Analyzing: target //plugins/account:account (16 packages loaded, 103 targets configured) Analyzing: target //plugins/account:account (125 packages loaded, 3020 targets configured) Analyzing: target //plugins/account:account (191 packages loaded, 3174 targets configured) Analyzing: target //plugins/account:account (198 packages loaded, 3799 targets configured) INFO: Analyzed target //plugins/account:account (199 packages loaded, 4215 targets configured). INFO: Found 1 target... [0 / 160] [Prepa] Writing file build-info-redacted.properties [39 / 342] Extracting interface @user//jar:jar; 2s remote-cache, processwrapper-sandbox ... (32 actions running) [55 / 342] Compiling external/com_google_protobuf/src/google/protobuf/repeated_field.cc [for host]; 5s remote-cache, processwrapper-sandbox ... (32 actions running) [84 / 342] Compiling external/com_google_protobuf/src/google/protobuf/generated_message_table_driven_lite.cc [for host]; 4s remote-cache, processwrapper-sandbox ... (31 actions, 30 running) [109 / 342] Compiling external/com_google_protobuf/src/google/protobuf/compiler/js/js_generator.cc [for host]; 7s remote-cache, processwrapper-sandbox ... (31 actions, 30 running) [131 / 342] Compiling external/com_google_protobuf/src/google/protobuf/descriptor.pb.cc [for host]; 7s remote-cache, processwrapper-sandbox ... (31 actions, 30 running) [156 / 342] Compiling external/com_google_protobuf/src/google/protobuf/descriptor.cc [for host]; 11s remote-cache, processwrapper-sandbox ... (31 actions, 30 running) [188 / 342] Compiling external/com_google_protobuf/src/google/protobuf/descriptor.cc [for host]; 17s remote-cache, processwrapper-sandbox ... (31 actions, 30 running) [294 / 365] Compiling external/com_google_protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc [for host]; 6s remote-cache, processwrapper-sandbox ... (31 actions, 30 running) [335 / 365] Compiling Java headers external/com_google_protobuf/libprotobuf_java-hjar.jar (123 source files, 1 source jar); 3s remote-cache, processwrapper-sandbox ... (12 actions running) [349 / 365] Compiling Java headers java/gerrit/libprolog-predicates-hjar.jar (18 source files); 1s remote-cache, processwrapper-sandbox ... (18 actions running) Target //plugins/account:account up-to-date: bazel-bin/plugins/account/account.jar INFO: Elapsed time: 88.492s, Critical Path: 39.69s INFO: 348 processes: 342 processwrapper-sandbox, 6 worker. INFO: Build completed successfully, 365 total actions INFO: Build completed successfully, 365 total actions INFO: Invocation ID: 5e261200-d9e9-41ee-b3ab-444675ffea3e Loading: Loading: 0 packages loaded INFO: Build option --test_env has changed, discarding analysis cache. Analyzing: 2 targets (3 packages loaded, 0 targets configured) Analyzing: 2 targets (37 packages loaded, 4465 targets configured) Analyzing: 2 targets (66 packages loaded, 4664 targets configured) INFO: Analyzed 2 targets (80 packages loaded, 4751 targets configured). INFO: Found 2 test targets... [0 / 3] [Prepa] BazelWorkspaceStatusAction stable-status.txt [338 / 501] 1 / 2 tests; Building java/com/google/gerrit/util/logging/liblogging.jar (3 source files); 0s remote-cache, worker ... (31 actions, 19 running) [358 / 501] 1 / 2 tests; Building java/com/google/gerrit/util/logging/liblogging.jar (3 source files); 1s remote-cache, worker ... (31 actions, 19 running) [364 / 501] 1 / 2 tests; Building java/com/google/gerrit/util/logging/liblogging.jar (3 source files); 2s remote-cache, worker ... (32 actions, 20 running) [364 / 501] 1 / 2 tests; Building java/com/google/gerrit/util/logging/liblogging.jar (3 source files); 4s remote-cache, worker ... (32 actions, 21 running) [375 / 501] 1 / 2 tests; Building antlr3/libquery_parser.jar (1 source jar); 5s remote-cache ... (30 actions, 20 running) [378 / 501] 1 / 2 tests; Building java/com/google/gerrit/truth/libtruth.jar (2 source files); 5s remote-cache ... (32 actions, 21 running) [388 / 501] 1 / 2 tests; Building java/com/google/gerrit/git/testing/libtesting.jar (1 source file); 6s remote-cache ... (32 actions, 20 running) INFO: From Building java/com/google/gerrit/util/cli/libcli.jar (7 source files): java/com/google/gerrit/util/cli/CmdLineParser.java:333: 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) java/com/google/gerrit/util/cli/CmdLineParser.java:511: 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) java/com/google/gerrit/util/cli/CmdLineParser.java:512: 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;'? [393 / 501] 1 / 2 tests; Building external/com_google_protobuf/libprotobuf_java.jar (123 source files, 1 source jar); 6s remote-cache, worker ... (32 actions, 20 running) [394 / 501] 1 / 2 tests; Building external/com_google_protobuf/libprotobuf_java.jar (123 source files, 1 source jar); 8s remote-cache, worker ... (32 actions, 20 running) [399 / 501] 1 / 2 tests; Building external/com_google_protobuf/libprotobuf_java.jar (123 source files, 1 source jar); 11s remote-cache, worker ... (32 actions, 20 running) [400 / 501] 1 / 2 tests; Building external/com_google_protobuf/libprotobuf_java.jar (123 source files, 1 source jar); 14s remote-cache, worker ... (32 actions, 20 running) INFO: From Building java/com/google/gerrit/extensions/libapi.jar (329 source files): 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) [410 / 501] 1 / 2 tests; Building external/com_google_protobuf/libprotobuf_java.jar (123 source files, 1 source jar); 17s remote-cache, worker ... (32 actions, 23 running) [432 / 502] 1 / 2 tests; Building external/com_google_protobuf/libprotobuf_java.jar (123 source files, 1 source jar); 20s remote-cache, worker ... (32 actions, 22 running) INFO: From Building java/com/google/gerrit/pgm/init/api/libapi.jar (14 source files): java/com/google/gerrit/pgm/init/api/Section.java:131: 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());'? [439 / 502] 1 / 2 tests; Building external/com_google_protobuf/libprotobuf_java.jar (123 source files, 1 source jar); 25s remote-cache, worker ... (32 actions, 21 running) INFO: From Building java/com/google/gerrit/lucene/liblucene.jar (12 source files): java/com/google/gerrit/lucene/WrappableSearcherManager.java:191: 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)) {'? java/com/google/gerrit/lucene/WrappableSearcherManager.java:202: 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)) {'? [455 / 502] 1 / 2 tests; Building external/com_google_protobuf/libprotobuf_java.jar (123 source files, 1 source jar); 30s remote-cache, worker ... (32 actions, 23 running) [467 / 502] 1 / 2 tests; Building java/com/google/gerrit/server/libserver-class.jar (990 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor); 19s remote-cache, worker ... (32 actions, 25 running) [476 / 502] 1 / 2 tests; Building java/com/google/gerrit/server/libserver-class.jar (990 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor); 26s remote-cache, worker ... (26 actions, 18 running) INFO: From Building java/com/google/gerrit/sshd/libsshd.jar (101 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor): java/com/google/gerrit/sshd/commands/ApproveOption.java:32: 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) java/com/google/gerrit/sshd/commands/ApproveOption.java:35: 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) java/com/google/gerrit/sshd/commands/ApproveOption.java:37: 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;'? java/com/google/gerrit/sshd/commands/StreamEvents.java:284: 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) java/com/google/gerrit/sshd/commands/StreamEvents.java:291: 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) java/com/google/gerrit/sshd/commands/UploadArchive.java:142: 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)) {'? java/com/google/gerrit/sshd/commands/UploadArchive.java:142: 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 java/com/google/gerrit/httpd/libhttpd-class.jar (115 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor): java/com/google/gerrit/httpd/HttpServletResponseRecorder.java:74: warning: [MissingOverride] getStatus overrides method in HttpServletResponseWrapper; expected @Override public int getStatus() { ^ (see https://errorprone.info/bugpattern/MissingOverride) Did you mean '@Override @SuppressWarnings("all")'? 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")'? [498 / 502] 1 / 2 tests; Building java/com/google/gerrit/server/libserver-class.jar (990 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor); 33s remote-cache, worker ... (6 actions running) INFO: From Building java/com/google/gerrit/acceptance/libframework-lib.jar (61 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor): java/com/google/gerrit/acceptance/GerritServer.java:461: 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) 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) [500 / 502] 1 / 2 tests; Building java/com/google/gerrit/server/libserver-class.jar (990 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor); 42s remote-cache, worker INFO: From Building java/com/google/gerrit/server/libserver-class.jar (990 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor): 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) java/com/google/gerrit/server/index/change/ChangeIndexRewriter.java:158: 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) {'? java/com/google/gerrit/server/index/change/ChangeIndexRewriter.java:210: 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)) {'? java/com/google/gerrit/server/util/IdGenerator.java:48: 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));'? java/com/google/gerrit/server/util/IdGenerator.java:49: 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));'? java/com/google/gerrit/server/util/IdGenerator.java:57: 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));'? 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));'? 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) java/com/google/gerrit/server/change/ChangeKindCacheImpl.java:386: warning: [ReferenceEquality] Comparison using reference equality instead of value equality && (ps.getId().get() > priorPs.getId().get() || priorPs == patch)) { ^ (see https://errorprone.info/bugpattern/ReferenceEquality) Did you mean '&& (ps.getId().get() > priorPs.getId().get() || priorPs.equals(patch))) {'? java/com/google/gerrit/server/change/ChangeKindCacheImpl.java:396: warning: [ReferenceEquality] Comparison using reference equality instead of value equality if (priorPs != patch) { ^ (see https://errorprone.info/bugpattern/ReferenceEquality) Did you mean 'if (!priorPs.equals(patch)) {'? java/com/google/gerrit/server/index/AbstractIndexModule.java:78: 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 createDummyIndexFactory(Schema schema) { ^ (see https://errorprone.info/bugpattern/TypeParameterUnusedInFormals) 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) java/com/google/gerrit/server/patch/PatchScriptBuilder.java:504: 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))) {'? java/com/google/gerrit/server/patch/PatchScriptBuilder.java:524: 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))) {'? INFO: Elapsed time: 68.736s, Critical Path: 56.15s INFO: 138 processes: 73 processwrapper-sandbox, 65 worker. INFO: Build completed successfully, 145 total actions //plugins/account:account_tests PASSED in 1.7s //tools/bzl:always_pass_test PASSED in 0.0s Executed 2 out of 2 tests: 2 tests pass. 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, 145 total actions Jan 26, 2021 8:18:41 PM java.util.jar.Attributes read WARNING: Duplicate name in Manifest: Implementation-Version. Ensure that the manifest does not have duplicate entries, and that blank lines separate individual sections in both your manifest and in the META-INF/MANIFEST.MF entry in the jar file. Jan 26, 2021 8:18:42 PM java.util.jar.Attributes read WARNING: Duplicate name in Manifest: Implementation-Version. Ensure that the manifest does not have duplicate entries, and that blank lines separate individual sections in both your manifest and in the META-INF/MANIFEST.MF entry in the jar file. Jan 26, 2021 8:18:42 PM java.util.jar.Attributes read WARNING: Duplicate name in Manifest: Implementation-Version. Ensure that the manifest does not have duplicate entries, and that blank lines separate individual sections in both your manifest and in the META-INF/MANIFEST.MF entry in the jar file. [plugin-account-bazel-stable-2.16] $ /bin/bash -e /tmp/jenkins6574905853463809368.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 1635 0 1635 0 0 1901 0 --:--:-- --:--:-- --:--:-- 1901 Archiving artifacts Finished: SUCCESS