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:////4BaLbFPmVWstPQpo/eUyj9XMstTlcM0AZXAK+ltCa8aGAAAAqx+LCAAAAAAAAP9b85aBtbiIQTGjNKU4P08vOT+vOD8nVc83PyU1x6OyILUoJzMv2y+/JJUBAhiZGBgqihhk0NSjKDWzXb3RdlLBUSYGJk8GtpzUvPSSDB8G5tKinBIGIZ+sxLJE/ZzEvHT94JKizLx0a6BxUmjGOUNodHsLgAzREgZ5/eT83ILSktQi/fTknPzSFDMzXcPU5ETDNKNkQ0MzcwBkL/Th1AAAAA==gcloud66-1eca1f2c1167 (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 a7e95e5bc17359a638f1e7183abc28e71becf9be (gerrit/stable-2.14) > git config core.sparsecheckout # timeout=10 > git checkout -f a7e95e5bc17359a638f1e7183abc28e71becf9be Commit message: "Bazel: Migrate workspace status script to python" > git rev-list --no-walk a7e95e5bc17359a638f1e7183abc28e71becf9be # timeout=10 [module-cache-postgres-bazel-stable-2.14] $ /bin/bash -e /tmp/jenkins8453553366293212986.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/03 17:24:44 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: 983e6a2a-5178-4e93-98a6-eccd3514787f 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 (15 packages loaded, 31 targets configured) Analyzing: target //plugins/cache-postgres:cache-postgres (92 packages loaded, 2518 targets configured) Analyzing: target //plugins/cache-postgres:cache-postgres (142 packages loaded, 2639 targets configured) Analyzing: target //plugins/cache-postgres:cache-postgres (142 packages loaded, 2639 targets configured) Analyzing: target //plugins/cache-postgres:cache-postgres (144 packages loaded, 3217 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) INFO: Analyzed target //plugins/cache-postgres:cache-postgres (146 packages loaded, 3608 targets configured). INFO: Found 1 target... [0 / 40] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... (2 actions, 0 running) [269 / 320] Action external/bazel_tools/tools/jdk/platformclasspath.jar [for host]; 0s remote-cache ... (3 actions, 2 running) [277 / 320] Compiling Java headers gerrit-gwtexpui/liblinker_server-hjar.jar (1 source file); 2s local, remote-cache ... (29 actions, 28 running) [294 / 320] Compiling Java headers external/com_google_protobuf/libprotobuf_java-hjar.jar (123 source files, 1 source jar); 4s local, remote-cache ... (10 actions, 9 running) [304 / 320] Executing genrule //gerrit-server/src/main/prolog:common__pl2j; 2s local, remote-cache ... (5 actions, 4 running) [309 / 320] [Prepa] Compiling Java headers gerrit-lucene/libquery_builder-hjar.jar (1 source file) ... (4 actions, 0 running) [317 / 320] [Prepa] Building plugins/cache-postgres/libcache-postgres__plugin.jar (11 source files) Target //plugins/cache-postgres:cache-postgres up-to-date: bazel-bin/plugins/cache-postgres/cache-postgres.jar INFO: Elapsed time: 29.869s, Critical Path: 17.70s 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: dd28e60d-38f3-44cf-8e2c-021d5550cac3 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 (40 packages loaded, 3920 targets configured) INFO: Call stack for the definition of repository 'byte_buddy' 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/plugins/external_plugin_deps.bzl:14:3 - /home/jenkins/workspace/module-cache-postgres-bazel-stable-2.14/WORKSPACE:1077:1 ERROR: An error occurred during the fetch of repository 'byte_buddy': 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/byte_buddy/jar/byte-buddy-1.5.12.jar, "-u", "MAVEN_CENTRAL:/net/bytebuddy/byte-buddy/1.5.12/byte-buddy-1.5.12.jar", "-v", "b1ba1d15f102b36ed43b826488114678d6d413da"]: Download https://repo1.maven.org/maven2/net/bytebuddy/byte-buddy/1.5.12/byte-buddy-1.5.12.jar curl: (22) The requested URL returned error: 503 error using curl: Command '['curl', '--proxy-anyauth', '-ksSfLo', '/home/jenkins/.gerritcodereview/bazel-cache/downloaded-artifacts/byte-buddy-1.5.12.jar-b1ba1d15f102b36ed43b826488114678d6d413da', 'https://repo1.maven.org/maven2/net/bytebuddy/byte-buddy/1.5.12/byte-buddy-1.5.12.jar']' returned non-zero exit status 22 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: /home/jenkins/.cache/bazel/_bazel_jenkins/e6c015adcff4450481f21f906e061836/external/mockito/jar/BUILD:4:1: @mockito//jar:jar depends on @byte_buddy//jar:jar in repository @byte_buddy which failed to fetch. no such package '@byte_buddy//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/byte_buddy/jar/byte-buddy-1.5.12.jar, "-u", "MAVEN_CENTRAL:/net/bytebuddy/byte-buddy/1.5.12/byte-buddy-1.5.12.jar", "-v", "b1ba1d15f102b36ed43b826488114678d6d413da"]: Download https://repo1.maven.org/maven2/net/bytebuddy/byte-buddy/1.5.12/byte-buddy-1.5.12.jar curl: (22) The requested URL returned error: 503 error using curl: Command '['curl', '--proxy-anyauth', '-ksSfLo', '/home/jenkins/.gerritcodereview/bazel-cache/downloaded-artifacts/byte-buddy-1.5.12.jar-b1ba1d15f102b36ed43b826488114678d6d413da', 'https://repo1.maven.org/maven2/net/bytebuddy/byte-buddy/1.5.12/byte-buddy-1.5.12.jar']' returned non-zero exit status 22 ERROR: Analysis of target '//plugins/cache-postgres:cache_postgres_tests' failed; build aborted: no such package '@byte_buddy//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/byte_buddy/jar/byte-buddy-1.5.12.jar, "-u", "MAVEN_CENTRAL:/net/bytebuddy/byte-buddy/1.5.12/byte-buddy-1.5.12.jar", "-v", "b1ba1d15f102b36ed43b826488114678d6d413da"]: Download https://repo1.maven.org/maven2/net/bytebuddy/byte-buddy/1.5.12/byte-buddy-1.5.12.jar curl: (22) The requested URL returned error: 503 error using curl: Command '['curl', '--proxy-anyauth', '-ksSfLo', '/home/jenkins/.gerritcodereview/bazel-cache/downloaded-artifacts/byte-buddy-1.5.12.jar-b1ba1d15f102b36ed43b826488114678d6d413da', 'https://repo1.maven.org/maven2/net/bytebuddy/byte-buddy/1.5.12/byte-buddy-1.5.12.jar']' returned non-zero exit status 22 INFO: Elapsed time: 1.900s INFO: 0 processes. FAILED: Build did NOT complete successfully (55 packages loaded, 3994 targets configured) ERROR: Couldn't start the build. Unable to run tests FAILED: Build did NOT complete successfully (55 packages loaded, 3994 targets configured) Build step 'Execute shell' marked build as failure Archiving artifacts Finished: FAILURE