Hi Tim,Thanks to your reply. :)1) working on using the latest JenkinsI installed jenkin on the host as https://wiki.jenkins-ci.org/display/JENKINS/ Installing+Jenkins+on+Ubuntu Would it cause problem?
2) working on getting a pre-made docker container that people can download without having to build their own.Could you please recommend ? ;)I captured log for my trial as following:bchoi@atom2:~/work/third-party/fuego$ ./install.sh [sudo] password for bchoi:Sending build context to Docker daemon 105.1 MBStep 1 : FROM debian:jessie---> 19134a8202e7Step 2 : MAINTAINER tim.bird@am.sony.com---> Using cache---> 4ef47b94044bStep 3 : ARG HTTP_PROXY---> Using cache---> 7e964752e35cStep 4 : ENV INST_FUEGO_ENGINE_PATH /home/jenkins---> Using cache---> dde0288b5a04Step 5 : ENV INST_FUEGO_FRONTEND_PATH /var/lib/jenkins---> Using cache---> 7ca695e83d33Step 6 : ENV URL_PREFIX /fuego---> Using cache---> ccfbd2c42b00Step 7 : WORKDIR /fuego-install---> Using cache---> edb08e19cf9fStep 8 : RUN dpkg --add-architecture i386---> Using cache---> 8639734467ceStep 9 : RUN echo deb http://ftp.us.debian.org/debian jessie main non-free >> /etc/apt/sources.list---> Using cache---> 461c7ff1d2b6Step 10 : RUN if [ -n "$HTTP_PROXY" ]; then echo 'Acquire::http::proxy "'$HTTP_PROXY'";' > /etc/apt/apt.conf.d/80proxy; fi---> Using cache---> aed756ff978aStep 11 : RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get -yV install apt-utils daemon gcc make python-paramiko python-lxml python-simplejson python-matplotlib libtool xmlstarlet autoconf automake rsync openjdk-7-jre openjdk-7-jdk iperf netperf netpipe-tcp texlive-latex-base sshpass wget git diffstat sudo net-tools vim openssh-server curl inotify-tools---> Using cache---> b36aa18cb5d1Step 12 : RUN /bin/bash -c 'echo "dash dash/sh boolean false" | debconf-set-selections ; DEBIAN_FRONTEND=noninteractive dpkg-reconfigure dash'---> Using cache---> d6c7f83084c2Step 13 : COPY frontend-install/jenkins_1.509.2_all.deb /fuego-install/ ---> Using cache---> ae0aa5e1f358Step 14 : RUN dpkg -i /fuego-install/jenkins_1.509.2_all.deb ---> Using cache---> b01a6c0a463aStep 15 : RUN if [ -n "$HTTP_PROXY" ]; then echo "use_proxy = on" >> /etc/wgetrc && echo 'http_proxy =' $HTTP_PROXY >> /etc/wgetrc; fi---> Using cache---> 028e4805fe8dStep 16 : RUN /bin/bash -c 'wget -nv "http://downloads.sourceforge.net/project/getfo/texml/texml- " -O texml.tar.gz ; tar xvf texml.tar.gz; cd texml-2.0.2 ; python setup.py install; cd -'2.0.2/texml-2.0.2.tar.gz?r= http%3A%2F%2Fsourceforge.net% 2Fprojects%2Fgetfo%2F&ts= 1398789654&use_mirror=jaist ---> Using cache---> 493250ccb4c3Step 17 : RUN echo "PermitRootLogin yes" >> /etc/ssh/sshd_config---> Using cache---> 8bce63c99e08Step 18 : RUN echo deb http://emdebian.org/tools/debian/ jessie main > /etc/apt/sources.list.d/crosstools.list ---> Using cache---> c4a09042cabcStep 19 : RUN dpkg --add-architecture armhf---> Using cache---> be62180332ccStep 20 : RUN if [ -n "$HTTP_PROXY" ]; then curl --proxy $HTTP_PROXY http://emdebian.org/tools/debian/emdebian-toolchain- | sudo apt-key add -; else curl http://emdebian.org/tools/archive.key debian/emdebian-toolchain- | sudo apt-key add -; fiarchive.key ---> Using cache---> 2b5d713beec4Step 21 : RUN DEBIAN_FRONTEND=noninteractive apt-get update---> Using cache---> 3c5971aa96d5Step 22 : RUN DEBIAN_FRONTEND=noninteractive apt-get -yV install crossbuild-essential-armhf---> Using cache---> 9f78584aaabfStep 23 : ENV INST_FUEGO_CORE_GIT_REVISION c2ddbab---> Using cache---> 8aa835ebb580Step 24 : RUN mkdir -p /home/jenkins---> Using cache---> 9811d541abceStep 25 : RUN if [ -n "$HTTP_PROXY" ]; then git config --global http.proxy $HTTP_PROXY; fi---> Using cache---> d7ed36f07ec2Step 26 : RUN git clone https://bitbucket.org/tbird20d/fuego-core.git $INST_FUEGO_ENGINE_PATH/fuego && cd $INST_FUEGO_ENGINE_PATH/fuego && git reset --hard $INST_FUEGO_CORE_NEXT_GIT_REVISION && cd /fuego-install ---> Using cache---> 1166c682964bStep 27 : RUN ln -s $INST_FUEGO_ENGINE_PATH/fuego/engine/* $INST_FUEGO_ENGINE_PATH/ ---> Using cache---> 0f9e924b6a9dStep 28 : RUN ln -s $INST_FUEGO_ENGINE_PATH/fuego/jobs $INST_FUEGO_FRONTEND_PATH/jobs ---> Using cache---> 7349d4101795Step 29 : COPY docs $INST_FUEGO_FRONTEND_PATH/userContent/docs/ ---> Using cache---> f7ffd99f3643Step 30 : RUN ln -s $INST_FUEGO_ENGINE_PATH/fuego/engine/scripts/ftc /usr/local/bin/ ---> Using cache---> a3ecf1216198Step 31 : COPY fuego-scripts/maintain_config_link.sh /usr/local/bin/ ---> Using cache---> 790a7dc771a7Step 32 : RUN ln -s /userdata/buildzone $INST_FUEGO_ENGINE_PATH/buildzone ---> Using cache---> c763a03176bbStep 33 : RUN ln -s /userdata/work $INST_FUEGO_ENGINE_PATH/work---> Using cache---> b2bbee76afe7Step 34 : RUN ln -s /userdata/logs $INST_FUEGO_ENGINE_PATH/logs---> Using cache---> 72631eb4b142Step 35 : RUN ln -s /userdata/logs $INST_FUEGO_FRONTEND_PATH/logs---> Using cache---> a0ac32f43928Step 36 : RUN ln -s /userdata/conf/boards $INST_FUEGO_ENGINE_PATH/overlays/boards ---> Using cache---> 8ef92486bf52Step 37 : RUN ln -s /userdata/conf/config.xml $INST_FUEGO_FRONTEND_PATH/config.xml ---> Using cache---> 5db5957ad12dStep 38 : RUN ln -s /userdata/conf/tools.sh $INST_FUEGO_ENGINE_PATH/scripts/tools.sh ---> Using cache---> 388d7b0042bcStep 39 : RUN ln -s $INST_FUEGO_ENGINE_PATH/fuego/plugins-conf/scriptler $INST_FUEGO_FRONTEND_PATH/ ---> Using cache---> 07516d61482aStep 40 : RUN ln -s $INST_FUEGO_ENGINE_PATH/fuego/plugins-conf/sidebar-link.xml $INST_FUEGO_FRONTEND_PATH/ ---> Using cache---> 1c3052a276c3Step 41 : COPY frontend-install/jenkins.cfg /etc/default/jenkins---> Using cache---> f8a02e7f3793Step 42 : COPY fuego-scripts/subsitute_jen_url_prefix.sh /fuego-install/ ---> Using cache---> 6dd4a9693178Step 43 : RUN /fuego-install/subsitute_jen_url_prefix.sh /etc/default/jenkins ---> Using cache---> ebaa2d2af0fbStep 44 : RUN chown -R jenkins $INST_FUEGO_ENGINE_PATH $INST_FUEGO_FRONTEND_PATH /var/cache/jenkins /etc/default/jenkins---> Using cache---> 37d7165f2169Step 45 : COPY frontend-install/plugins $INST_FUEGO_FRONTEND_PATH/---> Using cache---> 678c9358cfc4Step 46 : COPY frontend-install/jenkins-updates /fuego-install/jenkins-updates ---> Using cache---> b3c77ee2fe76Step 47 : RUN /fuego-install/subsitute_jen_url_prefix.sh /fuego-install/jenkins-updates ---> Using cache---> c26e6d5d21d6Step 48 : WORKDIR /fuego-install/jenkins-updates---> Using cache---> 46cad051caf2Step 49 : RUN echo "installing custom UI updates"---> Using cache---> ffbbbcc623e4Step 50 : RUN /etc/init.d/jenkins start && ./updates.sh---> Running in 2ddaccce07e3Starting Jenkins Continuous Integration Server: jenkins.Jenkins cache is /var/cache/jenkins/warconverted 'http://localhost:8080/fuego/jnlpJars/jenkins-cli.jar ' (ANSI_X3.4-1968) -> 'http://localhost:8080/fuego/jnlpJars/jenkins-cli.jar ' (UTF-8)--2017-02-24 07:49:16-- http://localhost:8080/fuego/jnlpJars/jenkins-cli.jar Resolving localhost (localhost)... ::1, 127.0.0.1Connecting to localhost (localhost)|::1|:8080... failed: Connection refused.Connecting to localhost (localhost)|127.0.0.1|:8080... failed: Connection refused.Retrying wget -v --no-proxy http://localhost:8080/fuego/jnlpJars/jenkins-cli.jar -O jenkins-cli.jarRestarting Jenkins Continuous Integration Server: jenkins.converted 'http://localhost:8080/fuego/jnlpJars/jenkins-cli.jar ' (ANSI_X3.4-1968) -> 'http://localhost:8080/fuego/jnlpJars/jenkins-cli.jar ' (UTF-8)--2017-02-24 07:49:28-- http://localhost:8080/fuego/jnlpJars/jenkins-cli.jar Resolving localhost (localhost)... ::1, 127.0.0.1Connecting to localhost (localhost)|::1|:8080... connected.HTTP request sent, awaiting response... 503 Service Temporarily Unavailable2017-02-24 07:49:33 ERROR 503: Service Temporarily Unavailable.Retrying wget -v --no-proxy http://localhost:8080/fuego/jnlpJars/jenkins-cli.jar -O jenkins-cli.jarRestarting Jenkins Continuous Integration Server: jenkins.converted 'http://localhost:8080/fuego/jnlpJars/jenkins-cli.jar ' (ANSI_X3.4-1968) -> 'http://localhost:8080/fuego/jnlpJars/jenkins-cli.jar ' (UTF-8)--2017-02-24 07:49:44-- http://localhost:8080/fuego/jnlpJars/jenkins-cli.jar Resolving localhost (localhost)... ::1, 127.0.0.1Connecting to localhost (localhost)|::1|:8080... connected.HTTP request sent, awaiting response... ^Cbchoi@atom2:~/work/third-party/fuego$ BR,Mark--2017-02-24 1:21 GMT+09:00 Bird, Timothy <Tim.Bird@sony.com>:
> -----Original Message-----
> From: Mark Choi on Tuesday, February 21, 2017 10:40 PM
>
> It is my first trip to fuego. :)
>
Hello Mark,
Thanks for trying out Fuego. I'm sorry you are having problems. I apologize
for the slow response. Most of the lead Fuego developers are at
Embedded Linux Conference this week, and away from our desks. So the response
might be a bit slow.
> I run fuego/install.sh after git clone but, I got error message continuing as
> follow:
>
> Retrying wget -v --no-proxy http://localhost:8080/fuego/jnlpJars/jenkins-
> cli.jar <http://localhost:8080/fuego/jnlpJars/jenkins-cli.jar > -O jenkins-cli.jar
> Restarting Jenkins Continuous Integration Server: jenkins.
> converted 'http://localhost:8080/fuego/jnlpJars/jenkins-cli.jar
> <http://localhost:8080/fuego/jnlpJars/jenkins-cli.jar > ' (ANSI_X3.4-1968) ->
> 'http://localhost:8080/fuego/jnlpJars/jenkins-cli.jar
> <http://localhost:8080/fuego/jnlpJars/jenkins-cli.jar > ' (UTF-8)
> --2017-02-22 06:35:27-- http://localhost:8080/fuego/jnlpJars/jenkins-cli.jar
> <http://localhost:8080/fuego/jnlpJars/jenkins-cli.jar >
> Resolving localhost (localhost)... ::1, 127.0.0.1
> Connecting to localhost (localhost)|::1|:8080... connected.
> HTTP request sent, awaiting response... 503 Service Temporarily Unavailable
> 2017-02-22 06:35:28 ERROR 503: Service Temporarily Unavailable.
>
>
> It repeatedly permanently.
>
> My host is Ubuntu-16.04.
>
> Can you help me ?
Just to double-check, you see this during install.sh, not during
docker-create_container.sh or docker-start-container.sh?
Can you please send the whole output from install.sh? I'd like
to see what build step this is in. I strongly suspect it's during the
Jenkins installation step. It appears that Jenkins is not starting
up during the install into the container, and a post-install step
in the docker package itself is failing trying to put the jenkins-cli.jar
into the Docker container. This could be either a docker bug (maybe
with networking) or a jenkins bug, with that version of Jenkins.
Just FYI we are in the process of doing a few things that should help
eliminate these types of problems:
1) working on using the latest Jenkins
2) working on getting a pre-made docker container that people can
download without having to build their own.
However, these won't be ready for a while and doesn't help with
the problem at hand. Please send the full log, and I'll try to see
if I can figure it out.
Thanks,
-- Tim
=========================Mark Choi ( 최봉규 부장 )
Customer Support Engineer
MontaVista Software, LLChttp://www.mvista.com
Tel: +82 70 7017 3452
Fax: +82 2 403 3450
Cell: +82 10 6865 0286
Email: bchoi@mvista.com
=========================
http://www.mvista.com
Tel: +82 70 7017 3452
Fax: +82 2 403 3450
Cell: +82 10 6865 0286
Email: bchoi@mvista.com
=========================