Started by an SCM change Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on ha:////4KwcIVaEJrXG2mBjJPJ7cpG4hFo/q+kkFrxi4Qq2i8FJAAAAqh+LCAAAAAAAAP9b85aBtbiIQTGjNKU4P08vOT+vOD8nVc83PyU1x6OyILUoJzMv2y+/JJUBAhiZGBgqihhk0NSjKDWzXb3RdlLBUSYGJk8GtpzUvPSSDB8G5tKinBIGIZ+sxLJE/ZzEvHT94JKizLx0a6BxUmjGOUNodHsLgAyFEgY5/eT83ILSktQi/ZT85OzUIl0DAzPDRNMKw5zkwpRkAAlaKf/TAAAAdocker-0061a5x1lcqdc on gcloud66 (bazel-debian bazel-chrome-69 bazel-debian-chrome-69) in workspace /home/jenkins/workspace/plugin-task-bazel-stable-2.16 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-task-bazel-stable-2.16 # 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/task # timeout=10 Fetching upstream changes from https://gerrit.googlesource.com/a/plugins/task 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/task +refs/heads/*:refs/remotes/origin/* # timeout=10 > /usr/bin/git rev-parse origin/stable-2.16^{commit} # timeout=10 > /usr/bin/git rev-parse refs/remotes/gerrit/origin/stable-2.16^{commit} # timeout=10 > /usr/bin/git rev-parse refs/remotes/origin/stable-2.16^{commit} # timeout=10 > /usr/bin/git rev-parse refs/remotes/origin/origin/stable-2.16^{commit} # timeout=10 Checking out Revision 0cea65bede7b5355ff375ce1f23c6838f602db5f (origin/stable-2.16) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f 0cea65bede7b5355ff375ce1f23c6838f602db5f # timeout=10 Commit message: "fixup!: docker: Enable reruning tests without bringing down setup" > /usr/bin/git rev-list --no-walk 2a9fac2ecc8984728799d31d65720c98b5156384 # timeout=10 [plugin-task-bazel-stable-2.16] $ /bin/bash -e /tmp/jenkins457957787149717365.sh [plugin-task-bazel-stable-2.16] $ /bin/bash -e /tmp/jenkins7997700021242989224.sh Java set to: /usr/lib/jvm/java-8-openjdk-amd64/bin/java Previous HEAD position was 0cea65bede fixup!: docker: Enable reruning tests without bringing down setup Switched to a new branch 'stable-2.16' Branch 'stable-2.16' set up to track remote branch 'stable-2.16' 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/download-commands' (https://gerrit.googlesource.com/a/plugins/download-commands) registered for path 'plugins/download-commands' Submodule 'plugins/hooks' (https://gerrit.googlesource.com/a/plugins/hooks) registered for path 'plugins/hooks' 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' Cloning into '/home/jenkins/workspace/plugin-task-bazel-stable-2.16/plugins/codemirror-editor'... Cloning into '/home/jenkins/workspace/plugin-task-bazel-stable-2.16/plugins/commit-message-length-validator'... Cloning into '/home/jenkins/workspace/plugin-task-bazel-stable-2.16/plugins/download-commands'... Cloning into '/home/jenkins/workspace/plugin-task-bazel-stable-2.16/plugins/hooks'... Cloning into '/home/jenkins/workspace/plugin-task-bazel-stable-2.16/plugins/replication'... Cloning into '/home/jenkins/workspace/plugin-task-bazel-stable-2.16/plugins/reviewnotes'... Cloning into '/home/jenkins/workspace/plugin-task-bazel-stable-2.16/plugins/singleusergroup'... Submodule path 'plugins/codemirror-editor': checked out '59942b1adf1c949f3633f60ac42f67fae03b3255' Submodule path 'plugins/commit-message-length-validator': checked out '556e427fd737744ce8a6a37b89fd427ae59bc8ea' Submodule path 'plugins/download-commands': checked out '41c61bf8c1869bff4e0b436f69478c2137d0ca07' Submodule path 'plugins/hooks': checked out 'e7769bd52c2b709d7712a386aa6cb96aec2c11a9' Submodule path 'plugins/replication': checked out 'a6c453782de3f684a40a242bad9460faff75ffc3' Submodule path 'plugins/reviewnotes': checked out 'ba3a422f1909f4970c563212d45cce70d494f60b' Submodule path 'plugins/singleusergroup': checked out '2a38a8413c25fec910fb843932aa869647bdc1e7' From https://gerrit.googlesource.com/a/plugins/task * branch HEAD -> FETCH_HEAD openjdk full version "1.8.0_292-b10" 2021/11/28 00:47:31 Downloading https://releases.bazel.build/3.1.0/release/bazel-3.1.0-linux-x86_64... Bazelisk version: v1.7.4 Extracting Bazel installation... Starting local Bazel server and connecting to it... Build label: 3.1.0 Build target: bazel-out/k8-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar Build time: Wed Apr 22 10:32:27 2020 (1587551547) Build timestamp: 1587551547 Build timestamp as int: 1587551547 INFO: Invocation ID: fd1c22b2-3914-44d3-bba6-99e6d6a669ba Loading: Loading: 0 packages loaded Loading: 0 packages loaded Loading: 0 packages loaded Analyzing: target //plugins/task:task (1 packages loaded, 0 targets configured) Analyzing: target //plugins/task:task (10 packages loaded, 7 targets configured) Analyzing: target //plugins/task:task (10 packages loaded, 7 targets configured) Analyzing: target //plugins/task:task (10 packages loaded, 7 targets configured) Analyzing: target //plugins/task:task (16 packages loaded, 103 targets configured) Analyzing: target //plugins/task:task (139 packages loaded, 3030 targets configured) Analyzing: target //plugins/task:task (202 packages loaded, 3151 targets configured) Analyzing: target //plugins/task:task (230 packages loaded, 3860 targets configured) INFO: Analyzed target //plugins/task:task (231 packages loaded, 4324 targets configured). INFO: Found 1 target... [0 / 173] [Prepa] Writing file polygerrit-ui/app/externs/plugin_worker_input [47 / 388] Compiling external/com_google_protobuf/src/google/protobuf/stubs/strutil.cc [for host]; 2s remote-cache, processwrapper-sandbox ... (31 actions, 30 running) [72 / 388] Compiling external/com_google_protobuf/src/google/protobuf/generated_message_table_driven_lite.cc [for host]; 4s remote-cache, processwrapper-sandbox ... (31 actions, 30 running) [90 / 388] Compiling external/com_google_protobuf/src/google/protobuf/text_format.cc [for host]; 5s remote-cache, processwrapper-sandbox ... (31 actions, 30 running) [116 / 388] Compiling external/com_google_protobuf/src/google/protobuf/generated_message_table_driven.cc [for host]; 2s remote-cache, processwrapper-sandbox ... (31 actions, 30 running) [139 / 388] Compiling external/com_google_protobuf/src/google/protobuf/descriptor.pb.cc [for host]; 7s remote-cache, processwrapper-sandbox ... (31 actions, 30 running) [160 / 388] Compiling external/com_google_protobuf/src/google/protobuf/descriptor.cc [for host]; 12s remote-cache, processwrapper-sandbox ... (31 actions, 30 running) [192 / 393] Compiling external/com_google_protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc [for host]; 10s remote-cache, processwrapper-sandbox ... (31 actions, 30 running) [318 / 417] Bundle plugins/task/bazel-out/k8-fastbuild/bin/plugins/task/gr-task-plugin_combined.html.bundled.html; 6s local ... (7 actions, 3 running) [345 / 417] Compiling Java headers external/com_google_protobuf/libprotobuf_java-hjar.jar (123 source files, 1 source jar); 8s remote-cache, processwrapper-sandbox ... (27 actions running) [365 / 417] Building external/com_google_protobuf/libprotobuf_java.jar (123 source files, 1 source jar) [for host]; 11s remote-cache, worker ... (30 actions, 29 running) [380 / 417] Building external/com_google_protobuf/libprotobuf_java.jar (123 source files, 1 source jar) [for host]; 22s remote-cache, worker ... (12 actions running) [393 / 417] Building external/com_google_protobuf/libprotobuf_java.jar (123 source files, 1 source jar) [for host]; 34s remote-cache, worker ... (5 actions, 2 running) Target //plugins/task:task up-to-date: bazel-bin/plugins/task/task.jar INFO: Elapsed time: 104.683s, Critical Path: 61.98s INFO: 394 processes: 2 local, 371 processwrapper-sandbox, 21 worker. INFO: Build completed successfully, 417 total actions INFO: Build completed successfully, 417 total actions INFO: Invocation ID: e499fce2-c59d-43be-b1a1-28e0d2369304 Loading: Loading: 0 packages loaded INFO: Build option --test_env has changed, discarding analysis cache. Analyzing: 2 targets (4 packages loaded, 0 targets configured) INFO: Analyzed 2 targets (6 packages loaded, 4357 targets configured). INFO: Found 2 test targets... [0 / 5] [Prepa] BazelWorkspaceStatusAction stable-status.txt [424 / 425] 1 / 2 tests; [Prepa] Testing //plugins/task:docker-tests [424 / 425] 1 / 2 tests; Testing //plugins/task:docker-tests; 1s local [424 / 425] 1 / 2 tests; Testing //plugins/task:docker-tests; 10s local [424 / 425] 1 / 2 tests; Testing //plugins/task:docker-tests; 23s local FAIL: //plugins/task:docker-tests (see /home/jenkins/.cache/bazel/_bazel_jenkins/b5e87fcabd7c528ff6fa533b1268433a/execroot/gerrit/bazel-out/k8-fastbuild/testlogs/plugins/task/docker-tests/test.log) INFO: From Testing //plugins/task:docker-tests: ==================== Test output for //plugins/task:docker-tests: Building docker images...Server did not provide an image ID. Cannot write /tmp/tmpw8b49y02 Service 'gerrit-01' failed to build : Build failed Creating network "task_6681_gerrit-net" with driver "bridge" Creating volume "task_6681_gerrit-site-etc" with default driver Building run_tests Sending build context to Docker daemon 11.78kB Step 1/20 : FROM alpine:3.11 ---> d2bcc698e2fc Step 2/20 : ARG UID=1000 ---> Running in d8d728d1b24f ---> 18bcf3400a99 Removing intermediate container d8d728d1b24f Step 3/20 : ARG GID=1000 ---> Running in 1b5dd2c8cd03 ---> aa5ade731f3a Removing intermediate container 1b5dd2c8cd03 Step 4/20 : ENV USER gerrit_admin ---> Running in 3407e99fd5e2 ---> d62a097b4db0 Removing intermediate container 3407e99fd5e2 Step 5/20 : ENV USER_HOME /home/$USER ---> Running in 37295960866f ---> f1ecdbb16177 Removing intermediate container 37295960866f Step 6/20 : ENV RUN_TESTS_DIR task/test/docker/run_tests ---> Running in bc6953dc12b2 ---> 79bec8136969 Removing intermediate container bc6953dc12b2 Step 7/20 : ENV WORKSPACE $USER_HOME/workspace ---> Running in 95f1c6e00136 ---> 052b0b73d4d9 Removing intermediate container 95f1c6e00136 Step 8/20 : RUN apk --update add --no-cache openssh bash git python2 shadow util-linux openssl xxd ---> Running in ceb4a9bdfcf0 fetch http://dl-cdn.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz fetch http://dl-cdn.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz (1/33) Installing ncurses-terminfo-base (6.1_p20200118-r4) (2/33) Installing ncurses-libs (6.1_p20200118-r4) (3/33) Installing readline (8.0.1-r0) (4/33) Installing bash (5.0.11-r1) Executing bash-5.0.11-r1.post-install (5/33) Installing ca-certificates (20191127-r2) (6/33) Installing nghttp2-libs (1.40.0-r1) (7/33) Installing libcurl (7.79.1-r0) (8/33) Installing expat (2.2.9-r1) (9/33) Installing pcre2 (10.34-r1) (10/33) Installing git (2.24.4-r0) (11/33) Installing openssh-keygen (8.1_p1-r1) (12/33) Installing libedit (20191211.3.1-r0) (13/33) Installing openssh-client (8.1_p1-r1) (14/33) Installing openssh-sftp-server (8.1_p1-r1) (15/33) Installing openssh-server-common (8.1_p1-r1) (16/33) Installing openssh-server (8.1_p1-r1) (17/33) Installing openssh (8.1_p1-r1) (18/33) Installing openssl (1.1.1l-r0) (19/33) Installing libbz2 (1.0.8-r1) (20/33) Installing libffi (3.2.1-r6) (21/33) Installing gdbm (1.13-r1) (22/33) Installing sqlite-libs (3.30.1-r2) (23/33) Installing python2 (2.7.18-r0) (24/33) Installing linux-pam (1.3.1-r1) (25/33) Installing shadow (4.7-r1) (26/33) Installing libblkid (2.34-r1) (27/33) Installing libmount (2.34-r1) (28/33) Installing libsmartcols (2.34-r1) (29/33) Installing findmnt (2.34-r1) (30/33) Installing libuuid (2.34-r1) (31/33) Installing libfdisk (2.34-r1) (32/33) Installing util-linux (2.34-r1) (33/33) Installing xxd (8.2.3437-r0) Executing busybox-1.31.1-r10.trigger Executing ca-certificates-20191127-r2.trigger OK: 77 MiB in 47 packages ---> 122cb56c029e Removing intermediate container ceb4a9bdfcf0 Step 9/20 : RUN echo "StrictHostKeyChecking no" >> /etc/ssh/ssh_config ---> Running in 7cfd20f47580 ---> 414ae3feae01 Removing intermediate container 7cfd20f47580 Step 10/20 : RUN groupadd -f -g $GID users2 ---> Running in 6fa40fb2fd33 ---> 4cc516bb76cc Removing intermediate container 6fa40fb2fd33 Step 11/20 : RUN useradd -u $UID -g $GID $USER ---> Running in 83414894c44a ---> f2256d609d9e Removing intermediate container 83414894c44a Step 12/20 : RUN mkdir -p $WORKSPACE $USER_HOME/.ssh ---> Running in 74310e7d0bb1 ---> f2a21fefa1e0 Removing intermediate container 74310e7d0bb1 Step 13/20 : RUN chown -R $USER $USER_HOME ---> Running in b6c393c74d05 ---> 52d248f3c8b1 Removing intermediate container b6c393c74d05 Step 14/20 : USER $USER ---> Running in 40228efd9031 ---> 11898482fc43 Removing intermediate container 40228efd9031 Step 15/20 : RUN ssh-keygen -P '' -f "$USER_HOME"/.ssh/id_rsa ---> Running in 2c5f36a1e5e9 Generating public/private rsa key pair. Your identification has been saved in /home/gerrit_admin/.ssh/id_rsa. Your public key has been saved in /home/gerrit_admin/.ssh/id_rsa.pub. The key fingerprint is: SHA256:3eRXhtFeLHUohWgzt+ya1+OqXrPkzIviFwZgsG0cujg gerrit_admin@d8d728d1b24f The key's randomart image is: +---[RSA 3072]----+ | ... . oo=o| | =o. = + oo=| | o.+. . =.o.o+| | . o .. +o o.| | E . S...o . | | . o .. | | . ++. | | . +B.oo | | ..++oB+.. | +----[SHA256]-----+ ---> 9be31e17c9c8 Removing intermediate container 2c5f36a1e5e9 Step 16/20 : RUN chmod 400 "$USER_HOME"/.ssh/id_rsa ---> Running in aa4eb73c4cd9 ---> ccd3fcedc58d Removing intermediate container aa4eb73c4cd9 Step 17/20 : RUN chmod 400 "$USER_HOME"/.ssh/id_rsa.pub ---> Running in f26450915de5 ---> 54d5ef34886c Removing intermediate container f26450915de5 Step 18/20 : RUN git config --global user.name "Gerrit Admin" ---> Running in 94c9358a1b82 ---> 76ca9f65ee08 Removing intermediate container 94c9358a1b82 Step 19/20 : RUN git config --global user.email "gerrit_admin@localdomain" ---> Running in c31b5feed649 ---> 7caea8e09440 Removing intermediate container c31b5feed649 Step 20/20 : ENTRYPOINT tail -f /dev/null ---> Running in 606e7515b0ce ---> 9c0d9b01a993 Removing intermediate container 606e7515b0ce Successfully built 9c0d9b01a993 Server did not provide an image ID. Cannot write /tmp/tmpo96mo4tq Service 'run_tests' failed to build : Build failed ================================================================================ INFO: Elapsed time: 25.709s, Critical Path: 24.46s INFO: 4 processes: 2 local, 2 processwrapper-sandbox. INFO: Build completed, 1 test FAILED, 9 total actions //tools/bzl:always_pass_test PASSED in 0.0s //plugins/task:docker-tests FAILED in 23.4s /home/jenkins/.cache/bazel/_bazel_jenkins/b5e87fcabd7c528ff6fa533b1268433a/execroot/gerrit/bazel-out/k8-fastbuild/testlogs/plugins/task/docker-tests/test.log Executed 2 out of 2 tests: 1 test passes and 1 fails locally. 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, 1 test FAILED, 9 total actions Build step 'Execute shell' marked build as failure Archiving artifacts Finished: FAILURE