Started by an SCM change Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on ha:////4BBu46smvB66LPDT1gBZ5JNByIr6hCWBDoraGCzY/gHQAAAAqx+LCAAAAAAAAP9b85aBtbiIQTGjNKU4P08vOT+vOD8nVc83PyU1x6OyILUoJzMv2y+/JJUBAhiZGBgqihhk0NSjKDWzXb3RdlLBUSYGJk8GtpzUvPSSDB8G5tKinBIGIZ+sxLJE/ZzEvHT94JKizLx0a6BxUmjGOUNodHsLgAzREgZ5/eT83ILSktQi/fTknPzSFDNTXYskC0sLAzPTVPPkZAAc3Nk51AAAAA==gcloud65-8b898065e7cc (bazel-debian mvn bazel-chrome69 docker) in workspace /home/jenkins/workspace/plugin-automerger-bazel-master-stable-3.0 Selected Git installation does not exist. Using Default Wiping out workspace first. Cloning the remote Git repository Cloning repository https://gerrit.googlesource.com/a/plugins/automerger > /usr/bin/git init /home/jenkins/workspace/plugin-automerger-bazel-master-stable-3.0 # timeout=10 Fetching upstream changes from https://gerrit.googlesource.com/a/plugins/automerger > /usr/bin/git --version # timeout=10 using GIT_ASKPASS to set credentials .netrc credentials for gerrit.googlesource.com > /usr/bin/git fetch --tags --force --progress -- https://gerrit.googlesource.com/a/plugins/automerger +refs/heads/*:refs/remotes/origin/* # timeout=10 > /usr/bin/git config remote.origin.url https://gerrit.googlesource.com/a/plugins/automerger # timeout=10 > /usr/bin/git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > /usr/bin/git config remote.origin.url https://gerrit.googlesource.com/a/plugins/automerger # timeout=10 Fetching upstream changes from https://gerrit.googlesource.com/a/plugins/automerger using GIT_ASKPASS to set credentials .netrc credentials for gerrit.googlesource.com > /usr/bin/git fetch --tags --force --progress -- https://gerrit.googlesource.com/a/plugins/automerger +refs/heads/*:refs/remotes/origin/* # timeout=10 > /usr/bin/git rev-parse refs/remotes/origin/master^{commit} # timeout=10 > /usr/bin/git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10 Checking out Revision 2c182b8153dc13e9c3703b2725ec4b13f1167d26 (refs/remotes/origin/master) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f 2c182b8153dc13e9c3703b2725ec4b13f1167d26 # timeout=10 Commit message: "Adapt to change in Gerrit core" > /usr/bin/git rev-list --no-walk 56df00112e286aa9dbc030d6905dddc2571a9c0c # timeout=10 [plugin-automerger-bazel-master-stable-3.0] $ /bin/bash -e /tmp/jenkins5649153068641864186.sh [plugin-automerger-bazel-master-stable-3.0] $ /bin/bash -e /tmp/jenkins1960883215634768047.sh Java set to: /usr/lib/jvm/java-8-openjdk-amd64/bin/java Building plugin automerger/master with Gerrit/stable-3.0 From https://gerrit.googlesource.com/a/gerrit * branch stable-3.0 -> FETCH_HEAD * [new branch] stable-3.0 -> gerrit/stable-3.0 Previous HEAD position was 2c182b8153 Adapt to change in Gerrit core Switched to a new branch 'stable-3.0' Branch 'stable-3.0' set up to track remote branch 'stable-3.0' from 'gerrit'. Submodule 'plugins/codemirror-editor' (https://gerrit.googlesource.com/a/plugins/codemirror-editor) registered for path 'plugins/codemirror-editor' Submodule 'plugins/commit-message-length-validator' (https://gerrit.googlesource.com/a/plugins/commit-message-length-validator) registered for path 'plugins/commit-message-length-validator' Submodule 'plugins/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-automerger-bazel-master-stable-3.0/plugins/codemirror-editor'... Cloning into '/home/jenkins/workspace/plugin-automerger-bazel-master-stable-3.0/plugins/commit-message-length-validator'... Cloning into '/home/jenkins/workspace/plugin-automerger-bazel-master-stable-3.0/plugins/delete-project'... Cloning into '/home/jenkins/workspace/plugin-automerger-bazel-master-stable-3.0/plugins/download-commands'... Cloning into '/home/jenkins/workspace/plugin-automerger-bazel-master-stable-3.0/plugins/gitiles'... Cloning into '/home/jenkins/workspace/plugin-automerger-bazel-master-stable-3.0/plugins/hooks'... Cloning into '/home/jenkins/workspace/plugin-automerger-bazel-master-stable-3.0/plugins/plugin-manager'... Cloning into '/home/jenkins/workspace/plugin-automerger-bazel-master-stable-3.0/plugins/replication'... Cloning into '/home/jenkins/workspace/plugin-automerger-bazel-master-stable-3.0/plugins/reviewnotes'... Cloning into '/home/jenkins/workspace/plugin-automerger-bazel-master-stable-3.0/plugins/singleusergroup'... Cloning into '/home/jenkins/workspace/plugin-automerger-bazel-master-stable-3.0/plugins/webhooks'... 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 '8b22484caeaf118bce493a46130f6a23f779cac0' Submodule path 'plugins/download-commands': checked out '41c61bf8c1869bff4e0b436f69478c2137d0ca07' Submodule path 'plugins/gitiles': checked out '0f6ffbecc51a0571c8a77248b2655a834700d6af' Submodule path 'plugins/hooks': checked out '089687bdcc64b003d09a77f00eaa77bb79b15b9c' Submodule path 'plugins/plugin-manager': checked out 'd3b2a6eabcb641e952f253e61b927cd1f7f6e30c' Submodule path 'plugins/replication': checked out 'f199a25008c424af21bba9d7644c139cb8aaa97e' Submodule path 'plugins/reviewnotes': checked out 'be5037839d987a319dac2236e9c1221d4d31848d' Submodule path 'plugins/singleusergroup': checked out '8a3b6faeaebc0f9b7d1af19eb0022b32994e476a' Submodule path 'plugins/webhooks': checked out '8f7a232ef94f60b20c059fff7066d0d1864bec8b' openjdk full version "1.8.0_242-8u242-b08-1~deb9u1-b08" 2020/10/07 11:28:03 Downloading https://releases.bazel.build/3.5.1/release/bazel-3.5.1-linux-x86_64... Bazelisk version: v1.4.0 Extracting Bazel installation... Starting local Bazel server and connecting to it... Build label: 3.5.1 Build target: bazel-out/k8-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar Build time: Thu Oct 1 04:34:41 2020 (1601526881) Build timestamp: 1601526881 Build timestamp as int: 1601526881 INFO: Invocation ID: c2be92a8-ae60-4e8c-9133-43bd08c8a229 Loading: Loading: 0 packages loaded Loading: 0 packages loaded Loading: 0 packages loaded Analyzing: target //plugins/automerger:automerger (1 packages loaded, 0 targets configured) Analyzing: target //plugins/automerger:automerger (10 packages loaded, 7 targets configured) Analyzing: target //plugins/automerger:automerger (10 packages loaded, 7 targets configured) Analyzing: target //plugins/automerger:automerger (10 packages loaded, 7 targets configured) Analyzing: target //plugins/automerger:automerger (16 packages loaded, 103 targets configured) Analyzing: target //plugins/automerger:automerger (117 packages loaded, 2747 targets configured) Analyzing: target //plugins/automerger:automerger (175 packages loaded, 2884 targets configured) Analyzing: target //plugins/automerger:automerger (196 packages loaded, 3539 targets configured) INFO: Analyzed target //plugins/automerger:automerger (197 packages loaded, 3938 targets configured). INFO: Found 1 target... [0 / 153] [Prepa] BazelWorkspaceStatusAction stable-status.txt WARNING: Reading from Remote Cache: BulkTransferException [246 / 355] Action external/bazel_tools/tools/jdk/platformclasspath.jar [for host]; 1s local, remote-cache ... (29 actions, 28 running) [294 / 357] Action external/bazel_tools/tools/jdk/platformclasspath.jar [for host]; 4s local, remote-cache ... (3 actions, 2 running) [294 / 357] Action external/bazel_tools/tools/jdk/platformclasspath.jar [for host]; 9s local, remote-cache ... (32 actions running) [316 / 357] Compiling Java headers external/com_google_protobuf/libprotobuf_java-hjar.jar (123 source files, 1 source jar); 9s local, remote-cache ... (8 actions running) [326 / 357] Executing genrule //prolog:gerrit-prolog-common__pl2j; 2s local, remote-cache ... (4 actions running) [333 / 357] Executing genrule //prolog:gerrit-prolog-common__pl2j; 8s local, remote-cache ... (4 actions running) [338 / 357] Compiling Java headers java/com/google/gerrit/server/libserver-hjar.jar (971 source files); 3s local, remote-cache [342 / 357] Compiling Java headers java/com/google/gerrit/lucene/liblucene-hjar.jar (12 source files); 5s local, remote-cache ... (12 actions running) [350 / 357] Compiling Java headers java/com/google/gerrit/server/api/libapi-hjar.jar (36 source files); 3s local, remote-cache ... (6 actions running) ERROR: /home/jenkins/workspace/plugin-automerger-bazel-master-stable-3.0/plugins/automerger/BUILD:4:14: Building plugins/automerger/libautomerger__plugin-class.jar (13 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor) failed (Exit 1) plugins/automerger/src/main/java/com/googlesource/gerrit/plugins/automerger/ConfigLoader.java:20: error: package com.google.gerrit.entities does not exist import com.google.gerrit.entities.Account; ^ plugins/automerger/src/main/java/com/googlesource/gerrit/plugins/automerger/ConfigLoader.java:302: error: package Account does not exist public Account.Id getContextUserId() throws ConfigInvalidException { ^ plugins/automerger/src/main/java/com/googlesource/gerrit/plugins/automerger/AutomergeChangeAction.java:17: error: package com.google.gerrit.entities does not exist import com.google.gerrit.entities.Change; ^ plugins/automerger/src/main/java/com/googlesource/gerrit/plugins/automerger/MergeValidator.java:20: error: package com.google.gerrit.entities does not exist import com.google.gerrit.entities.BranchNameKey; ^ plugins/automerger/src/main/java/com/googlesource/gerrit/plugins/automerger/MergeValidator.java:21: error: package com.google.gerrit.entities does not exist import com.google.gerrit.entities.PatchSet; ^ plugins/automerger/src/main/java/com/googlesource/gerrit/plugins/automerger/MergeValidator.java:69: error: cannot find symbol BranchNameKey destBranch, ^ symbol: class BranchNameKey location: class MergeValidator plugins/automerger/src/main/java/com/googlesource/gerrit/plugins/automerger/MergeValidator.java:70: error: package PatchSet does not exist PatchSet.Id patchSetId, ^ Target //plugins/automerger:automerger failed to build Use --verbose_failures to see the command lines of failed build steps. INFO: Elapsed time: 79.237s, Critical Path: 58.09s INFO: 336 processes: 164 remote cache hit, 172 local. FAILED: Build did NOT complete successfully FAILED: Build did NOT complete successfully Build step 'Execute shell' marked build as failure Archiving artifacts Finished: FAILURE