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:////4AiBEJH+SlgLs8W1es1i7CRsq/TWJ9Tel3ZNeUcXrWvOAAAAqx+LCAAAAAAAAP9b85aBtbiIQTGjNKU4P08vOT+vOD8nVc83PyU1x6OyILUoJzMv2y+/JJUBAhiZGBgqihhk0NSjKDWzXb3RdlLBUSYGJk8GtpzUvPSSDB8G5tKinBIGIZ+sxLJE/ZzEvHT94JKizLx0a6BxUmjGOUNodHsLgAzREgZ5/eT83ILSktQi/fTknPzSFDNjXePURKOUFANzEzNjEwDbFasa1AAAAA==gcloud63-3ea2dd074634 (bazel-debian mvn bazel-chrome69 docker) in workspace /home/jenkins/workspace/plugin-plugin-manager-bazel-stable-2.16 Selected Git installation does not exist. Using Default Wiping out workspace first. Cloning the remote Git repository Avoid fetching tags Cloning repository https://gerrit.googlesource.com/a/gerrit > /usr/bin/git init /home/jenkins/workspace/plugin-plugin-manager-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 --no-tags --force --progress -- https://gerrit.googlesource.com/a/gerrit +refs/heads/*:refs/remotes/gerrit/* # timeout=10 > /usr/bin/git config remote.gerrit.url https://gerrit.googlesource.com/a/gerrit # timeout=10 > /usr/bin/git config --add remote.gerrit.fetch +refs/heads/*:refs/remotes/gerrit/* # timeout=10 > /usr/bin/git config remote.gerrit.url https://gerrit.googlesource.com/a/gerrit # timeout=10 Fetching upstream changes from https://gerrit.googlesource.com/a/gerrit using GIT_ASKPASS to set credentials .netrc credentials for gerrit.googlesource.com > /usr/bin/git fetch --no-tags --force --progress -- https://gerrit.googlesource.com/a/gerrit +refs/heads/*:refs/remotes/gerrit/* # timeout=10 > /usr/bin/git config remote.origin.url https://gerrit.googlesource.com/a/plugins/plugin-manager # timeout=10 Fetching upstream changes from https://gerrit.googlesource.com/a/plugins/plugin-manager using GIT_ASKPASS to set credentials .netrc credentials for gerrit.googlesource.com > /usr/bin/git fetch --no-tags --force --progress -- https://gerrit.googlesource.com/a/plugins/plugin-manager +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 f1d43fe0d01e9bf06b1627c4849129b6eff434d8 (origin/stable-2.16) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f f1d43fe0d01e9bf06b1627c4849129b6eff434d8 # timeout=10 Commit message: "Remove plugin-manager from the list of core plugins" > /usr/bin/git rev-list --no-walk f1d43fe0d01e9bf06b1627c4849129b6eff434d8 # timeout=10 [plugin-plugin-manager-bazel-stable-2.16] $ /bin/bash -e /tmp/jenkins902449622436329749.sh [plugin-plugin-manager-bazel-stable-2.16] $ /bin/bash -e /tmp/jenkins3296966553711812169.sh Java set to: /usr/lib/jvm/java-8-openjdk-amd64/bin/java Previous HEAD position was f1d43fe0d0 Remove plugin-manager from the list of core plugins Switched to a new branch 'stable-2.16' Branch '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-plugin-manager-bazel-stable-2.16/plugins/codemirror-editor'... Cloning into '/home/jenkins/workspace/plugin-plugin-manager-bazel-stable-2.16/plugins/commit-message-length-validator'... Cloning into '/home/jenkins/workspace/plugin-plugin-manager-bazel-stable-2.16/plugins/download-commands'... Cloning into '/home/jenkins/workspace/plugin-plugin-manager-bazel-stable-2.16/plugins/hooks'... Cloning into '/home/jenkins/workspace/plugin-plugin-manager-bazel-stable-2.16/plugins/replication'... Cloning into '/home/jenkins/workspace/plugin-plugin-manager-bazel-stable-2.16/plugins/reviewnotes'... Cloning into '/home/jenkins/workspace/plugin-plugin-manager-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' From https://gerrit.googlesource.com/a/plugins/plugin-manager * branch HEAD -> FETCH_HEAD * [new tag] v2.14 -> v2.14 * [new tag] v2.15 -> v2.15 * [new tag] v2.15.3 -> v2.15.3 * [new tag] v2.16 -> v2.16 * [new tag] v3.0.0 -> v3.0.0 * [new tag] v3.0.0-rc1 -> v3.0.0-rc1 * [new tag] v3.0.0-rc3 -> v3.0.0-rc3 * [new tag] v3.0.1 -> v3.0.1 * [new tag] v3.0.10 -> v3.0.10 * [new tag] v3.0.11 -> v3.0.11 * [new tag] v3.0.12 -> v3.0.12 * [new tag] v3.0.13 -> v3.0.13 * [new tag] v3.0.2 -> v3.0.2 * [new tag] v3.0.3 -> v3.0.3 * [new tag] v3.0.4 -> v3.0.4 * [new tag] v3.0.5 -> v3.0.5 * [new tag] v3.0.6 -> v3.0.6 * [new tag] v3.0.7 -> v3.0.7 * [new tag] v3.0.8 -> v3.0.8 * [new tag] v3.0.9 -> v3.0.9 * [new tag] v3.1.0 -> v3.1.0 * [new tag] v3.1.0-rc0 -> v3.1.0-rc0 * [new tag] v3.1.0-rc1 -> v3.1.0-rc1 * [new tag] v3.1.0-rc2 -> v3.1.0-rc2 * [new tag] v3.1.0-rc3 -> v3.1.0-rc3 * [new tag] v3.1.1 -> v3.1.1 * [new tag] v3.1.11 -> v3.1.11 * [new tag] v3.1.2 -> v3.1.2 * [new tag] v3.1.3 -> v3.1.3 * [new tag] v3.1.4 -> v3.1.4 * [new tag] v3.1.5 -> v3.1.5 * [new tag] v3.1.6 -> v3.1.6 * [new tag] v3.1.7 -> v3.1.7 * [new tag] v3.1.8 -> v3.1.8 * [new tag] v3.2.0 -> v3.2.0 * [new tag] v3.2.0-rc0 -> v3.2.0-rc0 * [new tag] v3.2.0-rc1 -> v3.2.0-rc1 * [new tag] v3.2.0-rc2 -> v3.2.0-rc2 * [new tag] v3.2.0-rc3 -> v3.2.0-rc3 * [new tag] v3.2.0-rc4 -> v3.2.0-rc4 * [new tag] v3.2.1 -> v3.2.1 * [new tag] v3.2.2 -> v3.2.2 * [new tag] v3.2.3 -> v3.2.3 * [new tag] v3.2.5.1 -> v3.2.5.1 * [new tag] v3.2.6 -> v3.2.6 * [new tag] v3.3.0 -> v3.3.0 * [new tag] v3.3.0-rc0 -> v3.3.0-rc0 * [new tag] v3.3.0-rc1 -> v3.3.0-rc1 * [new tag] v3.3.0-rc2 -> v3.3.0-rc2 * [new tag] v3.3.0-rc3 -> v3.3.0-rc3 * [new tag] v3.3.0-rc4 -> v3.3.0-rc4 * [new tag] v3.3.0-rc5 -> v3.3.0-rc5 * [new tag] v3.3.0-rc6 -> v3.3.0-rc6 * [new tag] v3.3.0-rc7 -> v3.3.0-rc7 * [new tag] v3.3.1 -> v3.3.1 openjdk full version "1.8.0_275-b01" 2021/01/26 19:46:32 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: 1da459c8-860f-4ef8-a689-39295e84c1e4 Loading: Loading: 0 packages loaded Loading: 0 packages loaded Loading: 0 packages loaded Loading: 0 packages loaded Loading: 0 packages loaded Loading: 0 packages loaded Loading: 0 packages loaded Analyzing: 2 targets (1 packages loaded) Analyzing: 2 targets (1 packages loaded, 0 targets configured) Analyzing: 2 targets (7 packages loaded, 9 targets configured) Analyzing: 2 targets (11 packages loaded, 9 targets configured) Analyzing: 2 targets (11 packages loaded, 9 targets configured) Analyzing: 2 targets (11 packages loaded, 9 targets configured) Analyzing: 2 targets (20 packages loaded, 105 targets configured) Analyzing: 2 targets (161 packages loaded, 1602 targets configured) Analyzing: 2 targets (329 packages loaded, 4774 targets configured) Analyzing: 2 targets (346 packages loaded, 6866 targets configured) Analyzing: 2 targets (350 packages loaded, 6878 targets configured) Analyzing: 2 targets (438 packages loaded, 8686 targets configured) Analyzing: 2 targets (468 packages loaded, 9674 targets configured) INFO: Analyzed 2 targets (476 packages loaded, 9788 targets configured). INFO: Found 2 targets... [0 / 286] [Prepa] BazelWorkspaceStatusAction stable-status.txt [77 / 469] Compiling external/com_google_protobuf/src/google/protobuf/descriptor.cc [for host]; 11s remote-cache, processwrapper-sandbox ... (31 actions, 30 running) [109 / 469] Compiling external/com_google_protobuf/src/google/protobuf/descriptor.cc [for host]; 28s remote-cache, processwrapper-sandbox ... (31 actions, 30 running) [137 / 469] Compiling external/com_google_protobuf/src/google/protobuf/compiler/js/js_generator.cc [for host]; 28s remote-cache, processwrapper-sandbox ... (31 actions, 30 running) [1,215 / 2,536] Compiling external/com_google_protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc [for host]; 18s remote-cache, processwrapper-sandbox ... (29 actions, 28 running) [1,547 / 2,556] Bundle plugins/codemirror-editor/codemirror-element-shadydom.html; 35s local ... (22 actions, 19 running) [1,572 / 2,556] Bundle plugins/codemirror-editor/codemirror-element-shadydom.html; 65s local ... (29 actions running) [1,590 / 2,556] Bundle plugins/codemirror-editor/codemirror-element-shadydom.html; 100s local ... (29 actions, 27 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;'? [1,609 / 2,556] Bundle plugins/codemirror-editor/codemirror-element-shadydom.html; 141s local ... (29 actions, 28 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) [1,662 / 2,556] Bundle polygerrit-ui/app/bazel-out/k8-fastbuild/bin/polygerrit-ui/app/gr-app.html.bundled.html; 176s local ... (31 actions, 28 running) [1,696 / 2,556] Bundle polygerrit-ui/app/bazel-out/k8-fastbuild/bin/polygerrit-ui/app/gr-app.html.bundled.html; 229s local ... (13 actions running) [1,740 / 2,556] Bundle polygerrit-ui/app/bazel-out/k8-fastbuild/bin/polygerrit-ui/app/gr-app.html.bundled.html; 290s local ... (31 actions 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)) {'? INFO: From Building plugins/reviewnotes/libreviewnotes__plugin-class.jar (6 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor): plugins/reviewnotes/src/main/java/com/googlesource/gerrit/plugins/reviewnotes/ExportReviewNotes.java:122: 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 (changes) { ^ (see https://errorprone.info/bugpattern/SynchronizeOnNonFinalField) INFO: From Building plugins/hooks/libhooks__plugin-class.jar (27 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor): plugins/hooks/src/main/java/com/googlesource/gerrit/plugins/hooks/HookQueue.java:50: warning: [FutureReturnValueIgnored] Return value of methods returning Future must be checked. Ignoring returned Futures suppresses exceptions thrown from the code that completes the Future. queue.submit(new HookTask.Async(projectName, hook, args)); ^ (see https://errorprone.info/bugpattern/FutureReturnValueIgnored) Did you mean to remove this line? 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)) {'? [1,962 / 2,556] Building java/com/google/gerrit/server/libserver-class.jar (990 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor); 112s remote-cache, worker ... (31 actions, 25 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());'? 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")'? 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) 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))) {'? [2,552 / 2,556] GWT compiling gerrit-gwtui/ui_opt_r.zip; 132s remote-cache, processwrapper-sandbox ... (4 actions running) INFO: From GWT compiling gerrit-gwtui/ui_dbg_r.zip: Jan 26, 2021 7:55:20 PM java.util.prefs.FileSystemPreferences syncWorld WARNING: Couldn't flush user prefs: java.util.prefs.BackingStoreException: Couldn't get file lock. Compiling module com.google.gerrit.GerritGwtUI Computing all possible rebind results for 'com.google.gerrit.client.ui.FancyFlexTableImpl' Rebinding com.google.gerrit.client.ui.FancyFlexTableImpl Could not find an exact match rule. Using 'closest' rule based on fall back values. You may need to implement a specific binding in case the fall back behavior does not replace the missing binding Compiling 5 permutations Compiling permutation 0... Compiling permutation 1... Compiling permutation 2... Compiling permutation 3... Compiling permutation 4... Compile of permutations succeeded Compilation succeeded -- 188.524s Linking into /home/jenkins/.cache/bazel/_bazel_jenkins/9422d4fa4cb2eab32f022eaa7aab58ca/sandbox/processwrapper-sandbox/988/execroot/gerrit/bazel-out/k8-fastbuild/bin/gerrit-gwtui/ui_dbg_r.zip.gwt_output/gerrit_ui Link succeeded Linking succeeded -- 3.669s [2,553 / 2,556] GWT compiling gerrit-gwtui/ui_opt_r.zip; 225s remote-cache, processwrapper-sandbox [2,553 / 2,556] GWT compiling gerrit-gwtui/ui_opt_r.zip; 332s remote-cache, processwrapper-sandbox INFO: From GWT compiling gerrit-gwtui/ui_opt_r.zip: Jan 26, 2021 7:54:48 PM java.util.prefs.FileSystemPreferences$1 run INFO: Created user preferences directory. Compiling module com.google.gerrit.GerritGwtUI Computing all possible rebind results for 'com.google.gerrit.client.ui.FancyFlexTableImpl' Rebinding com.google.gerrit.client.ui.FancyFlexTableImpl Could not find an exact match rule. Using 'closest' rule based on fall back values. You may need to implement a specific binding in case the fall back behavior does not replace the missing binding Compiling 5 permutations Compiling permutation 0... Compiling permutation 1... Compiling permutation 2... Compiling permutation 3... Compiling permutation 4... Compile of permutations succeeded Compilation succeeded -- 333.059s Linking into /home/jenkins/.cache/bazel/_bazel_jenkins/9422d4fa4cb2eab32f022eaa7aab58ca/sandbox/processwrapper-sandbox/986/execroot/gerrit/bazel-out/k8-fastbuild/bin/gerrit-gwtui/ui_opt_r.zip.gwt_output/gerrit_ui Link succeeded Linking succeeded -- 2.307s INFO: Elapsed time: 849.293s, Critical Path: 582.18s INFO: 1761 processes: 6 local, 899 processwrapper-sandbox, 856 worker. INFO: Build completed successfully, 2556 total actions INFO: Build completed successfully, 2556 total actions INFO: Invocation ID: f85602b4-6171-4176-8f92-ad9282a86ff5 Loading: Loading: 0 packages loaded INFO: Build option --test_env has changed, discarding analysis cache. Analyzing: 2 targets (0 packages loaded, 0 targets configured) INFO: Analyzed 2 targets (0 packages loaded, 9783 targets configured). INFO: Found 2 test targets... [0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt [2,539 / 2,554] 1 / 2 tests; [Prepa] BazelWorkspaceStatusAction stable-status.txt [2,554 / 2,555] 1 / 2 tests; Testing //plugins/plugin-manager:plugin_manager_tests; 0s remote-cache, processwrapper-sandbox [2,554 / 2,555] 1 / 2 tests; Testing //plugins/plugin-manager:plugin_manager_tests; 2s remote-cache, processwrapper-sandbox [2,554 / 2,555] 1 / 2 tests; Testing //plugins/plugin-manager:plugin_manager_tests; 11s remote-cache, processwrapper-sandbox [2,554 / 2,555] 1 / 2 tests; Testing //plugins/plugin-manager:plugin_manager_tests; 33s remote-cache, processwrapper-sandbox INFO: Elapsed time: 48.048s, Critical Path: 38.18s INFO: 3 processes: 3 processwrapper-sandbox. INFO: Build completed successfully, 6 total actions //plugins/plugin-manager:plugin_manager_tests PASSED in 34.9s //tools/bzl:always_pass_test PASSED in 0.2s 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, 6 total actions Jan 26, 2021 8:01:39 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-plugin-manager-bazel-stable-2.16] $ /bin/bash -e /tmp/jenkins8122421353149365823.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 1612 0 1612 0 0 14265 0 --:--:-- --:--:-- --:--:-- 14265 Archiving artifacts Finished: SUCCESS