Started by an SCM change Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on ha:////4Nyo+W06A/b3xcn7ImufBBd9XkuLS90gkydE9ZYBs1uwAAAAqx+LCAAAAAAAAP9b85aBtbiIQTGjNKU4P08vOT+vOD8nVc83PyU1x6OyILUoJzMv2y+/JJUBAhiZGBgqihhk0NSjKDWzXb3RdlLBUSYGJk8GtpzUvPSSDB8G5tKinBIGIZ+sxLJE/ZzEvHT94JKizLx0a6BxUmjGOUNodHsLgAzREgZ5/eT83ILSktQi/fTknPzSFDMzXQtzM/OUxLQkEzMLCwA1cklM1AAAAA==gcloud66-8767dafb4688 (bazel-debian bazel-chrome69) in workspace /home/jenkins/workspace/plugin-heartbeat-bazel-stable-3.1 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-heartbeat-bazel-stable-3.1 # 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/heartbeat # timeout=10 Fetching upstream changes from https://gerrit.googlesource.com/a/plugins/heartbeat 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/heartbeat +refs/heads/*:refs/remotes/origin/* # timeout=10 > /usr/bin/git rev-parse origin/stable-3.1^{commit} # timeout=10 > /usr/bin/git rev-parse refs/remotes/gerrit/origin/stable-3.1^{commit} # timeout=10 > /usr/bin/git rev-parse refs/remotes/origin/stable-3.1^{commit} # timeout=10 > /usr/bin/git rev-parse refs/remotes/origin/origin/stable-3.1^{commit} # timeout=10 Checking out Revision 27c0197bf68b1ac402372b8ca46beb56d35576c3 (origin/stable-3.1) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f 27c0197bf68b1ac402372b8ca46beb56d35576c3 # timeout=10 Commit message: "Upgrade bazlets to latest stable-3.1 to build with 3.1.12 API" > /usr/bin/git rev-list --no-walk 1f54b0c486aba90d481db1764061487e914bb270 # timeout=10 [plugin-heartbeat-bazel-stable-3.1] $ /bin/bash -e /tmp/jenkins1999210709212986378.sh [plugin-heartbeat-bazel-stable-3.1] $ /bin/bash -e /tmp/jenkins5514140066120313257.sh Java set to: /usr/lib/jvm/java-8-openjdk-amd64/bin/java Previous HEAD position was 27c0197bf6 Upgrade bazlets to latest stable-3.1 to build with 3.1.12 API Switched to a new branch 'stable-3.1' Branch 'stable-3.1' set up to track remote branch 'stable-3.1' 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' Cloning into '/home/jenkins/workspace/plugin-heartbeat-bazel-stable-3.1/modules/jgit'... Cloning into '/home/jenkins/workspace/plugin-heartbeat-bazel-stable-3.1/plugins/codemirror-editor'... Cloning into '/home/jenkins/workspace/plugin-heartbeat-bazel-stable-3.1/plugins/commit-message-length-validator'... Cloning into '/home/jenkins/workspace/plugin-heartbeat-bazel-stable-3.1/plugins/delete-project'... Cloning into '/home/jenkins/workspace/plugin-heartbeat-bazel-stable-3.1/plugins/download-commands'... Cloning into '/home/jenkins/workspace/plugin-heartbeat-bazel-stable-3.1/plugins/gitiles'... Cloning into '/home/jenkins/workspace/plugin-heartbeat-bazel-stable-3.1/plugins/hooks'... Cloning into '/home/jenkins/workspace/plugin-heartbeat-bazel-stable-3.1/plugins/plugin-manager'... Cloning into '/home/jenkins/workspace/plugin-heartbeat-bazel-stable-3.1/plugins/replication'... Cloning into '/home/jenkins/workspace/plugin-heartbeat-bazel-stable-3.1/plugins/reviewnotes'... Cloning into '/home/jenkins/workspace/plugin-heartbeat-bazel-stable-3.1/plugins/singleusergroup'... Cloning into '/home/jenkins/workspace/plugin-heartbeat-bazel-stable-3.1/plugins/webhooks'... Submodule path 'modules/jgit': checked out 'c9d871f15d4daa4ab959b34d2a0759016e415643' Submodule path 'plugins/codemirror-editor': checked out '59942b1adf1c949f3633f60ac42f67fae03b3255' Submodule path 'plugins/commit-message-length-validator': checked out '556e427fd737744ce8a6a37b89fd427ae59bc8ea' Submodule path 'plugins/delete-project': checked out 'debaa2c6d66b5a3c1bc95bc09283344c88407d40' Submodule path 'plugins/download-commands': checked out '1b98be8d371e68237182df0f04361017f2be2ea8' Submodule path 'plugins/gitiles': checked out 'dcac54b1afe9275bdd0fc8f3afc2c019b6617ad1' Submodule path 'plugins/hooks': checked out '5678f93fa62df1ec2baedc3a407aff71ca96556d' Submodule path 'plugins/plugin-manager': checked out '20bec5084c7b90029b8860cbb2fb9a12928f6979' Submodule path 'plugins/replication': checked out '17e8c41d5e7b83c419a52a6f7da0ad3ade514f76' Submodule path 'plugins/reviewnotes': checked out 'b9e1e8d61a324ca0592bbb7c80c2802618ef5bc9' Submodule path 'plugins/singleusergroup': checked out '4508df9fe31f9fb70f1392173686ebf80a88de3f' Submodule path 'plugins/webhooks': checked out '11b6fb81b5e4fb0bf3909f862c120d20d4fa9aaf' From https://gerrit.googlesource.com/a/plugins/heartbeat * branch HEAD -> FETCH_HEAD openjdk full version "1.8.0_282-b08" Bazelisk version: v1.7.4 Starting local Bazel server and connecting to it... Build label: 4.0.0 Build target: bazel-out/k8-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar Build time: Thu Jan 21 07:33:24 2021 (1611214404) Build timestamp: 1611214404 Build timestamp as int: 1611214404 INFO: Invocation ID: 373d2aef-0bd3-4237-ab28-7ef64083ffd4 Loading: Loading: 0 packages loaded Loading: 0 packages loaded Loading: 0 packages loaded Analyzing: target //plugins/heartbeat:heartbeat (1 packages loaded, 0 targets configured) Analyzing: target //plugins/heartbeat:heartbeat (10 packages loaded, 7 targets configured) Analyzing: target //plugins/heartbeat:heartbeat (10 packages loaded, 7 targets configured) Analyzing: target //plugins/heartbeat:heartbeat (10 packages loaded, 7 targets configured) Analyzing: target //plugins/heartbeat:heartbeat (10 packages loaded, 7 targets configured) Analyzing: target //plugins/heartbeat:heartbeat (16 packages loaded, 103 targets configured) Analyzing: target //plugins/heartbeat:heartbeat (87 packages loaded, 1433 targets configured) Analyzing: target //plugins/heartbeat:heartbeat (149 packages loaded, 3916 targets configured) Analyzing: target //plugins/heartbeat:heartbeat (196 packages loaded, 4017 targets configured) Analyzing: target //plugins/heartbeat:heartbeat (199 packages loaded, 4677 targets configured) INFO: Analyzed target //plugins/heartbeat:heartbeat (200 packages loaded, 5123 targets configured). INFO: Found 1 target... [0 / 4] [Prepa] BazelWorkspaceStatusAction stable-status.txt [184 / 318] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... (30 actions, 28 running) [249 / 336] Compiling src/google/protobuf/util/internal/protostream_objectwriter.cc; 4s remote-cache, processwrapper-sandbox ... (29 actions, 28 running) [462 / 541] Compiling src/google/protobuf/util/internal/datapiece.cc [for host]; 2s remote-cache, processwrapper-sandbox ... (22 actions, 21 running) [471 / 541] Compiling src/google/protobuf/descriptor_database.cc [for host]; 7s remote-cache, processwrapper-sandbox ... (16 actions running) [480 / 541] Executing genrule //prolog:gerrit-prolog-common__pl2j; 9s remote-cache, processwrapper-sandbox ... (26 actions running) [486 / 541] Executing genrule //prolog:gerrit-prolog-common__pl2j; 15s remote-cache, processwrapper-sandbox ... (22 actions running) [493 / 541] Executing genrule //prolog:gerrit-prolog-common__pl2j; 22s remote-cache, processwrapper-sandbox ... (14 actions running) [503 / 541] Compiling Java headers external/jgit/org.eclipse.jgit/libjgit-hjar.jar (854 source files); 17s remote-cache, processwrapper-sandbox [505 / 541] Compiling Java headers external/jgit/org.eclipse.jgit.archive/libjgit-archive-hjar.jar (8 source files); 9s remote-cache, processwrapper-sandbox ... (10 actions running) [512 / 541] Compiling Java headers java/com/google/gerrit/server/cache/serialize/libserialize-hjar.jar (9 source files); 10s remote-cache, processwrapper-sandbox ... (8 actions running) [518 / 541] Compiling Java headers java/com/google/gerrit/metrics/libmetrics-hjar.jar (27 source files); 5s remote-cache, processwrapper-sandbox [522 / 541] Compiling Java headers java/com/google/gerrit/server/libserver-hjar.jar (1002 source files); 1s remote-cache, processwrapper-sandbox [522 / 541] Compiling Java headers java/com/google/gerrit/server/libserver-hjar.jar (1002 source files); 18s remote-cache, processwrapper-sandbox [536 / 541] Compiling Java headers java/com/google/gerrit/server/schema/libschema-hjar.jar (22 source files); 2s remote-cache, processwrapper-sandbox Target //plugins/heartbeat:heartbeat up-to-date: bazel-bin/plugins/heartbeat/heartbeat.jar INFO: Elapsed time: 153.579s, Critical Path: 123.33s INFO: 541 processes: 342 remote cache hit, 20 internal, 176 processwrapper-sandbox, 3 worker. INFO: Build completed successfully, 541 total actions INFO: Build completed successfully, 541 total actions INFO: Invocation ID: b0c65f9c-4fe9-40c8-b085-bb610074bac0 Loading: Loading: 0 packages loaded INFO: Build option --test_env has changed, discarding analysis cache. Analyzing: 2 targets (4 packages loaded, 0 targets configured) Analyzing: 2 targets (7 packages loaded, 727 targets configured) Analyzing: 2 targets (31 packages loaded, 5041 targets configured) Analyzing: 2 targets (55 packages loaded, 5304 targets configured) Analyzing: 2 targets (70 packages loaded, 5587 targets configured) INFO: Analyzed 2 targets (70 packages loaded, 5587 targets configured). INFO: Found 2 test targets... [0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt [96 / 376] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... (30 actions, 28 running) [533 / 630] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... (31 actions, 22 running) [537 / 630] [Prepa] BazelWorkspaceStatusAction stable-status.txt; 4s ... (31 actions, 22 running) [548 / 630] Building java/com/google/gerrit/extensions/libapi.jar (329 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor); 4s remote-cache, multiplex-worker ... (32 actions, 22 running) [552 / 630] Building java/com/google/gerrit/extensions/libapi.jar (329 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor); 6s remote-cache, multiplex-worker ... (32 actions, 22 running) [558 / 630] Building java/com/google/gerrit/extensions/libapi.jar (329 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor); 9s remote-cache, multiplex-worker ... (32 actions, 22 running) [562 / 630] Building java/com/google/gerrit/extensions/libapi.jar (329 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor); 11s remote-cache, multiplex-worker ... (32 actions, 22 running) [583 / 630] Building java/com/google/gerrit/extensions/libapi.jar (329 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor); 15s remote-cache, multiplex-worker ... (32 actions, 22 running) [590 / 630] Building java/com/google/gerrit/extensions/libapi.jar (329 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor); 18s remote-cache, multiplex-worker ... (32 actions, 23 running) [595 / 630] Building java/com/google/gerrit/server/util/time/libtime.jar (1 source file); 17s remote-cache ... (32 actions, 21 running) [603 / 630] Building external/jgit/org.eclipse.jgit/libjgit-class.jar (854 source files); 20s remote-cache, multiplex-worker ... (32 actions, 24 running) [609 / 632] Building external/jgit/org.eclipse.jgit/libjgit-class.jar (854 source files); 26s remote-cache, multiplex-worker ... (32 actions, 22 running) [616 / 638] Building external/jgit/org.eclipse.jgit/libjgit-class.jar (854 source files); 32s remote-cache, multiplex-worker ... (32 actions, 21 running) [618 / 640] Building external/jgit/org.eclipse.jgit/libjgit-class.jar (854 source files); 40s remote-cache, multiplex-worker ... (32 actions, 21 running) [624 / 644] Building external/jgit/org.eclipse.jgit/libjgit-class.jar (854 source files); 48s remote-cache, multiplex-worker ... (32 actions, 20 running) [636 / 657] Building java/com/google/gerrit/pgm/init/api/libapi.jar (14 source files); 30s remote-cache ... (32 actions, 21 running) [679 / 681] 1 / 2 tests; Building java/com/google/gerrit/server/libserver-class.jar (1002 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor); 24s remote-cache, multiplex-worker [681 / 682] 1 / 2 tests; Testing //plugins/heartbeat:heartbeat_tests; 13s remote-cache, processwrapper-sandbox INFO: Elapsed time: 125.690s, Critical Path: 93.64s INFO: 148 processes: 7 internal, 66 processwrapper-sandbox, 75 worker. INFO: Build completed successfully, 148 total actions //plugins/heartbeat:heartbeat_tests PASSED in 27.9s //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, 148 total actions Mar 25, 2021 3:20:48 PM java.util.jar.Attributes read WARNING: Duplicate name in Manifest: Implementation-Version. Ensure that the manifest does not have duplicate entries, and that blank lines separate individual sections in both your manifest and in the META-INF/MANIFEST.MF entry in the jar file. [plugin-heartbeat-bazel-stable-3.1] $ /bin/bash -e /tmp/jenkins339932003836595973.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 1772 0 1772 0 0 18268 0 --:--:-- --:--:-- --:--:-- 18081 100 1772 0 1772 0 0 17720 0 --:--:-- --:--:-- --:--:-- 17720 Archiving artifacts Finished: SUCCESS