Started by an SCM change Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on ha:////4JlZnXP+2owu0Zwn6ctrpc5rP4KoVIF3uTBJk+X1jaHyAAAAqh+LCAAAAAAAAP9b85aBtbiIQTGjNKU4P08vOT+vOD8nVc83PyU1x6OyILUoJzMv2y+/JJUBAhiZGBgqihhk0NSjKDWzXb3RdlLBUSYGJk8GtpzUvPSSDB8G5tKinBIGIZ+sxLJE/ZzEvHT94JKizLx0a6BxUmjGOUNodHsLgAz5EgY5/eT83ILSktQi/ZT85OzUIl0DA0MDc3OL8uRyI6MyABLvSifTAAAAdocker-0010778wcw22v on gcloud2 (bazel-debian bazel-chrome-69 bazel-debian-chrome-69) in workspace /home/jenkins/workspace/plugin-serviceuser-bazel-stable-3.6 Selected Git installation does not exist. Using Default Wiping out workspace first. Cloning the remote Git repository Avoid fetching tags Cloning repository https://gerrit.googlesource.com/a/gerrit > /usr/bin/git init /home/jenkins/workspace/plugin-serviceuser-bazel-stable-3.6 # timeout=10 Fetching upstream changes from https://gerrit.googlesource.com/a/gerrit > /usr/bin/git --version # timeout=10 using GIT_ASKPASS to set credentials .netrc credentials for gerrit.googlesource.com > /usr/bin/git fetch --no-tags --force --progress -- https://gerrit.googlesource.com/a/gerrit +refs/heads/*:refs/remotes/gerrit/* # timeout=10 > /usr/bin/git config remote.gerrit.url https://gerrit.googlesource.com/a/gerrit # timeout=10 > /usr/bin/git config --add remote.gerrit.fetch +refs/heads/*:refs/remotes/gerrit/* # timeout=10 > /usr/bin/git config remote.gerrit.url https://gerrit.googlesource.com/a/gerrit # timeout=10 Fetching upstream changes from https://gerrit.googlesource.com/a/gerrit using GIT_ASKPASS to set credentials .netrc credentials for gerrit.googlesource.com > /usr/bin/git fetch --no-tags --force --progress -- https://gerrit.googlesource.com/a/gerrit +refs/heads/*:refs/remotes/gerrit/* # timeout=10 > /usr/bin/git config remote.origin.url https://gerrit.googlesource.com/a/plugins/serviceuser # timeout=10 Fetching upstream changes from https://gerrit.googlesource.com/a/plugins/serviceuser using GIT_ASKPASS to set credentials .netrc credentials for gerrit.googlesource.com > /usr/bin/git fetch --no-tags --force --progress -- https://gerrit.googlesource.com/a/plugins/serviceuser +refs/heads/*:refs/remotes/origin/* # timeout=10 > /usr/bin/git rev-parse origin/stable-3.6^{commit} # timeout=10 > /usr/bin/git rev-parse refs/remotes/gerrit/origin/stable-3.6^{commit} # timeout=10 > /usr/bin/git rev-parse refs/remotes/origin/stable-3.6^{commit} # timeout=10 > /usr/bin/git rev-parse refs/remotes/origin/origin/stable-3.6^{commit} # timeout=10 Checking out Revision 56466327b773fa266d3a1371cbf244b7a0082b20 (origin/stable-3.6) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f 56466327b773fa266d3a1371cbf244b7a0082b20 # timeout=10 Commit message: "Fix commit validation and add unit tests" > /usr/bin/git rev-list --no-walk 7c489de939c2e3de3b1565564618de8d628a158e # timeout=10 [plugin-serviceuser-bazel-stable-3.6] $ /bin/bash -e /tmp/jenkins9031781566332272086.sh [plugin-serviceuser-bazel-stable-3.6] $ /bin/bash -e /tmp/jenkins7561283553256330312.sh Java set to: /usr/lib/jvm/java-11-openjdk-amd64/bin/java Previous HEAD position was 56466327b7 Fix commit validation and add unit tests Switched to a new branch 'stable-3.6' Branch 'stable-3.6' set up to track remote branch 'stable-3.6' from 'gerrit'. 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-serviceuser-bazel-stable-3.6/modules/jgit'... Cloning into '/home/jenkins/workspace/plugin-serviceuser-bazel-stable-3.6/plugins/codemirror-editor'... Cloning into '/home/jenkins/workspace/plugin-serviceuser-bazel-stable-3.6/plugins/commit-message-length-validator'... Cloning into '/home/jenkins/workspace/plugin-serviceuser-bazel-stable-3.6/plugins/delete-project'... Cloning into '/home/jenkins/workspace/plugin-serviceuser-bazel-stable-3.6/plugins/download-commands'... Cloning into '/home/jenkins/workspace/plugin-serviceuser-bazel-stable-3.6/plugins/gitiles'... Cloning into '/home/jenkins/workspace/plugin-serviceuser-bazel-stable-3.6/plugins/hooks'... Cloning into '/home/jenkins/workspace/plugin-serviceuser-bazel-stable-3.6/plugins/plugin-manager'... Cloning into '/home/jenkins/workspace/plugin-serviceuser-bazel-stable-3.6/plugins/replication'... Cloning into '/home/jenkins/workspace/plugin-serviceuser-bazel-stable-3.6/plugins/reviewnotes'... Cloning into '/home/jenkins/workspace/plugin-serviceuser-bazel-stable-3.6/plugins/singleusergroup'... Cloning into '/home/jenkins/workspace/plugin-serviceuser-bazel-stable-3.6/plugins/webhooks'... Cloning into '/home/jenkins/workspace/plugin-serviceuser-bazel-stable-3.6/polymer-bridges'... Submodule path 'modules/jgit': checked out '5ae8d28faaf6168921f673c89a4e6d601ffad78d' Submodule path 'plugins/codemirror-editor': checked out 'c5bda5b6b5fe91a2f7cd40c5a917dd2280b04814' Submodule path 'plugins/commit-message-length-validator': checked out 'c38e0a9d36767092b20558b28eff7f546c6d754c' Submodule path 'plugins/delete-project': checked out '5717badf4250dfe900c05fc00d0758a09ba77297' 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 '10db2cf772989d031c6f3558010c51fe07cf9722' Submodule path 'plugins/singleusergroup': checked out '3239ce3a471f5aa9edd8f6f702bee655ea81f77d' Submodule path 'plugins/webhooks': checked out 'd8815bf9660b6655696db242b8ad2801e866c036' Submodule path 'polymer-bridges': checked out '855f4781b702de120953a64da5c277ea4908deaa' From https://gerrit.googlesource.com/a/plugins/serviceuser * branch HEAD -> FETCH_HEAD openjdk full version "11.0.18+10-post-Debian-1deb10u1" 2023/08/03 08:51:35 Downloading https://releases.bazel.build/5.3.1/release/bazel-5.3.1-linux-x86_64... 2023/08/03 08:51:35 Skipping basic authentication for releases.bazel.build because no credentials found in /home/jenkins/.netrc Bazelisk version: v1.12.0 Extracting Bazel installation... Starting local Bazel server and connecting to it... Build label: 5.3.1 Build target: bazel-out/k8-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar Build time: Mon Sep 19 17:28:49 2022 (1663608529) Build timestamp: 1663608529 Build timestamp as int: 1663608529 INFO: Invocation ID: 8c38c2a7-ceaf-4120-a794-2fa7b97a6a09 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-serviceuser-bazel-stable-3.6/.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 --host_conlyopt=-std=c90 --incompatible_strict_action_env --announce_rc Loading: Loading: 0 packages loaded Loading: 0 packages loaded Loading: 0 packages loaded Loading: 0 packages loaded Loading: 0 packages loaded Loading: 0 packages loaded currently loading: plugins/serviceuser Loading: 0 packages loaded currently loading: plugins/serviceuser Loading: 0 packages loaded currently loading: plugins/serviceuser Loading: 0 packages loaded currently loading: plugins/serviceuser Loading: 0 packages loaded currently loading: plugins/serviceuser Loading: 0 packages loaded currently loading: plugins/serviceuser Analyzing: target //plugins/serviceuser:serviceuser (1 packages loaded, 0 targets configured) Analyzing: target //plugins/serviceuser:serviceuser (34 packages loaded, 7 targets configured) Analyzing: target //plugins/serviceuser:serviceuser (40 packages loaded, 212 targets configured) Analyzing: target //plugins/serviceuser:serviceuser (249 packages loaded, 5503 targets configured) Analyzing: target //plugins/serviceuser:serviceuser (250 packages loaded, 5961 targets configured) Analyzing: target //plugins/serviceuser:serviceuser (250 packages loaded, 5961 targets configured) INFO: Analyzed target //plugins/serviceuser:serviceuser (284 packages loaded, 6583 targets configured). INFO: Found 1 target... [0 / 74] [Prepa] Writing file external/remote_java_tools/singlejar_cc_bin-2.params ... (2 actions, 0 running) [112 / 395] Compiling src/google/protobuf/compiler/cpp/cpp_file.cc; 9s remote-cache, linux-sandbox ... (63 actions, 62 running) [307 / 554] Compiling src/google/protobuf/descriptor.pb.cc; 9s remote-cache, linux-sandbox ... (61 actions, 60 running) INFO: From Bundling JavaScript plugins/serviceuser/serviceuser-bundle.js [rollup]: plugins/serviceuser/gr-serviceuser/gr-serviceuser.js → bazel-out/k8-fastbuild/bin/plugins/serviceuser/serviceuser-bundle.js... created bazel-out/k8-fastbuild/bin/plugins/serviceuser/serviceuser-bundle.js in 346ms [503 / 554] Building external/jgit/org.eclipse.jgit/libjgit_non_stamped-class.jar (904 source files); 7s remote-cache, multiplex-worker ... (5 actions, 4 running) [516 / 554] Compiling Java headers external/jgit/org.eclipse.jgit.ssh.apache/libssh-apache-hjar.jar (53 source files); 1s remote-cache, linux-sandbox ... (7 actions, 6 running) Target //plugins/serviceuser:serviceuser up-to-date: bazel-bin/plugins/serviceuser/serviceuser.jar INFO: Elapsed time: 151.350s, Critical Path: 53.86s INFO: 554 processes: 1 disk cache hit, 108 internal, 438 linux-sandbox, 7 worker. INFO: Build completed successfully, 554 total actions INFO: Build completed successfully, 554 total actions INFO: Invocation ID: 9e9a2945-3d19-4d7c-98dc-94a615ac6c73 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-serviceuser-bazel-stable-3.6/.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 --host_conlyopt=-std=c90 --incompatible_strict_action_env --announce_rc INFO: Reading rc options for 'test' from /home/jenkins/workspace/plugin-serviceuser-bazel-stable-3.6/.bazelrc: 'test' options: --build_tests_only --test_output=all Loading: Loading: 0 packages loaded INFO: Build option --test_env has changed, discarding analysis cache. Analyzing: 2 targets (1 packages loaded, 0 targets configured) Analyzing: 2 targets (67 packages loaded, 6432 targets configured) INFO: Analyzed 2 targets (69 packages loaded, 6450 targets configured). INFO: Found 2 test targets... [0 / 4] [Prepa] BazelWorkspaceStatusAction stable-status.txt INFO: From Testing //tools/bzl:always_pass_test: ==================== Test output for //tools/bzl:always_pass_test: ================================================================================ [522 / 685] 1 / 2 tests; [Prepa] BazelWorkspaceStatusAction stable-status.txt ... (43 actions, 27 running) [552 / 685] 1 / 2 tests; Building external/com_google_protobuf/java/core/liblite.jar (89 source files, 1 source jar); 2s remote-cache, multiplex-worker ... (64 actions, 42 running) [554 / 685] 1 / 2 tests; Building external/com_google_protobuf/java/core/liblite.jar (89 source files, 1 source jar); 3s remote-cache, multiplex-worker ... (63 actions, 40 running) [568 / 685] 1 / 2 tests; Building external/com_google_protobuf/java/core/liblite.jar (89 source files, 1 source jar); 5s remote-cache, multiplex-worker ... (64 actions, 42 running) [576 / 685] 1 / 2 tests; Building external/com_google_protobuf/java/core/liblite.jar (89 source files, 1 source jar); 6s remote-cache, multiplex-worker ... (64 actions, 40 running) [580 / 685] 1 / 2 tests; Building external/com_google_protobuf/java/core/liblite.jar (89 source files, 1 source jar); 7s remote-cache, multiplex-worker ... (64 actions, 37 running) [582 / 685] 1 / 2 tests; Building external/com_google_protobuf/java/core/liblite.jar (89 source files, 1 source jar); 9s remote-cache, multiplex-worker ... (64 actions, 36 running) [588 / 685] 1 / 2 tests; Building java/com/google/gerrit/util/http/libhttp.jar (2 source files); 10s remote-cache ... (64 actions, 36 running) [602 / 685] 1 / 2 tests; Building external/com_google_protobuf/java/core/libcore.jar (36 source files, 1 source jar); 11s remote-cache, multiplex-worker ... (64 actions, 36 running) [609 / 685] 1 / 2 tests; Building proto/libcache_proto-speed.jar (1 source jar); 6s remote-cache, multiplex-worker ... (64 actions, 36 running) [623 / 685] 1 / 2 tests; Building java/com/google/gerrit/server/cache/h2/libh2.jar (7 source files); 6s remote-cache ... (64 actions, 38 running) [643 / 685] 1 / 2 tests; Building java/com/google/gerrit/httpd/auth/openid/libopenid-class.jar (11 source files); 7s remote-cache ... (64 actions, 38 running) [653 / 685] 1 / 2 tests; Building java/com/google/gerrit/httpd/auth/oauth/liboauth-class.jar (4 source files); 9s remote-cache ... (52 actions, 31 running) [670 / 685] 1 / 2 tests; Building java/com/google/gerrit/server/restapi/librestapi.jar (303 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor, AutoOneOfProcessor); 11s remote-cache, multiplex-worker ... (24 actions, 17 running) [682 / 685] 1 / 2 tests; Building java/com/google/gerrit/server/libserver-class.jar (1126 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor, AutoOneOfProcessor); 11s remote-cache, multiplex-worker ... (4 actions running) [683 / 685] 1 / 2 tests; Building java/com/google/gerrit/server/libserver-class.jar (1126 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor, AutoOneOfProcessor); 22s remote-cache, multiplex-worker [683 / 685] 1 / 2 tests; Building java/com/google/gerrit/server/libserver-class.jar (1126 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor, AutoOneOfProcessor); 30s remote-cache, multiplex-worker [684 / 685] 1 / 2 tests; [Prepa] Building Java resource jar INFO: From Testing //plugins/serviceuser:serviceuser_tests: ==================== Test output for //plugins/serviceuser:serviceuser_tests: JUnit4 Test Runner ......log4j:WARN No appenders could be found for logger (org.eclipse.jgit.internal.storage.file.FileSnapshot). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. ..... Time: 1.115 OK (11 tests) BazelTestRunner exiting with a return value of 0 JVM shutdown hooks (if any) will run now. The JVM will exit once they complete. -- JVM shutdown starting at 2023-08-03 08:55:21 -- ================================================================================ INFO: Elapsed time: 69.492s, Critical Path: 53.64s INFO: 159 processes: 7 internal, 67 linux-sandbox, 85 worker. INFO: Build completed successfully, 159 total actions //plugins/serviceuser:serviceuser_tests PASSED in 1.8s //tools/bzl:always_pass_test PASSED in 0.2s Executed 2 out of 2 tests: 2 tests pass. There were tests whose specified size is too big. Use the --test_verbose_timeout_warnings command line option to see which ones these are. INFO: Build completed successfully, 159 total actions Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 Aug 03, 2023 8:55:22 AM java.util.jar.Attributes read WARNING: Duplicate name in Manifest: Implementation-Version. Ensure that the manifest does not have duplicate entries, and that blank lines separate individual sections in both your manifest and in the META-INF/MANIFEST.MF entry in the jar file. Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 [plugin-serviceuser-bazel-stable-3.6] $ /bin/bash -e /tmp/jenkins8394761953260475517.sh % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2282 0 2282 0 0 54333 0 --:--:-- --:--:-- --:--:-- 54333 Archiving artifacts Finished: SUCCESS