Started by user ha:////4LhIf0vdZMLFequGTVnN1cMcIypvsThRPBC5Va3yiaavAAAAnh+LCAAAAAAAAP9b85aBtbiIQTGjNKU4P08vOT+vOD8nVc83PyU1x6OyILUoJzMv2y+/JJUBAhiZGBgqihhk0NSjKDWzXb3RdlLBUSYGJk8GtpzUvPSSDB8G5tKinBIGIZ+sxLJE/ZzEvHT94JKizLx0a6BxUmjGOUNodHsLgAy+EgZh/dLi1CL9nNLkxNxMoEmpxZn5ANPJiavIAAAALuca Milanesio [EnvInject] - Loading node environment variables. Building remotely on ha:////4OlNMAnyR7bTSMftp7WGN4Elv/uRHNFd/3x2P44lU+lFAAAAqx+LCAAAAAAAAP9b85aBtbiIQTGjNKU4P08vOT+vOD8nVc83PyU1x6OyILUoJzMv2y+/JJUBAhiZGBgqihhk0NSjKDWzXb3RdlLBUSYGJk8GtpzUvPSSDB8G5tKinBIGIZ+sxLJE/ZzEvHT94JKizLx0a6BxUmjGOUNodHsLgAzREgZ5/eT83ILSktQi/fTknPzSFFNDXRMLc5OkVOO0FPNEUwAVsaA81AAAAA==gcloud51-4874be3fd7a5 (bazel-debian) in workspace /home/jenkins/workspace/plugin-high-availability-gerritforge-stable-2.14 Wiping out workspace first. Cloning the remote Git repository Cloning repository https://gerrit.googlesource.com/gerrit > git init /home/jenkins/workspace/plugin-high-availability-gerritforge-stable-2.14 # timeout=10 Fetching upstream changes from https://gerrit.googlesource.com/gerrit > git --version # timeout=10 > git fetch --tags --progress https://gerrit.googlesource.com/gerrit +refs/heads/*:refs/remotes/gerrit/* > git config remote.gerrit.url https://gerrit.googlesource.com/gerrit # timeout=10 > git config --add remote.gerrit.fetch +refs/heads/*:refs/remotes/gerrit/* # timeout=10 > git config remote.gerrit.url https://gerrit.googlesource.com/gerrit # timeout=10 Fetching upstream changes from https://gerrit.googlesource.com/gerrit > git fetch --tags --progress https://gerrit.googlesource.com/gerrit +refs/heads/*:refs/remotes/gerrit/* > git config remote.origin.url https://github.com/GerritForge/plugins_high-availability # timeout=10 Fetching upstream changes from https://github.com/GerritForge/plugins_high-availability > git fetch --tags --progress https://github.com/GerritForge/plugins_high-availability +refs/heads/*:refs/remotes/origin/* > git rev-parse origin/stable-2.14^{commit} # timeout=10 > git rev-parse refs/remotes/gerrit/origin/stable-2.14^{commit} # timeout=10 > git rev-parse refs/remotes/origin/stable-2.14^{commit} # timeout=10 > git rev-parse refs/remotes/origin/origin/stable-2.14^{commit} # timeout=10 Checking out Revision f51d7bedf1e1972374a58504a2116134846baa72 (origin/stable-2.14) > git config core.sparsecheckout # timeout=10 > git checkout -f f51d7bedf1e1972374a58504a2116134846baa72 Commit message: "Make the index striped locks size configurable" > git rev-list --no-walk 714d641a116a3700245002fb03fcc382191da60e # timeout=10 [plugin-high-availability-gerritforge-stable-2.14] $ /bin/bash -e /tmp/jenkins7278394973564676448.sh Previous HEAD position was f51d7bedf1... Make the index striped locks size configurable HEAD is now at 1fa4bcfb6e... Bazel: Clean up package visibility settings Java set to: /usr/lib/jvm/java-8-openjdk-amd64/bin/java Buck set to: /opt/buck-java8/bin/buck Starting local Bazel server and connecting to it... Loading: Loading: 0 packages loaded Loading: 1 packages loaded Analyzing: target //plugins/high-availability:high-availability (3 packages loaded, 0 targets configured) Analyzing: target //plugins/high-availability:high-availability (44 packages loaded, 1001 targets configured) Analyzing: target //plugins/high-availability:high-availability (138 packages loaded, 3048 targets configured) INFO: Analysed target //plugins/high-availability:high-availability (144 packages loaded, 3090 targets configured). INFO: Found 1 target... [0 / 11] [-----] BazelWorkspaceStatusAction stable-status.txt ... (2 actions, 0 running) [5 / 101] [-----] Creating source manifest for //tools:merge_jars [for host] INFO: From SkylarkAction external/bazel_tools/tools/jdk/platformclasspath.jar [for host]: warning: could not find a JDK 8 bootclasspath in external/embedded_jdk, falling back to --release [18 / 138] Executing genrule //lib/lucene:lucene-core-and-backward-codecs__merged_bin; 0s local ... (3 actions, 1 running) [97 / 138] Executing genrule //gerrit-antlr:query_antlr; 1s local ... (14 actions running) [110 / 138] Executing genrule //gerrit-server/src/main/prolog:common__pl2j; 2s local ... (8 actions running) [120 / 138] Executing genrule //gerrit-server/src/main/prolog:common__pl2j; 4s local ... (3 actions, 2 running) [125 / 138] Compiling Java headers gerrit-server/libserver-hjar.jar (1346 files); 2s local [132 / 138] Compiling Java headers gerrit-sshd/libsshd-hjar.jar (97 files); 0s local [134 / 138] Building plugins/high-availability/libhigh-availability__plugin-class.jar (73 source files); 1s worker Target //plugins/high-availability:high-availability up-to-date: bazel-genfiles/plugins/high-availability/high-availability.jar INFO: Elapsed time: 22.991s, Critical Path: 14.96s, Remote (0.00% of the time): [queue: 0.00%, setup: 0.00%, process: 0.00%] INFO: 124 processes: 13 remote cache hit, 109 local, 2 worker. INFO: Build completed successfully, 138 total actions INFO: Build completed successfully, 138 total actions Loading: Loading: 0 packages loaded Analyzing: target //plugins/high-availability:high_availability_tests (0 packages loaded, 0 targets configured) Analyzing: target //plugins/high-availability:high_availability_tests (48 packages loaded, 391 targets configured) INFO: Analysed target //plugins/high-availability:high_availability_tests (58 packages loaded, 454 targets configured). INFO: Found 1 test target... [0 / 3] [-----] Expanding template plugins/high-availability/high_availability_tests [42 / 96] Compiling Java headers gerrit-oauth/liboauth-hjar.jar (4 files); 1s processwrapper-sandbox ... (23 actions, 7 running) [56 / 101] Building gerrit-gwtexpui/libserver.jar (2 source files); 2s worker ... (24 actions, 8 running) [68 / 105] [Sched] Building gerrit-httpd/libhttpd-class.jar (111 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor) ... (22 actions, 6 running) [75 / 105] [Sched] Building gerrit-common/libserver.jar (56 source files); 4s ... (20 actions, 6 running) [79 / 105] [Sched] Building gerrit-sshd/libsshd.jar (97 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor); 4s ... (17 actions, 6 running) [82 / 105] [Sched] Building gerrit-pgm/libhttp-jetty.jar (7 source files); 5s ... (16 actions, 6 running) [85 / 105] [Sched] Building gerrit-gpg/libgpg.jar (18 source files); 7s ... (14 actions, 5 running) [92 / 105] [Sched] Building gerrit-lucene/liblucene.jar (11 source files); 8s ... (9 actions, 3 running) [97 / 105] Building gerrit-server/libserver-class.jar (1346 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor); 7s worker ... (5 actions running) ERROR: /home/jenkins/workspace/plugin-high-availability-gerritforge-stable-2.14/plugins/high-availability/BUILD:23:1: Building plugins/high-availability/high_availability_tests-class.jar (41 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor) failed (Exit 1) plugins/high-availability/src/test/java/com/ericsson/gerrit/plugins/highavailability/websession/file/FileBasedWebSessionCacheTest.java:130: error: [IncompatibleArgumentType] Argument 'path' should not be passed to this method. Its type Path is not compatible with the required type: String. assertThat(cache.getIfPresent(path)).isNull(); ^ (see https://errorprone.info/bugpattern/IncompatibleArgumentType) [102 / 105] Building gerrit-server/libserver-class.jar (1346 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor); 10s worker [102 / 105] Building gerrit-server/libserver-class.jar (1346 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor); 19s worker Target //plugins/high-availability:high_availability_tests failed to build Use --verbose_failures to see the command lines of failed build steps. INFO: Elapsed time: 31.329s, Critical Path: 28.50s, Remote (0.00% of the time): [queue: 0.00%, setup: 0.00%, process: 0.00%] INFO: 97 processes: 4 remote cache hit, 60 processwrapper-sandbox, 33 worker. FAILED: Build did NOT complete successfully Executed 0 out of 1 test: 1 fails to build. FAILED: Build did NOT complete successfully Build step 'Execute shell' marked build as failure Archiving artifacts Finished: FAILURE