SHARE
TWEET
jenkins error
a guest
Mar 27th, 2017
81
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- Branch indexing
- > git rev-parse --is-inside-work-tree # timeout=10
- Setting origin to https://github.com/swyngaard/jenkins_test.git
- > git config remote.origin.url https://github.com/swyngaard/jenkins_test.git # timeout=10
- Fetching origin...
- Fetching upstream changes from origin
- > git --version # timeout=10
- using GIT_ASKPASS to set credentials gh access
- > git fetch --tags --progress origin +refs/heads/*:refs/remotes/origin/*
- Seen branch in repository origin/branch_demo
- Seen branch in repository origin/broken_branch
- Seen branch in repository origin/docker_postgres
- Seen branch in repository origin/docker_test
- Seen branch in repository origin/master
- Seen branch in repository origin/pr_demo
- Seen 6 remote branches
- Obtained Jenkinsfile from 27cb916de58dfd64b012fe767fc28d9642ef94e8
- [Pipeline] node
- Running on master in /var/lib/jenkins/workspace/orange_docker_postgres-L2ELZY7CKIQFXJCBW72WBSTZDK6GIFHHNC2MIBLVWPQ5JGTIMRTA
- [Pipeline] {
- [Pipeline] stage
- [Pipeline] { (Declarative: Checkout SCM)
- [Pipeline] checkout
- > git rev-parse --is-inside-work-tree # timeout=10
- Fetching changes from the remote Git repository
- > git config remote.origin.url https://github.com/swyngaard/jenkins_test.git # timeout=10
- Fetching upstream changes from https://github.com/swyngaard/jenkins_test.git
- > git --version # timeout=10
- using GIT_ASKPASS to set credentials gh access
- > git fetch --tags --progress https://github.com/swyngaard/jenkins_test.git +refs/heads/*:refs/remotes/origin/*
- Checking out Revision 27cb916de58dfd64b012fe767fc28d9642ef94e8 (docker_postgres)
- > git config core.sparsecheckout # timeout=10
- > git checkout -f 27cb916de58dfd64b012fe767fc28d9642ef94e8
- > git rev-list 90234af621312ad90f176927c1e295ac8471429c # timeout=10
- [Pipeline] }
- [Pipeline] // stage
- [Pipeline] stage
- [Pipeline] { (Declarative: Agent Setup)
- [Pipeline] readFile
- [Pipeline] sh
- [orange_docker_postgres-L2ELZY7CKIQFXJCBW72WBSTZDK6GIFHHNC2MIBLVWPQ5JGTIMRTA] Running shell script
- + docker build -t 9f70c722b65e055a04a6dfc5ceb7cb1e1cb70b56 -f Dockerfile .
- Sending build context to Docker daemon 200.7 kB
- Step 1 : FROM ubuntu:16.04
- ---> 0ef2e08ed3fa
- Step 2 : ENV JENKINS_UID 111
- ---> Using cache
- ---> ecf8b7b7edb7
- Step 3 : ENV JENKINS_GID 118
- ---> Using cache
- ---> f07a10a33ccb
- Step 4 : ENV USERNAME test_user
- ---> Using cache
- ---> 4107c6657aea
- Step 5 : ENV DATABASE test_db
- ---> Using cache
- ---> d5a48da9cbec
- Step 6 : RUN apt-get -y update
- ---> Using cache
- ---> 68bcde7cd79d
- Step 7 : RUN apt-get -y install netcat-openbsd net-tools
- ---> Using cache
- ---> f664d5bc3fac
- Step 8 : RUN route -n | awk '/^0.0.0.0/ {print $2}' > /tmp/host_ip.txt
- ---> Using cache
- ---> 87c1a3de0bdb
- 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"
- ---> Using cache
- ---> acbb7680fe54
- Step 10 : RUN apt-get -y install sudo openssh-server vim
- ---> Using cache
- ---> b953981c35a4
- Step 11 : RUN /bin/bash -c groupadd -g $JENKINS_GID $USERNAME
- ---> Using cache
- ---> 36ba3316a17d
- Step 12 : RUN /bin/bash -c adduser --disabled-password --uid $JENKINS_UID --gid $JENKINS_GID --gecos 'Test User' $USERNAME
- ---> Using cache
- ---> ae8d5cff56df
- Step 13 : RUN /bin/bash -c echo "$USERNAME:ndsecure1842" | chpasswd
- ---> Using cache
- ---> f7d127c15155
- Step 14 : RUN /bin/bash -c echo "$USERNAME ALL=(ALL) NOPASSWD: ALL" | (EDITOR="tee -a" visudo)
- ---> Using cache
- ---> 7c40813b5280
- Step 15 : RUN /bin/bash -c groupadd wheel
- ---> Using cache
- ---> 58c4869a4f57
- Step 16 : RUN /bin/bash -c usermod -aG wheel $USERNAME
- ---> Using cache
- ---> 3fe8c341440c
- Step 17 : RUN /bin/bash -c sed -i '19s/^# //' /etc/pam.d/su
- ---> Using cache
- ---> 98fc685d735c
- Step 18 : CMD /bin/bash -l
- ---> Using cache
- ---> ef5b06e06e5b
- Successfully built ef5b06e06e5b
- [Pipeline] dockerFingerprintFrom
- [Pipeline] }
- [Pipeline] // stage
- [Pipeline] sh
- [orange_docker_postgres-L2ELZY7CKIQFXJCBW72WBSTZDK6GIFHHNC2MIBLVWPQ5JGTIMRTA] Running shell script
- + docker inspect -f . 9f70c722b65e055a04a6dfc5ceb7cb1e1cb70b56
- .
- [Pipeline] withDockerContainer
- $ 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
- [Pipeline] {
- [Pipeline] stage
- [Pipeline] { (build)
- [Pipeline] echo
- Testing
- [Pipeline] }
- [Pipeline] // stage
- [Pipeline] stage
- [Pipeline] { (test)
- [Pipeline] sh
- [orange_docker_postgres-L2ELZY7CKIQFXJCBW72WBSTZDK6GIFHHNC2MIBLVWPQ5JGTIMRTA] Running shell script
- + echo steps_stage
- steps_stage
- [Pipeline] sh
- [orange_docker_postgres-L2ELZY7CKIQFXJCBW72WBSTZDK6GIFHHNC2MIBLVWPQ5JGTIMRTA] Running shell script
- + su -c pwd
- su: must be run from a terminal
- [Pipeline] }
- [Pipeline] // stage
- [Pipeline] }
- $ docker stop --time=1 c4e27334b82fb67f8505e4b029047d6b9fb137e13881450307f16283dd81902f
- $ docker rm -f c4e27334b82fb67f8505e4b029047d6b9fb137e13881450307f16283dd81902f
- [Pipeline] // withDockerContainer
- [Pipeline] }
- [Pipeline] // node
- [Pipeline] End of Pipeline
- ERROR: script returned exit code 1
- 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.

