Started by an SCM change Started by an SCM change Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on ha:////4GwDawAnXsMZr3siN0Q/6HW1jPmwoIZfPaxKVY2zGqOIAAAAqx+LCAAAAAAAAP9b85aBtbiIQTGjNKU4P08vOT+vOD8nVc83PyU1x6OyILUoJzMv2y+/JJUBAhiZGBgqihhk0NSjKDWzXb3RdlLBUSYGJk8GtpzUvPSSDB8G5tKinBIGIZ+sxLJE/ZzEvHT94JKizLx0a6BxUmjGOUNodHsLgAzREgZ5/eT83ILSktQi/fTknPzSFDNj3VRDI5M0k1TTVBOLVAC+IG3o1AAAAA==gcloud63-e124f4e5e48e (bazel-debian mvn bazel-chrome69 docker) in workspace /home/jenkins/workspace/plugin-cfoauth-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/cfoauth > /usr/bin/git init /home/jenkins/workspace/plugin-cfoauth-bazel-master-stable-3.0 # timeout=10 Fetching upstream changes from https://gerrit.googlesource.com/a/plugins/cfoauth > /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/cfoauth +refs/heads/*:refs/remotes/origin/* # timeout=10 > /usr/bin/git config remote.origin.url https://gerrit.googlesource.com/a/plugins/cfoauth # 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/cfoauth # timeout=10 Fetching upstream changes from https://gerrit.googlesource.com/a/plugins/cfoauth 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/cfoauth +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 8af457d3634e67e6e06ada4772c2f6fc40578692 (refs/remotes/origin/master) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f 8af457d3634e67e6e06ada4772c2f6fc40578692 # timeout=10 Commit message: "Fix conversion from AccessToken to OAuthToken" First time build. Skipping changelog. [plugin-cfoauth-bazel-master-stable-3.0] $ /bin/bash -e /tmp/jenkins4902299885429890806.sh [plugin-cfoauth-bazel-master-stable-3.0] $ /bin/bash -e /tmp/jenkins5808439756359922909.sh Java set to: /usr/lib/jvm/java-8-openjdk-amd64/bin/java Building plugin cfoauth/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 8af457d363 Fix conversion from AccessToken to OAuthToken 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-cfoauth-bazel-master-stable-3.0/plugins/codemirror-editor'... Cloning into '/home/jenkins/workspace/plugin-cfoauth-bazel-master-stable-3.0/plugins/commit-message-length-validator'... Cloning into '/home/jenkins/workspace/plugin-cfoauth-bazel-master-stable-3.0/plugins/delete-project'... Cloning into '/home/jenkins/workspace/plugin-cfoauth-bazel-master-stable-3.0/plugins/download-commands'... Cloning into '/home/jenkins/workspace/plugin-cfoauth-bazel-master-stable-3.0/plugins/gitiles'... Cloning into '/home/jenkins/workspace/plugin-cfoauth-bazel-master-stable-3.0/plugins/hooks'... Cloning into '/home/jenkins/workspace/plugin-cfoauth-bazel-master-stable-3.0/plugins/plugin-manager'... Cloning into '/home/jenkins/workspace/plugin-cfoauth-bazel-master-stable-3.0/plugins/replication'... Cloning into '/home/jenkins/workspace/plugin-cfoauth-bazel-master-stable-3.0/plugins/reviewnotes'... Cloning into '/home/jenkins/workspace/plugin-cfoauth-bazel-master-stable-3.0/plugins/singleusergroup'... Cloning into '/home/jenkins/workspace/plugin-cfoauth-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 '171704d1cdcd3ec281fbe90f7b5a9302b4b66866' Submodule path 'plugins/download-commands': checked out '41c61bf8c1869bff4e0b436f69478c2137d0ca07' Submodule path 'plugins/gitiles': checked out '8e0f5bdfb89371d0e3bf91f15a8fd8157821540e' Submodule path 'plugins/hooks': checked out '089687bdcc64b003d09a77f00eaa77bb79b15b9c' Submodule path 'plugins/plugin-manager': checked out 'd3b2a6eabcb641e952f253e61b927cd1f7f6e30c' Submodule path 'plugins/replication': checked out '116cbc11573e7afb0ce0782518a172cf798ec15c' Submodule path 'plugins/reviewnotes': checked out 'be5037839d987a319dac2236e9c1221d4d31848d' Submodule path 'plugins/singleusergroup': checked out '8a3b6faeaebc0f9b7d1af19eb0022b32994e476a' Submodule path 'plugins/webhooks': checked out '56ea65dd137d5dc2211378af961a44eb9b4e8c18' openjdk full version "1.8.0_242-8u242-b08-1~deb9u1-b08" Bazelisk version: v1.4.0 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: 38cd03c2-2082-438a-b9db-c555228eabca Loading: Loading: 0 packages loaded Loading: 0 packages loaded Loading: 0 packages loaded Analyzing: target //plugins/cfoauth:cfoauth (1 packages loaded, 0 targets configured) Analyzing: target //plugins/cfoauth:cfoauth (10 packages loaded, 7 targets configured) Analyzing: target //plugins/cfoauth:cfoauth (10 packages loaded, 7 targets configured) Analyzing: target //plugins/cfoauth:cfoauth (10 packages loaded, 7 targets configured) Analyzing: target //plugins/cfoauth:cfoauth (10 packages loaded, 7 targets configured) Analyzing: target //plugins/cfoauth:cfoauth (11 packages loaded, 7 targets configured) Analyzing: target //plugins/cfoauth:cfoauth (19 packages loaded, 107 targets configured) Analyzing: target //plugins/cfoauth:cfoauth (95 packages loaded, 1802 targets configured) Analyzing: target //plugins/cfoauth:cfoauth (139 packages loaded, 2804 targets configured) Analyzing: target //plugins/cfoauth:cfoauth (194 packages loaded, 2955 targets configured) Analyzing: target //plugins/cfoauth:cfoauth (196 packages loaded, 3535 targets configured) INFO: Analyzed target //plugins/cfoauth:cfoauth (197 packages loaded, 3934 targets configured). INFO: Found 1 target... [0 / 152] [Prepa] Writing file build-info-redacted.properties WARNING: Reading from Remote Cache: BulkTransferException [294 / 358] Action external/bazel_tools/tools/jdk/platformclasspath.jar [for host]; 3s local, remote-cache ... (4 actions running) [315 / 358] Compiling Java headers external/com_google_protobuf/libprotobuf_java-hjar.jar (123 source files, 1 source jar); 3s local, remote-cache ... (14 actions running) [322 / 358] Executing genrule //prolog:gerrit-prolog-common__pl2j; 6s local, remote-cache ... (10 actions running) [329 / 358] Compiling Java headers java/com/google/gerrit/exceptions/libexceptions-hjar.jar (10 source files); 2s local, remote-cache ... (10 actions running) [339 / 358] Compiling Java headers java/com/google/gerrit/server/libserver-hjar.jar (971 source files); 1s local, remote-cache [352 / 358] Compiling Java headers java/com/google/gerrit/sshd/libsshd-hjar.jar (98 source files); 1s local, remote-cache ... (4 actions running) Target //plugins/cfoauth:cfoauth up-to-date: bazel-bin/plugins/cfoauth/cfoauth.jar INFO: Elapsed time: 59.689s, Critical Path: 33.56s INFO: 341 processes: 170 remote cache hit, 171 local. INFO: Build completed successfully, 358 total actions INFO: Build completed successfully, 358 total actions INFO: Invocation ID: 91544704-7663-4973-8e2a-ef19881c0f00 Loading: Loading: 0 packages loaded 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 (42 packages loaded, 4222 targets configured) Analyzing: 2 targets (55 packages loaded, 4291 targets configured) INFO: Analyzed 2 targets (76 packages loaded, 4401 targets configured). INFO: Found 2 test targets... [0 / 4] [Prepa] BazelWorkspaceStatusAction stable-status.txt [322 / 494] 1 / 2 tests; [Prepa] BazelWorkspaceStatusAction stable-status.txt ... (31 actions, 30 running) [324 / 494] 1 / 2 tests; Building java/com/google/gerrit/server/libconstants.jar (1 source file); 1s local, remote-cache ... (32 actions running) [327 / 494] 1 / 2 tests; Building java/com/google/gerrit/server/libconstants.jar (1 source file); 2s local, remote-cache ... (32 actions running) [328 / 494] 1 / 2 tests; Building java/com/google/gerrit/server/libconstants.jar (1 source file); 6s local, remote-cache ... (31 actions, 30 running) [347 / 494] 1 / 2 tests; Building java/com/google/gerrit/json/libjson.jar (3 source files); 8s local, remote-cache ... (31 actions, 30 running) [356 / 494] 1 / 2 tests; Building java/com/google/gerrit/launcher/liblauncher.jar (1 source file); 10s local, remote-cache ... (31 actions, 30 running) [358 / 494] 1 / 2 tests; Building proto/libcache_proto-speed.jar (1 source jar); 13s local, remote-cache ... (32 actions running) [359 / 494] 1 / 2 tests; Building proto/libcache_proto-speed.jar (1 source jar); 15s local, remote-cache ... (32 actions running) [361 / 494] 1 / 2 tests; Building proto/libcache_proto-speed.jar (1 source jar); 18s local, remote-cache ... (32 actions running) [365 / 494] 1 / 2 tests; Building proto/libcache_proto-speed.jar (1 source jar); 22s local, remote-cache ... (32 actions running) [385 / 494] 1 / 2 tests; Building proto/libcache_proto-speed.jar (1 source jar); 25s local, remote-cache ... (32 actions running) [410 / 494] 1 / 2 tests; Building proto/libcache_proto-speed.jar (1 source jar); 30s local, remote-cache ... (31 actions, 30 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) [417 / 494] 1 / 2 tests; Building external/com_google_protobuf/libprotobuf_java.jar (123 source files, 1 source jar); 35s local, remote-cache ... (32 actions running) [428 / 494] 1 / 2 tests; Building external/com_google_protobuf/libprotobuf_java.jar (123 source files, 1 source jar); 41s local, remote-cache ... (32 actions 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) INFO: From Building java/com/google/gerrit/server/logging/liblogging.jar (9 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor): WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.google.errorprone.bugpatterns.FutureReturnValueIgnored (file:/home/jenkins/.cache/bazel/_bazel_jenkins/5d9a7a4310036b590ae2b77d0971299c/external/remote_java_tools_linux/java_tools/JavaBuilder_deploy.jar) to field com.sun.tools.javac.code.Type$StructuralTypeMapping$4.this$0 WARNING: Please consider reporting this to the maintainers of com.google.errorprone.bugpatterns.FutureReturnValueIgnored WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release [443 / 494] 1 / 2 tests; Building external/com_google_protobuf/libprotobuf_java.jar (123 source files, 1 source jar); 47s local, remote-cache ... (32 actions running) [450 / 494] 1 / 2 tests; Building external/com_google_protobuf/libprotobuf_java.jar (123 source files, 1 source jar); 55s local, remote-cache ... (32 actions running) [459 / 494] 1 / 2 tests; Building external/com_google_protobuf/libprotobuf_java.jar (123 source files, 1 source jar); 64s local, remote-cache ... (32 actions running) [461 / 494] 1 / 2 tests; Building external/com_google_protobuf/libprotobuf_java.jar (123 source files, 1 source jar); 74s local, remote-cache ... (32 actions running) [466 / 494] 1 / 2 tests; Building external/com_google_protobuf/libprotobuf_java.jar (123 source files, 1 source jar); 86s local, remote-cache ... (32 actions 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());'? [471 / 494] 1 / 2 tests; Building external/com_google_protobuf/libprotobuf_java.jar (123 source files, 1 source jar); 99s local, remote-cache ... (28 actions running) INFO: From Building java/com/google/gerrit/lucene/liblucene.jar (12 source files): WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.google.errorprone.bugpatterns.FutureReturnValueIgnored (file:/home/jenkins/.cache/bazel/_bazel_jenkins/5d9a7a4310036b590ae2b77d0971299c/external/remote_java_tools_linux/java_tools/JavaBuilder_deploy.jar) to field com.sun.tools.javac.code.Type$StructuralTypeMapping$4.this$0 WARNING: Please consider reporting this to the maintainers of com.google.errorprone.bugpatterns.FutureReturnValueIgnored WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release 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/httpd/libhttpd-class.jar (98 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)) {'? [483 / 494] 1 / 2 tests; Building java/com/google/gerrit/server/libserver-class.jar (971 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor); 85s local, remote-cache ... (16 actions running) [489 / 494] 1 / 2 tests; Building java/com/google/gerrit/server/libserver-class.jar (971 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor); 102s local, remote-cache ... (8 actions running) INFO: From Building java/com/google/gerrit/acceptance/libframework-lib.jar (69 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor): WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.google.errorprone.bugpatterns.FutureReturnValueIgnored (file:/home/jenkins/.cache/bazel/_bazel_jenkins/5d9a7a4310036b590ae2b77d0971299c/external/remote_java_tools_linux/java_tools/JavaBuilder_deploy.jar) to field com.sun.tools.javac.code.Type$StructuralTypeMapping$4.this$0 WARNING: Please consider reporting this to the maintainers of com.google.errorprone.bugpatterns.FutureReturnValueIgnored WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release java/com/google/gerrit/acceptance/GerritServer.java:486: 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) INFO: From Building java/com/google/gerrit/server/restapi/librestapi.jar (284 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor): WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.google.errorprone.bugpatterns.FutureReturnValueIgnored (file:/home/jenkins/.cache/bazel/_bazel_jenkins/5d9a7a4310036b590ae2b77d0971299c/external/remote_java_tools_linux/java_tools/JavaBuilder_deploy.jar) to field com.sun.tools.javac.code.Type$StructuralTypeMapping$4.this$0 WARNING: Please consider reporting this to the maintainers of com.google.errorprone.bugpatterns.FutureReturnValueIgnored WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release INFO: From Building java/com/google/gerrit/server/libserver-class.jar (971 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor): WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.google.errorprone.bugpatterns.FutureReturnValueIgnored (file:/home/jenkins/.cache/bazel/_bazel_jenkins/5d9a7a4310036b590ae2b77d0971299c/external/remote_java_tools_linux/java_tools/JavaBuilder_deploy.jar) to field com.sun.tools.javac.code.Type$StructuralTypeMapping$4.this$0 WARNING: Please consider reporting this to the maintainers of com.google.errorprone.bugpatterns.FutureReturnValueIgnored WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release 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/index/change/AllChangesIndexer.java:113: warning: [NarrowingCompoundAssignment] Compound assignments from long to int hide lossy casts changeCount += size; ^ (see https://errorprone.info/bugpattern/NarrowingCompoundAssignment) Did you mean 'changeCount = (int) (changeCount + size);'? 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: 152.479s, Critical Path: 118.73s INFO: 137 processes: 137 local. INFO: Build completed successfully, 144 total actions Test cases: finished with 23 passing and 0 failing out of 23 test cases Executed 2 out of 2 tests: 2 tests pass. INFO: Build completed successfully, 144 total actions Jun 17, 2020 10:04:51 AM java.util.jar.Attributes read WARNING: Duplicate name in Manifest: Implementation-Version. Ensure that the manifest does not have duplicate entries, and that blank lines separate individual sections in both your manifest and in the META-INF/MANIFEST.MF entry in the jar file. Jun 17, 2020 10:04:52 AM java.util.jar.Attributes read WARNING: Duplicate name in Manifest: Implementation-Version. Ensure that the manifest does not have duplicate entries, and that blank lines separate individual sections in both your manifest and in the META-INF/MANIFEST.MF entry in the jar file. Jun 17, 2020 10:04:52 AM java.util.jar.Attributes read WARNING: Duplicate name in Manifest: Implementation-Version. Ensure that the manifest does not have duplicate entries, and that blank lines separate individual sections in both your manifest and in the META-INF/MANIFEST.MF entry in the jar file. [plugin-cfoauth-bazel-master-stable-3.0] $ /bin/bash -e /tmp/jenkins1794839842947753499.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 1928 0 1928 0 0 27268 0 --:--:-- --:--:-- --:--:-- 27542 Archiving artifacts Finished: SUCCESS