Started by an SCM change Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on ha:////4FRJKLhuAPx+OwrRPiQ0ONv2oA3dEbHXCYQbjGMRKHV0AAAAqx+LCAAAAAAAAP9b85aBtbiIQTGjNKU4P08vOT+vOD8nVc83PyU1x6OyILUoJzMv2y+/JJUBAhiZGBgqihhk0NSjKDWzXb3RdlLBUSYGJk8GtpzUvPSSDB8G5tKinBIGIZ+sxLJE/ZzEvHT94JKizLx0a6BxUmjGOUNodHsLgAzREgZ5/eT83ILSktQi/fTknPzSFDMz3TQDoyQzc9PExFRLUwDdQCnu1AAAAA==gcloud66-f02b675aae95 (bazel-debian bazel-chrome69) in workspace /home/jenkins/workspace/plugin-websession-flatfile-bazel-master-stable-3.0 Selected Git installation does not exist. Using Default Wiping out workspace first. Cloning the remote Git repository Cloning repository https://gerrit.googlesource.com/a/plugins/websession-flatfile > /usr/bin/git init /home/jenkins/workspace/plugin-websession-flatfile-bazel-master-stable-3.0 # timeout=10 Fetching upstream changes from https://gerrit.googlesource.com/a/plugins/websession-flatfile > /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/plugins/websession-flatfile +refs/heads/*:refs/remotes/origin/* # timeout=10 > /usr/bin/git config remote.origin.url https://gerrit.googlesource.com/a/plugins/websession-flatfile # timeout=10 > /usr/bin/git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > /usr/bin/git config remote.origin.url https://gerrit.googlesource.com/a/plugins/websession-flatfile # timeout=10 Fetching upstream changes from https://gerrit.googlesource.com/a/plugins/websession-flatfile 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/websession-flatfile +refs/heads/*:refs/remotes/origin/* # timeout=10 > /usr/bin/git rev-parse refs/remotes/origin/master^{commit} # timeout=10 > /usr/bin/git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10 Checking out Revision 5e8efcd3256c654576900bfb929c07450ba2932f (refs/remotes/origin/master) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f 5e8efcd3256c654576900bfb929c07450ba2932f # timeout=10 Commit message: "Disable DoNotMock Error Prone check" > /usr/bin/git rev-list --no-walk a47414e989b60eaffd15962f8070d958f8ffeb8a # timeout=10 [plugin-websession-flatfile-bazel-master-stable-3.0] $ /bin/bash -e /tmp/jenkins4646748458113341218.sh [plugin-websession-flatfile-bazel-master-stable-3.0] $ /bin/bash -e /tmp/jenkins3780581937430151611.sh Java set to: /usr/lib/jvm/java-11-openjdk-amd64/bin/java Building plugin websession-flatfile/master with Gerrit/stable-3.0 From https://gerrit.googlesource.com/a/gerrit * branch stable-3.0 -> FETCH_HEAD * [new branch] stable-3.0 -> gerrit/stable-3.0 Previous HEAD position was 5e8efcd325 Disable DoNotMock Error Prone check Switched to a new branch 'stable-3.0' Branch 'stable-3.0' set up to track remote branch 'stable-3.0' 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/delete-project' (https://gerrit.googlesource.com/a/plugins/delete-project) registered for path 'plugins/delete-project' Submodule 'plugins/download-commands' (https://gerrit.googlesource.com/a/plugins/download-commands) registered for path 'plugins/download-commands' Submodule 'plugins/gitiles' (https://gerrit.googlesource.com/a/plugins/gitiles) registered for path 'plugins/gitiles' Submodule 'plugins/hooks' (https://gerrit.googlesource.com/a/plugins/hooks) registered for path 'plugins/hooks' Submodule 'plugins/plugin-manager' (https://gerrit.googlesource.com/a/plugins/plugin-manager) registered for path 'plugins/plugin-manager' Submodule 'plugins/replication' (https://gerrit.googlesource.com/a/plugins/replication) registered for path 'plugins/replication' Submodule 'plugins/reviewnotes' (https://gerrit.googlesource.com/a/plugins/reviewnotes) registered for path 'plugins/reviewnotes' Submodule 'plugins/singleusergroup' (https://gerrit.googlesource.com/a/plugins/singleusergroup) registered for path 'plugins/singleusergroup' Submodule 'plugins/webhooks' (https://gerrit.googlesource.com/a/plugins/webhooks) registered for path 'plugins/webhooks' Cloning into '/home/jenkins/workspace/plugin-websession-flatfile-bazel-master-stable-3.0/plugins/codemirror-editor'... Cloning into '/home/jenkins/workspace/plugin-websession-flatfile-bazel-master-stable-3.0/plugins/commit-message-length-validator'... Cloning into '/home/jenkins/workspace/plugin-websession-flatfile-bazel-master-stable-3.0/plugins/delete-project'... Cloning into '/home/jenkins/workspace/plugin-websession-flatfile-bazel-master-stable-3.0/plugins/download-commands'... Cloning into '/home/jenkins/workspace/plugin-websession-flatfile-bazel-master-stable-3.0/plugins/gitiles'... Cloning into '/home/jenkins/workspace/plugin-websession-flatfile-bazel-master-stable-3.0/plugins/hooks'... Cloning into '/home/jenkins/workspace/plugin-websession-flatfile-bazel-master-stable-3.0/plugins/plugin-manager'... Cloning into '/home/jenkins/workspace/plugin-websession-flatfile-bazel-master-stable-3.0/plugins/replication'... Cloning into '/home/jenkins/workspace/plugin-websession-flatfile-bazel-master-stable-3.0/plugins/reviewnotes'... Cloning into '/home/jenkins/workspace/plugin-websession-flatfile-bazel-master-stable-3.0/plugins/singleusergroup'... Cloning into '/home/jenkins/workspace/plugin-websession-flatfile-bazel-master-stable-3.0/plugins/webhooks'... Submodule path 'plugins/codemirror-editor': checked out '59942b1adf1c949f3633f60ac42f67fae03b3255' Submodule path 'plugins/commit-message-length-validator': checked out '556e427fd737744ce8a6a37b89fd427ae59bc8ea' Submodule path 'plugins/delete-project': checked out '542bb8137e356e8ed89856576499d185a9f5c757' Submodule path 'plugins/download-commands': checked out '41c61bf8c1869bff4e0b436f69478c2137d0ca07' Submodule path 'plugins/gitiles': checked out '0f6ffbecc51a0571c8a77248b2655a834700d6af' Submodule path 'plugins/hooks': checked out '089687bdcc64b003d09a77f00eaa77bb79b15b9c' Submodule path 'plugins/plugin-manager': checked out 'd3b2a6eabcb641e952f253e61b927cd1f7f6e30c' Submodule path 'plugins/replication': checked out '2a600dede934b348173bff26e00f373367a3d142' Submodule path 'plugins/reviewnotes': checked out 'be5037839d987a319dac2236e9c1221d4d31848d' Submodule path 'plugins/singleusergroup': checked out '8a3b6faeaebc0f9b7d1af19eb0022b32994e476a' Submodule path 'plugins/webhooks': checked out '8f7a232ef94f60b20c059fff7066d0d1864bec8b' openjdk full version "11.0.9+11-post-Debian-1deb10u1" 2020/12/29 18:46:22 Downloading https://releases.bazel.build/3.7.0/release/bazel-3.7.0-linux-x86_64... Bazelisk version: v1.6.1 Extracting Bazel installation... Starting local Bazel server and connecting to it... Build label: 3.7.0 Build target: bazel-out/k8-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar Build time: Tue Oct 20 13:29:16 2020 (1603200556) Build timestamp: 1603200556 Build timestamp as int: 1603200556 INFO: Invocation ID: 05454184-d16d-429e-bb74-d145d6729b0c Loading: Loading: 0 packages loaded Loading: 0 packages loaded Loading: 0 packages loaded Loading: 0 packages loaded DEBUG: /home/jenkins/.cache/bazel/_bazel_jenkins/144cf2de16bf050eabe95df2c024ded2/external/bazel_toolchains/rules/rbe_repo/version_check.bzl:68:14: Current running Bazel is ahead of bazel-toolchains repo. Please update your pin to bazel-toolchains repo in your WORKSPACE file. DEBUG: /home/jenkins/.cache/bazel/_bazel_jenkins/144cf2de16bf050eabe95df2c024ded2/external/bazel_toolchains/rules/rbe_repo/checked_in.bzl:125:14: rbe_default not using checked in configs; Bazel version 3.7.0 was picked/selected but no checked in config was found in map {"0.20.0": ["8.0.0"], "0.21.0": ["8.0.0"], "0.22.0": ["8.0.0", "9.0.0"], "0.23.0": ["8.0.0", "9.0.0"], "0.23.1": ["8.0.0", "9.0.0"], "0.23.2": ["9.0.0"], "0.24.0": ["9.0.0"], "0.24.1": ["9.0.0"], "0.25.0": ["9.0.0"], "0.25.1": ["9.0.0"], "0.25.2": ["9.0.0"], "0.26.0": ["9.0.0"], "0.26.1": ["9.0.0"], "0.27.0": ["9.0.0"], "0.27.1": ["9.0.0"], "0.28.0": ["9.0.0"], "0.28.1": ["9.0.0"], "0.29.0": ["9.0.0"], "0.29.1": ["9.0.0", "10.0.0"], "1.0.0": ["9.0.0", "10.0.0"], "1.0.1": ["10.0.0"], "1.1.0": ["10.0.0"], "1.2.0": ["10.0.0"], "1.2.1": ["10.0.0"], "2.0.0": ["10.0.0"], "2.1.0": ["10.0.0"], "2.1.1": ["10.0.0", "11.0.0"], "2.2.0": ["11.0.0"], "3.0.0": ["11.0.0"], "3.1.0": ["11.0.0"]} Loading: 0 packages loaded Loading: 0 packages loaded Loading: 0 packages loaded Analyzing: target //plugins/websession-flatfile:websession-flatfile (1 packages loaded) Analyzing: target //plugins/websession-flatfile:websession-flatfile (1 packages loaded, 0 targets configured) Analyzing: target //plugins/websession-flatfile:websession-flatfile (10 packages loaded, 7 targets configured) Analyzing: target //plugins/websession-flatfile:websession-flatfile (10 packages loaded, 7 targets configured) Analyzing: target //plugins/websession-flatfile:websession-flatfile (10 packages loaded, 7 targets configured) Analyzing: target //plugins/websession-flatfile:websession-flatfile (10 packages loaded, 7 targets configured) Analyzing: target //plugins/websession-flatfile:websession-flatfile (15 packages loaded, 103 targets configured) Analyzing: target //plugins/websession-flatfile:websession-flatfile (97 packages loaded, 1670 targets configured) Analyzing: target //plugins/websession-flatfile:websession-flatfile (157 packages loaded, 2891 targets configured) Analyzing: target //plugins/websession-flatfile:websession-flatfile (193 packages loaded, 3191 targets configured) INFO: Analyzed target //plugins/websession-flatfile:websession-flatfile (196 packages loaded, 4018 targets configured). INFO: Found 1 target... [0 / 150] [Prepa] Writing file build-info-redacted.properties [24 / 334] Compiling com_google_protobuf/src/google/protobuf/parse_context.cc [for host]; 6s remote-cache, processwrapper-sandbox ... (31 actions, 30 running) [52 / 334] Compiling com_google_protobuf/src/google/protobuf/repeated_field.cc [for host]; 11s remote-cache, processwrapper-sandbox ... (31 actions, 30 running) [67 / 334] Compiling com_google_protobuf/src/google/protobuf/generated_message_reflection.cc [for host]; 17s remote-cache, processwrapper-sandbox ... (33 actions, 32 running) [87 / 334] Compiling com_google_protobuf/src/google/protobuf/util/message_differencer.cc [for host]; 20s remote-cache, processwrapper-sandbox ... (31 actions, 30 running) [104 / 334] Compiling com_google_protobuf/src/google/protobuf/descriptor.pb.cc [for host]; 22s remote-cache, processwrapper-sandbox ... (31 actions, 30 running) [121 / 334] Compiling com_google_protobuf/src/google/protobuf/descriptor.pb.cc [for host]; 38s remote-cache, processwrapper-sandbox ... (31 actions, 30 running) [140 / 334] Compiling com_google_protobuf/src/google/protobuf/descriptor.cc [for host]; 56s remote-cache, processwrapper-sandbox ... (31 actions, 30 running) [168 / 334] Compiling com_google_protobuf/src/google/protobuf/compiler/js/js_generator.cc [for host]; 36s remote-cache, processwrapper-sandbox ... (32 actions running) [292 / 356] Action external/bazel_tools/tools/jdk/platformclasspath.jar; 8s remote-cache, processwrapper-sandbox ... (4 actions running) [314 / 356] Compiling Java headers external/com_google_protobuf/libprotobuf_java-hjar.jar (123 source files, 1 source jar); 21s remote-cache, processwrapper-sandbox ... (12 actions running) [335 / 356] Compiling Java headers java/com/google/gerrit/lucene/libquery_builder-hjar.jar (1 source file); 0s remote-cache, processwrapper-sandbox ... (4 actions running) [349 / 356] Compiling Java headers java/com/google/gerrit/server/api/libapi-hjar.jar (36 source files); 3s remote-cache, processwrapper-sandbox ... (6 actions running) Target //plugins/websession-flatfile:websession-flatfile up-to-date: bazel-bin/plugins/websession-flatfile/websession-flatfile.jar INFO: Elapsed time: 292.592s, Critical Path: 172.68s INFO: 356 processes: 17 internal, 333 processwrapper-sandbox, 6 worker. INFO: Build completed successfully, 356 total actions INFO: Build completed successfully, 356 total actions INFO: Invocation ID: ac7255f7-adc7-4c61-ac4d-3ac2bbe29e1c Loading: Loading: 0 packages loaded DEBUG: /home/jenkins/.cache/bazel/_bazel_jenkins/144cf2de16bf050eabe95df2c024ded2/external/bazel_toolchains/rules/rbe_repo/version_check.bzl:68:14: Current running Bazel is ahead of bazel-toolchains repo. Please update your pin to bazel-toolchains repo in your WORKSPACE file. DEBUG: /home/jenkins/.cache/bazel/_bazel_jenkins/144cf2de16bf050eabe95df2c024ded2/external/bazel_toolchains/rules/rbe_repo/checked_in.bzl:125:14: rbe_default not using checked in configs; Bazel version 3.7.0 was picked/selected but no checked in config was found in map {"0.20.0": ["8.0.0"], "0.21.0": ["8.0.0"], "0.22.0": ["8.0.0", "9.0.0"], "0.23.0": ["8.0.0", "9.0.0"], "0.23.1": ["8.0.0", "9.0.0"], "0.23.2": ["9.0.0"], "0.24.0": ["9.0.0"], "0.24.1": ["9.0.0"], "0.25.0": ["9.0.0"], "0.25.1": ["9.0.0"], "0.25.2": ["9.0.0"], "0.26.0": ["9.0.0"], "0.26.1": ["9.0.0"], "0.27.0": ["9.0.0"], "0.27.1": ["9.0.0"], "0.28.0": ["9.0.0"], "0.28.1": ["9.0.0"], "0.29.0": ["9.0.0"], "0.29.1": ["9.0.0", "10.0.0"], "1.0.0": ["9.0.0", "10.0.0"], "1.0.1": ["10.0.0"], "1.1.0": ["10.0.0"], "1.2.0": ["10.0.0"], "1.2.1": ["10.0.0"], "2.0.0": ["10.0.0"], "2.1.0": ["10.0.0"], "2.1.1": ["10.0.0", "11.0.0"], "2.2.0": ["11.0.0"], "3.0.0": ["11.0.0"], "3.1.0": ["11.0.0"]} INFO: Build options --test_env and --test_timeout have changed, discarding analysis cache. Analyzing: 2 targets (1 packages loaded, 0 targets configured) Analyzing: 2 targets (4 packages loaded, 348 targets configured) Analyzing: 2 targets (35 packages loaded, 3996 targets configured) Analyzing: 2 targets (49 packages loaded, 4342 targets configured) Analyzing: 2 targets (68 packages loaded, 4440 targets configured) INFO: Analyzed 2 targets (76 packages loaded, 4486 targets configured). INFO: Found 2 test targets... [0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt [288 / 490] 1 / 2 tests; [Prepa] BazelWorkspaceStatusAction stable-status.txt ... (31 actions, 24 running) [312 / 490] 1 / 2 tests; [Prepa] BazelWorkspaceStatusAction stable-status.txt ... (31 actions, 20 running) [327 / 490] 1 / 2 tests; Building external/com_google_protobuf/libprotobuf_java.jar (123 source files, 1 source jar); 4s remote-cache, worker ... (32 actions, 20 running) [331 / 490] 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) [350 / 490] 1 / 2 tests; Building external/com_google_protobuf/libprotobuf_java.jar (123 source files, 1 source jar); 9s remote-cache, worker ... (32 actions, 20 running) [360 / 490] 1 / 2 tests; Building external/com_google_protobuf/libprotobuf_java.jar (123 source files, 1 source jar); 11s remote-cache, worker ... (32 actions, 21 running) [362 / 490] 1 / 2 tests; Building external/com_google_protobuf/libprotobuf_java.jar (123 source files, 1 source jar); 15s remote-cache, worker ... (32 actions, 21 running) [364 / 490] 1 / 2 tests; Building external/com_google_protobuf/libprotobuf_java.jar (123 source files, 1 source jar); 18s remote-cache, worker ... (32 actions, 21 running) [366 / 490] 1 / 2 tests; Building external/com_google_protobuf/libprotobuf_java.jar (123 source files, 1 source jar); 22s remote-cache, worker ... (32 actions, 21 running) [383 / 490] 1 / 2 tests; Building external/com_google_protobuf/libprotobuf_java.jar (123 source files, 1 source jar); 27s remote-cache, worker ... (32 actions, 21 running) INFO: From Building java/com/google/gerrit/util/cli/libcli.jar (9 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor): bazel-out/k8-fastbuild/bin/java/com/google/gerrit/util/cli/_javac/cli/libcli_sourcegenfiles/com/google/gerrit/util/cli/AutoAnnotation_OptionUtil_newOption.java:14: warning: [ImmutableAnnotationChecker] annotations should be immutable: 'AutoAnnotation_OptionUtil_newOption' has field 'aliases' of type 'java.lang.String[]', arrays are mutable private final String[] aliases; ^ (see https://errorprone.info/bugpattern/ImmutableAnnotationChecker) bazel-out/k8-fastbuild/bin/java/com/google/gerrit/util/cli/_javac/cli/libcli_sourcegenfiles/com/google/gerrit/util/cli/AutoAnnotation_OptionUtil_newOption.java:28: warning: [ImmutableAnnotationChecker] annotations should be immutable: 'AutoAnnotation_OptionUtil_newOption' has field 'depends' of type 'java.lang.String[]', arrays are mutable private final String[] depends; ^ (see https://errorprone.info/bugpattern/ImmutableAnnotationChecker) bazel-out/k8-fastbuild/bin/java/com/google/gerrit/util/cli/_javac/cli/libcli_sourcegenfiles/com/google/gerrit/util/cli/AutoAnnotation_OptionUtil_newOption.java:30: warning: [ImmutableAnnotationChecker] annotations should be immutable: 'AutoAnnotation_OptionUtil_newOption' has field 'forbids' of type 'java.lang.String[]', arrays are mutable private final String[] forbids; ^ (see https://errorprone.info/bugpattern/ImmutableAnnotationChecker) [390 / 490] 1 / 2 tests; Building external/com_google_protobuf/libprotobuf_java.jar (123 source files, 1 source jar); 33s remote-cache, worker ... (32 actions, 20 running) [393 / 490] 1 / 2 tests; Building external/com_google_protobuf/libprotobuf_java.jar (123 source files, 1 source jar); 39s remote-cache, worker ... (32 actions, 20 running) INFO: From Building java/com/google/gerrit/reviewdb/libserver.jar (43 source files): java/com/google/gerrit/reviewdb/converter/BranchNameKeyProtoConverter.java:26: warning: [ImmutableEnumChecker] enums should be immutable: 'BranchNameKeyProtoConverter' has field 'projectNameConverter' of type 'com.google.gerrit.reviewdb.converter.ProtoConverter', the declaration of type 'com.google.gerrit.reviewdb.converter.ProtoConverter' is not annotated with @com.google.errorprone.annotations.Immutable private final ProtoConverter projectNameConverter = ^ (see https://errorprone.info/bugpattern/ImmutableEnumChecker) java/com/google/gerrit/reviewdb/converter/ChangeMessageKeyProtoConverter.java:26: warning: [ImmutableEnumChecker] enums should be immutable: 'ChangeMessageKeyProtoConverter' has field 'changeIdConverter' of type 'com.google.gerrit.reviewdb.converter.ProtoConverter', the declaration of type 'com.google.gerrit.reviewdb.converter.ProtoConverter' is not annotated with @com.google.errorprone.annotations.Immutable private final ProtoConverter changeIdConverter = ^ (see https://errorprone.info/bugpattern/ImmutableEnumChecker) java/com/google/gerrit/reviewdb/converter/ChangeMessageProtoConverter.java:30: warning: [ImmutableEnumChecker] enums should be immutable: 'ChangeMessageProtoConverter' has field 'changeMessageKeyConverter' of type 'com.google.gerrit.reviewdb.converter.ProtoConverter', the declaration of type 'com.google.gerrit.reviewdb.converter.ProtoConverter' is not annotated with @com.google.errorprone.annotations.Immutable changeMessageKeyConverter = ChangeMessageKeyProtoConverter.INSTANCE; ^ (see https://errorprone.info/bugpattern/ImmutableEnumChecker) java/com/google/gerrit/reviewdb/converter/ChangeMessageProtoConverter.java:31: warning: [ImmutableEnumChecker] enums should be immutable: 'ChangeMessageProtoConverter' has field 'accountIdConverter' of type 'com.google.gerrit.reviewdb.converter.ProtoConverter', the declaration of type 'com.google.gerrit.reviewdb.converter.ProtoConverter' is not annotated with @com.google.errorprone.annotations.Immutable private final ProtoConverter accountIdConverter = ^ (see https://errorprone.info/bugpattern/ImmutableEnumChecker) java/com/google/gerrit/reviewdb/converter/ChangeMessageProtoConverter.java:33: warning: [ImmutableEnumChecker] enums should be immutable: 'ChangeMessageProtoConverter' has field 'patchSetIdConverter' of type 'com.google.gerrit.reviewdb.converter.ProtoConverter', the declaration of type 'com.google.gerrit.reviewdb.converter.ProtoConverter' is not annotated with @com.google.errorprone.annotations.Immutable private final ProtoConverter patchSetIdConverter = ^ (see https://errorprone.info/bugpattern/ImmutableEnumChecker) java/com/google/gerrit/reviewdb/converter/ChangeProtoConverter.java:28: warning: [ImmutableEnumChecker] enums should be immutable: 'ChangeProtoConverter' has field 'changeIdConverter' of type 'com.google.gerrit.reviewdb.converter.ProtoConverter', the declaration of type 'com.google.gerrit.reviewdb.converter.ProtoConverter' is not annotated with @com.google.errorprone.annotations.Immutable private final ProtoConverter changeIdConverter = ^ (see https://errorprone.info/bugpattern/ImmutableEnumChecker) java/com/google/gerrit/reviewdb/converter/ChangeProtoConverter.java:30: warning: [ImmutableEnumChecker] enums should be immutable: 'ChangeProtoConverter' has field 'changeKeyConverter' of type 'com.google.gerrit.reviewdb.converter.ProtoConverter', the declaration of type 'com.google.gerrit.reviewdb.converter.ProtoConverter' is not annotated with @com.google.errorprone.annotations.Immutable private final ProtoConverter changeKeyConverter = ^ (see https://errorprone.info/bugpattern/ImmutableEnumChecker) java/com/google/gerrit/reviewdb/converter/ChangeProtoConverter.java:32: warning: [ImmutableEnumChecker] enums should be immutable: 'ChangeProtoConverter' has field 'accountIdConverter' of type 'com.google.gerrit.reviewdb.converter.ProtoConverter', the declaration of type 'com.google.gerrit.reviewdb.converter.ProtoConverter' is not annotated with @com.google.errorprone.annotations.Immutable private final ProtoConverter accountIdConverter = ^ (see https://errorprone.info/bugpattern/ImmutableEnumChecker) java/com/google/gerrit/reviewdb/converter/ChangeProtoConverter.java:34: warning: [ImmutableEnumChecker] enums should be immutable: 'ChangeProtoConverter' has field 'branchNameConverter' of type 'com.google.gerrit.reviewdb.converter.ProtoConverter', the declaration of type 'com.google.gerrit.reviewdb.converter.ProtoConverter' is not annotated with @com.google.errorprone.annotations.Immutable private final ProtoConverter branchNameConverter = ^ (see https://errorprone.info/bugpattern/ImmutableEnumChecker) java/com/google/gerrit/reviewdb/converter/PatchSetApprovalKeyProtoConverter.java:28: warning: [ImmutableEnumChecker] enums should be immutable: 'PatchSetApprovalKeyProtoConverter' has field 'patchSetIdConverter' of type 'com.google.gerrit.reviewdb.converter.ProtoConverter', the declaration of type 'com.google.gerrit.reviewdb.converter.ProtoConverter' is not annotated with @com.google.errorprone.annotations.Immutable private final ProtoConverter patchSetIdConverter = ^ (see https://errorprone.info/bugpattern/ImmutableEnumChecker) java/com/google/gerrit/reviewdb/converter/PatchSetApprovalKeyProtoConverter.java:30: warning: [ImmutableEnumChecker] enums should be immutable: 'PatchSetApprovalKeyProtoConverter' has field 'accountIdConverter' of type 'com.google.gerrit.reviewdb.converter.ProtoConverter', the declaration of type 'com.google.gerrit.reviewdb.converter.ProtoConverter' is not annotated with @com.google.errorprone.annotations.Immutable private final ProtoConverter accountIdConverter = ^ (see https://errorprone.info/bugpattern/ImmutableEnumChecker) java/com/google/gerrit/reviewdb/converter/PatchSetApprovalKeyProtoConverter.java:32: warning: [ImmutableEnumChecker] enums should be immutable: 'PatchSetApprovalKeyProtoConverter' has field 'labelIdConverter' of type 'com.google.gerrit.reviewdb.converter.ProtoConverter', the declaration of type 'com.google.gerrit.reviewdb.converter.ProtoConverter' is not annotated with @com.google.errorprone.annotations.Immutable private final ProtoConverter labelIdConverter = ^ (see https://errorprone.info/bugpattern/ImmutableEnumChecker) java/com/google/gerrit/reviewdb/converter/PatchSetApprovalProtoConverter.java:29: warning: [ImmutableEnumChecker] enums should be immutable: 'PatchSetApprovalProtoConverter' has field 'patchSetApprovalKeyProtoConverter' of type 'com.google.gerrit.reviewdb.converter.ProtoConverter', the declaration of type 'com.google.gerrit.reviewdb.converter.ProtoConverter' is not annotated with @com.google.errorprone.annotations.Immutable patchSetApprovalKeyProtoConverter = PatchSetApprovalKeyProtoConverter.INSTANCE; ^ (see https://errorprone.info/bugpattern/ImmutableEnumChecker) java/com/google/gerrit/reviewdb/converter/PatchSetApprovalProtoConverter.java:30: warning: [ImmutableEnumChecker] enums should be immutable: 'PatchSetApprovalProtoConverter' has field 'accountIdConverter' of type 'com.google.gerrit.reviewdb.converter.ProtoConverter', the declaration of type 'com.google.gerrit.reviewdb.converter.ProtoConverter' is not annotated with @com.google.errorprone.annotations.Immutable private final ProtoConverter accountIdConverter = ^ (see https://errorprone.info/bugpattern/ImmutableEnumChecker) java/com/google/gerrit/reviewdb/converter/PatchSetIdProtoConverter.java:25: warning: [ImmutableEnumChecker] enums should be immutable: 'PatchSetIdProtoConverter' has field 'changeIdConverter' of type 'com.google.gerrit.reviewdb.converter.ProtoConverter', the declaration of type 'com.google.gerrit.reviewdb.converter.ProtoConverter' is not annotated with @com.google.errorprone.annotations.Immutable private final ProtoConverter changeIdConverter = ^ (see https://errorprone.info/bugpattern/ImmutableEnumChecker) java/com/google/gerrit/reviewdb/converter/PatchSetProtoConverter.java:28: warning: [ImmutableEnumChecker] enums should be immutable: 'PatchSetProtoConverter' has field 'patchSetIdConverter' of type 'com.google.gerrit.reviewdb.converter.ProtoConverter', the declaration of type 'com.google.gerrit.reviewdb.converter.ProtoConverter' is not annotated with @com.google.errorprone.annotations.Immutable private final ProtoConverter patchSetIdConverter = ^ (see https://errorprone.info/bugpattern/ImmutableEnumChecker) java/com/google/gerrit/reviewdb/converter/PatchSetProtoConverter.java:30: warning: [ImmutableEnumChecker] enums should be immutable: 'PatchSetProtoConverter' has field 'revIdConverter' of type 'com.google.gerrit.reviewdb.converter.ProtoConverter', the declaration of type 'com.google.gerrit.reviewdb.converter.ProtoConverter' is not annotated with @com.google.errorprone.annotations.Immutable private final ProtoConverter revIdConverter = RevIdProtoConverter.INSTANCE; ^ (see https://errorprone.info/bugpattern/ImmutableEnumChecker) java/com/google/gerrit/reviewdb/converter/PatchSetProtoConverter.java:31: warning: [ImmutableEnumChecker] enums should be immutable: 'PatchSetProtoConverter' has field 'accountIdConverter' of type 'com.google.gerrit.reviewdb.converter.ProtoConverter', the declaration of type 'com.google.gerrit.reviewdb.converter.ProtoConverter' is not annotated with @com.google.errorprone.annotations.Immutable private final ProtoConverter accountIdConverter = ^ (see https://errorprone.info/bugpattern/ImmutableEnumChecker) [410 / 490] 1 / 2 tests; Building external/com_google_protobuf/libprotobuf_java.jar (123 source files, 1 source jar); 46s remote-cache, worker ... (32 actions, 21 running) INFO: From Building java/com/google/gerrit/extensions/libapi.jar (325 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor): 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) [429 / 490] 1 / 2 tests; Building external/com_google_protobuf/libprotobuf_java.jar (123 source files, 1 source jar); 55s remote-cache, worker ... (32 actions, 26 running) [445 / 490] 1 / 2 tests; Building external/com_google_protobuf/libprotobuf_java.jar (123 source files, 1 source jar); 64s remote-cache, worker ... (30 actions, 19 running) [453 / 490] 1 / 2 tests; Building external/com_google_protobuf/libprotobuf_java.jar (123 source files, 1 source jar); 76s remote-cache, worker ... (32 actions, 20 running) [456 / 490] 1 / 2 tests; Building external/com_google_protobuf/libprotobuf_java.jar (123 source files, 1 source jar); 88s remote-cache, worker ... (32 actions, 20 running) INFO: From Building java/com/google/gerrit/httpd/libhttpd-class.jar (99 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")'? INFO: From Building java/com/google/gerrit/sshd/libsshd.jar (98 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor): 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/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());'? [467 / 490] 1 / 2 tests; Building java/com/google/gerrit/server/libserver-class.jar (972 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor); 45s remote-cache, worker ... (24 actions, 17 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)) {'? [482 / 490] 1 / 2 tests; Building java/com/google/gerrit/server/libserver-class.jar (972 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor); 62s remote-cache, worker ... (10 actions running) INFO: From Building java/com/google/gerrit/acceptance/libframework-lib.jar (73 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor): java/com/google/gerrit/acceptance/GerritServer.java:493: 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) bazel-out/k8-fastbuild/bin/java/com/google/gerrit/acceptance/_javac/framework-lib/libframework-lib_sourcegenfiles/com/google/gerrit/acceptance/AutoAnnotation_ConfigAnnotationParser_newGerritConfig.java:14: warning: [ImmutableAnnotationChecker] annotations should be immutable: 'AutoAnnotation_ConfigAnnotationParser_newGerritConfig' has field 'values' of type 'java.lang.String[]', arrays are mutable private final String[] values; ^ (see https://errorprone.info/bugpattern/ImmutableAnnotationChecker) [488 / 490] 1 / 2 tests; Building java/com/google/gerrit/server/libserver-class.jar (972 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor); 82s remote-cache, worker INFO: From Building java/com/google/gerrit/server/libserver-class.jar (972 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor): 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/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/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:383: 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:393: 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/patch/PatchScriptBuilder.java:518: 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:538: 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: 159.639s, Critical Path: 107.41s INFO: 142 processes: 7 internal, 66 processwrapper-sandbox, 69 worker. INFO: Build completed successfully, 142 total actions Test cases: finished with 27 passing and 0 failing out of 27 test cases Executed 2 out of 2 tests: 2 tests pass. INFO: Build completed successfully, 142 total actions Dec 29, 2020 6:54:06 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. Dec 29, 2020 6:54:07 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-websession-flatfile-bazel-master-stable-3.0] $ /bin/bash -e /tmp/jenkins1506622338919998191.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 2015 0 2015 0 0 3109 0 --:--:-- --:--:-- --:--:-- 3104 100 2015 0 2015 0 0 3090 0 --:--:-- --:--:-- --:--:-- 3085 Archiving artifacts Finished: SUCCESS