Started by an SCM change [logstash-plugin]: Failed to send log data: rabbitmq:5672. [logstash-plugin]: No Further logs will be sent to rabbitmq:5672. java.net.UnknownHostException: rabbitmq at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:607) at com.rabbitmq.client.impl.FrameHandlerFactory.create(FrameHandlerFactory.java:32) at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:588) at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:612) at jenkins.plugins.logstash.persistence.RabbitMqDao.push(RabbitMqDao.java:116) at jenkins.plugins.logstash.LogstashWriter.write(LogstashWriter.java:176) at jenkins.plugins.logstash.LogstashWriter.write(LogstashWriter.java:111) at jenkins.plugins.logstash.LogstashOutputStream.eol(LogstashOutputStream.java:64) at hudson.console.LineTransformationOutputStream.eol(LineTransformationOutputStream.java:60) at hudson.console.LineTransformationOutputStream.write(LineTransformationOutputStream.java:56) at hudson.console.LineTransformationOutputStream.write(LineTransformationOutputStream.java:74) at hudson.plugins.timestamper.TimestamperOutputStream.write(TimestamperOutputStream.java:91) at java.io.PrintStream.write(PrintStream.java:480) at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:221) at sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:291) at sun.nio.cs.StreamEncoder.flushBuffer(StreamEncoder.java:104) at java.io.OutputStreamWriter.flushBuffer(OutputStreamWriter.java:185) at java.io.PrintStream.newLine(PrintStream.java:546) at java.io.PrintStream.println(PrintStream.java:807) at hudson.model.Cause.print(Cause.java:121) at hudson.model.StreamBuildListener.started(StreamBuildListener.java:75) at hudson.model.Run.execute(Run.java:1720) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:405) [EnvInject] - Loading node environment variables. Building remotely on ha:////4A//WBkEFYZ8/jVhFGPdfOONu6+WJGuWw7LWGoDH5ivbAAAAqx+LCAAAAAAAAP9b85aBtbiIQTGjNKU4P08vOT+vOD8nVc83PyU1x6OyILUoJzMv2y+/JJUBAhiZGBgqihhk0NSjKDWzXb3RdlLBUSYGJk8GtpzUvPSSDB8G5tKinBIGIZ+sxLJE/ZzEvHT94JKizLx0a6BxUmjGOUNodHsLgAzREgZ5/eT83ILSktQi/fTknPzSFDMzXSPTZEPzJMM0c7PkZAApxDxr1AAAAA==gcloud66-25c17b1f76cc (bazel-debian mvn) in workspace /home/jenkins/workspace/module-cache-postgres-bazel-stable-2.14 Wiping out workspace first. Cloning the remote Git repository Cloning repository https://gerrit.googlesource.com/gerrit > git init /home/jenkins/workspace/module-cache-postgres-bazel-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://gerrit.googlesource.com/modules/cache-postgres # timeout=10 Fetching upstream changes from https://gerrit.googlesource.com/modules/cache-postgres > git fetch --tags --progress https://gerrit.googlesource.com/modules/cache-postgres +refs/heads/*:refs/remotes/origin/* Seen branch in repository gerrit/infra/config Seen branch in repository gerrit/master Seen branch in repository gerrit/stable-2.10 Seen branch in repository gerrit/stable-2.11 Seen branch in repository gerrit/stable-2.12 Seen branch in repository gerrit/stable-2.13 Seen branch in repository gerrit/stable-2.14 Seen branch in repository gerrit/stable-2.15 Seen branch in repository gerrit/stable-2.16 Seen branch in repository gerrit/stable-2.4 Seen branch in repository gerrit/stable-2.5 Seen branch in repository gerrit/stable-2.6 Seen branch in repository gerrit/stable-2.7 Seen branch in repository gerrit/stable-2.8 Seen branch in repository gerrit/stable-2.9 Seen branch in repository gerrit/stable-3.0 Seen branch in repository gerrit/stable-3.1 Seen branch in repository origin/master Seen branch in repository origin/stable-2.14 Seen 19 remote branches > git show-ref --tags -d # timeout=10 Checking out Revision df03895a49f65df5885f4605b4c6bb3b00197bc6 (gerrit/stable-2.14) > git config core.sparsecheckout # timeout=10 > git checkout -f df03895a49f65df5885f4605b4c6bb3b00197bc6 Commit message: "Bazel: Fix genrule2 to clean up temporary folder content" > git rev-list --no-walk df03895a49f65df5885f4605b4c6bb3b00197bc6 # timeout=10 [module-cache-postgres-bazel-stable-2.14] $ /bin/bash -e /tmp/jenkins1516971931800629682.sh Switched to a new branch 'stable-2.14' Branch stable-2.14 set up to track remote branch stable-2.14 from gerrit. Submodule 'plugins/commit-message-length-validator' (https://gerrit.googlesource.com/plugins/commit-message-length-validator) registered for path 'plugins/commit-message-length-validator' Submodule 'plugins/download-commands' (https://gerrit.googlesource.com/plugins/download-commands) registered for path 'plugins/download-commands' Submodule 'plugins/hooks' (https://gerrit.googlesource.com/plugins/hooks) registered for path 'plugins/hooks' Submodule 'plugins/replication' (https://gerrit.googlesource.com/plugins/replication) registered for path 'plugins/replication' Submodule 'plugins/reviewnotes' (https://gerrit.googlesource.com/plugins/reviewnotes) registered for path 'plugins/reviewnotes' Submodule 'plugins/singleusergroup' (https://gerrit.googlesource.com/plugins/singleusergroup) registered for path 'plugins/singleusergroup' Cloning into '/home/jenkins/workspace/module-cache-postgres-bazel-stable-2.14/plugins/commit-message-length-validator'... Cloning into '/home/jenkins/workspace/module-cache-postgres-bazel-stable-2.14/plugins/download-commands'... Cloning into '/home/jenkins/workspace/module-cache-postgres-bazel-stable-2.14/plugins/hooks'... Cloning into '/home/jenkins/workspace/module-cache-postgres-bazel-stable-2.14/plugins/replication'... Cloning into '/home/jenkins/workspace/module-cache-postgres-bazel-stable-2.14/plugins/reviewnotes'... Cloning into '/home/jenkins/workspace/module-cache-postgres-bazel-stable-2.14/plugins/singleusergroup'... Submodule path 'plugins/commit-message-length-validator': checked out '4f6b685e12e34a4f583cf84ba1c58ccc2b75e8b0' Submodule path 'plugins/download-commands': checked out '55e0140f18349964077c78da0f6eb0eb592ba54b' Submodule path 'plugins/hooks': checked out '8b7187734639e41707f142ca67c7ecf21b9cf3bd' Submodule path 'plugins/replication': checked out 'ae3fdcd6df46a6b5076c2860b2a76ea3f0cee4a9' Submodule path 'plugins/reviewnotes': checked out '6fa85646a821e71195a4f1740ab1514a54700c6e' Submodule path 'plugins/singleusergroup': checked out '1568d7755c70cdb26ddc865a7181c90f24480676' Java set to: /usr/lib/jvm/java-8-openjdk-amd64/bin/java openjdk full version "1.8.0_232-8u232-b09-1~deb9u1-b09" 2019/11/02 12:24:41 Downloading https://releases.bazel.build/1.1.0/release/bazel-1.1.0-linux-x86_64... Bazelisk version: v1.0 Extracting Bazel installation... Starting local Bazel server and connecting to it... Build label: 1.1.0 Build target: bazel-out/k8-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar Build time: Mon Oct 21 08:44:00 2019 (1571647440) Build timestamp: 1571647440 Build timestamp as int: 1571647440 INFO: Writing tracer profile to '/home/jenkins/.cache/bazel/_bazel_jenkins/e6c015adcff4450481f21f906e061836/command.profile.gz' INFO: Invocation ID: 55d99e5a-1446-4b69-87b2-4954e36f871f Loading: Loading: 0 packages loaded Loading: 0 packages loaded Analyzing: target //plugins/cache-postgres:cache-postgres (1 packages loaded, 0 targets configured) Analyzing: target //plugins/cache-postgres:cache-postgres (12 packages loaded, 19 targets configured) Analyzing: target //plugins/cache-postgres:cache-postgres (80 packages loaded, 2491 targets configured) Analyzing: target //plugins/cache-postgres:cache-postgres (141 packages loaded, 2637 targets configured) Analyzing: target //plugins/cache-postgres:cache-postgres (142 packages loaded, 2639 targets configured) Analyzing: target //plugins/cache-postgres:cache-postgres (143 packages loaded, 2864 targets configured) Analyzing: target //plugins/cache-postgres:cache-postgres (144 packages loaded, 3217 targets configured) Analyzing: target //plugins/cache-postgres:cache-postgres (145 packages loaded, 3254 targets configured) Analyzing: target //plugins/cache-postgres:cache-postgres (145 packages loaded, 3254 targets configured) INFO: Analyzed target //plugins/cache-postgres:cache-postgres (146 packages loaded, 3607 targets configured). INFO: Found 1 target... [0 / 43] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... (2 actions, 0 running) [271 / 320] Action external/bazel_tools/tools/jdk/platformclasspath.jar [for host]; 0s remote-cache ... (6 actions, 1 running) [278 / 320] Compiling Java headers gerrit-common/libannotations-hjar.jar (3 source files); 2s local, remote-cache ... (27 actions, 26 running) [294 / 320] Compiling Java headers external/com_google_protobuf/libprotobuf_java-hjar.jar (123 source files, 1 source jar); 4s local, remote-cache ... (9 actions, 8 running) [303 / 320] Executing genrule //gerrit-server/src/main/prolog:common__pl2j; 2s local, remote-cache ... (6 actions running) [308 / 320] Compiling Java headers gerrit-server/libserver-hjar.jar (1346 source files); 1s local, remote-cache [315 / 320] Compiling Java headers gerrit-sshd/libsshd-hjar.jar (97 source files); 0s local, remote-cache Target //plugins/cache-postgres:cache-postgres up-to-date: bazel-bin/plugins/cache-postgres/cache-postgres.jar INFO: Elapsed time: 32.802s, Critical Path: 19.85s INFO: 302 processes: 185 remote cache hit, 117 local. INFO: Build completed successfully, 320 total actions INFO: Build completed successfully, 320 total actions INFO: Writing tracer profile to '/home/jenkins/.cache/bazel/_bazel_jenkins/e6c015adcff4450481f21f906e061836/command.profile.gz' INFO: Invocation ID: 64c2288a-014d-4e4c-a90d-8d66f8968e93 Loading: Loading: 0 packages loaded INFO: Build option --test_env has changed, discarding analysis cache. Analyzing: target //plugins/cache-postgres:cache_postgres_tests (0 packages loaded, 0 targets configured) Analyzing: target //plugins/cache-postgres:cache_postgres_tests (41 packages loaded, 3922 targets configured) INFO: Call stack for the definition of repository 'httpcore-nio' which is a maven_jar (rule definition at /home/jenkins/workspace/module-cache-postgres-bazel-stable-2.14/tools/bzl/maven_jar.bzl:166:13): - /home/jenkins/workspace/module-cache-postgres-bazel-stable-2.14/WORKSPACE:686:1 ERROR: An error occurred during the fetch of repository 'httpcore-nio': failed [/usr/bin/python, /home/jenkins/workspace/module-cache-postgres-bazel-stable-2.14/tools/download_file.py, "-o", /home/jenkins/.cache/bazel/_bazel_jenkins/e6c015adcff4450481f21f906e061836/external/httpcore-nio/jar/httpcore-nio-4.4.5.jar, "-u", "MAVEN_CENTRAL:/org/apache/httpcomponents/httpcore-nio/4.4.5/httpcore-nio-4.4.5.jar", "-v", "f4be009e7505f6ceddf21e7960c759f413f15056"]: Download https://repo1.maven.org/maven2/org/apache/httpcomponents/httpcore-nio/4.4.5/httpcore-nio-4.4.5.jar curl: (22) The requested URL returned error: 503 error using curl: Command '['curl', '--proxy-anyauth', '-ksSfLo', '/home/jenkins/.gerritcodereview/bazel-cache/downloaded-artifacts/httpcore-nio-4.4.5.jar-f4be009e7505f6ceddf21e7960c759f413f15056', 'https://repo1.maven.org/maven2/org/apache/httpcomponents/httpcore-nio/4.4.5/httpcore-nio-4.4.5.jar']' returned non-zero exit status 22 ERROR: /home/jenkins/workspace/module-cache-postgres-bazel-stable-2.14/lib/httpcomponents/BUILD:36:1: //lib/httpcomponents:httpcore-nio depends on @httpcore-nio//jar:jar in repository @httpcore-nio which failed to fetch. no such package '@httpcore-nio//jar': failed [/usr/bin/python, /home/jenkins/workspace/module-cache-postgres-bazel-stable-2.14/tools/download_file.py, "-o", /home/jenkins/.cache/bazel/_bazel_jenkins/e6c015adcff4450481f21f906e061836/external/httpcore-nio/jar/httpcore-nio-4.4.5.jar, "-u", "MAVEN_CENTRAL:/org/apache/httpcomponents/httpcore-nio/4.4.5/httpcore-nio-4.4.5.jar", "-v", "f4be009e7505f6ceddf21e7960c759f413f15056"]: Download https://repo1.maven.org/maven2/org/apache/httpcomponents/httpcore-nio/4.4.5/httpcore-nio-4.4.5.jar curl: (22) The requested URL returned error: 503 error using curl: Command '['curl', '--proxy-anyauth', '-ksSfLo', '/home/jenkins/.gerritcodereview/bazel-cache/downloaded-artifacts/httpcore-nio-4.4.5.jar-f4be009e7505f6ceddf21e7960c759f413f15056', 'https://repo1.maven.org/maven2/org/apache/httpcomponents/httpcore-nio/4.4.5/httpcore-nio-4.4.5.jar']' returned non-zero exit status 22 ERROR: Analysis of target '//plugins/cache-postgres:cache_postgres_tests' failed; build aborted: Analysis failed INFO: Elapsed time: 1.584s INFO: 0 processes. FAILED: Build did NOT complete successfully (55 packages loaded, 3988 targets configured) ERROR: Couldn't start the build. Unable to run tests FAILED: Build did NOT complete successfully (55 packages loaded, 3988 targets configured) Build step 'Execute shell' marked build as failure Archiving artifacts Finished: FAILURE