Started by user ha:////4A52BKSfCWAUP5ho9/KHi8vnIsp0wYVNrRwmhgiz+UDNAAAAnh+LCAAAAAAAAP9b85aBtbiIQTGjNKU4P08vOT+vOD8nVc83PyU1x6OyILUoJzMv2y+/JJUBAhiZGBgqihhk0NSjKDWzXb3RdlLBUSYGJk8GtpzUvPSSDB8G5tKinBIGIZ+sxLJE/ZzEvHT94JKizLx0a6BxUmjGOUNodHsLgAy+EgZh/dLi1CL9nNLkxNxMoEmpxZn5ANPJiavIAAAALuca Milanesio Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on ha:////4Njw8ln8QcOiLTlvxUd0FC811ZkALpwT3cnlJQKr5lB9AAAAqh+LCAAAAAAAAP9b85aBtbiIQTGjNKU4P08vOT+vOD8nVc83PyU1x6OyILUoJzMv2y+/JJUBAhiZGBgqihhk0NSjKDWzXb3RdlLBUSYGJk8GtpzUvPSSDB8G5tKinBIGIZ+sxLJE/ZzEvHT94JKizLx0a6BxUmjGOUNodHsLgAylEgY5/eT83ILSktQi/ZT85OzUIl0DAxMTg5S8vOTygvISACDGzrPTAAAAdocker-00440dnncwpwt on dockerhost (bazel-debian bazel-debian-chrome-latest) in workspace /home/jenkins/workspace/plugin-git-repo-metrics-bazel-master-stable-3.7 The recommended git tool is: NONE using credential gerrit.googlesource.com Wiping out workspace first. Cloning the remote Git repository Cloning repository https://gerrit.googlesource.com/a/plugins/git-repo-metrics > git init /home/jenkins/workspace/plugin-git-repo-metrics-bazel-master-stable-3.7 # timeout=10 Fetching upstream changes from https://gerrit.googlesource.com/a/plugins/git-repo-metrics > git --version # timeout=10 > git --version # 'git version 2.42.0' using GIT_ASKPASS to set credentials .netrc credentials for gerrit.googlesource.com > git fetch --tags --force --progress -- https://gerrit.googlesource.com/a/plugins/git-repo-metrics +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url https://gerrit.googlesource.com/a/plugins/git-repo-metrics # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 Checking out Revision a6a057dfd1375747bdf5de90e960d35468f0e4a0 (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f a6a057dfd1375747bdf5de90e960d35468f0e4a0 # timeout=10 Commit message: "Allow to force metrics update on repositories" > git rev-list --no-walk a6a057dfd1375747bdf5de90e960d35468f0e4a0 # timeout=10 [plugin-git-repo-metrics-bazel-master-stable-3.7] $ /bin/bash -e /tmp/jenkins3037535769479376323.sh [plugin-git-repo-metrics-bazel-master-stable-3.7] $ /bin/bash -e /tmp/jenkins11245431793863703787.sh Java set to: /usr/lib/jvm/java-17-openjdk-amd64/bin/java Building plugin git-repo-metrics/master with Gerrit/stable-3.7 from plugins/git-repo-metrics From https://gerrit.googlesource.com/a/gerrit * branch stable-3.7 -> FETCH_HEAD * [new branch] stable-3.7 -> gerrit/stable-3.7 Previous HEAD position was a6a057dfd1 Allow to force metrics update on repositories Switched to a new branch 'stable-3.7' branch 'stable-3.7' set up to track 'gerrit/stable-3.7'. Submodule 'modules/jgit' (https://gerrit.googlesource.com/a/jgit) registered for path 'modules/jgit' 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' Submodule 'polymer-bridges' (https://gerrit.googlesource.com/a/polymer-bridges) registered for path 'polymer-bridges' Cloning into '/home/jenkins/workspace/plugin-git-repo-metrics-bazel-master-stable-3.7/modules/jgit'... Cloning into '/home/jenkins/workspace/plugin-git-repo-metrics-bazel-master-stable-3.7/plugins/codemirror-editor'... Cloning into '/home/jenkins/workspace/plugin-git-repo-metrics-bazel-master-stable-3.7/plugins/commit-message-length-validator'... Cloning into '/home/jenkins/workspace/plugin-git-repo-metrics-bazel-master-stable-3.7/plugins/delete-project'... Cloning into '/home/jenkins/workspace/plugin-git-repo-metrics-bazel-master-stable-3.7/plugins/download-commands'... Cloning into '/home/jenkins/workspace/plugin-git-repo-metrics-bazel-master-stable-3.7/plugins/gitiles'... Cloning into '/home/jenkins/workspace/plugin-git-repo-metrics-bazel-master-stable-3.7/plugins/hooks'... Cloning into '/home/jenkins/workspace/plugin-git-repo-metrics-bazel-master-stable-3.7/plugins/plugin-manager'... Cloning into '/home/jenkins/workspace/plugin-git-repo-metrics-bazel-master-stable-3.7/plugins/replication'... Cloning into '/home/jenkins/workspace/plugin-git-repo-metrics-bazel-master-stable-3.7/plugins/reviewnotes'... Cloning into '/home/jenkins/workspace/plugin-git-repo-metrics-bazel-master-stable-3.7/plugins/singleusergroup'... Cloning into '/home/jenkins/workspace/plugin-git-repo-metrics-bazel-master-stable-3.7/plugins/webhooks'... Cloning into '/home/jenkins/workspace/plugin-git-repo-metrics-bazel-master-stable-3.7/polymer-bridges'... Submodule path 'modules/jgit': checked out 'c0b415fb028b4c1f29b6df749323bbb11599495d' Submodule path 'plugins/codemirror-editor': checked out '3af12c5a5e65861830b42bd07933e275c33b9159' Submodule path 'plugins/commit-message-length-validator': checked out 'c38e0a9d36767092b20558b28eff7f546c6d754c' Submodule path 'plugins/delete-project': checked out '8f6ea7eeb22f8b8487d3b433d367272172ea32d1' Submodule path 'plugins/download-commands': checked out 'b90e523f589a0e2902823233010163f453243926' Submodule path 'plugins/gitiles': checked out '24529d232268ac51fd6850770f70dc0fcd732dd8' Submodule path 'plugins/hooks': checked out '30073628612bce23826f4be71bfdd159da521cbc' Submodule path 'plugins/plugin-manager': checked out 'ba74d4969462c2592bcf97868dd76c33041d47b2' Submodule path 'plugins/replication': checked out '47ee3dab0dd96900e85662adf0d5f48a33d17733' Submodule path 'plugins/reviewnotes': checked out '4198fe8df1c1b86d812f32da63e891b1c2fc6f3e' Submodule path 'plugins/singleusergroup': checked out '3239ce3a471f5aa9edd8f6f702bee655ea81f77d' Submodule path 'plugins/webhooks': checked out '1dc0a718839f8872a59c189da7243ee77a4fe782' Submodule path 'polymer-bridges': checked out '855f4781b702de120953a64da5c277ea4908deaa' openjdk full version "17.0.9+9-Debian-1deb11u1" Bazelisk version: v1.12.0 Starting local Bazel server and connecting to it... Build label: 6.3.2 Build target: bazel-out/k8-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar Build time: Tue Aug 8 15:48:33 2023 (1691509713) Build timestamp: 1691509713 Build timestamp as int: 1691509713 INFO: Invocation ID: 58e86308-dcd2-4512-8b56-e8443f0b2395 INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'build' from /home/jenkins/workspace/plugin-git-repo-metrics-bazel-master-stable-3.7/.bazelrc: 'build' options: --workspace_status_command=python3 ./tools/workspace_status.py --repository_cache=~/.gerritcodereview/bazel-cache/repository --action_env=PATH --disk_cache=~/.gerritcodereview/bazel-cache/cas --java_language_version=11 --java_runtime_version=remotejdk_11 --tool_java_language_version=11 --tool_java_runtime_version=remotejdk_11 --incompatible_strict_action_env --announce_rc Loading: Loading: Loading: Loading: Loading: Loading: 0 packages loaded Analyzing: target //plugins/git-repo-metrics:git-repo-metrics (1 packages loaded, 0 targets configured) Analyzing: target //plugins/git-repo-metrics:git-repo-metrics (37 packages loaded, 146 targets configured) Analyzing: target //plugins/git-repo-metrics:git-repo-metrics (37 packages loaded, 146 targets configured) Analyzing: target //plugins/git-repo-metrics:git-repo-metrics (37 packages loaded, 146 targets configured) Analyzing: target //plugins/git-repo-metrics:git-repo-metrics (37 packages loaded, 146 targets configured) Analyzing: target //plugins/git-repo-metrics:git-repo-metrics (50 packages loaded, 621 targets configured) Analyzing: target //plugins/git-repo-metrics:git-repo-metrics (50 packages loaded, 621 targets configured) Analyzing: target //plugins/git-repo-metrics:git-repo-metrics (50 packages loaded, 621 targets configured) Analyzing: target //plugins/git-repo-metrics:git-repo-metrics (50 packages loaded, 621 targets configured) Analyzing: target //plugins/git-repo-metrics:git-repo-metrics (50 packages loaded, 621 targets configured) Analyzing: target //plugins/git-repo-metrics:git-repo-metrics (50 packages loaded, 621 targets configured) Analyzing: target //plugins/git-repo-metrics:git-repo-metrics (51 packages loaded, 637 targets configured) INFO: Analyzed target //plugins/git-repo-metrics:git-repo-metrics (232 packages loaded, 5432 targets configured). INFO: Found 1 target... [0 / 212] [Prepa] Writing file build-info-redacted.properties ... (21 actions, 1 running) [311 / 485] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... (10 actions, 8 running) INFO: From Compiling java_tools/src/tools/singlejar/combiners.cc [for tool]: In file included from /usr/include/string.h:495, from bazel-out/k8-opt-exec-2B5CBBC6/bin/external/remote_java_tools/_virtual_includes/combiners/src/tools/singlejar/zip_headers.h:24, from bazel-out/k8-opt-exec-2B5CBBC6/bin/external/remote_java_tools/_virtual_includes/combiners/src/tools/singlejar/transient_bytes.h:26, from bazel-out/k8-opt-exec-2B5CBBC6/bin/external/remote_java_tools/_virtual_includes/combiners/src/tools/singlejar/combiners.h:24, from external/remote_java_tools/java_tools/src/tools/singlejar/combiners.cc:15: In function 'void* memcpy(void*, const void*, size_t)', inlined from 'void LH::extra_fields(const uint8_t*, uint16_t)' at bazel-out/k8-opt-exec-2B5CBBC6/bin/external/remote_java_tools/_virtual_includes/combiners/src/tools/singlejar/zip_headers.h:290:13, inlined from 'virtual void* Concatenator::OutputEntry(bool)' at external/remote_java_tools/java_tools/src/tools/singlejar/combiners.cc:88:21: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:34:33: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 34 | return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from bazel-out/k8-opt-exec-2B5CBBC6/bin/external/remote_java_tools/_virtual_includes/combiners/src/tools/singlejar/transient_bytes.h:26, from bazel-out/k8-opt-exec-2B5CBBC6/bin/external/remote_java_tools/_virtual_includes/combiners/src/tools/singlejar/combiners.h:24, from external/remote_java_tools/java_tools/src/tools/singlejar/combiners.cc:15: bazel-out/k8-opt-exec-2B5CBBC6/bin/external/remote_java_tools/_virtual_includes/combiners/src/tools/singlejar/zip_headers.h: In member function 'virtual void* Concatenator::OutputEntry(bool)': bazel-out/k8-opt-exec-2B5CBBC6/bin/external/remote_java_tools/_virtual_includes/combiners/src/tools/singlejar/zip_headers.h:327:8: note: at offset 0 to object 'LH::file_name_' with size 0 declared here 327 | char file_name_[0]; | ^~~~~~~~~~ In file included from /usr/include/string.h:495, from bazel-out/k8-opt-exec-2B5CBBC6/bin/external/remote_java_tools/_virtual_includes/combiners/src/tools/singlejar/zip_headers.h:24, from bazel-out/k8-opt-exec-2B5CBBC6/bin/external/remote_java_tools/_virtual_includes/combiners/src/tools/singlejar/transient_bytes.h:26, from bazel-out/k8-opt-exec-2B5CBBC6/bin/external/remote_java_tools/_virtual_includes/combiners/src/tools/singlejar/combiners.h:24, from external/remote_java_tools/java_tools/src/tools/singlejar/combiners.cc:15: In function 'void* memcpy(void*, const void*, size_t)', inlined from 'void LH::extra_fields(const uint8_t*, uint16_t)' at bazel-out/k8-opt-exec-2B5CBBC6/bin/external/remote_java_tools/_virtual_includes/combiners/src/tools/singlejar/zip_headers.h:290:13, inlined from 'virtual void* Concatenator::OutputEntry(bool)' at external/remote_java_tools/java_tools/src/tools/singlejar/combiners.cc:88:21: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:34:33: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 34 | return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from bazel-out/k8-opt-exec-2B5CBBC6/bin/external/remote_java_tools/_virtual_includes/combiners/src/tools/singlejar/transient_bytes.h:26, from bazel-out/k8-opt-exec-2B5CBBC6/bin/external/remote_java_tools/_virtual_includes/combiners/src/tools/singlejar/combiners.h:24, from external/remote_java_tools/java_tools/src/tools/singlejar/combiners.cc:15: bazel-out/k8-opt-exec-2B5CBBC6/bin/external/remote_java_tools/_virtual_includes/combiners/src/tools/singlejar/zip_headers.h: In member function 'virtual void* Concatenator::OutputEntry(bool)': bazel-out/k8-opt-exec-2B5CBBC6/bin/external/remote_java_tools/_virtual_includes/combiners/src/tools/singlejar/zip_headers.h:327:8: note: at offset 0 to object 'LH::file_name_' with size 0 declared here 327 | char file_name_[0]; | ^~~~~~~~~~ [317 / 485] JavaToolchainCompileBootClasspath external/bazel_tools/tools/jdk/platformclasspath.jar; 1s remote-cache, linux-sandbox ... (5 actions, 4 running) [414 / 485] Compiling Java headers java/com/google/gerrit/launcher/liblauncher-hjar.jar (1 source file); 0s remote-cache, linux-sandbox ... (27 actions, 26 running) [433 / 485] Building external/jgit/org.eclipse.jgit/libjgit_non_stamped-class.jar (924 source files); 1s remote-cache, multiplex-worker ... (9 actions, 8 running) [439 / 485] Building external/jgit/org.eclipse.jgit/libjgit_non_stamped-class.jar (924 source files); 2s remote-cache, multiplex-worker ... (5 actions, 4 running) [440 / 485] Building external/jgit/org.eclipse.jgit/libjgit_non_stamped-class.jar (924 source files); 3s remote-cache, multiplex-worker ... (4 actions running) [441 / 485] Building external/jgit/org.eclipse.jgit/libjgit_non_stamped-class.jar (924 source files); 4s remote-cache, multiplex-worker [442 / 485] [Prepa] Building Java resource jar [443 / 485] Executing genrule @jgit//org.eclipse.jgit:jgit; 1s remote-cache, linux-sandbox [451 / 485] Compiling Java headers java/com/google/gerrit/server/cache/serialize/libserialize-hjar.jar (9 source files); 0s remote-cache, linux-sandbox ... (18 actions running) [462 / 485] Compiling Java headers java/com/google/gerrit/server/logging/liblogging-hjar.jar (16 source files); 0s remote-cache, linux-sandbox [464 / 485] Compiling Java headers java/com/google/gerrit/index/libindex-hjar.jar (51 source files); 0s remote-cache [467 / 485] [Prepa] Compiling Java headers java/com/google/gerrit/server/libserver-hjar.jar (1142 source files) and running annotation processors (AutoFactoryProcessor) [467 / 485] Compiling Java headers java/com/google/gerrit/server/libserver-hjar.jar (1142 source files) and running annotation processors (AutoFactoryProcessor); 1s remote-cache, linux-sandbox [472 / 485] Compiling Java headers java/com/google/gerrit/lucene/liblucene-hjar.jar (13 source files); 0s remote-cache, linux-sandbox ... (8 actions running) [476 / 485] Compiling Java headers java/com/google/gerrit/server/git/receive/libreceive-hjar.jar (18 source files); 0s remote-cache, linux-sandbox ... (4 actions running) [476 / 485] Compiling Java headers java/com/google/gerrit/server/git/receive/libreceive-hjar.jar (18 source files); 1s remote-cache, linux-sandbox ... (4 actions running) [481 / 485] [Prepa] Compiling Java headers java/com/google/gerrit/server/schema/libschema-hjar.jar (29 source files) [483 / 485] [Prepa] Building deploy jar bazel-out/k8-fastbuild/bin/plugins/git-repo-metrics/git-repo-metrics__non_stamped_deploy.jar Target //plugins/git-repo-metrics:git-repo-metrics up-to-date: bazel-bin/plugins/git-repo-metrics/git-repo-metrics.jar INFO: Elapsed time: 51.242s, Critical Path: 27.37s INFO: 485 processes: 200 disk cache hit, 75 internal, 203 linux-sandbox, 7 worker. INFO: Build completed successfully, 485 total actions INFO: Invocation ID: 517d8cf7-7f9f-46d4-8b36-daf204cd1257 INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'test' from /home/jenkins/workspace/plugin-git-repo-metrics-bazel-master-stable-3.7/.bazelrc: Inherited 'build' options: --workspace_status_command=python3 ./tools/workspace_status.py --repository_cache=~/.gerritcodereview/bazel-cache/repository --action_env=PATH --disk_cache=~/.gerritcodereview/bazel-cache/cas --java_language_version=11 --java_runtime_version=remotejdk_11 --tool_java_language_version=11 --tool_java_runtime_version=remotejdk_11 --incompatible_strict_action_env --announce_rc INFO: Reading rc options for 'test' from /home/jenkins/workspace/plugin-git-repo-metrics-bazel-master-stable-3.7/.bazelrc: 'test' options: --build_tests_only --test_output=all Loading: Loading: Loading: 0 packages loaded INFO: Build option --test_env has changed, discarding analysis cache. Analyzing: 2 targets (1 packages loaded, 0 targets configured) INFO: Analyzed 2 targets (68 packages loaded, 6036 targets configured). INFO: Found 2 test targets... [0 / 16] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... (4 actions, 0 running) INFO: From Testing //tools/bzl:always_pass_test: ==================== Test output for //tools/bzl:always_pass_test: ================================================================================ [486 / 638] 1 / 2 tests; [Prepa] BazelWorkspaceStatusAction stable-status.txt ... (21 actions, 19 running) [533 / 638] 1 / 2 tests; Building external/com_google_protobuf/java/core/liblite_runtime_only.jar (89 source files); 2s remote-cache, multiplex-worker ... (140 actions, 93 running) [556 / 638] 1 / 2 tests; Building external/com_google_protobuf/java/core/liblite_runtime_only.jar (89 source files); 3s remote-cache, multiplex-worker ... (128 actions, 77 running) [571 / 638] 1 / 2 tests; Building external/com_google_protobuf/java/core/liblite_runtime_only.jar (89 source files); 4s remote-cache, multiplex-worker ... (112 actions, 66 running) [584 / 638] 1 / 2 tests; Building external/com_google_protobuf/java/core/libcore.jar (36 source files, 1 source jar); 4s remote-cache, multiplex-worker ... (88 actions, 51 running) [592 / 638] 1 / 2 tests; Building external/com_google_protobuf/java/core/libcore.jar (36 source files, 1 source jar); 6s remote-cache, multiplex-worker ... (74 actions, 46 running) [598 / 638] 1 / 2 tests; Building external/com_google_protobuf/java/core/libcore.jar (36 source files, 1 source jar); 7s remote-cache, multiplex-worker ... (66 actions, 43 running) [611 / 638] 1 / 2 tests; Building external/com_google_protobuf/java/core/libcore.jar (36 source files, 1 source jar); 8s remote-cache, multiplex-worker ... (44 actions, 30 running) [616 / 638] 1 / 2 tests; Building java/com/google/gerrit/acceptance/testsuite/project/libproject.jar (5 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor, AutoOneOfProcessor); 6s remote-cache ... (34 actions, 25 running) [623 / 638] 1 / 2 tests; Building java/com/google/gerrit/acceptance/libframework-lib.jar (105 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor, AutoOneOfProcessor); 5s remote-cache ... (22 actions, 19 running) [627 / 638] 1 / 2 tests; Building java/com/google/gerrit/server/libserver-class.jar (1142 source files) and running annotation processors (AutoFactoryProcessor, AutoAnnotationProcessor, AutoValueProcessor, AutoOneOfProcessor); 5s remote-cache, multiplex-worker ... (16 actions running) [634 / 638] 1 / 2 tests; Building java/com/google/gerrit/server/libserver-class.jar (1142 source files) and running annotation processors (AutoFactoryProcessor, AutoAnnotationProcessor, AutoValueProcessor, AutoOneOfProcessor); 6s remote-cache, multiplex-worker ... (6 actions running) [635 / 638] 1 / 2 tests; Building java/com/google/gerrit/server/libserver-class.jar (1142 source files) and running annotation processors (AutoFactoryProcessor, AutoAnnotationProcessor, AutoValueProcessor, AutoOneOfProcessor); 8s remote-cache, multiplex-worker ... (4 actions running) [636 / 638] 1 / 2 tests; Building java/com/google/gerrit/server/libserver-class.jar (1142 source files) and running annotation processors (AutoFactoryProcessor, AutoAnnotationProcessor, AutoValueProcessor, AutoOneOfProcessor); 10s remote-cache, multiplex-worker [636 / 638] 1 / 2 tests; Building java/com/google/gerrit/server/libserver-class.jar (1142 source files) and running annotation processors (AutoFactoryProcessor, AutoAnnotationProcessor, AutoValueProcessor, AutoOneOfProcessor); 21s remote-cache, multiplex-worker [637 / 638] 1 / 2 tests; [Prepa] Building Java resource jar [638 / 639] 1 / 2 tests; Testing //plugins/git-repo-metrics:git-repo-metrics_tests; 1s remote-cache, linux-sandbox FAIL: //plugins/git-repo-metrics:git-repo-metrics_tests (see /home/jenkins/.cache/bazel/_bazel_jenkins/b31b0cc02711604a4b67e479bd047ad9/execroot/gerrit/bazel-out/k8-fastbuild/testlogs/plugins/git-repo-metrics/git-repo-metrics_tests/test_attempts/attempt_1.log) [638 / 639] 1 / 2 tests; Testing //plugins/git-repo-metrics:git-repo-metrics_tests; 10s remote-cache, linux-sandbox [638 / 639] 1 / 2 tests; Testing //plugins/git-repo-metrics:git-repo-metrics_tests; 1s remote-cache, linux-sandbox FAIL: //plugins/git-repo-metrics:git-repo-metrics_tests (see /home/jenkins/.cache/bazel/_bazel_jenkins/b31b0cc02711604a4b67e479bd047ad9/execroot/gerrit/bazel-out/k8-fastbuild/testlogs/plugins/git-repo-metrics/git-repo-metrics_tests/test_attempts/attempt_2.log) [638 / 639] 1 / 2 tests; Testing //plugins/git-repo-metrics:git-repo-metrics_tests; 10s remote-cache, linux-sandbox [638 / 639] 1 / 2 tests; Testing //plugins/git-repo-metrics:git-repo-metrics_tests; 1s remote-cache, linux-sandbox FAIL: //plugins/git-repo-metrics:git-repo-metrics_tests (see /home/jenkins/.cache/bazel/_bazel_jenkins/b31b0cc02711604a4b67e479bd047ad9/execroot/gerrit/bazel-out/k8-fastbuild/testlogs/plugins/git-repo-metrics/git-repo-metrics_tests/test.log) FAILED: //plugins/git-repo-metrics:git-repo-metrics_tests (Summary) /home/jenkins/.cache/bazel/_bazel_jenkins/b31b0cc02711604a4b67e479bd047ad9/execroot/gerrit/bazel-out/k8-fastbuild/testlogs/plugins/git-repo-metrics/git-repo-metrics_tests/test.log /home/jenkins/.cache/bazel/_bazel_jenkins/b31b0cc02711604a4b67e479bd047ad9/execroot/gerrit/bazel-out/k8-fastbuild/testlogs/plugins/git-repo-metrics/git-repo-metrics_tests/test_attempts/attempt_1.log /home/jenkins/.cache/bazel/_bazel_jenkins/b31b0cc02711604a4b67e479bd047ad9/execroot/gerrit/bazel-out/k8-fastbuild/testlogs/plugins/git-repo-metrics/git-repo-metrics_tests/test_attempts/attempt_2.log INFO: From Testing //plugins/git-repo-metrics:git-repo-metrics_tests: ==================== Test output for //plugins/git-repo-metrics:git-repo-metrics_tests: JUnit4 Test Runner .log4j:WARN No appenders could be found for logger (org.eclipse.jgit.internal.util.ShutdownHook). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. Auto-configured "receive.autogc = false" to disable auto-gc after git-receive-pack. Initialized /home/jenkins/.cache/bazel/_bazel_jenkins/b31b0cc02711604a4b67e479bd047ad9/sandbox/linux-sandbox/564/execroot/gerrit/_tmp/e85416703bc1ba32e98d668d13e29edc/junit15743528869990429678/junit6868973475330634179 Reindexed 0 documents in accounts index in 0.0s (0.0/s) Index accounts in version 12 is ready Reindexing groups: 50% (1/2) Reindexing groups: 100% (2/2) Reindexing groups: 100% (2/2) Reindexed 2 documents in groups index in 0.3s (6.7/s) Index groups in version 9 is ready Reindexing changes: Slicing projects: 100% (2/2), done Reindexed 0 documents in changes index in 0.0s (0.0/s) Index changes in version 79 is ready Reindexing projects: 50% (1/2) Reindexing projects: 100% (2/2) Reindexing projects: 100% (2/2) Reindexed 2 documents in projects index in 0.1s (29.4/s) Index projects in version 5 is ready [2024-06-19T14:40:12.770Z] [pool-11-thread-1] WARN com.google.gerrit.server.config.GitwebCgiConfig : gitweb not installed (no /usr/lib/cgi-bin/gitweb.cgi found) [2024-06-19T14:40:13.091Z] [pool-11-thread-1] WARN org.openid4java.server.RealmVerifier : RP discovery / realm validation disabled; [2024-06-19T14:40:13.130Z] [pool-11-thread-1] INFO org.eclipse.jetty.util.log : Logging initialized @8233ms to org.eclipse.jetty.util.log.Slf4jLog [2024-06-19T14:40:13.221Z] [pool-11-thread-1] INFO com.google.gerrit.server.git.SystemReaderInstaller : Set JGit's SystemReader to read system config from /home/jenkins/.cache/bazel/_bazel_jenkins/b31b0cc02711604a4b67e479bd047ad9/sandbox/linux-sandbox/564/execroot/gerrit/_tmp/e85416703bc1ba32e98d668d13e29edc/junit15743528869990429678/junit6868973475330634179/etc/jgit.config [2024-06-19T14:40:13.222Z] [pool-11-thread-1] INFO com.google.gerrit.server.git.LocalDiskRepositoryManager : Defaulting core.streamFileThreshold to 2047m [2024-06-19T14:40:13.347Z] [pool-11-thread-1] WARN com.google.gerrit.server.project.PeriodicProjectListCacheWarmer : project_list cache warmer is disabled [2024-06-19T14:40:13.349Z] [pool-11-thread-1] INFO com.google.gerrit.server.plugins.PluginLoader : Loading plugins from /home/jenkins/.cache/bazel/_bazel_jenkins/b31b0cc02711604a4b67e479bd047ad9/sandbox/linux-sandbox/564/execroot/gerrit/_tmp/e85416703bc1ba32e98d668d13e29edc/junit15743528869990429678/junit6868973475330634179/plugins [2024-06-19T14:40:13.375Z] [pool-11-thread-1] INFO com.google.gerrit.server.config.ScheduleConfig : No schedule configuration for "accountDeactivation". [2024-06-19T14:40:13.472Z] [pool-11-thread-1] INFO org.eclipse.jetty.server.Server : jetty-9.4.53.v20231009; built: 2023-10-09T12:29:09.265Z; git: 27bde00a0b95a1d5bbee0eae7984f891d2d0f8c9; jvm 11.0.15+10-LTS [2024-06-19T14:40:13.506Z] [pool-11-thread-1] INFO org.eclipse.jetty.server.session : DefaultSessionIdManager workerName=node0 [2024-06-19T14:40:13.506Z] [pool-11-thread-1] INFO org.eclipse.jetty.server.session : No SessionScavenger set, using defaults [2024-06-19T14:40:13.507Z] [pool-11-thread-1] INFO org.eclipse.jetty.server.session : node0 Scavenging every 660000ms [2024-06-19T14:40:13.596Z] [pool-11-thread-1] INFO org.eclipse.jetty.server.handler.ContextHandler : Started o.e.j.s.ServletContextHandler@42d3ce29{/,null,AVAILABLE} [2024-06-19T14:40:13.639Z] [pool-11-thread-1] INFO org.eclipse.jetty.server.AbstractConnector : Started ServerConnector@4e4fea38{HTTP/1.1, (http/1.1)}{localhost:44387} [2024-06-19T14:40:13.640Z] [pool-11-thread-1] INFO org.eclipse.jetty.server.Server : Started @8743ms [2024-06-19T14:40:13.647Z] [pool-11-thread-1] INFO com.google.gerrit.pgm.Daemon : Gerrit Code Review [headless] (dev) ready Gerrit Server Started [2024-06-19T14:40:14.253Z] [main] INFO com.googlesource.gerrit.plugins.gitrepometrics.RepoCountMetricRegister : Registering metric numberofprojects [2024-06-19T14:40:14.255Z] [main] WARN com.googlesource.gerrit.plugins.gitrepometrics.collectors.NumberOfProjectsCollector : Unable to query Gerrit projects list com.google.gerrit.extensions.restapi.BadRequestException: missing query field at com.google.gerrit.server.restapi.project.QueryProjects.apply(QueryProjects.java:99) at com.google.gerrit.server.api.projects.ProjectsImpl.query(ProjectsImpl.java:157) at com.google.gerrit.server.api.projects.ProjectsImpl$2.get(ProjectsImpl.java:140) at com.googlesource.gerrit.plugins.gitrepometrics.collectors.NumberOfProjectsCollector.queryNumberOfProjects(NumberOfProjectsCollector.java:49) at com.googlesource.gerrit.plugins.gitrepometrics.collectors.NumberOfProjectsCollector.lambda$new$0(NumberOfProjectsCollector.java:42) at com.google.common.base.Suppliers$ExpiringMemoizingSupplier.get(Suppliers.java:243) at com.googlesource.gerrit.plugins.gitrepometrics.collectors.NumberOfProjectsCollector.get(NumberOfProjectsCollector.java:58) at com.googlesource.gerrit.plugins.gitrepometrics.collectors.NumberOfProjectsCollector.get(NumberOfProjectsCollector.java:30) at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:86) at com.google.inject.internal.BoundProviderFactory.provision(BoundProviderFactory.java:72) at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:60) at com.google.inject.internal.BoundProviderFactory.get(BoundProviderFactory.java:59) at com.google.inject.internal.InjectorImpl$1.get(InjectorImpl.java:1100) at com.google.gerrit.metrics.MetricMaker.lambda$newCallbackMetric$1(MetricMaker.java:119) at com.google.gerrit.metrics.dropwizard.CallbackGroup.run(CallbackGroup.java:49) at com.google.gerrit.metrics.dropwizard.DropWizardMetricMaker.newTrigger(DropWizardMetricMaker.java:336) at com.google.gerrit.server.plugins.PluginMetricMaker.newTrigger(PluginMetricMaker.java:161) at com.google.gerrit.metrics.MetricMaker.newTrigger(MetricMaker.java:144) at com.google.gerrit.metrics.MetricMaker.newCallbackMetric(MetricMaker.java:119) at com.googlesource.gerrit.plugins.gitrepometrics.RepoCountMetricRegister.start(RepoCountMetricRegister.java:48) at com.google.gerrit.lifecycle.LifecycleManager.start(LifecycleManager.java:95) at com.google.gerrit.server.plugins.ServerPlugin.startPlugin(ServerPlugin.java:253) at com.google.gerrit.server.plugins.ServerPlugin.start(ServerPlugin.java:182) at com.google.gerrit.server.plugins.TestServerPlugin.start(TestServerPlugin.java:78) at com.google.gerrit.acceptance.LightweightPluginDaemonTest.setUpTestPlugin(LightweightPluginDaemonTest.java:50) at com.googlesource.gerrit.plugins.gitrepometrics.GitRepoMetricsCacheIT.setUpTestPlugin(GitRepoMetricsCacheIT.java:53) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48) at com.google.gerrit.acceptance.AbstractDaemonTest$1$1.evaluate(AbstractDaemonTest.java:236) at org.junit.rules.RunRules.evaluate(RunRules.java:20) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48) at org.junit.rules.RunRules.evaluate(RunRules.java:20) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:108) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at org.junit.runner.JUnitCore.run(JUnitCore.java:115) at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:116) at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:145) at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:76) [2024-06-19T14:40:14.276Z] [main] INFO org.eclipse.jetty.server.AbstractConnector : Stopped ServerConnector@4e4fea38{HTTP/1.1, (http/1.1)}{localhost:0} [2024-06-19T14:40:14.276Z] [main] INFO org.eclipse.jetty.server.session : node0 Stopped scavenging [2024-06-19T14:40:14.278Z] [main] INFO org.eclipse.jetty.server.handler.ContextHandler : Stopped o.e.j.s.ServletContextHandler@42d3ce29{/,null,STOPPED} Gerrit Server Shutdown E.................... Time: 10.277 There was 1 failure: 1) shouldRegisterAllMetrics(com.googlesource.gerrit.plugins.gitrepometrics.GitRepoMetricsCacheIT) com.google.inject.ProvisionException: Unable to provision, see the following errors: 1) [Guice/ErrorInCustomProvider]: IllegalStateException: BadRequestException: missing query field while locating NumberOfProjectsCollector while locating Long annotated with @Named(value="num-projects") Learn more: https://github.com/google/guice/wiki/ERROR_IN_CUSTOM_PROVIDER 1 error ====================== Full classname legend: ====================== BadRequestException: "com.google.gerrit.extensions.restapi.BadRequestException" Named: "com.google.inject.name.Named" NumberOfProjectsCollector: "com.googlesource.gerrit.plugins.gitrepometrics.collectors.NumberOfProjectsCollector" ======================== End of classname legend: ======================== at com.google.inject.internal.InternalProvisionException.toProvisionException(InternalProvisionException.java:251) at com.google.inject.internal.InjectorImpl$1.get(InjectorImpl.java:1103) at com.google.gerrit.metrics.MetricMaker.lambda$newCallbackMetric$1(MetricMaker.java:119) at com.google.gerrit.metrics.dropwizard.CallbackGroup.run(CallbackGroup.java:49) at com.google.gerrit.metrics.dropwizard.DropWizardMetricMaker.newTrigger(DropWizardMetricMaker.java:336) at com.google.gerrit.server.plugins.PluginMetricMaker.newTrigger(PluginMetricMaker.java:161) at com.google.gerrit.metrics.MetricMaker.newTrigger(MetricMaker.java:144) at com.google.gerrit.metrics.MetricMaker.newCallbackMetric(MetricMaker.java:119) at com.googlesource.gerrit.plugins.gitrepometrics.RepoCountMetricRegister.start(RepoCountMetricRegister.java:48) at com.google.gerrit.lifecycle.LifecycleManager.start(LifecycleManager.java:95) at com.google.gerrit.server.plugins.ServerPlugin.startPlugin(ServerPlugin.java:253) at com.google.gerrit.server.plugins.ServerPlugin.start(ServerPlugin.java:182) at com.google.gerrit.server.plugins.TestServerPlugin.start(TestServerPlugin.java:78) at com.google.gerrit.acceptance.LightweightPluginDaemonTest.setUpTestPlugin(LightweightPluginDaemonTest.java:50) at com.googlesource.gerrit.plugins.gitrepometrics.GitRepoMetricsCacheIT.setUpTestPlugin(GitRepoMetricsCacheIT.java:53) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48) at com.google.gerrit.acceptance.AbstractDaemonTest$1$1.evaluate(AbstractDaemonTest.java:236) at org.junit.rules.RunRules.evaluate(RunRules.java:20) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48) at org.junit.rules.RunRules.evaluate(RunRules.java:20) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:108) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at org.junit.runner.JUnitCore.run(JUnitCore.java:115) at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:116) at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:145) at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:76) Caused by: java.lang.IllegalStateException: com.google.gerrit.extensions.restapi.BadRequestException: missing query field at com.googlesource.gerrit.plugins.gitrepometrics.collectors.NumberOfProjectsCollector.queryNumberOfProjects(NumberOfProjectsCollector.java:52) at com.googlesource.gerrit.plugins.gitrepometrics.collectors.NumberOfProjectsCollector.lambda$new$0(NumberOfProjectsCollector.java:42) at com.google.common.base.Suppliers$ExpiringMemoizingSupplier.get(Suppliers.java:243) at com.googlesource.gerrit.plugins.gitrepometrics.collectors.NumberOfProjectsCollector.get(NumberOfProjectsCollector.java:58) at com.googlesource.gerrit.plugins.gitrepometrics.collectors.NumberOfProjectsCollector.get(NumberOfProjectsCollector.java:30) at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:86) at com.google.inject.internal.BoundProviderFactory.provision(BoundProviderFactory.java:72) at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:60) at com.google.inject.internal.BoundProviderFactory.get(BoundProviderFactory.java:59) at com.google.inject.internal.InjectorImpl$1.get(InjectorImpl.java:1100) ... 59 more Caused by: com.google.gerrit.extensions.restapi.BadRequestException: missing query field at com.google.gerrit.server.restapi.project.QueryProjects.apply(QueryProjects.java:99) at com.google.gerrit.server.api.projects.ProjectsImpl.query(ProjectsImpl.java:157) at com.google.gerrit.server.api.projects.ProjectsImpl$2.get(ProjectsImpl.java:140) at com.googlesource.gerrit.plugins.gitrepometrics.collectors.NumberOfProjectsCollector.queryNumberOfProjects(NumberOfProjectsCollector.java:49) ... 68 more FAILURES!!! Tests run: 21, Failures: 1 BazelTestRunner exiting with a return value of 1 JVM shutdown hooks (if any) will run now. The JVM will exit once they complete. -- JVM shutdown starting at 2024-06-19 14:40:15 -- ================================================================================ ==================== Test output for //plugins/git-repo-metrics:git-repo-metrics_tests: JUnit4 Test Runner .log4j:WARN No appenders could be found for logger (org.eclipse.jgit.internal.util.ShutdownHook). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. Auto-configured "receive.autogc = false" to disable auto-gc after git-receive-pack. Initialized /home/jenkins/.cache/bazel/_bazel_jenkins/b31b0cc02711604a4b67e479bd047ad9/sandbox/linux-sandbox/565/execroot/gerrit/_tmp/e85416703bc1ba32e98d668d13e29edc/junit4995525109057116743/junit4346774976149992139 Reindexed 0 documents in accounts index in 0.0s (0.0/s) Index accounts in version 12 is ready Reindexing groups: 50% (1/2) Reindexing groups: 100% (2/2) Reindexing groups: 100% (2/2) Reindexed 2 documents in groups index in 0.2s (8.4/s) Index groups in version 9 is ready Reindexing changes: Slicing projects: 100% (2/2), done Reindexed 0 documents in changes index in 0.0s (0.0/s) Index changes in version 79 is ready Reindexing projects: 50% (1/2) Reindexing projects: 100% (2/2) Reindexing projects: 100% (2/2) Reindexed 2 documents in projects index in 0.1s (28.2/s) Index projects in version 5 is ready [2024-06-19T14:40:23.112Z] [pool-11-thread-1] WARN com.google.gerrit.server.config.GitwebCgiConfig : gitweb not installed (no /usr/lib/cgi-bin/gitweb.cgi found) [2024-06-19T14:40:23.383Z] [pool-11-thread-1] WARN org.openid4java.server.RealmVerifier : RP discovery / realm validation disabled; [2024-06-19T14:40:23.433Z] [pool-11-thread-1] INFO org.eclipse.jetty.util.log : Logging initialized @7619ms to org.eclipse.jetty.util.log.Slf4jLog [2024-06-19T14:40:23.551Z] [pool-11-thread-1] INFO com.google.gerrit.server.git.SystemReaderInstaller : Set JGit's SystemReader to read system config from /home/jenkins/.cache/bazel/_bazel_jenkins/b31b0cc02711604a4b67e479bd047ad9/sandbox/linux-sandbox/565/execroot/gerrit/_tmp/e85416703bc1ba32e98d668d13e29edc/junit4995525109057116743/junit4346774976149992139/etc/jgit.config [2024-06-19T14:40:23.552Z] [pool-11-thread-1] INFO com.google.gerrit.server.git.LocalDiskRepositoryManager : Defaulting core.streamFileThreshold to 2047m [2024-06-19T14:40:23.650Z] [pool-11-thread-1] WARN com.google.gerrit.server.project.PeriodicProjectListCacheWarmer : project_list cache warmer is disabled [2024-06-19T14:40:23.651Z] [pool-11-thread-1] INFO com.google.gerrit.server.plugins.PluginLoader : Loading plugins from /home/jenkins/.cache/bazel/_bazel_jenkins/b31b0cc02711604a4b67e479bd047ad9/sandbox/linux-sandbox/565/execroot/gerrit/_tmp/e85416703bc1ba32e98d668d13e29edc/junit4995525109057116743/junit4346774976149992139/plugins [2024-06-19T14:40:23.664Z] [pool-11-thread-1] INFO com.google.gerrit.server.config.ScheduleConfig : No schedule configuration for "accountDeactivation". [2024-06-19T14:40:23.769Z] [pool-11-thread-1] INFO org.eclipse.jetty.server.Server : jetty-9.4.53.v20231009; built: 2023-10-09T12:29:09.265Z; git: 27bde00a0b95a1d5bbee0eae7984f891d2d0f8c9; jvm 11.0.15+10-LTS [2024-06-19T14:40:23.799Z] [pool-11-thread-1] INFO org.eclipse.jetty.server.session : DefaultSessionIdManager workerName=node0 [2024-06-19T14:40:23.799Z] [pool-11-thread-1] INFO org.eclipse.jetty.server.session : No SessionScavenger set, using defaults [2024-06-19T14:40:23.800Z] [pool-11-thread-1] INFO org.eclipse.jetty.server.session : node0 Scavenging every 600000ms [2024-06-19T14:40:23.849Z] [pool-11-thread-1] INFO org.eclipse.jetty.server.handler.ContextHandler : Started o.e.j.s.ServletContextHandler@59199c33{/,null,AVAILABLE} [2024-06-19T14:40:23.869Z] [pool-11-thread-1] INFO org.eclipse.jetty.server.AbstractConnector : Started ServerConnector@41021ac2{HTTP/1.1, (http/1.1)}{localhost:41669} [2024-06-19T14:40:23.870Z] [pool-11-thread-1] INFO org.eclipse.jetty.server.Server : Started @8056ms [2024-06-19T14:40:23.872Z] [pool-11-thread-1] INFO com.google.gerrit.pgm.Daemon : Gerrit Code Review [headless] (dev) ready Gerrit Server Started [2024-06-19T14:40:24.391Z] [main] INFO com.googlesource.gerrit.plugins.gitrepometrics.RepoCountMetricRegister : Registering metric numberofprojects [2024-06-19T14:40:24.394Z] [main] WARN com.googlesource.gerrit.plugins.gitrepometrics.collectors.NumberOfProjectsCollector : Unable to query Gerrit projects list com.google.gerrit.extensions.restapi.BadRequestException: missing query field at com.google.gerrit.server.restapi.project.QueryProjects.apply(QueryProjects.java:99) at com.google.gerrit.server.api.projects.ProjectsImpl.query(ProjectsImpl.java:157) at com.google.gerrit.server.api.projects.ProjectsImpl$2.get(ProjectsImpl.java:140) at com.googlesource.gerrit.plugins.gitrepometrics.collectors.NumberOfProjectsCollector.queryNumberOfProjects(NumberOfProjectsCollector.java:49) at com.googlesource.gerrit.plugins.gitrepometrics.collectors.NumberOfProjectsCollector.lambda$new$0(NumberOfProjectsCollector.java:42) at com.google.common.base.Suppliers$ExpiringMemoizingSupplier.get(Suppliers.java:243) at com.googlesource.gerrit.plugins.gitrepometrics.collectors.NumberOfProjectsCollector.get(NumberOfProjectsCollector.java:58) at com.googlesource.gerrit.plugins.gitrepometrics.collectors.NumberOfProjectsCollector.get(NumberOfProjectsCollector.java:30) at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:86) at com.google.inject.internal.BoundProviderFactory.provision(BoundProviderFactory.java:72) at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:60) at com.google.inject.internal.BoundProviderFactory.get(BoundProviderFactory.java:59) at com.google.inject.internal.InjectorImpl$1.get(InjectorImpl.java:1100) at com.google.gerrit.metrics.MetricMaker.lambda$newCallbackMetric$1(MetricMaker.java:119) at com.google.gerrit.metrics.dropwizard.CallbackGroup.run(CallbackGroup.java:49) at com.google.gerrit.metrics.dropwizard.DropWizardMetricMaker.newTrigger(DropWizardMetricMaker.java:336) at com.google.gerrit.server.plugins.PluginMetricMaker.newTrigger(PluginMetricMaker.java:161) at com.google.gerrit.metrics.MetricMaker.newTrigger(MetricMaker.java:144) at com.google.gerrit.metrics.MetricMaker.newCallbackMetric(MetricMaker.java:119) at com.googlesource.gerrit.plugins.gitrepometrics.RepoCountMetricRegister.start(RepoCountMetricRegister.java:48) at com.google.gerrit.lifecycle.LifecycleManager.start(LifecycleManager.java:95) at com.google.gerrit.server.plugins.ServerPlugin.startPlugin(ServerPlugin.java:253) at com.google.gerrit.server.plugins.ServerPlugin.start(ServerPlugin.java:182) at com.google.gerrit.server.plugins.TestServerPlugin.start(TestServerPlugin.java:78) at com.google.gerrit.acceptance.LightweightPluginDaemonTest.setUpTestPlugin(LightweightPluginDaemonTest.java:50) at com.googlesource.gerrit.plugins.gitrepometrics.GitRepoMetricsCacheIT.setUpTestPlugin(GitRepoMetricsCacheIT.java:53) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48) at com.google.gerrit.acceptance.AbstractDaemonTest$1$1.evaluate(AbstractDaemonTest.java:236) at org.junit.rules.RunRules.evaluate(RunRules.java:20) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48) at org.junit.rules.RunRules.evaluate(RunRules.java:20) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:108) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at org.junit.runner.JUnitCore.run(JUnitCore.java:115) at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:116) at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:145) at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:76) [2024-06-19T14:40:24.412Z] [main] INFO org.eclipse.jetty.server.AbstractConnector : Stopped ServerConnector@41021ac2{HTTP/1.1, (http/1.1)}{localhost:0} [2024-06-19T14:40:24.412Z] [main] INFO org.eclipse.jetty.server.session : node0 Stopped scavenging [2024-06-19T14:40:24.414Z] [main] INFO org.eclipse.jetty.server.handler.ContextHandler : Stopped o.e.j.s.ServletContextHandler@59199c33{/,null,STOPPED} Gerrit Server Shutdown E.................... Time: 9.335 There was 1 failure: 1) shouldRegisterAllMetrics(com.googlesource.gerrit.plugins.gitrepometrics.GitRepoMetricsCacheIT) com.google.inject.ProvisionException: Unable to provision, see the following errors: 1) [Guice/ErrorInCustomProvider]: IllegalStateException: BadRequestException: missing query field while locating NumberOfProjectsCollector while locating Long annotated with @Named(value="num-projects") Learn more: https://github.com/google/guice/wiki/ERROR_IN_CUSTOM_PROVIDER 1 error ====================== Full classname legend: ====================== BadRequestException: "com.google.gerrit.extensions.restapi.BadRequestException" Named: "com.google.inject.name.Named" NumberOfProjectsCollector: "com.googlesource.gerrit.plugins.gitrepometrics.collectors.NumberOfProjectsCollector" ======================== End of classname legend: ======================== at com.google.inject.internal.InternalProvisionException.toProvisionException(InternalProvisionException.java:251) at com.google.inject.internal.InjectorImpl$1.get(InjectorImpl.java:1103) at com.google.gerrit.metrics.MetricMaker.lambda$newCallbackMetric$1(MetricMaker.java:119) at com.google.gerrit.metrics.dropwizard.CallbackGroup.run(CallbackGroup.java:49) at com.google.gerrit.metrics.dropwizard.DropWizardMetricMaker.newTrigger(DropWizardMetricMaker.java:336) at com.google.gerrit.server.plugins.PluginMetricMaker.newTrigger(PluginMetricMaker.java:161) at com.google.gerrit.metrics.MetricMaker.newTrigger(MetricMaker.java:144) at com.google.gerrit.metrics.MetricMaker.newCallbackMetric(MetricMaker.java:119) at com.googlesource.gerrit.plugins.gitrepometrics.RepoCountMetricRegister.start(RepoCountMetricRegister.java:48) at com.google.gerrit.lifecycle.LifecycleManager.start(LifecycleManager.java:95) at com.google.gerrit.server.plugins.ServerPlugin.startPlugin(ServerPlugin.java:253) at com.google.gerrit.server.plugins.ServerPlugin.start(ServerPlugin.java:182) at com.google.gerrit.server.plugins.TestServerPlugin.start(TestServerPlugin.java:78) at com.google.gerrit.acceptance.LightweightPluginDaemonTest.setUpTestPlugin(LightweightPluginDaemonTest.java:50) at com.googlesource.gerrit.plugins.gitrepometrics.GitRepoMetricsCacheIT.setUpTestPlugin(GitRepoMetricsCacheIT.java:53) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48) at com.google.gerrit.acceptance.AbstractDaemonTest$1$1.evaluate(AbstractDaemonTest.java:236) at org.junit.rules.RunRules.evaluate(RunRules.java:20) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48) at org.junit.rules.RunRules.evaluate(RunRules.java:20) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:108) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at org.junit.runner.JUnitCore.run(JUnitCore.java:115) at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:116) at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:145) at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:76) Caused by: java.lang.IllegalStateException: com.google.gerrit.extensions.restapi.BadRequestException: missing query field at com.googlesource.gerrit.plugins.gitrepometrics.collectors.NumberOfProjectsCollector.queryNumberOfProjects(NumberOfProjectsCollector.java:52) at com.googlesource.gerrit.plugins.gitrepometrics.collectors.NumberOfProjectsCollector.lambda$new$0(NumberOfProjectsCollector.java:42) at com.google.common.base.Suppliers$ExpiringMemoizingSupplier.get(Suppliers.java:243) at com.googlesource.gerrit.plugins.gitrepometrics.collectors.NumberOfProjectsCollector.get(NumberOfProjectsCollector.java:58) at com.googlesource.gerrit.plugins.gitrepometrics.collectors.NumberOfProjectsCollector.get(NumberOfProjectsCollector.java:30) at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:86) at com.google.inject.internal.BoundProviderFactory.provision(BoundProviderFactory.java:72) at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:60) at com.google.inject.internal.BoundProviderFactory.get(BoundProviderFactory.java:59) at com.google.inject.internal.InjectorImpl$1.get(InjectorImpl.java:1100) ... 59 more Caused by: com.google.gerrit.extensions.restapi.BadRequestException: missing query field at com.google.gerrit.server.restapi.project.QueryProjects.apply(QueryProjects.java:99) at com.google.gerrit.server.api.projects.ProjectsImpl.query(ProjectsImpl.java:157) at com.google.gerrit.server.api.projects.ProjectsImpl$2.get(ProjectsImpl.java:140) at com.googlesource.gerrit.plugins.gitrepometrics.collectors.NumberOfProjectsCollector.queryNumberOfProjects(NumberOfProjectsCollector.java:49) ... 68 more FAILURES!!! Tests run: 21, Failures: 1 BazelTestRunner exiting with a return value of 1 JVM shutdown hooks (if any) will run now. The JVM will exit once they complete. -- JVM shutdown starting at 2024-06-19 14:40:25 -- ================================================================================ ==================== Test output for //plugins/git-repo-metrics:git-repo-metrics_tests: JUnit4 Test Runner .log4j:WARN No appenders could be found for logger (org.eclipse.jgit.internal.util.ShutdownHook). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. Auto-configured "receive.autogc = false" to disable auto-gc after git-receive-pack. Initialized /home/jenkins/.cache/bazel/_bazel_jenkins/b31b0cc02711604a4b67e479bd047ad9/sandbox/linux-sandbox/566/execroot/gerrit/_tmp/e85416703bc1ba32e98d668d13e29edc/junit14244855657127263389/junit8203159686243399941 Reindexed 0 documents in accounts index in 0.0s (0.0/s) Index accounts in version 12 is ready Reindexing groups: 50% (1/2) Reindexing groups: 100% (2/2) Reindexing groups: 100% (2/2) Reindexed 2 documents in groups index in 0.2s (8.4/s) Index groups in version 9 is ready Reindexing changes: Slicing projects: 100% (2/2), done Reindexed 0 documents in changes index in 0.0s (0.0/s) Index changes in version 79 is ready Reindexing projects: 50% (1/2) Reindexing projects: 100% (2/2) Reindexing projects: 100% (2/2) Reindexed 2 documents in projects index in 0.1s (28.2/s) Index projects in version 5 is ready [2024-06-19T14:40:32.998Z] [pool-11-thread-1] WARN com.google.gerrit.server.config.GitwebCgiConfig : gitweb not installed (no /usr/lib/cgi-bin/gitweb.cgi found) [2024-06-19T14:40:33.215Z] [pool-11-thread-1] WARN org.openid4java.server.RealmVerifier : RP discovery / realm validation disabled; [2024-06-19T14:40:33.252Z] [pool-11-thread-1] INFO org.eclipse.jetty.util.log : Logging initialized @7317ms to org.eclipse.jetty.util.log.Slf4jLog [2024-06-19T14:40:33.335Z] [pool-11-thread-1] INFO com.google.gerrit.server.git.SystemReaderInstaller : Set JGit's SystemReader to read system config from /home/jenkins/.cache/bazel/_bazel_jenkins/b31b0cc02711604a4b67e479bd047ad9/sandbox/linux-sandbox/566/execroot/gerrit/_tmp/e85416703bc1ba32e98d668d13e29edc/junit14244855657127263389/junit8203159686243399941/etc/jgit.config [2024-06-19T14:40:33.336Z] [pool-11-thread-1] INFO com.google.gerrit.server.git.LocalDiskRepositoryManager : Defaulting core.streamFileThreshold to 2047m [2024-06-19T14:40:33.427Z] [pool-11-thread-1] WARN com.google.gerrit.server.project.PeriodicProjectListCacheWarmer : project_list cache warmer is disabled [2024-06-19T14:40:33.429Z] [pool-11-thread-1] INFO com.google.gerrit.server.plugins.PluginLoader : Loading plugins from /home/jenkins/.cache/bazel/_bazel_jenkins/b31b0cc02711604a4b67e479bd047ad9/sandbox/linux-sandbox/566/execroot/gerrit/_tmp/e85416703bc1ba32e98d668d13e29edc/junit14244855657127263389/junit8203159686243399941/plugins [2024-06-19T14:40:33.440Z] [pool-11-thread-1] INFO com.google.gerrit.server.config.ScheduleConfig : No schedule configuration for "accountDeactivation". [2024-06-19T14:40:33.539Z] [pool-11-thread-1] INFO org.eclipse.jetty.server.Server : jetty-9.4.53.v20231009; built: 2023-10-09T12:29:09.265Z; git: 27bde00a0b95a1d5bbee0eae7984f891d2d0f8c9; jvm 11.0.15+10-LTS [2024-06-19T14:40:33.566Z] [pool-11-thread-1] INFO org.eclipse.jetty.server.session : DefaultSessionIdManager workerName=node0 [2024-06-19T14:40:33.566Z] [pool-11-thread-1] INFO org.eclipse.jetty.server.session : No SessionScavenger set, using defaults [2024-06-19T14:40:33.568Z] [pool-11-thread-1] INFO org.eclipse.jetty.server.session : node0 Scavenging every 600000ms [2024-06-19T14:40:33.613Z] [pool-11-thread-1] INFO org.eclipse.jetty.server.handler.ContextHandler : Started o.e.j.s.ServletContextHandler@4e23657{/,null,AVAILABLE} [2024-06-19T14:40:33.634Z] [pool-11-thread-1] INFO org.eclipse.jetty.server.AbstractConnector : Started ServerConnector@1ef9f632{HTTP/1.1, (http/1.1)}{localhost:39733} [2024-06-19T14:40:33.635Z] [pool-11-thread-1] INFO org.eclipse.jetty.server.Server : Started @7700ms [2024-06-19T14:40:33.637Z] [pool-11-thread-1] INFO com.google.gerrit.pgm.Daemon : Gerrit Code Review [headless] (dev) ready Gerrit Server Started [2024-06-19T14:40:34.063Z] [main] INFO com.googlesource.gerrit.plugins.gitrepometrics.RepoCountMetricRegister : Registering metric numberofprojects [2024-06-19T14:40:34.065Z] [main] WARN com.googlesource.gerrit.plugins.gitrepometrics.collectors.NumberOfProjectsCollector : Unable to query Gerrit projects list com.google.gerrit.extensions.restapi.BadRequestException: missing query field at com.google.gerrit.server.restapi.project.QueryProjects.apply(QueryProjects.java:99) at com.google.gerrit.server.api.projects.ProjectsImpl.query(ProjectsImpl.java:157) at com.google.gerrit.server.api.projects.ProjectsImpl$2.get(ProjectsImpl.java:140) at com.googlesource.gerrit.plugins.gitrepometrics.collectors.NumberOfProjectsCollector.queryNumberOfProjects(NumberOfProjectsCollector.java:49) at com.googlesource.gerrit.plugins.gitrepometrics.collectors.NumberOfProjectsCollector.lambda$new$0(NumberOfProjectsCollector.java:42) at com.google.common.base.Suppliers$ExpiringMemoizingSupplier.get(Suppliers.java:243) at com.googlesource.gerrit.plugins.gitrepometrics.collectors.NumberOfProjectsCollector.get(NumberOfProjectsCollector.java:58) at com.googlesource.gerrit.plugins.gitrepometrics.collectors.NumberOfProjectsCollector.get(NumberOfProjectsCollector.java:30) at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:86) at com.google.inject.internal.BoundProviderFactory.provision(BoundProviderFactory.java:72) at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:60) at com.google.inject.internal.BoundProviderFactory.get(BoundProviderFactory.java:59) at com.google.inject.internal.InjectorImpl$1.get(InjectorImpl.java:1100) at com.google.gerrit.metrics.MetricMaker.lambda$newCallbackMetric$1(MetricMaker.java:119) at com.google.gerrit.metrics.dropwizard.CallbackGroup.run(CallbackGroup.java:49) at com.google.gerrit.metrics.dropwizard.DropWizardMetricMaker.newTrigger(DropWizardMetricMaker.java:336) at com.google.gerrit.server.plugins.PluginMetricMaker.newTrigger(PluginMetricMaker.java:161) at com.google.gerrit.metrics.MetricMaker.newTrigger(MetricMaker.java:144) at com.google.gerrit.metrics.MetricMaker.newCallbackMetric(MetricMaker.java:119) at com.googlesource.gerrit.plugins.gitrepometrics.RepoCountMetricRegister.start(RepoCountMetricRegister.java:48) at com.google.gerrit.lifecycle.LifecycleManager.start(LifecycleManager.java:95) at com.google.gerrit.server.plugins.ServerPlugin.startPlugin(ServerPlugin.java:253) at com.google.gerrit.server.plugins.ServerPlugin.start(ServerPlugin.java:182) at com.google.gerrit.server.plugins.TestServerPlugin.start(TestServerPlugin.java:78) at com.google.gerrit.acceptance.LightweightPluginDaemonTest.setUpTestPlugin(LightweightPluginDaemonTest.java:50) at com.googlesource.gerrit.plugins.gitrepometrics.GitRepoMetricsCacheIT.setUpTestPlugin(GitRepoMetricsCacheIT.java:53) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48) at com.google.gerrit.acceptance.AbstractDaemonTest$1$1.evaluate(AbstractDaemonTest.java:236) at org.junit.rules.RunRules.evaluate(RunRules.java:20) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48) at org.junit.rules.RunRules.evaluate(RunRules.java:20) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:108) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at org.junit.runner.JUnitCore.run(JUnitCore.java:115) at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:116) at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:145) at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:76) [2024-06-19T14:40:34.085Z] [main] INFO org.eclipse.jetty.server.AbstractConnector : Stopped ServerConnector@1ef9f632{HTTP/1.1, (http/1.1)}{localhost:0} [2024-06-19T14:40:34.086Z] [main] INFO org.eclipse.jetty.server.session : node0 Stopped scavenging [2024-06-19T14:40:34.088Z] [main] INFO org.eclipse.jetty.server.handler.ContextHandler : Stopped o.e.j.s.ServletContextHandler@4e23657{/,null,STOPPED} Gerrit Server Shutdown E.................... Time: 8.735 There was 1 failure: 1) shouldRegisterAllMetrics(com.googlesource.gerrit.plugins.gitrepometrics.GitRepoMetricsCacheIT) com.google.inject.ProvisionException: Unable to provision, see the following errors: 1) [Guice/ErrorInCustomProvider]: IllegalStateException: BadRequestException: missing query field while locating NumberOfProjectsCollector while locating Long annotated with @Named(value="num-projects") Learn more: https://github.com/google/guice/wiki/ERROR_IN_CUSTOM_PROVIDER 1 error ====================== Full classname legend: ====================== BadRequestException: "com.google.gerrit.extensions.restapi.BadRequestException" Named: "com.google.inject.name.Named" NumberOfProjectsCollector: "com.googlesource.gerrit.plugins.gitrepometrics.collectors.NumberOfProjectsCollector" ======================== End of classname legend: ======================== at com.google.inject.internal.InternalProvisionException.toProvisionException(InternalProvisionException.java:251) at com.google.inject.internal.InjectorImpl$1.get(InjectorImpl.java:1103) at com.google.gerrit.metrics.MetricMaker.lambda$newCallbackMetric$1(MetricMaker.java:119) at com.google.gerrit.metrics.dropwizard.CallbackGroup.run(CallbackGroup.java:49) at com.google.gerrit.metrics.dropwizard.DropWizardMetricMaker.newTrigger(DropWizardMetricMaker.java:336) at com.google.gerrit.server.plugins.PluginMetricMaker.newTrigger(PluginMetricMaker.java:161) at com.google.gerrit.metrics.MetricMaker.newTrigger(MetricMaker.java:144) at com.google.gerrit.metrics.MetricMaker.newCallbackMetric(MetricMaker.java:119) at com.googlesource.gerrit.plugins.gitrepometrics.RepoCountMetricRegister.start(RepoCountMetricRegister.java:48) at com.google.gerrit.lifecycle.LifecycleManager.start(LifecycleManager.java:95) at com.google.gerrit.server.plugins.ServerPlugin.startPlugin(ServerPlugin.java:253) at com.google.gerrit.server.plugins.ServerPlugin.start(ServerPlugin.java:182) at com.google.gerrit.server.plugins.TestServerPlugin.start(TestServerPlugin.java:78) at com.google.gerrit.acceptance.LightweightPluginDaemonTest.setUpTestPlugin(LightweightPluginDaemonTest.java:50) at com.googlesource.gerrit.plugins.gitrepometrics.GitRepoMetricsCacheIT.setUpTestPlugin(GitRepoMetricsCacheIT.java:53) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48) at com.google.gerrit.acceptance.AbstractDaemonTest$1$1.evaluate(AbstractDaemonTest.java:236) at org.junit.rules.RunRules.evaluate(RunRules.java:20) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48) at org.junit.rules.RunRules.evaluate(RunRules.java:20) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:108) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at org.junit.runner.JUnitCore.run(JUnitCore.java:115) at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:116) at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:145) at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:76) Caused by: java.lang.IllegalStateException: com.google.gerrit.extensions.restapi.BadRequestException: missing query field at com.googlesource.gerrit.plugins.gitrepometrics.collectors.NumberOfProjectsCollector.queryNumberOfProjects(NumberOfProjectsCollector.java:52) at com.googlesource.gerrit.plugins.gitrepometrics.collectors.NumberOfProjectsCollector.lambda$new$0(NumberOfProjectsCollector.java:42) at com.google.common.base.Suppliers$ExpiringMemoizingSupplier.get(Suppliers.java:243) at com.googlesource.gerrit.plugins.gitrepometrics.collectors.NumberOfProjectsCollector.get(NumberOfProjectsCollector.java:58) at com.googlesource.gerrit.plugins.gitrepometrics.collectors.NumberOfProjectsCollector.get(NumberOfProjectsCollector.java:30) at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:86) at com.google.inject.internal.BoundProviderFactory.provision(BoundProviderFactory.java:72) at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:60) at com.google.inject.internal.BoundProviderFactory.get(BoundProviderFactory.java:59) at com.google.inject.internal.InjectorImpl$1.get(InjectorImpl.java:1100) ... 59 more Caused by: com.google.gerrit.extensions.restapi.BadRequestException: missing query field at com.google.gerrit.server.restapi.project.QueryProjects.apply(QueryProjects.java:99) at com.google.gerrit.server.api.projects.ProjectsImpl.query(ProjectsImpl.java:157) at com.google.gerrit.server.api.projects.ProjectsImpl$2.get(ProjectsImpl.java:140) at com.googlesource.gerrit.plugins.gitrepometrics.collectors.NumberOfProjectsCollector.queryNumberOfProjects(NumberOfProjectsCollector.java:49) ... 68 more FAILURES!!! Tests run: 21, Failures: 1 BazelTestRunner exiting with a return value of 1 JVM shutdown hooks (if any) will run now. The JVM will exit once they complete. -- JVM shutdown starting at 2024-06-19 14:40:35 -- ================================================================================ INFO: Elapsed time: 65.226s, Critical Path: 64.00s INFO: 161 processes: 5 internal, 70 linux-sandbox, 86 worker. INFO: Build completed, 1 test FAILED, 161 total actions //tools/bzl:always_pass_test PASSED in 0.0s //plugins/git-repo-metrics:git-repo-metrics_tests FAILED in 3 out of 3 in 10.8s Stats over 3 runs: max = 10.8s, min = 9.3s, avg = 10.1s, dev = 0.6s /home/jenkins/.cache/bazel/_bazel_jenkins/b31b0cc02711604a4b67e479bd047ad9/execroot/gerrit/bazel-out/k8-fastbuild/testlogs/plugins/git-repo-metrics/git-repo-metrics_tests/test.log /home/jenkins/.cache/bazel/_bazel_jenkins/b31b0cc02711604a4b67e479bd047ad9/execroot/gerrit/bazel-out/k8-fastbuild/testlogs/plugins/git-repo-metrics/git-repo-metrics_tests/test_attempts/attempt_1.log /home/jenkins/.cache/bazel/_bazel_jenkins/b31b0cc02711604a4b67e479bd047ad9/execroot/gerrit/bazel-out/k8-fastbuild/testlogs/plugins/git-repo-metrics/git-repo-metrics_tests/test_attempts/attempt_2.log Executed 2 out of 2 tests: 1 test passes and 1 fails locally. There were tests whose specified size is too big. Use the --test_verbose_timeout_warnings command line option to see which ones these are. Build step 'Execute shell' marked build as failure Archiving artifacts Finished: FAILURE