Started by an SCM change Running as SYSTEM [EnvInject] - Loading node environment variables. [EnvInject] - Preparing an environment for the build. [EnvInject] - Keeping Jenkins system variables. [EnvInject] - Keeping Jenkins build variables. [EnvInject] - Injecting as environment variables the properties content BAZEL_OPTS=--java_toolchain=//tools:error_prone_warnings_toolchain [EnvInject] - Variables injected successfully. [EnvInject] - Injecting contributions. Building remotely on ha:////4ASnq11TBP9GoyjEP0A8QLJC6vSI0mYLNnwGfEUByEKoAAAAqx+LCAAAAAAAAP9b85aBtbiIQTGjNKU4P08vOT+vOD8nVc83PyU1x6OyILUoJzMv2y+/JJUBAhiZGBgqihhk0NSjKDWzXb3RdlLBUSYGJk8GtpzUvPSSDB8G5tKinBIGIZ+sxLJE/ZzEvHT94JKizLx0a6BxUmjGOUNodHsLgAzREgZ5/eT83ILSktQi/fTknPzSFDMz3SRTI9Nkk7RU4xQDIwANQ5/21AAAAA==gcloud66-b525c4fe3d02 (bazel-debian bazel-chrome69) in workspace /home/jenkins/workspace/plugin-readonly-bazel-stable-3.0 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-readonly-bazel-stable-3.0 # 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/readonly # timeout=10 Fetching upstream changes from https://gerrit.googlesource.com/a/plugins/readonly 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/readonly +refs/heads/*:refs/remotes/origin/* # timeout=10 > /usr/bin/git rev-parse origin/stable-3.0^{commit} # timeout=10 > /usr/bin/git rev-parse refs/remotes/gerrit/origin/stable-3.0^{commit} # timeout=10 > /usr/bin/git rev-parse refs/remotes/origin/stable-3.0^{commit} # timeout=10 > /usr/bin/git rev-parse refs/remotes/origin/origin/stable-3.0^{commit} # timeout=10 Checking out Revision e61c30ed5777dbc09506dd1a2e308cbc60f4cbd5 (origin/stable-3.0) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f e61c30ed5777dbc09506dd1a2e308cbc60f4cbd5 # timeout=10 Commit message: "Upgrade bazlets to latest stable-3.0 to build with 3.0.13 API" > /usr/bin/git rev-list --no-walk ba678d626f5387e31b70edadeb6a6d7c4f914fc6 # timeout=10 [plugin-readonly-bazel-stable-3.0] $ /bin/bash -e /tmp/jenkins8161239893848706447.sh [plugin-readonly-bazel-stable-3.0] $ /bin/bash -e /tmp/jenkins6905039346894825532.sh Previous HEAD position was e61c30ed57 Upgrade bazlets to latest stable-3.0 to build with 3.0.13 API 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-readonly-bazel-stable-3.0/plugins/codemirror-editor'... Cloning into '/home/jenkins/workspace/plugin-readonly-bazel-stable-3.0/plugins/commit-message-length-validator'... Cloning into '/home/jenkins/workspace/plugin-readonly-bazel-stable-3.0/plugins/delete-project'... Cloning into '/home/jenkins/workspace/plugin-readonly-bazel-stable-3.0/plugins/download-commands'... Cloning into '/home/jenkins/workspace/plugin-readonly-bazel-stable-3.0/plugins/gitiles'... Cloning into '/home/jenkins/workspace/plugin-readonly-bazel-stable-3.0/plugins/hooks'... Cloning into '/home/jenkins/workspace/plugin-readonly-bazel-stable-3.0/plugins/plugin-manager'... Cloning into '/home/jenkins/workspace/plugin-readonly-bazel-stable-3.0/plugins/replication'... Cloning into '/home/jenkins/workspace/plugin-readonly-bazel-stable-3.0/plugins/reviewnotes'... Cloning into '/home/jenkins/workspace/plugin-readonly-bazel-stable-3.0/plugins/singleusergroup'... Cloning into '/home/jenkins/workspace/plugin-readonly-bazel-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 '8b22484caeaf118bce493a46130f6a23f779cac0' 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 '5b1ae38e61ce31b18fc13e0783977b1421bd0c6a' Submodule path 'plugins/reviewnotes': checked out 'be5037839d987a319dac2236e9c1221d4d31848d' Submodule path 'plugins/singleusergroup': checked out '8a3b6faeaebc0f9b7d1af19eb0022b32994e476a' Submodule path 'plugins/webhooks': checked out '8f7a232ef94f60b20c059fff7066d0d1864bec8b' From https://gerrit.googlesource.com/a/plugins/readonly * branch HEAD -> FETCH_HEAD openjdk full version "1.8.0_265-b01" Bazelisk version: v1.6.1 Starting local Bazel server and connecting to it... Build label: 3.5.1 Build target: bazel-out/k8-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar Build time: Thu Oct 1 04:34:41 2020 (1601526881) Build timestamp: 1601526881 Build timestamp as int: 1601526881 INFO: Invocation ID: c5b59089-3c2d-4a14-80f1-ca4388ed4d48 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 currently loading: plugins/readonly Analyzing: target //plugins/readonly:readonly (1 packages loaded) Analyzing: target //plugins/readonly:readonly (1 packages loaded, 0 targets configured) Analyzing: target //plugins/readonly:readonly (8 packages loaded, 7 targets configured) Analyzing: target //plugins/readonly:readonly (10 packages loaded, 7 targets configured) Analyzing: target //plugins/readonly:readonly (10 packages loaded, 7 targets configured) Analyzing: target //plugins/readonly:readonly (10 packages loaded, 7 targets configured) Analyzing: target //plugins/readonly:readonly (10 packages loaded, 7 targets configured) Analyzing: target //plugins/readonly:readonly (11 packages loaded, 7 targets configured) Analyzing: target //plugins/readonly:readonly (42 packages loaded, 248 targets configured) Analyzing: target //plugins/readonly:readonly (126 packages loaded, 2701 targets configured) Analyzing: target //plugins/readonly:readonly (191 packages loaded, 2875 targets configured) Analyzing: target //plugins/readonly:readonly (195 packages loaded, 3459 targets configured) INFO: Analyzed target //plugins/readonly:readonly (196 packages loaded, 3856 targets configured). INFO: Found 1 target... [0 / 7] [Prepa] Writing file build-info-redacted.properties [240 / 356] Extracting interface @bcprov//jar:jar; 0s local, remote-cache ... (29 actions, 28 running) [297 / 356] Compiling Java headers java/com/google/gerrit/json/libjson-hjar.jar (3 source files); 5s local, remote-cache ... (32 actions running) [313 / 356] Compiling Java headers external/com_google_protobuf/libprotobuf_java-hjar.jar (123 source files, 1 source jar); 13s local, remote-cache ... (14 actions running) [319 / 356] Executing genrule //prolog:gerrit-prolog-common__pl2j; 22s local, remote-cache ... (12 actions running) [327 / 356] Compiling Java headers java/com/google/gerrit/server/ioutil/libioutil-hjar.jar (7 source files); 2s local, remote-cache ... (10 actions running) [334 / 356] Compiling Java headers java/com/google/gerrit/index/libindex-hjar.jar (39 source files); 4s local, remote-cache [337 / 356] Compiling Java headers java/com/google/gerrit/server/libserver-hjar.jar (971 source files); 11s local, remote-cache [349 / 356] Compiling Java headers java/com/google/gerrit/server/api/libapi-hjar.jar (36 source files); 1s local, remote-cache ... (6 actions running) Target //plugins/readonly:readonly up-to-date: bazel-bin/plugins/readonly/readonly.jar INFO: Elapsed time: 135.792s, Critical Path: 89.79s INFO: 339 processes: 187 remote cache hit, 152 local. INFO: Build completed successfully, 356 total actions INFO: Build completed successfully, 356 total actions INFO: Invocation ID: 92642d64-87ea-42c4-b94c-42d194679cb8 Loading: Loading: 0 packages loaded INFO: Build option --test_env has changed, discarding analysis cache. Analyzing: 2 targets (4 packages loaded, 0 targets configured) Analyzing: 2 targets (12 packages loaded, 804 targets configured) Analyzing: 2 targets (39 packages loaded, 4048 targets configured) Analyzing: 2 targets (64 packages loaded, 4247 targets configured) INFO: Analyzed 2 targets (79 packages loaded, 4324 targets configured). INFO: Found 2 test targets... [0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt [267 / 488] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... (19 actions, 16 running) [337 / 489] 1 / 2 tests; [Prepa] BazelWorkspaceStatusAction stable-status.txt ... (31 actions, 19 running) [347 / 489] 1 / 2 tests; Building antlr3/libquery_parser.jar (1 source jar); 2s remote-cache, worker ... (32 actions, 21 running) [357 / 489] 1 / 2 tests; Building antlr3/libquery_parser.jar (1 source jar); 4s remote-cache, worker ... (32 actions, 20 running) [358 / 489] 1 / 2 tests; Building antlr3/libquery_parser.jar (1 source jar); 8s remote-cache, worker ... (31 actions, 18 running) [363 / 489] 1 / 2 tests; Building antlr3/libquery_parser.jar (1 source jar); 11s remote-cache, worker ... (31 actions, 20 running) [371 / 489] 1 / 2 tests; Building external/com_google_protobuf/libprotobuf_java.jar (123 source files, 1 source jar); 14s remote-cache ... (31 actions, 19 running) [380 / 489] 1 / 2 tests; Building java/com/google/gerrit/git/libgit.jar (2 source files); 14s remote-cache ... (32 actions, 21 running) [385 / 489] 1 / 2 tests; Building java/com/google/gerrit/lifecycle/liblifecycle.jar (2 source files); 10s remote-cache ... (32 actions, 20 running) [387 / 489] 1 / 2 tests; Building java/com/google/gerrit/truth/libtruth.jar (3 source files); 12s remote-cache ... (32 actions, 20 running) [387 / 489] 1 / 2 tests; Building java/com/google/gerrit/truth/libtruth.jar (3 source files); 23s remote-cache ... (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) [392 / 489] 1 / 2 tests; Building external/com_google_protobuf/libprotobuf_java.jar (123 source files, 1 source jar); 30s remote-cache, worker ... (32 actions, 22 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) [407 / 489] 1 / 2 tests; Building external/com_google_protobuf/libprotobuf_java.jar (123 source files, 1 source jar); 39s remote-cache, worker ... (31 actions, 21 running) [421 / 489] 1 / 2 tests; Building external/com_google_protobuf/libprotobuf_java.jar (123 source files, 1 source jar); 49s remote-cache, worker ... (32 actions, 24 running) [431 / 489] 1 / 2 tests; Building external/com_google_protobuf/libprotobuf_java.jar (123 source files, 1 source jar); 61s remote-cache, worker ... (32 actions, 21 running) [443 / 489] 1 / 2 tests; Building external/com_google_protobuf/libprotobuf_java.jar (123 source files, 1 source jar); 73s remote-cache, worker ... (32 actions, 22 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")'? [454 / 489] 1 / 2 tests; Building external/com_google_protobuf/libprotobuf_java.jar (123 source files, 1 source jar); 88s remote-cache, worker ... (31 actions, 21 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());'? [468 / 489] 1 / 2 tests; Building java/com/google/gerrit/server/libserver-class.jar (971 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor); 60s remote-cache, worker ... (32 actions, 20 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 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) [478 / 489] 1 / 2 tests; Building java/com/google/gerrit/server/libserver-class.jar (971 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor); 79s remote-cache, worker ... (18 actions, 13 running) 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/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) INFO: From Building java/com/google/gerrit/server/libserver-class.jar (971 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))) {'? [489 / 490] 1 / 2 tests; Testing //plugins/readonly:readonly_tests; 0s remote-cache, processwrapper-sandbox [489 / 490] 1 / 2 tests; Testing //plugins/readonly:readonly_tests; 25s remote-cache, processwrapper-sandbox [489 / 490] 1 / 2 tests; Testing //plugins/readonly:readonly_tests; 54s remote-cache, processwrapper-sandbox [489 / 490] 1 / 2 tests; Testing //plugins/readonly:readonly_tests; 88s remote-cache, processwrapper-sandbox [489 / 490] 1 / 2 tests; Testing //plugins/readonly:readonly_tests; 126s remote-cache, processwrapper-sandbox [489 / 490] 1 / 2 tests; Testing //plugins/readonly:readonly_tests; 170s remote-cache, processwrapper-sandbox INFO: Elapsed time: 344.173s, Critical Path: 293.38s INFO: 134 processes: 65 processwrapper-sandbox, 69 worker. INFO: Build completed successfully, 141 total actions //plugins/readonly:readonly_tests PASSED in 175.4s //tools/bzl:always_pass_test PASSED in 0.3s 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, 141 total actions Oct 23, 2020 2:30:52 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-readonly-bazel-stable-3.0] $ /bin/bash -e /tmp/jenkins1186440077078130304.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 1952 0 1952 0 0 18415 0 --:--:-- --:--:-- --:--:-- 18415 Archiving artifacts Finished: SUCCESS