SHARE
TWEET

jenkins error

a guest Mar 27th, 2017 81 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Branch indexing
  2.  > git rev-parse --is-inside-work-tree # timeout=10
  3. Setting origin to https://github.com/swyngaard/jenkins_test.git
  4.  > git config remote.origin.url https://github.com/swyngaard/jenkins_test.git # timeout=10
  5. Fetching origin...
  6. Fetching upstream changes from origin
  7.  > git --version # timeout=10
  8. using GIT_ASKPASS to set credentials gh access
  9.  > git fetch --tags --progress origin +refs/heads/*:refs/remotes/origin/*
  10. Seen branch in repository origin/branch_demo
  11. Seen branch in repository origin/broken_branch
  12. Seen branch in repository origin/docker_postgres
  13. Seen branch in repository origin/docker_test
  14. Seen branch in repository origin/master
  15. Seen branch in repository origin/pr_demo
  16. Seen 6 remote branches
  17. Obtained Jenkinsfile from 27cb916de58dfd64b012fe767fc28d9642ef94e8
  18. [Pipeline] node
  19. Running on master in /var/lib/jenkins/workspace/orange_docker_postgres-L2ELZY7CKIQFXJCBW72WBSTZDK6GIFHHNC2MIBLVWPQ5JGTIMRTA
  20. [Pipeline] {
  21. [Pipeline] stage
  22. [Pipeline] { (Declarative: Checkout SCM)
  23. [Pipeline] checkout
  24.  > git rev-parse --is-inside-work-tree # timeout=10
  25. Fetching changes from the remote Git repository
  26.  > git config remote.origin.url https://github.com/swyngaard/jenkins_test.git # timeout=10
  27. Fetching upstream changes from https://github.com/swyngaard/jenkins_test.git
  28.  > git --version # timeout=10
  29. using GIT_ASKPASS to set credentials gh access
  30.  > git fetch --tags --progress https://github.com/swyngaard/jenkins_test.git +refs/heads/*:refs/remotes/origin/*
  31. Checking out Revision 27cb916de58dfd64b012fe767fc28d9642ef94e8 (docker_postgres)
  32.  > git config core.sparsecheckout # timeout=10
  33.  > git checkout -f 27cb916de58dfd64b012fe767fc28d9642ef94e8
  34.  > git rev-list 90234af621312ad90f176927c1e295ac8471429c # timeout=10
  35. [Pipeline] }
  36. [Pipeline] // stage
  37. [Pipeline] stage
  38. [Pipeline] { (Declarative: Agent Setup)
  39. [Pipeline] readFile
  40. [Pipeline] sh
  41. [orange_docker_postgres-L2ELZY7CKIQFXJCBW72WBSTZDK6GIFHHNC2MIBLVWPQ5JGTIMRTA] Running shell script
  42. + docker build -t 9f70c722b65e055a04a6dfc5ceb7cb1e1cb70b56 -f Dockerfile .
  43. Sending build context to Docker daemon 200.7 kB
  44.  
  45. Step 1 : FROM ubuntu:16.04
  46.  ---> 0ef2e08ed3fa
  47. Step 2 : ENV JENKINS_UID 111
  48.  ---> Using cache
  49.  ---> ecf8b7b7edb7
  50. Step 3 : ENV JENKINS_GID 118
  51.  ---> Using cache
  52.  ---> f07a10a33ccb
  53. Step 4 : ENV USERNAME test_user
  54.  ---> Using cache
  55.  ---> 4107c6657aea
  56. Step 5 : ENV DATABASE test_db
  57.  ---> Using cache
  58.  ---> d5a48da9cbec
  59. Step 6 : RUN apt-get -y update
  60.  ---> Using cache
  61.  ---> 68bcde7cd79d
  62. Step 7 : RUN apt-get -y install netcat-openbsd net-tools
  63.  ---> Using cache
  64.  ---> f664d5bc3fac
  65. Step 8 : RUN route -n | awk '/^0.0.0.0/ {print $2}' > /tmp/host_ip.txt
  66.  ---> Using cache
  67.  ---> 87c1a3de0bdb
  68. Step 9 : RUN echo "HEAD /" | nc `cat /tmp/host_ip.txt` 8000 | grep squid-deb-proxy   && (echo "Acquire::http::Proxy \"http://$(cat /tmp/host_ip.txt):8000\";" > /etc/apt/apt.conf.d/30proxy)   && (echo "Acquire::http::Proxy::ppa.launchpad.net DIRECT;" >> /etc/apt/apt.conf.d/30proxy)   || echo "No squid-deb-proxy detected on docker host"
  69.  ---> Using cache
  70.  ---> acbb7680fe54
  71. Step 10 : RUN apt-get -y install sudo openssh-server vim
  72.  ---> Using cache
  73.  ---> b953981c35a4
  74. Step 11 : RUN /bin/bash -c groupadd -g $JENKINS_GID $USERNAME
  75.  ---> Using cache
  76.  ---> 36ba3316a17d
  77. Step 12 : RUN /bin/bash -c adduser --disabled-password --uid $JENKINS_UID --gid $JENKINS_GID --gecos 'Test User' $USERNAME
  78.  ---> Using cache
  79.  ---> ae8d5cff56df
  80. Step 13 : RUN /bin/bash -c echo "$USERNAME:ndsecure1842" | chpasswd
  81.  ---> Using cache
  82.  ---> f7d127c15155
  83. Step 14 : RUN /bin/bash -c echo "$USERNAME ALL=(ALL) NOPASSWD: ALL" | (EDITOR="tee -a" visudo)
  84.  ---> Using cache
  85.  ---> 7c40813b5280
  86. Step 15 : RUN /bin/bash -c groupadd wheel
  87.  ---> Using cache
  88.  ---> 58c4869a4f57
  89. Step 16 : RUN /bin/bash -c usermod -aG wheel $USERNAME
  90.  ---> Using cache
  91.  ---> 3fe8c341440c
  92. Step 17 : RUN /bin/bash -c sed -i '19s/^# //' /etc/pam.d/su
  93.  ---> Using cache
  94.  ---> 98fc685d735c
  95. Step 18 : CMD /bin/bash -l
  96.  ---> Using cache
  97.  ---> ef5b06e06e5b
  98. Successfully built ef5b06e06e5b
  99. [Pipeline] dockerFingerprintFrom
  100. [Pipeline] }
  101. [Pipeline] // stage
  102. [Pipeline] sh
  103. [orange_docker_postgres-L2ELZY7CKIQFXJCBW72WBSTZDK6GIFHHNC2MIBLVWPQ5JGTIMRTA] Running shell script
  104. + docker inspect -f . 9f70c722b65e055a04a6dfc5ceb7cb1e1cb70b56
  105. .
  106. [Pipeline] withDockerContainer
  107. $ docker run -t -d -u 111:118 -w /var/lib/jenkins/workspace/orange_docker_postgres-L2ELZY7CKIQFXJCBW72WBSTZDK6GIFHHNC2MIBLVWPQ5JGTIMRTA -v /var/lib/jenkins/workspace/orange_docker_postgres-L2ELZY7CKIQFXJCBW72WBSTZDK6GIFHHNC2MIBLVWPQ5JGTIMRTA:/var/lib/jenkins/workspace/orange_docker_postgres-L2ELZY7CKIQFXJCBW72WBSTZDK6GIFHHNC2MIBLVWPQ5JGTIMRTA:rw -v /var/lib/jenkins/workspace/orange_docker_postgres-L2ELZY7CKIQFXJCBW72WBSTZDK6GIFHHNC2MIBLVWPQ5JGTIMRTA@tmp:/var/lib/jenkins/workspace/orange_docker_postgres-L2ELZY7CKIQFXJCBW72WBSTZDK6GIFHHNC2MIBLVWPQ5JGTIMRTA@tmp:rw -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** --entrypoint cat 9f70c722b65e055a04a6dfc5ceb7cb1e1cb70b56
  108. [Pipeline] {
  109. [Pipeline] stage
  110. [Pipeline] { (build)
  111. [Pipeline] echo
  112. Testing
  113. [Pipeline] }
  114. [Pipeline] // stage
  115. [Pipeline] stage
  116. [Pipeline] { (test)
  117. [Pipeline] sh
  118. [orange_docker_postgres-L2ELZY7CKIQFXJCBW72WBSTZDK6GIFHHNC2MIBLVWPQ5JGTIMRTA] Running shell script
  119. + echo steps_stage
  120. steps_stage
  121. [Pipeline] sh
  122. [orange_docker_postgres-L2ELZY7CKIQFXJCBW72WBSTZDK6GIFHHNC2MIBLVWPQ5JGTIMRTA] Running shell script
  123. + su -c pwd
  124. su: must be run from a terminal
  125. [Pipeline] }
  126. [Pipeline] // stage
  127. [Pipeline] }
  128. $ docker stop --time=1 c4e27334b82fb67f8505e4b029047d6b9fb137e13881450307f16283dd81902f
  129. $ docker rm -f c4e27334b82fb67f8505e4b029047d6b9fb137e13881450307f16283dd81902f
  130. [Pipeline] // withDockerContainer
  131. [Pipeline] }
  132. [Pipeline] // node
  133. [Pipeline] End of Pipeline
  134. ERROR: script returned exit code 1
  135. Finished: FAILURE
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top