Started by an SCM change Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on ha:////4J4cK+CH1o6f0UReV9RBDRdY6hj7S4uM32jQrN+dhw65AAAAqh+LCAAAAAAAAP9b85aBtbiIQTGjNKU4P08vOT+vOD8nVc83PyU1x6OyILUoJzMv2y+/JJUBAhiZGBgqihhk0NSjKDWzXb3RdlLBUSYGJk8GtpzUvPSSDB8G5tKinBIGIZ+sxLJE/ZzEvHT94JKizLx0a6BxUmjGOUNodHsLgAylEgY5/eT83ILSktQi/ZT85OzUIl0DA+OKfKOUUhOj7LJsAIwmKU/TAAAAdocker-003xo2du42kvk on dockerhost (bazel-debian bazel-debian-chrome-latest) in workspace /home/jenkins/workspace/plugin-task-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/task > git init /home/jenkins/workspace/plugin-task-bazel-master-stable-3.7 # timeout=10 Fetching upstream changes from https://gerrit.googlesource.com/a/plugins/task > 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/task +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url https://gerrit.googlesource.com/a/plugins/task # 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 ac53f6ed8d1e43fc16784ad7c3c9626d4ea4ce84 (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f ac53f6ed8d1e43fc16784ad7c3c9626d4ea4ce84 # timeout=10 Commit message: "Use VersionedConfigFile from core" First time build. Skipping changelog. [plugin-task-bazel-master-stable-3.7] $ /bin/bash -e /tmp/jenkins9304064540154908360.sh [plugin-task-bazel-master-stable-3.7] $ /bin/bash -e /tmp/jenkins16199917110313736744.sh Java set to: /usr/lib/jvm/java-17-openjdk-amd64/bin/java Building plugin task/master with Gerrit/stable-3.7 from plugins/task 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 ac53f6ed8d Use VersionedConfigFile from core 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-task-bazel-master-stable-3.7/modules/jgit'... Cloning into '/home/jenkins/workspace/plugin-task-bazel-master-stable-3.7/plugins/codemirror-editor'... Cloning into '/home/jenkins/workspace/plugin-task-bazel-master-stable-3.7/plugins/commit-message-length-validator'... Cloning into '/home/jenkins/workspace/plugin-task-bazel-master-stable-3.7/plugins/delete-project'... Cloning into '/home/jenkins/workspace/plugin-task-bazel-master-stable-3.7/plugins/download-commands'... Cloning into '/home/jenkins/workspace/plugin-task-bazel-master-stable-3.7/plugins/gitiles'... Cloning into '/home/jenkins/workspace/plugin-task-bazel-master-stable-3.7/plugins/hooks'... Cloning into '/home/jenkins/workspace/plugin-task-bazel-master-stable-3.7/plugins/plugin-manager'... Cloning into '/home/jenkins/workspace/plugin-task-bazel-master-stable-3.7/plugins/replication'... Cloning into '/home/jenkins/workspace/plugin-task-bazel-master-stable-3.7/plugins/reviewnotes'... Cloning into '/home/jenkins/workspace/plugin-task-bazel-master-stable-3.7/plugins/singleusergroup'... Cloning into '/home/jenkins/workspace/plugin-task-bazel-master-stable-3.7/plugins/webhooks'... Cloning into '/home/jenkins/workspace/plugin-task-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: e3db9768-e6f4-4745-b418-09de533969cd 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-task-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 Loading: 0 packages loaded currently loading: plugins/task Loading: 0 packages loaded currently loading: plugins/task Loading: 0 packages loaded currently loading: plugins/task Loading: 0 packages loaded currently loading: plugins/task Loading: 0 packages loaded currently loading: plugins/task Loading: 0 packages loaded currently loading: plugins/task Loading: 0 packages loaded currently loading: plugins/task Analyzing: target //plugins/task:task (1 packages loaded) Analyzing: target //plugins/task:task (1 packages loaded, 0 targets configured) Analyzing: target //plugins/task:task (37 packages loaded, 146 targets configured) Analyzing: target //plugins/task:task (37 packages loaded, 146 targets configured) Analyzing: target //plugins/task:task (37 packages loaded, 146 targets configured) Analyzing: target //plugins/task:task (224 packages loaded, 5143 targets configured) Analyzing: target //plugins/task:task (256 packages loaded, 5658 targets configured) Analyzing: target //plugins/task:task (256 packages loaded, 5658 targets configured) Analyzing: target //plugins/task:task (257 packages loaded, 5658 targets configured) Analyzing: target //plugins/task:task (257 packages loaded, 5658 targets configured) INFO: Analyzed target //plugins/task:task (495 packages loaded, 14255 targets configured). INFO: Found 1 target... [0 / 192] [Prepa] Creating source manifest for //plugins/task:task__non_stamped ... (19 actions, 4 running) [330 / 514] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... (12 actions, 10 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]; | ^~~~~~~~~~ [339 / 514] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... (6 actions, 4 running) [436 / 514] Building lib/antlr/antlr-tool.jar () [for tool]; 0s remote-cache, multiplex-worker ... (32 actions running) [457 / 514] Building external/rules_antlr/src/main/java/org/antlr/bazel/bazel.jar (12 source files) [for tool]; 1s remote-cache, multiplex-worker ... (12 actions running) [463 / 514] Building external/jgit/org.eclipse.jgit/libjgit_non_stamped-class.jar (924 source files); 1s remote-cache, multiplex-worker ... (12 actions running) [467 / 514] Building external/jgit/org.eclipse.jgit/libjgit_non_stamped-class.jar (924 source files); 2s remote-cache, multiplex-worker ... (6 actions running) [469 / 514] Building external/jgit/org.eclipse.jgit/libjgit_non_stamped-class.jar (924 source files); 3s remote-cache, multiplex-worker [470 / 514] [Prepa] Building Java resource jar [471 / 514] Executing genrule @jgit//org.eclipse.jgit:jgit; 1s remote-cache, linux-sandbox [472 / 514] checking cached actions [480 / 514] Compiling Java headers java/com/google/gerrit/json/libjson-hjar.jar (6 source files); 0s remote-cache, linux-sandbox ... (17 actions, 16 running) [490 / 514] [Prepa] Compiling Java headers java/com/google/gerrit/server/logging/liblogging-hjar.jar (16 source files) [492 / 514] [Prepa] Compiling Java headers java/com/google/gerrit/index/libindex-hjar.jar (51 source files) [495 / 514] [Prepa] Compiling Java headers java/com/google/gerrit/server/libserver-hjar.jar (1142 source files) and running annotation processors (AutoFactoryProcessor) [495 / 514] Compiling Java headers java/com/google/gerrit/server/libserver-hjar.jar (1142 source files) and running annotation processors (AutoFactoryProcessor); 0s remote-cache, linux-sandbox [496 / 514] Compiling Java headers java/com/google/gerrit/server/cache/mem/libmem-hjar.jar (3 source files); 0s remote-cache, linux-sandbox ... (14 actions running) [502 / 514] Compiling Java headers java/com/google/gerrit/server/restapi/librestapi-hjar.jar (311 source files) and running annotation processors (AutoFactoryProcessor); 1s remote-cache, linux-sandbox ... (4 actions running) [506 / 514] Compiling Java headers java/com/google/gerrit/httpd/libhttpd-hjar.jar (102 source files); 0s remote-cache, linux-sandbox ... (6 actions running) [509 / 514] Compiling Java headers java/com/google/gerrit/server/schema/libschema-hjar.jar (29 source files); 0s remote-cache, linux-sandbox [510 / 514] Building plugins/task/libtask__plugin-class.jar (41 source files) and running annotation processors (AutoValueProcessor, AutoAnnotationProcessor, AutoOneOfProcessor, AutoValueGsonAdapterFactoryProcessor); 0s remote-cache, multiplex-worker ERROR: /home/jenkins/workspace/plugin-task-bazel-master-stable-3.7/plugins/task/BUILD:47:14: Building plugins/task/libtask__plugin-class.jar (41 source files) and running annotation processors (AutoValueProcessor, AutoAnnotationProcessor, AutoOneOfProcessor, AutoValueGsonAdapterFactoryProcessor) failed: (Exit 1): java failed: error executing command (from target //plugins/task:task__plugin) external/remotejdk11_linux/bin/java -XX:-CompactStrings '--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED' '--add-exports=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED' ... (remaining 18 arguments skipped) plugins/task/src/main/java/com/googlesource/gerrit/plugins/task/PredicateCache.java:25: error: cannot find symbol import com.google.gerrit.server.query.change.BranchSetIndexPredicate; ^ symbol: class BranchSetIndexPredicate location: package com.google.gerrit.server.query.change plugins/task/src/main/java/com/googlesource/gerrit/plugins/task/TaskConfig.java:19: error: cannot find symbol import com.google.gerrit.server.git.meta.VersionedConfigFile; ^ symbol: class VersionedConfigFile location: package com.google.gerrit.server.git.meta plugins/task/src/main/java/com/googlesource/gerrit/plugins/task/TaskConfig.java:33: error: cannot find symbol public class TaskConfig extends VersionedConfigFile { ^ symbol: class VersionedConfigFile Target //plugins/task:task failed to build Use --verbose_failures to see the command lines of failed build steps. INFO: Elapsed time: 60.714s, Critical Path: 26.57s INFO: 511 processes: 200 disk cache hit, 95 internal, 208 linux-sandbox, 8 worker. FAILED: Build did NOT complete successfully Build step 'Execute shell' marked build as failure Archiving artifacts Finished: FAILURE