Started by upstream project "Gerrit-verifier-pipeline/41%2F501341%2F1" build number 1 originally caused by: Branch indexing Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on docker-00ec835eydc06 on dockerhost (bazel-debian bazel-debian-chrome-latest) in workspace /home/jenkins/workspace/Gerrit-codestyle 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/gerrit > git init /home/jenkins/workspace/Gerrit-codestyle/gerrit # timeout=10 Using reference repository: /home/jenkins/gerrit-reference.git Fetching upstream changes from https://gerrit.googlesource.com/a/gerrit > git --version # timeout=10 > git --version # 'git version 2.47.0' using GIT_ASKPASS to set credentials .netrc credentials for gerrit.googlesource.com > git fetch --tags --force --progress -- https://gerrit.googlesource.com/a/gerrit +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url https://gerrit.googlesource.com/a/gerrit # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.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 > git fetch --tags --force --progress -- https://gerrit.googlesource.com/a/gerrit refs/changes/41/501341/1 # timeout=10 > git rev-parse 10c8356b4ecd30d2bd2ece7f27bdd4229b8dbae0^{commit} # timeout=10 Checking out Revision 10c8356b4ecd30d2bd2ece7f27bdd4229b8dbae0 (detached) > git config core.sparsecheckout # timeout=10 > git checkout -f 10c8356b4ecd30d2bd2ece7f27bdd4229b8dbae0 # timeout=10 Commit message: "Move fetch methods into account-util" > git rev-list --no-walk f13b0291d2d850eb80e181b0758223c05e025cd6 # timeout=10 First time build. Skipping changelog. [Gerrit-codestyle] $ /bin/bash -e /tmp/jenkins3303342371256641433.sh [Gerrit-codestyle] $ /bin/bash -e /tmp/jenkins2825106715029433184.sh From https://gerrit.googlesource.com/a/gerrit * branch master -> FETCH_HEAD Automatic merge went well; stopped before committing as requested [Gerrit-codestyle] $ /bin/bash -e /tmp/jenkins13749222152520704624.sh Submodule 'modules/java-prettify' (https://gerrit.googlesource.com/a/java-prettify) registered for path 'modules/java-prettify' 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' Updating all submodules ... Cloning into '/home/jenkins/workspace/Gerrit-codestyle/gerrit/modules/java-prettify'... Cloning into '/home/jenkins/workspace/Gerrit-codestyle/gerrit/modules/jgit'... Cloning into '/home/jenkins/workspace/Gerrit-codestyle/gerrit/plugins/codemirror-editor'... Cloning into '/home/jenkins/workspace/Gerrit-codestyle/gerrit/plugins/commit-message-length-validator'... Cloning into '/home/jenkins/workspace/Gerrit-codestyle/gerrit/plugins/delete-project'... Cloning into '/home/jenkins/workspace/Gerrit-codestyle/gerrit/plugins/download-commands'... Cloning into '/home/jenkins/workspace/Gerrit-codestyle/gerrit/plugins/gitiles'... Cloning into '/home/jenkins/workspace/Gerrit-codestyle/gerrit/plugins/hooks'... Cloning into '/home/jenkins/workspace/Gerrit-codestyle/gerrit/plugins/plugin-manager'... Cloning into '/home/jenkins/workspace/Gerrit-codestyle/gerrit/plugins/replication'... Cloning into '/home/jenkins/workspace/Gerrit-codestyle/gerrit/plugins/reviewnotes'... Cloning into '/home/jenkins/workspace/Gerrit-codestyle/gerrit/plugins/singleusergroup'... Cloning into '/home/jenkins/workspace/Gerrit-codestyle/gerrit/plugins/webhooks'... Cloning into '/home/jenkins/workspace/Gerrit-codestyle/gerrit/polymer-bridges'... Submodule path 'modules/java-prettify': checked out '32fa081a797a97beaf77a4f2efca26c39168e72f' Submodule path 'modules/jgit': checked out '7a46fa6f8a5028a65c4b420d04ca6a10fd346c13' Submodule path 'plugins/codemirror-editor': checked out 'da17ffe8d1484d5a2212d31823c38797d2bd02f8' Submodule path 'plugins/commit-message-length-validator': checked out 'c38e0a9d36767092b20558b28eff7f546c6d754c' Submodule path 'plugins/delete-project': checked out 'fc206bd03f34d18b7a305132cc30c656168e25b9' Submodule path 'plugins/download-commands': checked out '04a31c1a520eac9d1844acc52665d0892bc4e35f' Submodule path 'plugins/gitiles': checked out '5ee7f57486a1c1b5121e9979b8496706ae2891e5' Submodule path 'plugins/hooks': checked out '7d4f143a988c8f5595000684c1f0dd4501546e48' Submodule path 'plugins/plugin-manager': checked out '578aa64d05fa982f41c2db72253c9b43c3f0d03e' Submodule path 'plugins/replication': checked out 'b62454c285f78f23996864c9f920473f8f3d0f6a' Submodule path 'plugins/reviewnotes': checked out 'd94078c4734085cff50e3b886d9cd1aa052a7ae4' Submodule path 'plugins/singleusergroup': checked out '4bee62cbbc21979b841843dd5faaf79470a35966' Submodule path 'plugins/webhooks': checked out 'b00a2c28eb1412312e03b541b6e2dbeefea0247a' Submodule path 'polymer-bridges': checked out '855f4781b702de120953a64da5c277ea4908deaa' [Gerrit-codestyle] $ /bin/bash -e /tmp/jenkins12892794939367003677.sh fatal: not a git repository (or any of the parent directories): .git [Gerrit-codestyle] $ /bin/bash -xe /tmp/jenkins11677288316264724806.sh + NEW_GJF_SH=./tools/gjf.sh + OLD_SETUP_GJF_SH=./tools/setup_gjf.sh + cd gerrit + '[' -f ./tools/gjf.sh ']' + echo 'Using new "./tools/gjf.sh".' Using new "./tools/gjf.sh". ++ ./tools/gjf.sh default-version + GJF_VERSION=1.24.0 + GJF=/home/jenkins/format/google-java-format-1.24.0 + '[' '!' -f /home/jenkins/format/google-java-format-1.24.0 ']' + ./tools/gjf.sh setup Setting up Google Java Format 1.24.0. Download https://github.com/google/google-java-format/releases/download/v1.24.0/google-java-format-1.24.0-all-deps.jar Installed launcher script at /home/jenkins/workspace/Gerrit-codestyle/gerrit/tools/format/google-java-format-1.24.0 To set up an alias, add the following to your ~/.bashrc or equivalent: alias google-java-format='/home/jenkins/workspace/Gerrit-codestyle/gerrit/tools/format/google-java-format-1.24.0' + GJF=tools/format/google-java-format-1.24.0 + echo 'Running google-java-format check...' Running google-java-format check... + git show --diff-filter=AM --name-only --pretty= HEAD + grep 'java$' + xargs -r tools/format/google-java-format-1.24.0 -n --set-exit-if-changed [Gerrit-codestyle] $ /bin/bash -xe /tmp/jenkins18115163079860930293.sh + git show --diff-filter=AM --name-only --pretty= HEAD + grep -q .bazelversion fatal: not a git repository (or any of the parent directories): .git + . set-java.sh --branch master ++ '[' --branch == '' ']' ++ '[' --branch == --branch ']' ++ shift ++ case "$1" in ++ JAVA_VERSION=21 ++ export JAVA_HOME=/usr/lib/jvm/java-21-openjdk-amd64 ++ JAVA_HOME=/usr/lib/jvm/java-21-openjdk-amd64 ++ export PATH=/usr/lib/jvm/java-21-openjdk-amd64/bin:/usr/lib/jvm/java-21-openjdk-amd64/jre/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin ++ PATH=/usr/lib/jvm/java-21-openjdk-amd64/bin:/usr/lib/jvm/java-21-openjdk-amd64/jre/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +++ which java ++ echo 'Java set to: /usr/lib/jvm/java-21-openjdk-amd64/bin/java' Java set to: /usr/lib/jvm/java-21-openjdk-amd64/bin/java ++ '[' 21 == 11 ']' ++ '[' 21 == 17 ']' ++ '[' 21 == 21 ']' ++ export 'BAZEL_OPTS= --sandbox_tmpfs_path=/tmp' ++ BAZEL_OPTS=' --sandbox_tmpfs_path=/tmp' + cd gerrit + bazelisk version Bazelisk version: v1.12.0 Starting local Bazel server and connecting to it... Build label: 7.2.1 Build target: @@//src/main/java/com/google/devtools/build/lib/bazel:BazelServer Build time: Tue Jun 25 15:53:05 2024 (1719330785) Build timestamp: 1719330785 Build timestamp as int: 1719330785 + git show --diff-filter=AM --name-only --pretty= HEAD + grep -q polygerrit-ui + echo 'Running PolyGerrit lint check...' Running PolyGerrit lint check... + java -fullversion openjdk full version "21.0.5+11-Debian-1" + bazelisk test //polygerrit-ui/app:lint_test INFO: Invocation ID: cf6146a2-5a1d-49cf-8e9c-67fb7db2f5cd INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'test' from /home/jenkins/workspace/Gerrit-codestyle/gerrit/.bazelrc: Inherited 'common' options: --noenable_bzlmod --incompatible_enable_proto_toolchain_resolution INFO: Reading rc options for 'test' from /home/jenkins/workspace/Gerrit-codestyle/gerrit/.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=21 --java_runtime_version=remotejdk_21 --tool_java_language_version=21 --tool_java_runtime_version=remotejdk_21 --incompatible_strict_action_env --announce_rc INFO: Reading rc options for 'test' from /home/jenkins/workspace/Gerrit-codestyle/gerrit/.bazelrc: 'test' options: --build_tests_only --test_output=errors Computing main repo mapping: Computing main repo mapping: Loading: Loading: 0 packages loaded Loading: 0 packages loaded currently loading: polygerrit-ui/app Loading: 0 packages loaded currently loading: polygerrit-ui/app Loading: 0 packages loaded currently loading: polygerrit-ui/app Loading: 0 packages loaded currently loading: polygerrit-ui/app Analyzing: target //polygerrit-ui/app:lint_test (1 packages loaded) Analyzing: target //polygerrit-ui/app:lint_test (1 packages loaded, 0 targets configured) Analyzing: target //polygerrit-ui/app:lint_test (1 packages loaded, 0 targets configured) [0 / 1] checking cached actions Analyzing: target //polygerrit-ui/app:lint_test (400 packages loaded, 21703 targets configured) [1 / 1] checking cached actions Analyzing: target //polygerrit-ui/app:lint_test (405 packages loaded, 21742 targets configured) [1 / 1] checking cached actions Analyzing: target //polygerrit-ui/app:lint_test (405 packages loaded, 21742 targets configured) [1 / 1] checking cached actions Analyzing: target //polygerrit-ui/app:lint_test (447 packages loaded, 30850 targets configured) [1 / 1] checking cached actions Analyzing: target //polygerrit-ui/app:lint_test (447 packages loaded, 30850 targets configured) [1 / 1] checking cached actions Analyzing: target //polygerrit-ui/app:lint_test (638 packages loaded, 31862 targets configured) [1 / 1] checking cached actions INFO: Analyzed target //polygerrit-ui/app:lint_test (837 packages loaded, 43891 targets configured). [1 / 6] [Prepa] Writing repo mapping manifest for //polygerrit-ui/app:lint_test [6 / 7] Creating runfiles tree bazel-out/k8-fastbuild/bin/polygerrit-ui/app/lint_test.sh.runfiles; 0s local [7 / 8] [Prepa] Testing //polygerrit-ui/app:lint_test [7 / 8] Testing //polygerrit-ui/app:lint_test; 0s local [7 / 8] Testing //polygerrit-ui/app:lint_test; 10s local [7 / 8] Testing //polygerrit-ui/app:lint_test; 40s local [7 / 8] Testing //polygerrit-ui/app:lint_test; 60s local INFO: Found 1 test target... Target //polygerrit-ui/app:lint_test up-to-date: bazel-bin/polygerrit-ui/app/lint_test.sh bazel-bin/polygerrit-ui/app/lint_test_require_patch.cjs INFO: Elapsed time: 106.384s, Critical Path: 64.34s INFO: 8 processes: 6 internal, 2 local. INFO: Build completed successfully, 8 total actions //polygerrit-ui/app:lint_test PASSED in 60.8s Executed 1 out of 1 test: 1 test passes. There were tests whose specified size is too big. Use the --test_verbose_timeout_warnings command line option to see which ones these are. + [[ master == \m\a\s\t\e\r ]] + bazelisk test //polygerrit-ui/app:lit_analysis INFO: Invocation ID: 7fc21758-4537-4a7e-a970-5a1026d15be9 INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'test' from /home/jenkins/workspace/Gerrit-codestyle/gerrit/.bazelrc: Inherited 'common' options: --noenable_bzlmod --incompatible_enable_proto_toolchain_resolution INFO: Reading rc options for 'test' from /home/jenkins/workspace/Gerrit-codestyle/gerrit/.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=21 --java_runtime_version=remotejdk_21 --tool_java_language_version=21 --tool_java_runtime_version=remotejdk_21 --incompatible_strict_action_env --announce_rc INFO: Reading rc options for 'test' from /home/jenkins/workspace/Gerrit-codestyle/gerrit/.bazelrc: 'test' options: --build_tests_only --test_output=errors Computing main repo mapping: Loading: Loading: 0 packages loaded Analyzing: target //polygerrit-ui/app:lit_analysis (1 packages loaded, 0 targets configured) Analyzing: target //polygerrit-ui/app:lit_analysis (1 packages loaded, 0 targets configured) [0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt INFO: Analyzed target //polygerrit-ui/app:lit_analysis (25 packages loaded, 4333 targets configured). [5 / 7] Creating source manifest for //polygerrit-ui/app:lit_analysis; 0s local [6 / 7] Creating runfiles tree bazel-out/k8-fastbuild/bin/polygerrit-ui/app/lit_analysis.sh.runfiles; 1s local [7 / 8] [Prepa] Testing //polygerrit-ui/app:lit_analysis [7 / 8] Testing //polygerrit-ui/app:lit_analysis; 0s local [7 / 8] Testing //polygerrit-ui/app:lit_analysis; 9s local INFO: Found 1 test target... Target //polygerrit-ui/app:lit_analysis up-to-date: bazel-bin/polygerrit-ui/app/lit_analysis.sh bazel-bin/polygerrit-ui/app/lit_analysis_require_patch.cjs INFO: Elapsed time: 13.630s, Critical Path: 11.71s INFO: 8 processes: 6 internal, 2 local. INFO: Build completed successfully, 8 total actions //polygerrit-ui/app:lit_analysis PASSED in 9.1s Executed 1 out of 1 test: 1 test passes. There were tests whose specified size is too big. Use the --test_verbose_timeout_warnings command line option to see which ones these are. [Gerrit-codestyle] $ /bin/bash -e /tmp/jenkins13389720472016955405.sh Running buildifier check... buildifier version: 4.0.0 buildifier scm revision: 840218fa3afc7e7145c1eeb3bfeb612c497e67f7 Finished: SUCCESS