Started by user ha:////4LhIf0vdZMLFequGTVnN1cMcIypvsThRPBC5Va3yiaavAAAAnh+LCAAAAAAAAP9b85aBtbiIQTGjNKU4P08vOT+vOD8nVc83PyU1x6OyILUoJzMv2y+/JJUBAhiZGBgqihhk0NSjKDWzXb3RdlLBUSYGJk8GtpzUvPSSDB8G5tKinBIGIZ+sxLJE/ZzEvHT94JKizLx0a6BxUmjGOUNodHsLgAy+EgZh/dLi1CL9nNLkxNxMoEmpxZn5ANPJiavIAAAALuca Milanesio Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on ha:////4GVcULkuewJHfigNNW5gYsrBoRywll7qOkqfjYlXIkEyAAAAqx+LCAAAAAAAAP9b85aBtbiIQTGjNKU4P08vOT+vOD8nVc83PyU1x6OyILUoJzMv2y+/JJUBAhiZGBgqihhk0NSjKDWzXb3RdlLBUSYGJk8GtpzUvPSSDB8G5tKinBIGIZ+sxLJE/ZzEvHT94JKizLx0a6BxUmjGOUNodHsLgAzREgZ5/eT83ILSktQi/fTknPzSFDMz3RQTMwNL02Qzg2TTJADQAFnX1AAAAA==gcloud66-d46095c60c5b (sbt) in workspace /home/jenkins/workspace/plugin-analytics-sbt-stable-2.16 Selected Git installation does not exist. Using Default Wiping out workspace first. Cloning the remote Git repository Avoid fetching tags Cloning repository https://gerrit.googlesource.com/a/gerrit > /usr/bin/git init /home/jenkins/workspace/plugin-analytics-sbt-stable-2.16 # timeout=10 Fetching upstream changes from https://gerrit.googlesource.com/a/gerrit > /usr/bin/git --version # timeout=10 using GIT_ASKPASS to set credentials .netrc credentials for gerrit.googlesource.com > /usr/bin/git fetch --no-tags --force --progress -- https://gerrit.googlesource.com/a/gerrit +refs/heads/*:refs/remotes/gerrit/* # timeout=10 > /usr/bin/git config remote.gerrit.url https://gerrit.googlesource.com/a/gerrit # timeout=10 > /usr/bin/git config --add remote.gerrit.fetch +refs/heads/*:refs/remotes/gerrit/* # timeout=10 > /usr/bin/git config remote.gerrit.url https://gerrit.googlesource.com/a/gerrit # timeout=10 Fetching upstream changes from https://gerrit.googlesource.com/a/gerrit using GIT_ASKPASS to set credentials .netrc credentials for gerrit.googlesource.com > /usr/bin/git fetch --no-tags --force --progress -- https://gerrit.googlesource.com/a/gerrit +refs/heads/*:refs/remotes/gerrit/* # timeout=10 > /usr/bin/git config remote.origin.url https://gerrit.googlesource.com/a/plugins/analytics # timeout=10 Fetching upstream changes from https://gerrit.googlesource.com/a/plugins/analytics 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/analytics +refs/heads/*:refs/remotes/origin/* # timeout=10 > /usr/bin/git rev-parse origin/stable-2.16^{commit} # timeout=10 > /usr/bin/git rev-parse refs/remotes/gerrit/origin/stable-2.16^{commit} # timeout=10 > /usr/bin/git rev-parse refs/remotes/origin/stable-2.16^{commit} # timeout=10 > /usr/bin/git rev-parse refs/remotes/origin/origin/stable-2.16^{commit} # timeout=10 Checking out Revision e841d7169fe35138f5187a05692c56202ce1f797 (origin/stable-2.16) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f e841d7169fe35138f5187a05692c56202ce1f797 # timeout=10 Commit message: "Promote aggregation key to case class" > /usr/bin/git rev-list --no-walk e841d7169fe35138f5187a05692c56202ce1f797 # timeout=10 [plugin-analytics-sbt-stable-2.16] $ /bin/bash -e /tmp/jenkins2690302682377237675.sh [plugin-analytics-sbt-stable-2.16] $ /bin/bash -e /tmp/jenkins9171161070475685817.sh Java set to: /usr/lib/jvm/java-8-openjdk-amd64/bin/java openjdk full version "1.8.0_275-b01" 2021/01/26 19:28:33 Downloading https://releases.bazel.build/4.0.0/release/bazel-4.0.0-linux-x86_64... Bazelisk version: v1.7.4 Extracting Bazel installation... Build label: 4.0.0 Build target: bazel-out/k8-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar Build time: Thu Jan 21 07:33:24 2021 (1611214404) Build timestamp: 1611214404 Build timestamp as int: 1611214404 Previous HEAD position was e841d7169f Promote aggregation key to case class Switched to a new branch 'gerrit-master' Branch 'gerrit-master' set up to track remote branch 'stable-2.16' from 'gerrit'. Submodule 'plugins/codemirror-editor' (https://gerrit.googlesource.com/a/plugins/codemirror-editor) registered for path 'plugins/codemirror-editor' Submodule 'plugins/commit-message-length-validator' (https://gerrit.googlesource.com/a/plugins/commit-message-length-validator) registered for path 'plugins/commit-message-length-validator' Submodule 'plugins/download-commands' (https://gerrit.googlesource.com/a/plugins/download-commands) registered for path 'plugins/download-commands' Submodule 'plugins/hooks' (https://gerrit.googlesource.com/a/plugins/hooks) registered for path 'plugins/hooks' Submodule 'plugins/replication' (https://gerrit.googlesource.com/a/plugins/replication) registered for path 'plugins/replication' Submodule 'plugins/reviewnotes' (https://gerrit.googlesource.com/a/plugins/reviewnotes) registered for path 'plugins/reviewnotes' Submodule 'plugins/singleusergroup' (https://gerrit.googlesource.com/a/plugins/singleusergroup) registered for path 'plugins/singleusergroup' Cloning into '/home/jenkins/workspace/plugin-analytics-sbt-stable-2.16/plugins/codemirror-editor'... Cloning into '/home/jenkins/workspace/plugin-analytics-sbt-stable-2.16/plugins/commit-message-length-validator'... Cloning into '/home/jenkins/workspace/plugin-analytics-sbt-stable-2.16/plugins/download-commands'... Cloning into '/home/jenkins/workspace/plugin-analytics-sbt-stable-2.16/plugins/hooks'... Cloning into '/home/jenkins/workspace/plugin-analytics-sbt-stable-2.16/plugins/replication'... Cloning into '/home/jenkins/workspace/plugin-analytics-sbt-stable-2.16/plugins/reviewnotes'... Cloning into '/home/jenkins/workspace/plugin-analytics-sbt-stable-2.16/plugins/singleusergroup'... Submodule path 'plugins/codemirror-editor': checked out '59942b1adf1c949f3633f60ac42f67fae03b3255' Submodule path 'plugins/commit-message-length-validator': checked out '556e427fd737744ce8a6a37b89fd427ae59bc8ea' Submodule path 'plugins/download-commands': checked out '41c61bf8c1869bff4e0b436f69478c2137d0ca07' Submodule path 'plugins/hooks': checked out 'e7769bd52c2b709d7712a386aa6cb96aec2c11a9' Submodule path 'plugins/replication': checked out '4a44e534128a0415ebca61ad7a6751905f0f4242' Submodule path 'plugins/reviewnotes': checked out 'ba3a422f1909f4970c563212d45cce70d494f60b' Submodule path 'plugins/singleusergroup': checked out '2a38a8413c25fec910fb843932aa869647bdc1e7' 2021/01/26 19:29:47 Downloading https://releases.bazel.build/3.1.0/release/bazel-3.1.0-linux-x86_64... Extracting Bazel installation... Starting local Bazel server and connecting to it... INFO: Invocation ID: 3afbe560-faec-4bab-a18e-3e63307244b6 Loading: Loading: 0 packages loaded Loading: 0 packages loaded Loading: 0 packages loaded Loading: 0 packages loaded Loading: 0 packages loaded Loading: 0 packages loaded Loading: 0 packages loaded Analyzing: target //:api (1 packages loaded) Analyzing: target //:api (1 packages loaded, 0 targets configured) Analyzing: target //:api (9 packages loaded, 5 targets configured) Analyzing: target //:api (23 packages loaded, 6 targets configured) Analyzing: target //:api (28 packages loaded, 8 targets configured) Analyzing: target //:api (28 packages loaded, 8 targets configured) Analyzing: target //:api (28 packages loaded, 8 targets configured) Analyzing: target //:api (28 packages loaded, 8 targets configured) Analyzing: target //:api (82 packages loaded, 109 targets configured) Analyzing: target //:api (108 packages loaded, 1983 targets configured) Analyzing: target //:api (159 packages loaded, 3558 targets configured) Analyzing: target //:api (208 packages loaded, 3795 targets configured) Analyzing: target //:api (246 packages loaded, 3898 targets configured) Analyzing: target //:api (268 packages loaded, 4582 targets configured) INFO: Analyzed target //:api (269 packages loaded, 5317 targets configured). INFO: Found 1 target... [0 / 2] [Prepa] BazelWorkspaceStatusAction stable-status.txt [27 / 530] Compiling external/com_google_protobuf/src/google/protobuf/implicit_weak_message.cc [for host]; 7s remote-cache, processwrapper-sandbox ... (31 actions, 30 running) [55 / 530] Compiling external/com_google_protobuf/src/google/protobuf/generated_message_util.cc [for host]; 13s remote-cache, processwrapper-sandbox ... (31 actions, 30 running) [66 / 530] Compiling external/com_google_protobuf/src/google/protobuf/generated_message_table_driven_lite.cc [for host]; 25s remote-cache, processwrapper-sandbox ... (31 actions, 30 running) [77 / 530] Compiling external/com_google_protobuf/src/google/protobuf/compiler/objectivec/objectivec_field.cc [for host]; 17s remote-cache, processwrapper-sandbox ... (31 actions, 30 running) [96 / 530] Compiling external/com_google_protobuf/src/google/protobuf/compiler/csharp/csharp_message.cc [for host]; 23s remote-cache, processwrapper-sandbox ... (31 actions, 30 running) [118 / 530] Compiling external/com_google_protobuf/src/google/protobuf/text_format.cc [for host]; 31s remote-cache, processwrapper-sandbox ... (31 actions, 30 running) [143 / 530] Compiling external/com_google_protobuf/src/google/protobuf/compiler/java/java_message.cc [for host]; 25s remote-cache, processwrapper-sandbox ... (31 actions, 30 running) [173 / 530] Compiling external/com_google_protobuf/src/google/protobuf/descriptor.cc [for host]; 26s remote-cache, processwrapper-sandbox ... (31 actions, 30 running) [527 / 747] Compiling external/com_google_protobuf/src/google/protobuf/descriptor.cc [for host]; 57s remote-cache, processwrapper-sandbox ... (8 actions running) [557 / 747] Building java/com/google/gwtexpui/safehtml/libsafehtml-class.jar (13 source files); 16s remote-cache, worker ... (32 actions, 28 running) INFO: From Building java/com/google/gerrit/util/cli/libcli.jar (7 source files): java/com/google/gerrit/util/cli/CmdLineParser.java:333: warning: [BadAnnotationImplementation] Classes that implement Annotation must override equals and hashCode. Consider using AutoAnnotation instead of implementing Annotation by hand. private static class PrefixedOption implements Option { ^ (see https://errorprone.info/bugpattern/BadAnnotationImplementation) java/com/google/gerrit/util/cli/CmdLineParser.java:511: warning: [BadAnnotationImplementation] Classes that implement Annotation must override equals and hashCode. Consider using AutoAnnotation instead of implementing Annotation by hand. private static class HelpOption implements Option, Setter { ^ (see https://errorprone.info/bugpattern/BadAnnotationImplementation) java/com/google/gerrit/util/cli/CmdLineParser.java:512: warning: [ImmutableAnnotationChecker] annotations should be immutable: 'HelpOption' has non-final field 'value' private boolean value; ^ (see https://errorprone.info/bugpattern/ImmutableAnnotationChecker) Did you mean 'private final boolean value;'? [589 / 747] Building java/com/google/gerrit/server/logging/liblogging.jar (9 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor); 54s remote-cache, worker ... (32 actions, 26 running) [606 / 747] Action java/com/google/gerrit/extensions/extension-api-javadoc.zip; 66s remote-cache, processwrapper-sandbox ... (32 actions, 24 running) INFO: From Building java/com/google/gerrit/extensions/libapi.jar (329 source files): java/com/google/gerrit/extensions/restapi/RestApiException.java:37: warning: [TypeParameterUnusedInFormals] Declaring a type parameter that is only used in the return type is a misuse of generics: operations on the type parameter are unchecked, it hides unsafe casts at invocations of the method, and it interacts badly with method overload resolution. public T caching(CacheControl c) { ^ (see https://errorprone.info/bugpattern/TypeParameterUnusedInFormals) INFO: From Action java/com/google/gerrit/extensions/extension-api-javadoc.zip: javadoc: warning - Error fetching URL: https://docs.oracle.com/en/java/javase/11/docs/api/ javadoc: warning - Error fetching URL: https://archive.eclipse.org/jgit/site/5.1.15.202012011955-r/apidocs/ 2 warnings [650 / 747] Building external/com_google_protobuf/libprotobuf_java.jar (123 source files, 1 source jar); 99s remote-cache, worker ... (30 actions, 20 running) INFO: From Action gerrit-plugin-gwtui/gwtui-api-javadoc.zip: javadoc: warning - Error fetching URL: https://docs.oracle.com/en/java/javase/11/docs/api/ 1 warning 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)) {'? [691 / 747] Building java/com/google/gerrit/server/libserver-class.jar (990 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor); 49s remote-cache, worker ... (32 actions, 25 running) INFO: From Building java/com/google/gerrit/pgm/init/api/libapi.jar (14 source files): java/com/google/gerrit/pgm/init/api/Section.java:131: warning: [GetClassOnEnum] Calling getClass() on an enum may return a subclass of the enum type E allowedValues = (E) EnumSet.allOf(defValue.getClass()); ^ (see https://errorprone.info/bugpattern/GetClassOnEnum) Did you mean 'E allowedValues = (E) EnumSet.allOf(defValue.getDeclaringClass());'? INFO: From Building java/com/google/gerrit/sshd/libsshd.jar (101 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor): java/com/google/gerrit/sshd/commands/ApproveOption.java:32: warning: [BadAnnotationImplementation] Classes that implement Annotation must override equals and hashCode. Consider using AutoAnnotation instead of implementing Annotation by hand. final class ApproveOption implements Option, Setter { ^ (see https://errorprone.info/bugpattern/BadAnnotationImplementation) java/com/google/gerrit/sshd/commands/ApproveOption.java:35: warning: [ImmutableAnnotationChecker] annotations should be immutable: 'ApproveOption' has field 'type' of type 'com.google.gerrit.common.data.LabelType', the declaration of type 'com.google.gerrit.common.data.LabelType' is not annotated with @com.google.errorprone.annotations.Immutable private final LabelType type; ^ (see https://errorprone.info/bugpattern/ImmutableAnnotationChecker) java/com/google/gerrit/sshd/commands/ApproveOption.java:37: warning: [ImmutableAnnotationChecker] annotations should be immutable: 'ApproveOption' has non-final field 'value' private Short value; ^ (see https://errorprone.info/bugpattern/ImmutableAnnotationChecker) Did you mean 'private final Short value;'? java/com/google/gerrit/sshd/commands/StreamEvents.java:284: warning: [SynchronizeOnNonFinalField] Synchronizing on non-final fields is not safe: if the field is ever updated, different threads may end up locking on different objects. synchronized (stdout) { ^ (see https://errorprone.info/bugpattern/SynchronizeOnNonFinalField) java/com/google/gerrit/sshd/commands/StreamEvents.java:291: warning: [SynchronizeOnNonFinalField] Synchronizing on non-final fields is not safe: if the field is ever updated, different threads may end up locking on different objects. synchronized (stdout) { ^ (see https://errorprone.info/bugpattern/SynchronizeOnNonFinalField) java/com/google/gerrit/sshd/commands/UploadArchive.java:142: warning: [ReferenceEquality] Comparison using reference equality instead of value equality if (s == PacketLineIn.END) { ^ (see https://errorprone.info/bugpattern/ReferenceEquality) Did you mean 'if (Objects.equals(s, PacketLineIn.END)) {' or 'if (s.equals(PacketLineIn.END)) {'? java/com/google/gerrit/sshd/commands/UploadArchive.java:142: warning: [StringEquality] String comparison using reference equality instead of value equality if (s == PacketLineIn.END) { ^ (see https://errorprone.info/bugpattern/StringEquality) Did you mean 'if (Objects.equals(s, PacketLineIn.END)) {' or 'if (s.equals(PacketLineIn.END)) {'? INFO: From Building java/com/google/gerrit/httpd/libhttpd-class.jar (115 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor): java/com/google/gerrit/httpd/HttpServletResponseRecorder.java:74: warning: [MissingOverride] getStatus overrides method in HttpServletResponseWrapper; expected @Override public int getStatus() { ^ (see https://errorprone.info/bugpattern/MissingOverride) Did you mean '@Override @SuppressWarnings("all")'? java/com/google/gerrit/httpd/rpc/AuditedHttpServletResponse.java:29: warning: [MissingOverride] getStatus overrides method in HttpServletResponseWrapper; expected @Override public int getStatus() { ^ (see https://errorprone.info/bugpattern/MissingOverride) Did you mean '@Override @SuppressWarnings("all")'? INFO: From Building java/com/google/gerrit/acceptance/libframework-lib.jar (61 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor): java/com/google/gerrit/acceptance/GerritServer.java:461: warning: [TypeParameterUnusedInFormals] Declaring a type parameter that is only used in the return type is a misuse of generics: operations on the type parameter are unchecked, it hides unsafe casts at invocations of the method, and it interacts badly with method overload resolution. private static T get(Object obj, String field) ^ (see https://errorprone.info/bugpattern/TypeParameterUnusedInFormals) java/com/google/gerrit/acceptance/ConfigAnnotationParser.java:48: warning: [BadAnnotationImplementation] Classes that implement Annotation must override equals and hashCode. Consider using AutoAnnotation instead of implementing Annotation by hand. static class GlobalPluginConfigToGerritConfig implements GerritConfig { ^ (see https://errorprone.info/bugpattern/BadAnnotationImplementation) [738 / 747] Building java/com/google/gerrit/server/libserver-class.jar (990 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor); 117s remote-cache, worker ... (4 actions running) INFO: From Building java/com/google/gerrit/server/libserver-class.jar (990 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor): java/com/google/gerrit/server/notedb/ReviewerStateInternal.java:53: warning: [ImmutableEnumChecker] enums should be immutable: 'ReviewerStateInternal' has field 'footerKey' of type 'org.eclipse.jgit.revwalk.FooterKey', the declaration of type 'org.eclipse.jgit.revwalk.FooterKey' is not annotated with @com.google.errorprone.annotations.Immutable private final FooterKey footerKey; ^ (see https://errorprone.info/bugpattern/ImmutableEnumChecker) java/com/google/gerrit/server/index/change/ChangeIndexRewriter.java:158: warning: [ReferenceEquality] Comparison using reference equality instead of value equality if (in == out || out instanceof IndexPredicate) { ^ (see https://errorprone.info/bugpattern/ReferenceEquality) Did you mean 'if (Objects.equals(in, out) || out instanceof IndexPredicate) {' or 'if (in.equals(out) || out instanceof IndexPredicate) {'? java/com/google/gerrit/server/index/change/ChangeIndexRewriter.java:210: warning: [ReferenceEquality] Comparison using reference equality instead of value equality if (nc == c) { ^ (see https://errorprone.info/bugpattern/ReferenceEquality) Did you mean 'if (Objects.equals(nc, c)) {' or 'if (nc.equals(c)) {'? java/com/google/gerrit/server/util/IdGenerator.java:48: warning: [NarrowingCompoundAssignment] Compound assignments from int to short hide lossy casts v0 += ((v1 << 2) + 0 ^ v1) + (salt ^ (v1 >>> 3)) + 1; ^ (see https://errorprone.info/bugpattern/NarrowingCompoundAssignment) Did you mean 'v0 = (short) (v0 + (((v1 << 2) + 0 ^ v1) + (salt ^ (v1 >>> 3)) + 1));'? java/com/google/gerrit/server/util/IdGenerator.java:49: warning: [NarrowingCompoundAssignment] Compound assignments from int to short hide lossy casts v1 += ((v0 << 2) + 2 ^ v0) + (salt ^ (v0 >>> 3)) + 3; ^ (see https://errorprone.info/bugpattern/NarrowingCompoundAssignment) Did you mean 'v1 = (short) (v1 + (((v0 << 2) + 2 ^ v0) + (salt ^ (v0 >>> 3)) + 3));'? java/com/google/gerrit/server/util/IdGenerator.java:57: warning: [NarrowingCompoundAssignment] Compound assignments from int to short hide lossy casts v1 -= ((v0 << 2) + 2 ^ v0) + (salt ^ (v0 >>> 3)) + 3; ^ (see https://errorprone.info/bugpattern/NarrowingCompoundAssignment) Did you mean 'v1 = (short) (v1 - (((v0 << 2) + 2 ^ v0) + (salt ^ (v0 >>> 3)) + 3));'? java/com/google/gerrit/server/util/IdGenerator.java:58: warning: [NarrowingCompoundAssignment] Compound assignments from int to short hide lossy casts v0 -= ((v1 << 2) + 0 ^ v1) + (salt ^ (v1 >>> 3)) + 1; ^ (see https://errorprone.info/bugpattern/NarrowingCompoundAssignment) Did you mean 'v0 = (short) (v0 - (((v1 << 2) + 0 ^ v1) + (salt ^ (v1 >>> 3)) + 1));'? java/com/google/gerrit/server/change/ArchiveFormat.java:38: warning: [ImmutableEnumChecker] enums should be immutable: 'ArchiveFormat' has field 'format' of type 'org.eclipse.jgit.api.ArchiveCommand.Format', the declaration of type 'org.eclipse.jgit.api.ArchiveCommand.Format' is not annotated with @com.google.errorprone.annotations.Immutable private final ArchiveCommand.Format format; ^ (see https://errorprone.info/bugpattern/ImmutableEnumChecker) java/com/google/gerrit/server/change/ChangeKindCacheImpl.java:386: warning: [ReferenceEquality] Comparison using reference equality instead of value equality && (ps.getId().get() > priorPs.getId().get() || priorPs == patch)) { ^ (see https://errorprone.info/bugpattern/ReferenceEquality) Did you mean '&& (ps.getId().get() > priorPs.getId().get() || priorPs.equals(patch))) {'? java/com/google/gerrit/server/change/ChangeKindCacheImpl.java:396: warning: [ReferenceEquality] Comparison using reference equality instead of value equality if (priorPs != patch) { ^ (see https://errorprone.info/bugpattern/ReferenceEquality) Did you mean 'if (!priorPs.equals(patch)) {'? java/com/google/gerrit/server/index/AbstractIndexModule.java:78: warning: [TypeParameterUnusedInFormals] Declaring a type parameter that is only used in the return type is a misuse of generics: operations on the type parameter are unchecked, it hides unsafe casts at invocations of the method, and it interacts badly with method overload resolution. private static T createDummyIndexFactory(Schema schema) { ^ (see https://errorprone.info/bugpattern/TypeParameterUnusedInFormals) java/com/google/gerrit/server/notedb/NotesMigrationState.java:60: warning: [ImmutableEnumChecker] enums should be immutable: 'NotesMigrationState' has field 'snapshot' of type 'com.google.gerrit.server.notedb.NotesMigration.Snapshot', the declaration of type 'com.google.gerrit.server.notedb.NotesMigration.Snapshot' is not annotated with @com.google.errorprone.annotations.Immutable private final Snapshot snapshot; ^ (see https://errorprone.info/bugpattern/ImmutableEnumChecker) java/com/google/gerrit/server/patch/PatchScriptBuilder.java:504: warning: [ReferenceEquality] Comparison using reference equality instead of value equality && (aId == within || within.equals(aId))) { ^ (see https://errorprone.info/bugpattern/ReferenceEquality) Did you mean '&& (Objects.equals(aId, within) || within.equals(aId))) {' or '&& (aId.equals(within) || within.equals(aId))) {'? java/com/google/gerrit/server/patch/PatchScriptBuilder.java:524: warning: [ReferenceEquality] Comparison using reference equality instead of value equality && (aId == within || within.equals(aId))) { ^ (see https://errorprone.info/bugpattern/ReferenceEquality) Did you mean '&& (Objects.equals(aId, within) || within.equals(aId))) {' or '&& (aId.equals(within) || within.equals(aId))) {'? INFO: From Action java/com/google/gerrit/acceptance/framework-javadoc.zip: javadoc: warning - Error fetching URL: https://docs.oracle.com/en/java/javase/11/docs/api/ 1 warning INFO: From Action plugins/plugin-api-javadoc.zip: javadoc: warning - Error fetching URL: https://docs.oracle.com/en/java/javase/11/docs/api/ 1 warning [746 / 747] Executing genrule //:api; 6s remote-cache, processwrapper-sandbox Target //:api up-to-date: bazel-bin/api.zip INFO: Elapsed time: 625.046s, Critical Path: 351.64s INFO: 715 processes: 630 processwrapper-sandbox, 85 worker. INFO: Build completed successfully, 747 total actions INFO: Build completed successfully, 747 total actions INFO: Invocation ID: a74eceec-056a-40cd-b1bb-b6e6020245e3 Loading: Loading: 0 packages loaded Loading: 0 packages loaded currently loading: tools/maven Analyzing: target //tools/maven:gen_api_install (1 packages loaded, 0 targets configured) INFO: Analyzed target //tools/maven:gen_api_install (1 packages loaded, 1 target configured). INFO: Found 1 target... [0 / 2] [Prepa] Executing genrule //tools/maven:gen_api_install Target //tools/maven:gen_api_install up-to-date: bazel-bin/tools/maven/api_install.sh INFO: Elapsed time: 5.611s, Critical Path: 0.94s INFO: 1 process: 1 processwrapper-sandbox. INFO: Build completed successfully, 2 total actions INFO: Build completed successfully, 2 total actions INFO: Invocation ID: cf64e32a-5c6a-46d3-a393-7e26c071b1d7 Loading: Loading: 0 packages loaded Analyzing: 12 targets (0 packages loaded, 0 targets configured) INFO: Analyzed 12 targets (0 packages loaded, 0 targets configured). INFO: Found 12 targets... [0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt INFO: Elapsed time: 4.353s, Critical Path: 0.96s INFO: 0 processes. INFO: Build completed successfully, 1 total action INFO: Build completed successfully, 1 total action Version: 2.16.26-SNAPSHOT warning: unable to rmdir 'plugins/codemirror-editor': Directory not empty warning: unable to rmdir 'plugins/commit-message-length-validator': Directory not empty warning: unable to rmdir 'plugins/download-commands': Directory not empty warning: unable to rmdir 'plugins/hooks': Directory not empty warning: unable to rmdir 'plugins/replication': Directory not empty warning: unable to rmdir 'plugins/reviewnotes': Directory not empty warning: unable to rmdir 'plugins/singleusergroup': Directory not empty Note: switching to 'origin/stable-2.16'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example: git switch -c Or undo this operation with: git switch - Turn off this advice by setting config variable advice.detachedHead to false HEAD is now at e841d7169f Promote aggregation key to case class [info] [launcher] getting org.scala-sbt sbt 1.2.3 (this may take some time)... downloading https://repo1.maven.org/maven2/org/scala-sbt/sbt/1.2.3/sbt-1.2.3.jar ... downloading https://repo1.maven.org/maven2/org/scala-lang/scala-library/2.12.6/scala-library-2.12.6.jar ... downloading https://repo1.maven.org/maven2/org/scala-sbt/main_2.12/1.2.3/main_2.12-1.2.3.jar ... downloading https://repo1.maven.org/maven2/org/scala-sbt/logic_2.12/1.2.3/logic_2.12-1.2.3.jar ... downloading https://repo1.maven.org/maven2/org/scala-sbt/main-settings_2.12/1.2.3/main-settings_2.12-1.2.3.jar ... downloading https://repo1.maven.org/maven2/org/scala-sbt/actions_2.12/1.2.3/actions_2.12-1.2.3.jar ... downloading https://repo1.maven.org/maven2/org/scala-sbt/run_2.12/1.2.3/run_2.12-1.2.3.jar ... downloading https://repo1.maven.org/maven2/org/scala-sbt/collections_2.12/1.2.3/collections_2.12-1.2.3.jar ... downloading https://repo1.maven.org/maven2/org/scala-sbt/scripted-sbt-redux_2.12/1.2.3/scripted-sbt-redux_2.12-1.2.3.jar ... downloading https://repo1.maven.org/maven2/org/scala-sbt/command_2.12/1.2.3/command_2.12-1.2.3.jar ... downloading https://repo1.maven.org/maven2/org/scala-sbt/scripted-plugin_2.12/1.2.3/scripted-plugin_2.12-1.2.3.jar ... downloading https://repo1.maven.org/maven2/org/apache/logging/log4j/log4j-api/2.8.1/log4j-api-2.8.1.jar ... downloading https://repo1.maven.org/maven2/org/apache/logging/log4j/log4j-slf4j-impl/2.8.1/log4j-slf4j-impl-2.8.1.jar ... :: loading settings :: url = jar:file:/usr/share/sbt/bin/sbt-launch.jar!/org/apache/ivy/core/settings/ivysettings.xml :: loading settings :: url = jar:file:/usr/share/sbt/bin/sbt-launch.jar!/org/apache/ivy/core/settings/ivysettings.xml :: loading settings :: url = jar:file:/usr/share/sbt/bin/sbt-launch.jar!/org/apache/ivy/core/settings/ivysettings.xml :: loading settings :: url = jar:file:/usr/share/sbt/bin/sbt-launch.jar!/org/apache/ivy/core/settings/ivysettings.xml :: loading settings :: url = jar:file:/usr/share/sbt/bin/sbt-launch.jar!/org/apache/ivy/core/settings/ivysettings.xml :: loading settings :: url = jar:file:/usr/share/sbt/bin/sbt-launch.jar!/org/apache/ivy/core/settings/ivysettings.xml downloading https://repo1.maven.org/maven2/org/scala-sbt/io_2.12/1.2.1/io_2.12-1.2.1.jar ... downloading https://repo1.maven.org/maven2/org/apache/logging/log4j/log4j-core/2.8.1/log4j-core-2.8.1.jar ... :: loading settings :: url = jar:file:/usr/share/sbt/bin/sbt-launch.jar!/org/apache/ivy/core/settings/ivysettings.xml downloading https://repo1.maven.org/maven2/org/scala-sbt/util-logging_2.12/1.2.2/util-logging_2.12-1.2.2.jar ... :: loading settings :: url = jar:file:/usr/share/sbt/bin/sbt-launch.jar!/org/apache/ivy/core/settings/ivysettings.xml :: loading settings :: url = jar:file:/usr/share/sbt/bin/sbt-launch.jar!/org/apache/ivy/core/settings/ivysettings.xml :: loading settings :: url = jar:file:/usr/share/sbt/bin/sbt-launch.jar!/org/apache/ivy/core/settings/ivysettings.xml :: loading settings :: url = jar:file:/usr/share/sbt/bin/sbt-launch.jar!/org/apache/ivy/core/settings/ivysettings.xml :: loading settings :: url = jar:file:/usr/share/sbt/bin/sbt-launch.jar!/org/apache/ivy/core/settings/ivysettings.xml :: loading settings :: url = jar:file:/usr/share/sbt/bin/sbt-launch.jar!/org/apache/ivy/core/settings/ivysettings.xml :: loading settings :: url = jar:file:/usr/share/sbt/bin/sbt-launch.jar!/org/apache/ivy/core/settings/ivysettings.xml :: loading settings :: url = jar:file:/usr/share/sbt/bin/sbt-launch.jar!/org/apache/ivy/core/settings/ivysettings.xml :: loading settings :: url = jar:file:/usr/share/sbt/bin/sbt-launch.jar!/org/apache/ivy/core/settings/ivysettings.xml [SUCCESSFUL ] org.scala-sbt#io_2.12;1.2.1!io_2.12.jar (229ms) downloading https://repo1.maven.org/maven2/org/scala-sbt/librarymanagement-core_2.12/1.2.1/librarymanagement-core_2.12-1.2.1.jar ... [SUCCESSFUL ] org.apache.logging.log4j#log4j-api;2.8.1!log4j-api.jar (840ms) [SUCCESSFUL ] org.apache.logging.log4j#log4j-slf4j-impl;2.8.1!log4j-slf4j-impl.jar (840ms) downloading https://repo1.maven.org/maven2/org/scala-sbt/compiler-interface/1.2.2/compiler-interface-1.2.2.jar ... [SUCCESSFUL ] org.scala-sbt#sbt;1.2.3!sbt.jar (949ms) downloading https://repo1.maven.org/maven2/org/scala-sbt/zinc-compile_2.12/1.2.2/zinc-compile_2.12-1.2.2.jar ... [SUCCESSFUL ] org.scala-sbt#util-logging_2.12;1.2.2!util-logging_2.12.jar (623ms) downloading https://repo1.maven.org/maven2/org/scala-sbt/util-relation_2.12/1.2.2/util-relation_2.12-1.2.2.jar ... [SUCCESSFUL ] org.scala-sbt#zinc-compile_2.12;1.2.2!zinc-compile_2.12.jar (30ms) downloading https://repo1.maven.org/maven2/org/scala-sbt/util-position_2.12/1.2.2/util-position_2.12-1.2.2.jar ... downloading https://repo1.maven.org/maven2/org/scala-sbt/librarymanagement-ivy_2.12/1.2.1/librarymanagement-ivy_2.12-1.2.1.jar ... [SUCCESSFUL ] org.scala-sbt#compiler-interface;1.2.2!compiler-interface.jar (294ms) downloading https://repo1.maven.org/maven2/org/scala-lang/scala-reflect/2.12.6/scala-reflect-2.12.6.jar ... [SUCCESSFUL ] org.scala-sbt#command_2.12;1.2.3!command_2.12.jar (1283ms) [SUCCESSFUL ] org.scala-sbt#util-position_2.12;1.2.2!util-position_2.12.jar (325ms) downloading https://repo1.maven.org/maven2/org/scala-sbt/task-system_2.12/1.2.3/task-system_2.12-1.2.3.jar ... [SUCCESSFUL ] org.scala-sbt#scripted-plugin_2.12;1.2.3!scripted-plugin_2.12.jar (1330ms) downloading https://repo1.maven.org/maven2/org/scala-sbt/tasks_2.12/1.2.3/tasks_2.12-1.2.3.jar ... [SUCCESSFUL ] org.scala-sbt#logic_2.12;1.2.3!logic_2.12.jar (1396ms) downloading https://repo1.maven.org/maven2/org/scala-sbt/testing_2.12/1.2.3/testing_2.12-1.2.3.jar ... [SUCCESSFUL ] org.scala-sbt#librarymanagement-core_2.12;1.2.1!librarymanagement-core_2.12.jar (1020ms) downloading https://repo1.maven.org/maven2/org/scala-sbt/util-tracking_2.12/1.2.2/util-tracking_2.12-1.2.2.jar ... [SUCCESSFUL ] org.scala-sbt#run_2.12;1.2.3!run_2.12.jar (1458ms) downloading https://repo1.maven.org/maven2/org/scala-sbt/zinc-classpath_2.12/1.2.2/zinc-classpath_2.12-1.2.2.jar ... [SUCCESSFUL ] org.apache.logging.log4j#log4j-core;2.8.1!log4j-core.jar (1309ms) [SUCCESSFUL ] org.scala-sbt#task-system_2.12;1.2.3!task-system_2.12.jar (130ms) downloading https://repo1.maven.org/maven2/org/scala-sbt/zinc-apiinfo_2.12/1.2.2/zinc-apiinfo_2.12-1.2.2.jar ... downloading https://repo1.maven.org/maven2/org/scala-sbt/zinc-ivy-integration_2.12/1.2.2/zinc-ivy-integration_2.12-1.2.2.jar ... downloading https://repo1.maven.org/maven2/org/scala-sbt/completion_2.12/1.2.3/completion_2.12-1.2.3.jar ... [SUCCESSFUL ] org.scala-sbt#util-relation_2.12;1.2.2!util-relation_2.12.jar (621ms) [SUCCESSFUL ] org.scala-sbt#zinc-classpath_2.12;1.2.2!zinc-classpath_2.12.jar (97ms) downloading https://repo1.maven.org/maven2/org/scala-sbt/zinc_2.12/1.2.2/zinc_2.12-1.2.2.jar ... [SUCCESSFUL ] org.scala-sbt#tasks_2.12;1.2.3!tasks_2.12.jar (244ms) downloading https://repo1.maven.org/maven2/org/scala-sbt/util-control_2.12/1.2.2/util-control_2.12-1.2.2.jar ... [SUCCESSFUL ] org.scala-sbt#actions_2.12;1.2.3!actions_2.12.jar (1608ms) [SUCCESSFUL ] org.scala-sbt#util-tracking_2.12;1.2.2!util-tracking_2.12.jar (255ms) downloading https://repo1.maven.org/maven2/com/lmax/disruptor/3.3.6/disruptor-3.3.6.jar ... [SUCCESSFUL ] org.scala-sbt#zinc-ivy-integration_2.12;1.2.2!zinc-ivy-integration_2.12.jar (201ms) downloading https://repo1.maven.org/maven2/org/scala-sbt/util-cache_2.12/1.2.2/util-cache_2.12-1.2.2.jar ... [SUCCESSFUL ] org.scala-sbt#scripted-sbt-redux_2.12;1.2.3!scripted-sbt-redux_2.12.jar (1702ms) downloading https://repo1.maven.org/maven2/org/scala-sbt/test-agent/1.2.3/test-agent-1.2.3.jar ... downloading https://repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.12.6/scala-compiler-2.12.6.jar ... [SUCCESSFUL ] org.scala-sbt#main-settings_2.12;1.2.3!main-settings_2.12.jar (1723ms) [SUCCESSFUL ] org.scala-sbt#zinc_2.12;1.2.2!zinc_2.12.jar (179ms) downloading https://repo1.maven.org/maven2/org/scala-sbt/compiler-bridge_2.12/1.2.2/compiler-bridge_2.12-1.2.2.jar ... [SUCCESSFUL ] org.scala-sbt#util-cache_2.12;1.2.2!util-cache_2.12.jar (56ms) downloading https://repo1.maven.org/maven2/org/scala-sbt/zinc-classfile_2.12/1.2.2/zinc-classfile_2.12-1.2.2.jar ... [SUCCESSFUL ] org.scala-sbt#collections_2.12;1.2.3!collections_2.12.jar (1739ms) [SUCCESSFUL ] org.scala-sbt#completion_2.12;1.2.3!completion_2.12.jar (255ms) downloading https://repo1.maven.org/maven2/org/scala-sbt/zinc-compile-core_2.12/1.2.2/zinc-compile-core_2.12-1.2.2.jar ... downloading https://repo1.maven.org/maven2/org/scala-sbt/zinc-core_2.12/1.2.2/zinc-core_2.12-1.2.2.jar ... [SUCCESSFUL ] org.scala-sbt#test-agent;1.2.3!test-agent.jar (70ms) downloading https://repo1.maven.org/maven2/org/scala-sbt/zinc-persist_2.12/1.2.2/zinc-persist_2.12-1.2.2.jar ... [SUCCESSFUL ] org.scala-sbt#librarymanagement-ivy_2.12;1.2.1!librarymanagement-ivy_2.12.jar (758ms) downloading https://repo1.maven.org/maven2/org/scala-sbt/protocol_2.12/1.2.3/protocol_2.12-1.2.3.jar ... [SUCCESSFUL ] org.scala-sbt#compiler-bridge_2.12;1.2.2!compiler-bridge_2.12.jar (78ms) [SUCCESSFUL ] org.scala-sbt#util-control_2.12;1.2.2!util-control_2.12.jar (221ms) downloading https://repo1.maven.org/maven2/org/scala-sbt/util-scripted_2.12/1.2.2/util-scripted_2.12-1.2.2.jar ... downloading https://repo1.maven.org/maven2/org/scala-sbt/core-macros_2.12/1.2.3/core-macros_2.12-1.2.3.jar ... [SUCCESSFUL ] org.scala-sbt#zinc-core_2.12;1.2.2!zinc-core_2.12.jar (153ms) [SUCCESSFUL ] org.scala-sbt#zinc-compile-core_2.12;1.2.2!zinc-compile-core_2.12.jar (175ms) [SUCCESSFUL ] org.scala-sbt#zinc-apiinfo_2.12;1.2.2!zinc-apiinfo_2.12.jar (466ms) [SUCCESSFUL ] org.scala-sbt#testing_2.12;1.2.3!testing_2.12.jar (663ms) [SUCCESSFUL ] org.scala-sbt#core-macros_2.12;1.2.3!core-macros_2.12.jar (324ms) [SUCCESSFUL ] org.scala-sbt#main_2.12;1.2.3!main_2.12.jar (2172ms) [SUCCESSFUL ] com.lmax#disruptor;3.3.6!disruptor.jar (518ms) [SUCCESSFUL ] org.scala-sbt#util-scripted_2.12;1.2.2!util-scripted_2.12.jar (386ms) [SUCCESSFUL ] org.scala-sbt#zinc-classfile_2.12;1.2.2!zinc-classfile_2.12.jar (491ms) [SUCCESSFUL ] org.scala-lang#scala-reflect;2.12.6!scala-reflect.jar (969ms) [SUCCESSFUL ] org.scala-sbt#zinc-persist_2.12;1.2.2!zinc-persist_2.12.jar (504ms) [SUCCESSFUL ] org.scala-sbt#protocol_2.12;1.2.3!protocol_2.12.jar (478ms) [SUCCESSFUL ] org.scala-lang#scala-library;2.12.6!scala-library.jar (2380ms) [SUCCESSFUL ] org.scala-lang#scala-compiler;2.12.6!scala-compiler.jar (898ms) :: retrieving :: org.scala-sbt#boot-app confs: [default] 80 artifacts copied, 0 already retrieved [info] [launcher] getting Scala 2.12.6 (for sbt)... :: retrieving :: org.scala-sbt#boot-scala confs: [default] 5 artifacts copied, 0 already retrieved [info] Loading settings for project plugin-analytics-sbt-stable-2-16-build from plugins.sbt ... [info] Loading project definition from /home/jenkins/workspace/plugin-analytics-sbt-stable-2.16/project [warn] There may be incompatibilities among your library dependencies. [warn] Run 'evicted' to see detailed eviction warnings [info] Loading settings for project root from build.sbt ... [info] Set current project to analytics (in build file:/home/jenkins/workspace/plugin-analytics-sbt-stable-2.16/) [info] Executing in batch mode. For better performance use sbt's shell [info] Updating ... [info] Done updating. [info] Compiling 23 Scala sources to /home/jenkins/workspace/plugin-analytics-sbt-stable-2.16/target/scala-2.11/classes ... [info] Non-compiled module 'compiler-bridge_2.11' for Scala 2.11.8. Compiling... [info] Compilation completed in 44.536s. [warn] there were four feature warnings; re-run with -feature for details [warn] one warning found [info] Done compiling. [success] Total time: 81 s, completed Jan 26, 2021 7:44:11 PM [info] Compiling 16 Scala sources to /home/jenkins/workspace/plugin-analytics-sbt-stable-2.16/target/scala-2.11/test-classes ... [info] Done compiling. log4j:WARN No appenders could be found for logger (org.eclipse.jgit.util.FS). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. Initialized /tmp/gerrit_test_8987551494408442245 Jan 26, 2021 7:44:40 PM com.google.gerrit.server.git.LocalDiskRepositoryManager$Lifecycle start INFO: Defaulting core.streamFileThreshold to 228m Jan 26, 2021 7:44:42 PM com.google.gerrit.server.cache.h2.H2CacheFactory getCacheDir INFO: Enabling disk cache /tmp/gerrit_test_8987551494408442245/cache Jan 26, 2021 7:44:43 PM com.google.gerrit.server.git.WorkQueue createQueue INFO: Adding metrics for 'WorkQueue' queue Jan 26, 2021 7:44:43 PM com.google.gerrit.server.git.WorkQueue createQueue INFO: Adding metrics for 'Index-Interactive' queue Jan 26, 2021 7:44:43 PM com.google.gerrit.server.git.WorkQueue createQueue INFO: Adding metrics for 'ReceiveCommits' queue Jan 26, 2021 7:44:43 PM com.google.gerrit.server.rules.PrologEnvironment$Args INFO: reductionLimit: 100000, compileLimit: 1000000 Jan 26, 2021 7:44:43 PM com.google.gerrit.server.plugins.PluginLoader start INFO: Loading plugins from /tmp/gerrit_test_8987551494408442245/plugins Reindexing projects: 50% (1/2) Reindexing projects: 100% (2/2) Reindexing projects: 100% (2/2) Reindexed 2 documents in projects index in 0.6s (3.1/s) Jan 26, 2021 7:44:44 PM com.google.gerrit.server.cache.h2.H2CacheFactory stop INFO: Finishing 2 disk cache updates Jan 26, 2021 7:44:50 PM com.google.gerrit.server.cache.h2.H2CacheFactory getCacheDir INFO: Enabling disk cache /tmp/gerrit_test_8987551494408442245/cache Jan 26, 2021 7:44:50 PM com.google.gerrit.server.git.WorkQueue createQueue INFO: Adding metrics for 'WorkQueue' queue Jan 26, 2021 7:44:50 PM com.google.gerrit.server.git.WorkQueue createQueue INFO: Adding metrics for 'Index-Interactive' queue Jan 26, 2021 7:44:50 PM com.google.gerrit.server.git.WorkQueue createQueue INFO: Adding metrics for 'ReceiveCommits' queue Jan 26, 2021 7:44:50 PM com.google.gerrit.server.documentation.QueryDocumentationExecutor readIndexDirectory WARNING: No index available Jan 26, 2021 7:44:51 PM com.google.gerrit.server.rules.PrologEnvironment$Args INFO: reductionLimit: 100000, compileLimit: 1000000 Jan 26, 2021 7:44:51 PM com.google.gerrit.server.config.ScheduleConfig isInvalidOrMissing INFO: No schedule configuration for "gc". Jan 26, 2021 7:44:51 PM com.google.gerrit.server.config.ScheduleConfig isInvalidOrMissing INFO: No schedule configuration for "changeCleanup". Jan 26, 2021 7:44:51 PM com.google.gerrit.server.config.GitwebCgiConfig WARNING: gitweb not installed (no /usr/lib/cgi-bin/gitweb.cgi found) Jan 26, 2021 7:44:53 PM com.google.gerrit.server.git.LocalDiskRepositoryManager$Lifecycle start INFO: Defaulting core.streamFileThreshold to 228m Jan 26, 2021 7:44:53 PM com.google.gerrit.server.plugins.PluginLoader start INFO: Loading plugins from /tmp/gerrit_test_8987551494408442245/plugins Jan 26, 2021 7:44:53 PM com.google.gerrit.server.config.ScheduleConfig isInvalidOrMissing INFO: No schedule configuration for "accountDeactivation". Jan 26, 2021 7:44:54 PM com.google.gerrit.pgm.Daemon run INFO: Gerrit Code Review [headless] (dev) ready Gerrit Server Started [info] CommitStatisticsSpec: [info] CommitStatistics [info] - should stats a single file added [info] - should sum to another compatible CommitStatistics generating an aggregated stat [info] - should fail if trying to be added to a CommitStatistics object for a different isMerge value [info] - should stats multiple files added [info] - should stats lines eliminated [info] - should stats a Seq[RevCommit] [info] - should return zero value stats if the commit does not include any file [info] - should split merge commits and non-merge commits [info] CommitStatisticsCommentLinkSpec: [info] - should collect no commentslink if no matching [info] - should collect simple bugzilla comments [info] - should collect simple track link [info] - should collect multiple links [info] UserActivitySummarySpec: [info] numCommits [info] - should count only comments filtered by their merge status [info] BranchesExtractorSpec: [info] branchesOfCommit [info] - should extract one branch for a commit existing only in one branch [info] - should extract two branches for a commit existing in two different branches [info] UserActivityHistogramSpec: [info] UserActivityHistogram [info] - should return no activities [info] - should aggregate to one activity [info] CommitInfoSpec: [info] CommitInfo [info] - should be serialised as JSON correctly [info] AggregationSpec: [info] AggregatedHistogramFilter by email and year [info] - should aggregate two commits from the same author the same year [info] - should keep as separate rows activity from the same author on two different year [info] - should keep as separate rows activity from two different authors on the same year [info] AggregatedHistogramFilter by email and month [info] - should aggregate two commits from the same author the same month [info] - should keep as separate rows activity from the same author on two different months [info] - should keep as separate rows activity from two different authors on the same month [info] AggregatedHistogramFilter by email and day [info] - should aggregate two commits of the same author the same day [info] - should keep as separate rows activity from the same author on two different days [info] - should keep as separate rows activity from two different authors on the same day [info] AggregatedHistogramFilter by email and hour [info] - should aggregate two commits of the same author on the same hour [info] - should keep separate commits from the same author on different hours [info] - should keep separate commits from different authors on the same hour [info] BotLikeExtractorImplSpec: [info] isBotLike [info] - should return true when all files match bot-like identifiers [info] - should return false when at least one file does not match bot-like identifiers [info] - should return false when no bot-like identifiers have been provided [info] AggregatedHistogramFilterByDatesSpec: [info] Author history filter [info] - should select one commit without intervals restriction [info] - should select only the second of two commits based on the start timestamp [info] - should select only the first of two commits based on the end timestamp [info] - should select only one middle commit out of three based on interval from/to timestamp [info] - should aggregate commits of the same user separately when they are in different branches and branchesExtractor is set [info] ContributorsServiceSpec: [info] ContributorsService [info] - should get commit statistics [info] IgnoreFileSuffixFilterSpec: [info] IgnoreFileSuffixFilter [info] - should include a file with suffix not listed in configuration [info] - should not include a file with suffix listed in configuration [info] Run completed in 46 seconds, 280 milliseconds. [info] Total number of tests run: 41 [info] Suites: completed 11, aborted 0 [info] Tests: succeeded 41, failed 0, canceled 0, ignored 0, pending 0 [info] All tests passed. [success] Total time: 68 s, completed Jan 26, 2021 7:45:20 PM log4j:WARN No appenders could be found for logger (org.eclipse.jgit.util.FS). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. Initialized /tmp/gerrit_test_3351746476354254000 Jan 26, 2021 7:45:27 PM com.google.gerrit.server.git.LocalDiskRepositoryManager$Lifecycle start INFO: Defaulting core.streamFileThreshold to 240m Jan 26, 2021 7:45:29 PM com.google.gerrit.server.cache.h2.H2CacheFactory getCacheDir INFO: Enabling disk cache /tmp/gerrit_test_3351746476354254000/cache Jan 26, 2021 7:45:29 PM com.google.gerrit.server.git.WorkQueue createQueue INFO: Adding metrics for 'WorkQueue' queue Jan 26, 2021 7:45:29 PM com.google.gerrit.server.git.WorkQueue createQueue INFO: Adding metrics for 'Index-Interactive' queue Jan 26, 2021 7:45:29 PM com.google.gerrit.server.git.WorkQueue createQueue INFO: Adding metrics for 'ReceiveCommits' queue Jan 26, 2021 7:45:29 PM com.google.gerrit.server.rules.PrologEnvironment$Args INFO: reductionLimit: 100000, compileLimit: 1000000 Jan 26, 2021 7:45:30 PM com.google.gerrit.server.plugins.PluginLoader start INFO: Loading plugins from /tmp/gerrit_test_3351746476354254000/plugins Reindexing projects: 50% (1/2) Reindexing projects: 100% (2/2) Reindexing projects: 100% (2/2) Reindexed 2 documents in projects index in 0.3s (7.9/s) Jan 26, 2021 7:45:30 PM com.google.gerrit.server.cache.h2.H2CacheImpl$SqlStore buildBloomFilter WARNING: Cannot build BloomFilter for jdbc:h2:file:///tmp/gerrit_test_3351746476354254000/cache/diff_summary: Error opening database: "Sleep interrupted" [8000-176] Jan 26, 2021 7:45:30 PM com.google.gerrit.server.cache.h2.H2CacheFactory stop INFO: Finishing 3 disk cache updates Jan 26, 2021 7:45:35 PM com.google.gerrit.server.cache.h2.H2CacheFactory getCacheDir INFO: Enabling disk cache /tmp/gerrit_test_3351746476354254000/cache Jan 26, 2021 7:45:36 PM com.google.gerrit.server.git.WorkQueue createQueue INFO: Adding metrics for 'WorkQueue' queue Jan 26, 2021 7:45:36 PM com.google.gerrit.server.git.WorkQueue createQueue INFO: Adding metrics for 'Index-Interactive' queue Jan 26, 2021 7:45:36 PM com.google.gerrit.server.git.WorkQueue createQueue INFO: Adding metrics for 'ReceiveCommits' queue Jan 26, 2021 7:45:36 PM com.google.gerrit.server.documentation.QueryDocumentationExecutor readIndexDirectory WARNING: No index available Jan 26, 2021 7:45:38 PM com.google.gerrit.server.rules.PrologEnvironment$Args INFO: reductionLimit: 100000, compileLimit: 1000000 Jan 26, 2021 7:45:38 PM com.google.gerrit.server.config.ScheduleConfig isInvalidOrMissing INFO: No schedule configuration for "gc". Jan 26, 2021 7:45:38 PM com.google.gerrit.server.config.ScheduleConfig isInvalidOrMissing INFO: No schedule configuration for "changeCleanup". Jan 26, 2021 7:45:38 PM com.google.gerrit.server.config.GitwebCgiConfig WARNING: gitweb not installed (no /usr/lib/cgi-bin/gitweb.cgi found) Jan 26, 2021 7:45:39 PM com.google.gerrit.server.git.LocalDiskRepositoryManager$Lifecycle start INFO: Defaulting core.streamFileThreshold to 240m Jan 26, 2021 7:45:39 PM com.google.gerrit.server.plugins.PluginLoader start INFO: Loading plugins from /tmp/gerrit_test_3351746476354254000/plugins Jan 26, 2021 7:45:40 PM com.google.gerrit.server.config.ScheduleConfig isInvalidOrMissing INFO: No schedule configuration for "accountDeactivation". Jan 26, 2021 7:45:40 PM com.google.gerrit.pgm.Daemon run INFO: Gerrit Code Review [headless] (dev) ready Gerrit Server Started [info] AggregatedHistogramFilterByDatesSpec: [info] Author history filter [info] - should select one commit without intervals restriction [info] - should select only the second of two commits based on the start timestamp [info] - should select only the first of two commits based on the end timestamp [info] - should select only one middle commit out of three based on interval from/to timestamp [info] - should aggregate commits of the same user separately when they are in different branches and branchesExtractor is set [info] BranchesExtractorSpec: [info] branchesOfCommit [info] - should extract one branch for a commit existing only in one branch [info] - should extract two branches for a commit existing in two different branches [info] AggregationSpec: [info] AggregatedHistogramFilter by email and year [info] - should aggregate two commits from the same author the same year [info] - should keep as separate rows activity from the same author on two different year [info] - should keep as separate rows activity from two different authors on the same year [info] AggregatedHistogramFilter by email and month [info] - should aggregate two commits from the same author the same month [info] - should keep as separate rows activity from the same author on two different months [info] - should keep as separate rows activity from two different authors on the same month [info] AggregatedHistogramFilter by email and day [info] - should aggregate two commits of the same author the same day [info] - should keep as separate rows activity from the same author on two different days [info] - should keep as separate rows activity from two different authors on the same day [info] AggregatedHistogramFilter by email and hour [info] - should aggregate two commits of the same author on the same hour [info] - should keep separate commits from the same author on different hours [info] - should keep separate commits from different authors on the same hour [info] UserActivitySummarySpec: [info] numCommits [info] - should count only comments filtered by their merge status [info] CommitStatisticsSpec: [info] CommitStatistics [info] - should stats a single file added [info] - should sum to another compatible CommitStatistics generating an aggregated stat [info] - should fail if trying to be added to a CommitStatistics object for a different isMerge value [info] - should stats multiple files added [info] - should stats lines eliminated [info] - should stats a Seq[RevCommit] [info] - should return zero value stats if the commit does not include any file [info] - should split merge commits and non-merge commits [info] ContributorsServiceSpec: [info] ContributorsService [info] - should get commit statistics [info] CommitStatisticsCommentLinkSpec: [info] - should collect no commentslink if no matching [info] - should collect simple bugzilla comments [info] - should collect simple track link [info] - should collect multiple links [info] UserActivityHistogramSpec: [info] UserActivityHistogram [info] - should return no activities [info] - should aggregate to one activity [info] IgnoreFileSuffixFilterSpec: [info] IgnoreFileSuffixFilter [info] - should include a file with suffix not listed in configuration [info] - should not include a file with suffix listed in configuration [info] BotLikeExtractorImplSpec: [info] isBotLike [info] - should return true when all files match bot-like identifiers [info] - should return false when at least one file does not match bot-like identifiers [info] - should return false when no bot-like identifiers have been provided [info] CommitInfoSpec: [info] CommitInfo [info] - should be serialised as JSON correctly [info] Run completed in 33 seconds, 27 milliseconds. [info] Total number of tests run: 41 [info] Suites: completed 11, aborted 0 [info] Tests: succeeded 41, failed 0, canceled 0, ignored 0, pending 0 [info] All tests passed. [info] Strategy 'discard' was applied to 5 files (Run the task at debug level to see details) [info] Strategy 'rename' was applied to 2 files (Run the task at debug level to see details) [info] Packaging /home/jenkins/workspace/plugin-analytics-sbt-stable-2.16/target/scala-2.11/analytics.jar ... [info] Done packaging. [success] Total time: 36 s, completed Jan 26, 2021 7:45:55 PM Jan 26, 2021 7:45:55 PM com.google.gerrit.pgm.Daemon lambda$run$0 INFO: caught shutdown, cleaning up Jan 26, 2021 7:45:56 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. % 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 1654 0 1654 0 0 20419 0 --:--:-- --:--:-- --:--:-- 20419 Archiving artifacts Finished: SUCCESS