All of lore.kernel.org
 help / color / mirror / Atom feed
* [Fuego] ERROR 503: Service Temporarily Unavailable.
@ 2017-02-22  6:37 Mark Choi
  0 siblings, 0 replies; 9+ messages in thread
From: Mark Choi @ 2017-02-22  6:37 UTC (permalink / raw)
  To: fuego

[-- Attachment #1: Type: text/plain, Size: 785 bytes --]

Hi

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 -O jenkins-cli.jar
Restarting 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-22 06:35:27--
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.

BR.

[-- Attachment #2: Type: text/html, Size: 1347 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Fuego] ERROR 503: Service Temporarily Unavailable.
  2017-03-02  8:10           ` Bird, Timothy
@ 2017-03-02 22:18             ` Bird, Timothy
  0 siblings, 0 replies; 9+ messages in thread
From: Bird, Timothy @ 2017-03-02 22:18 UTC (permalink / raw)
  To: Bird, Timothy, Mark Choi; +Cc: fuego

> -----Original Message-----
> From: Bird, Timothy on Thursday, March 02, 2017 12:10 AM
>
> Thanks again for following up.  I'll try to formulate a final resolution
> for this bug in my next branch sometime this week.

FYI - I logged this as Fuego issue 27 (http://bird.org/fuego/Issue_0027)

The problem is fixed by this commit:
https://bitbucket.org/tbird20d/fuego/commits/08f7d2545faa272f6d78b67c7394ba4eacc64083

Thanks for reporting the bug.
 -- Tim

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Fuego] ERROR 503: Service Temporarily Unavailable.
  2017-03-02  8:03         ` Mark Choi
@ 2017-03-02  8:10           ` Bird, Timothy
  2017-03-02 22:18             ` Bird, Timothy
  0 siblings, 1 reply; 9+ messages in thread
From: Bird, Timothy @ 2017-03-02  8:10 UTC (permalink / raw)
  To: Mark Choi; +Cc: fuego

That's great!  Thanks very much for reporting the results of the operation.
It looks like there just needs to be a longer delay between restarting
jenkins and the attempt to wget the jenkins-cli.jar file.  With the extra
sleep in there, the retries were not even needed.

Thanks again for following up.  I'll try to formulate a final resolution
for this bug in my next branch sometime this week.
 -- Tim

> -----Original Message-----
> From: Mark Choi on Thursday, March 02, 2017 12:03 AM
> Hi Tim,
> 
> I applied patches and get following logs.
> 
> It looks like working fine.
> 
> Many thanks !!
> 
> 
> 
> ================ LOG ==============
> bchoi@atom2:~/work/third-party/fuego$ ./install.sh
> [sudo] password for bchoi:
> Sending build context to Docker daemon 105.1 MB
> Step 1 : FROM debian:jessie
>  ---> 19134a8202e7
> Step 2 : MAINTAINER tim.bird@am.sony.com
> <mailto:tim.bird@am.sony.com>
>  ---> Using cache
>  ---> 4ef47b94044b
> Step 3 : ARG HTTP_PROXY
>  ---> Using cache
>  ---> 7e964752e35c
> Step 4 : ENV INST_FUEGO_ENGINE_PATH /home/jenkins
>  ---> Using cache
>  ---> dde0288b5a04
> Step 5 : ENV INST_FUEGO_FRONTEND_PATH /var/lib/jenkins
>  ---> Using cache
>  ---> 7ca695e83d33
> Step 6 : ENV URL_PREFIX /fuego
>  ---> Using cache
>  ---> ccfbd2c42b00
> Step 7 : WORKDIR /fuego-install
>  ---> Using cache
>  ---> edb08e19cf9f
> Step 8 : RUN dpkg --add-architecture i386
>  ---> Using cache
>  ---> 8639734467ce
> Step 9 : RUN echo deb http://ftp.us.debian.org/debian jessie main non-free
> >> /etc/apt/sources.list
>  ---> Using cache
>  ---> 461c7ff1d2b6
> Step 10 : RUN if [ -n "$HTTP_PROXY" ]; then echo 'Acquire::http::proxy
> "'$HTTP_PROXY'";' > /etc/apt/apt.conf.d/80proxy; fi
>  ---> Using cache
>  ---> aed756ff978a
> Step 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
>  ---> b36aa18cb5d1
> Step 12 : RUN /bin/bash -c 'echo "dash dash/sh boolean false" | debconf-set-
> selections ; DEBIAN_FRONTEND=noninteractive dpkg-reconfigure dash'
>  ---> Using cache
>  ---> d6c7f83084c2
> Step 13 : COPY frontend-install/jenkins_1.509.2_all.deb /fuego-install/
>  ---> Using cache
>  ---> ae0aa5e1f358
> Step 14 : RUN dpkg -i /fuego-install/jenkins_1.509.2_all.deb
>  ---> Using cache
>  ---> b01a6c0a463a
> Step 15 : RUN if [ -n "$HTTP_PROXY" ]; then echo "use_proxy = on" >>
> /etc/wgetrc && echo 'http_proxy =' $HTTP_PROXY >> /etc/wgetrc; fi
>  ---> Using cache
>  ---> 028e4805fe8d
> Step 16 : RUN /bin/bash -c 'wget -nv
> "http://downloads.sourceforge.net/project/getfo/texml/texml-2.0.2/texml-
> 2.0.2.tar.gz?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fgetfo%2F&ts
> =1398789654&use_mirror=jaist" -O texml.tar.gz ; tar xvf texml.tar.gz; cd
> texml-2.0.2 ; python setup.py install; cd -'
>  ---> Using cache
>  ---> 493250ccb4c3
> Step 17 : RUN echo "PermitRootLogin yes" >> /etc/ssh/sshd_config
>  ---> Using cache
>  ---> 8bce63c99e08
> Step 18 : RUN echo deb http://emdebian.org/tools/debian/ jessie main >
> /etc/apt/sources.list.d/crosstools.list
>  ---> Using cache
>  ---> c4a09042cabc
> Step 19 : RUN dpkg --add-architecture armhf
>  ---> Using cache
>  ---> be62180332cc
> Step 20 : RUN if [ -n "$HTTP_PROXY" ]; then curl --proxy $HTTP_PROXY
> http://emdebian.org/tools/debian/emdebian-toolchain-archive.key | sudo
> apt-key add -; else curl http://emdebian.org/tools/debian/emdebian-
> toolchain-archive.key | sudo apt-key add -; fi
>  ---> Using cache
>  ---> 2b5d713beec4
> Step 21 : RUN DEBIAN_FRONTEND=noninteractive apt-get update
>  ---> Using cache
>  ---> 3c5971aa96d5
> Step 22 : RUN DEBIAN_FRONTEND=noninteractive apt-get -yV install
> crossbuild-essential-armhf
>  ---> Using cache
>  ---> 9f78584aaabf
> Step 23 : ENV INST_FUEGO_CORE_GIT_REVISION c2ddbab
>  ---> Using cache
>  ---> 8aa835ebb580
> Step 24 : RUN mkdir -p /home/jenkins
>  ---> Using cache
>  ---> 9811d541abce
> Step 25 : RUN if [ -n "$HTTP_PROXY" ]; then git config --global http.proxy
> $HTTP_PROXY; fi
>  ---> Using cache
>  ---> d7ed36f07ec2
> Step 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
>  ---> 1166c682964b
> Step 27 : RUN ln -s $INST_FUEGO_ENGINE_PATH/fuego/engine/*
> $INST_FUEGO_ENGINE_PATH/
>  ---> Using cache
>  ---> 0f9e924b6a9d
> Step 28 : RUN ln -s $INST_FUEGO_ENGINE_PATH/fuego/jobs
> $INST_FUEGO_FRONTEND_PATH/jobs
>  ---> Using cache
>  ---> 7349d4101795
> Step 29 : COPY docs $INST_FUEGO_FRONTEND_PATH/userContent/docs/
>  ---> Using cache
>  ---> f7ffd99f3643
> Step 30 : RUN ln -s $INST_FUEGO_ENGINE_PATH/fuego/engine/scripts/ftc
> /usr/local/bin/
>  ---> Using cache
>  ---> a3ecf1216198
> Step 31 : COPY fuego-scripts/maintain_config_link.sh /usr/local/bin/
>  ---> Using cache
>  ---> 790a7dc771a7
> Step 32 : RUN ln -s /userdata/buildzone
> $INST_FUEGO_ENGINE_PATH/buildzone
>  ---> Using cache
>  ---> c763a03176bb
> Step 33 : RUN ln -s /userdata/work $INST_FUEGO_ENGINE_PATH/work
>  ---> Using cache
>  ---> b2bbee76afe7
> Step 34 : RUN ln -s /userdata/logs $INST_FUEGO_ENGINE_PATH/logs
>  ---> Using cache
>  ---> 72631eb4b142
> Step 35 : RUN ln -s /userdata/logs $INST_FUEGO_FRONTEND_PATH/logs
>  ---> Using cache
>  ---> a0ac32f43928
> Step 36 : RUN ln -s /userdata/conf/boards
> $INST_FUEGO_ENGINE_PATH/overlays/boards
>  ---> Using cache
>  ---> 8ef92486bf52
> Step 37 : RUN ln -s /userdata/conf/config.xml
> $INST_FUEGO_FRONTEND_PATH/config.xml
>  ---> Using cache
>  ---> 5db5957ad12d
> Step 38 : RUN ln -s /userdata/conf/tools.sh
> $INST_FUEGO_ENGINE_PATH/scripts/tools.sh
>  ---> Using cache
>  ---> 388d7b0042bc
> Step 39 : RUN ln -s $INST_FUEGO_ENGINE_PATH/fuego/plugins-
> conf/scriptler $INST_FUEGO_FRONTEND_PATH/
>  ---> Using cache
>  ---> 07516d61482a
> Step 40 : RUN ln -s $INST_FUEGO_ENGINE_PATH/fuego/plugins-
> conf/sidebar-link.xml $INST_FUEGO_FRONTEND_PATH/
>  ---> Using cache
>  ---> 1c3052a276c3
> Step 41 : COPY frontend-install/jenkins.cfg /etc/default/jenkins
>  ---> Using cache
>  ---> f8a02e7f3793
> Step 42 : COPY fuego-scripts/subsitute_jen_url_prefix.sh /fuego-install/
>  ---> Using cache
>  ---> 6dd4a9693178
> Step 43 : RUN /fuego-install/subsitute_jen_url_prefix.sh
> /etc/default/jenkins
>  ---> Using cache
>  ---> ebaa2d2af0fb
> Step 44 : RUN chown -R jenkins  $INST_FUEGO_ENGINE_PATH
> $INST_FUEGO_FRONTEND_PATH /var/cache/jenkins /etc/default/jenkins
>  ---> Using cache
>  ---> 37d7165f2169
> Step 45 : COPY frontend-install/plugins $INST_FUEGO_FRONTEND_PATH/
>  ---> Using cache
>  ---> 678c9358cfc4
> Step 46 : COPY frontend-install/jenkins-updates /fuego-install/jenkins-
> updates
>  ---> 9bd5efc1926e
> Removing intermediate container b31713cd58ee
> Step 47 : RUN /fuego-install/subsitute_jen_url_prefix.sh /fuego-
> install/jenkins-updates
>  ---> Running in 3e1a6dadf008
> Subsituting WEBROOT_PREFIX_PLACEHOLDER -> /fuego in /fuego-
> install/jenkins-updates
>  ---> da47a0793fc3
> Removing intermediate container 3e1a6dadf008
> Step 48 : WORKDIR /fuego-install/jenkins-updates
>  ---> Running in 21e6d19e0757
>  ---> 972cf31eed48
> Removing intermediate container 21e6d19e0757
> Step 49 : RUN echo "installing custom UI updates"
>  ---> Running in ab3f65ff9d77
> installing custom UI updates
>  ---> 7890ae99f7ee
> Removing intermediate container ab3f65ff9d77
> Step 50 : RUN /etc/init.d/jenkins start && ./updates.sh
>  ---> Running in b38bcb69602f
> Starting Jenkins Continuous Integration Server: jenkins.
> ++ whoami
> + '[' root '!=' root ']'
> + source ./constants.sh
> ++ LANG=en_US
> ++ JENKINS_USER_PASS=j3nkins
> ++ JEN_URL=http://localhost:8080/fuego
> ++ JENKINS_INST=/var/lib/jenkins
> ++ JENKINS_WAR_FILE=/usr/share/jenkins/jenkins.war
> +++ jar tf /usr/share/jenkins/jenkins.war
> +++ grep jenkins-core
> ++ JENKINS_CORE_NAME=WEB-INF/lib/jenkins-core-1.509.2.jar
> ++ JENKINS_CACHE=/var/cache/jenkins/war
> ++ RSYNC_ARGS='-ahq --stats'
> + echo 'Jenkins cache is /var/cache/jenkins/war'
> Jenkins cache is /var/cache/jenkins/war
> + fix_permissions /var/lib/jenkins
> + chown -fRH jenkins /var/lib/jenkins
> 
> + fix_permissions /var/cache/jenkins/war
> + chown -fRH jenkins /var/cache/jenkins/war
> + sync_fetch_jenkins_cli
> + sleep 20
> + retry=0
> + wget -v --no-proxy http://localhost:8080/fuego/jnlpJars/jenkins-cli.jar -O
> jenkins-cli.jar
> converted 'http://localhost:8080/fuego/jnlpJars/jenkins-cli.jar' (ANSI_X3.4-
> 1968) -> 'http://localhost:8080/fuego/jnlpJars/jenkins-cli.jar' (UTF-8)
> --2017-03-02 07:57:22--  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... 200 OK
> Length: 605730 (592K) [application/java-archive]
> Saving to: 'jenkins-cli.jar'
> 
>      0K .......... .......... .......... .......... ..........  8% 4.21M 0s
>     50K .......... .......... .......... .......... .......... 16% 10.5M 0s
>    100K .......... .......... .......... .......... .......... 25%  169M 0s
>    150K .......... .......... .......... .......... .......... 33% 57.1M 0s
>    200K .......... .......... .......... .......... .......... 42% 12.3M 0s
>    250K .......... .......... .......... .......... .......... 50% 16.1M 0s
>    300K .......... .......... .......... .......... .......... 59% 22.5M 0s
>    350K .......... .......... .......... .......... .......... 67% 54.9M 0s
>    400K .......... .......... .......... .......... .......... 76% 71.2M 0s
>    450K .......... .......... .......... .......... .......... 84% 88.3M 0s
>    500K .......... .......... .......... .......... .......... 92% 34.5M 0s
>    550K .......... .......... .......... .......... .         100%  950K=0.07s
> 
> 2017-03-02 07:57:22 (7.82 MB/s) - 'jenkins-cli.jar' saved [605730/605730]
> 
> + cd en_US
> + cp hudson.plugins.page_markup.PageMarkupPageDecorator.xml
> locale.xml /var/lib/jenkins
> + fix_permissions /var/lib/jenkins/buildstep-config-files.xml
> /var/lib/jenkins/config.xml /var/lib/jenkins/custom-config-files.xml
> /var/lib/jenkins/hudson.maven.MavenModuleSet.xml
> /var/lib/jenkins/hudson.model.UpdateCenter.xml
> /var/lib/jenkins/hudson.plugins.git.GitTool.xml
> /var/lib/jenkins/hudson.plugins.groovy.Groovy.xml
> /var/lib/jenkins/hudson.plugins.page_markup.PageMarkupPageDecorator.x
> ml
> /var/lib/jenkins/hudson.plugins.throttleconcurrents.ThrottleJobProperty.xm
> l /var/lib/jenkins/hudson.scm.CVSSCM.xml
> /var/lib/jenkins/hudson.scm.SubversionSCM.xml
> /var/lib/jenkins/hudson.tasks.Ant.xml
> /var/lib/jenkins/hudson.tasks.Mailer.xml
> /var/lib/jenkins/hudson.tasks.Maven.xml
> /var/lib/jenkins/hudson.tasks.Shell.xml
> /var/lib/jenkins/hudson.triggers.SCMTrigger.xml
> /var/lib/jenkins/jenkins.model.JenkinsLocationConfiguration.xml
> /var/lib/jenkins/jp.ikedam.jenkins.plugins.extensible_choice_parameter.Glo
> balTextareaChoiceListProvider.xml /var/lib/jenkins/locale.xml
> /var/lib/jenkins/nodeMonitors.xml
> /var/lib/jenkins/org.codefirst.SimpleThemeDecorator.xml
> /var/lib/jenkins/sidebar-link.xml
> + chown -fRH jenkins /var/lib/jenkins/buildstep-config-files.xml
> + for p in 'plugins/*'
> + cd plugins/PrioritySorter
> + '[' -f /var/lib/jenkins/plugins/PrioritySorter.jpi ']'
> + jar uf /var/lib/jenkins/plugins/PrioritySorter.jpi ./WEB-INF
> + '[' -f /var/lib/jenkins/plugins/PrioritySorter.hpi ']'
> + cd ../..
> + for p in 'plugins/*'
> + cd plugins/compact-columns
> + '[' -f /var/lib/jenkins/plugins/compact-columns.jpi ']'
> + jar uf /var/lib/jenkins/plugins/compact-columns.jpi ./WEB-INF
> + '[' -f /var/lib/jenkins/plugins/compact-columns.hpi ']'
> + cd ../..
> + for p in 'plugins/*'
> + cd plugins/dashboard-view
> + '[' -f /var/lib/jenkins/plugins/dashboard-view.jpi ']'
> + jar uf /var/lib/jenkins/plugins/dashboard-view.jpi ./WEB-INF ./help
> + '[' -f /var/lib/jenkins/plugins/dashboard-view.hpi ']'
> + cd ../..
> + for p in 'plugins/*'
> + cd plugins/jobConfigHistory
> + '[' -f /var/lib/jenkins/plugins/jobConfigHistory.jpi ']'
> + '[' -f /var/lib/jenkins/plugins/jobConfigHistory.hpi ']'
> + cd ../..
> + fix_permissions /var/lib/jenkins/plugins
> + chown -fRH jenkins /var/lib/jenkins/plugins
> + cp -vr ./css /var/cache/jenkins/war
> './css/style1.css' -> '/var/cache/jenkins/war/css/style1.css'
> './css/style.css' -> '/var/cache/jenkins/war/css/style.css'
> './css/style2.css' -> '/var/cache/jenkins/war/css/style2.css'
> + cp -vr ./images /var/cache/jenkins/war
> './images/24x24/plot.png' ->
> '/var/cache/jenkins/war/images/24x24/plot.png'
> './images/32x32/computer.gif' ->
> '/var/cache/jenkins/war/images/32x32/computer.gif'
> './images/32x32/computer.png' ->
> '/var/cache/jenkins/war/images/32x32/computer.png'
> './images/Renesas.png' -> '/var/cache/jenkins/war/images/Renesas.png'
> './images/LinuxFoundation.png' ->
> '/var/cache/jenkins/war/images/LinuxFoundation.png'
> './images/cogent-embedded.png' ->
> '/var/cache/jenkins/war/images/cogent-embedded.png'
> './images/LTSI.png' -> '/var/cache/jenkins/war/images/LTSI.png'
> './images/48x48/computer.gif' ->
> '/var/cache/jenkins/war/images/48x48/computer.gif'
> './images/48x48/computer.png' ->
> '/var/cache/jenkins/war/images/48x48/computer.png'
> './images/originals' -> '/var/cache/jenkins/war/images/originals'
> './images/originals/linuxfoundation.png' ->
> '/var/cache/jenkins/war/images/originals/linuxfoundation.png'
> './images/originals/ltsi.jpg' ->
> '/var/cache/jenkins/war/images/originals/ltsi.jpg'
> './images/originals/cogent-embedded.png' ->
> '/var/cache/jenkins/war/images/originals/cogent-embedded.png'
> './images/originals/Renesas_Electronics_logo.png' ->
> '/var/cache/jenkins/war/images/originals/Renesas_Electronics_logo.png'
> './images/LTSI.jpg' -> '/var/cache/jenkins/war/images/LTSI.jpg'
> + fix_permissions /var/cache/jenkins/war/css
> + chown -fRH jenkins /var/cache/jenkins/war/css
> + fix_permissions /var/cache/jenkins/war/images
> + chown -fRH jenkins /var/cache/jenkins/war/images
> + pwd
> /fuego-install/jenkins-updates/en_US
> + cd ./core
> + jar xf /usr/share/jenkins/jenkins.war WEB-INF/lib/jenkins-core-1.509.2.jar
> + jar uf WEB-INF/lib/jenkins-core-1.509.2.jar hudson/AboutJenkins
> hudson/TcpSlaveAgentListener hudson/cli hudson/fsp hudson/init
> hudson/lifecycle hudson/matrix hudson/model hudson/views
> hudson/widgets
> + jar uf WEB-INF/lib/jenkins-core-1.509.2.jar jenkins/management
> jenkins/model
> + jar uf WEB-INF/lib/jenkins-core-1.509.2.jar lib/form lib/hudson lib/layout
> copying WEB-INF/lib/jenkins-core-1.509.2.jar ->
> /var/cache/jenkins/war/WEB-INF/lib/jenkins-core-1.509.2.jar
> + echo 'copying WEB-INF/lib/jenkins-core-1.509.2.jar ->
> /var/cache/jenkins/war/WEB-INF/lib/jenkins-core-1.509.2.jar'
> + cp WEB-INF/lib/jenkins-core-1.509.2.jar /var/cache/jenkins/war/WEB-
> INF/lib/jenkins-core-1.509.2.jar
> + fix_permissions /var/cache/jenkins/war/WEB-INF/lib/jenkins-core-
> 1.509.2.jar
> + chown -fRH jenkins /var/cache/jenkins/war/WEB-INF/lib/jenkins-core-
> 1.509.2.jar
> + fix_permissions /var/cache/jenkins/war
> + chown -fRH jenkins /var/cache/jenkins/war
> + rm WEB-INF/lib/jenkins-core-1.509.2.jar
> + cd ../..
> + service jenkins restart
> Restarting Jenkins Continuous Integration Server: jenkins.
> + sync_fetch_jenkins_cli
> + sleep 20
> + retry=0
> + wget -v --no-proxy http://localhost:8080/fuego/jnlpJars/jenkins-cli.jar -O
> jenkins-cli.jar
> converted 'http://localhost:8080/fuego/jnlpJars/jenkins-cli.jar' (ANSI_X3.4-
> 1968) -> 'http://localhost:8080/fuego/jnlpJars/jenkins-cli.jar' (UTF-8)
> --2017-03-02 07:57:52--  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... 200 OK
> Length: 605730 (592K) [application/java-archive]
> Saving to: 'jenkins-cli.jar'
> 
>      0K .......... .......... .......... .......... ..........  8% 45.8M 0s
>     50K .......... .......... .......... .......... .......... 16% 42.8M 0s
>    100K .......... .......... .......... .......... .......... 25% 33.6M 0s
>    150K .......... .......... .......... .......... .......... 33% 21.8M 0s
>    200K .......... .......... .......... .......... .......... 42%  145M 0s
>    250K .......... .......... .......... .......... .......... 50% 29.3M 0s
>    300K .......... .......... .......... .......... .......... 59% 69.1M 0s
>    350K .......... .......... .......... .......... .......... 67% 10.9M 0s
>    400K .......... .......... .......... .......... .......... 76% 25.8M 0s
>    450K .......... .......... .......... .......... .......... 84%  121M 0s
>    500K .......... .......... .......... .......... .......... 92%  177M 0s
>    550K .......... .......... .......... .......... .         100% 93.3M=0.02s
> 
> 2017-03-02 07:57:52 (35.9 MB/s) - 'jenkins-cli.jar' saved [605730/605730]
> 
> + xargs -n1 -t java -jar jenkins-cli.jar -s http://localhost:8080/fuego install-
> plugin
> + ls -1 plugins/locale.hpi plugins/page-markup.hpi plugins/sidebar-link.hpi
> java -jar jenkins-cli.jar -s http://localhost:8080/fuego install-plugin
> plugins/locale.hpi
> Installing a plugin from local file: plugins/locale.hpi
> java -jar jenkins-cli.jar -s http://localhost:8080/fuego install-plugin
> plugins/page-markup.hpi
> Installing a plugin from local file: plugins/page-markup.hpi
> java -jar jenkins-cli.jar -s http://localhost:8080/fuego install-plugin
> plugins/sidebar-link.hpi
> Installing a plugin from local file: plugins/sidebar-link.hpi
> + rm jenkins-cli.jar
> + true
>  ---> be3201abb08b
> Removing intermediate container b38bcb69602f
> Step 51 : RUN ln -s $INST_FUEGO_ENGINE_PATH/logs
> $INST_FUEGO_FRONTEND_PATH/userContent/fuego.logs
>  ---> Running in 53c41ffd4b6e
>  ---> 420421d26f42
> Removing intermediate container 53c41ffd4b6e
> Step 52 : RUN ln -s $INST_FUEGO_ENGINE_PATH/fuego/jobs/tests.info
> <http://tests.info>
> $INST_FUEGO_FRONTEND_PATH/userContent/tests.info <http://tests.info>
>  ---> Running in b2a7775c7e22
>  ---> c2d2002c570a
> Removing intermediate container b2a7775c7e22
> Step 53 : COPY container-cfg/sshd_config /etc/ssh/sshd_config
>  ---> f35a1765f8a5
> Removing intermediate container 291df0c296ff
> Step 54 : COPY fuego-scripts/user-setup.sh /fuego-install/
>  ---> 87ec183bcbb8
> Removing intermediate container c937f0491f5d
> Step 55 : RUN /fuego-install/user-setup.sh
>  ---> Running in 73df8c82b4a9
> Adding user `dc' to group `sudo' ...
> Adding user dc to group sudo
> Done.
>  ---> 4b9a95dd8661
> Removing intermediate container 73df8c82b4a9
> Step 56 : WORKDIR /home/jenkins
>  ---> Running in 669c51de1494
>  ---> a2881649efae
> Removing intermediate container 669c51de1494
> Step 57 : COPY fuego-scripts /
>  ---> e4d7dafd4fc2
> Removing intermediate container 595e77adf7f1
> Step 58 : COPY fuego-scripts/fuego-start-cmd.sh /etc/
>  ---> 5b6e851a9582
> Removing intermediate container 0487ea0faca0
> Step 59 : CMD /etc/fuego-start-cmd.sh
>  ---> Running in d1002abd30e3
>  ---> e119ed41de6c
> Removing intermediate container d1002abd30e3
> Successfully built e119ed41de6c
> bchoi@atom2:~/work/third-party/fuego$
> 
> 
> BR,
> Mark
> 
> 2017-03-01 9:12 GMT+09:00 Bird, Timothy <Tim.Bird@sony.com
> <mailto:Tim.Bird@sony.com> >:
> 
> 
> 	Hello Mark,
> 
> 	Thanks for hanging in there and providing some more details.  Here
> are some comments.
> 	updates.sh handles customization of jenkins (version 1.509.2) for
> Fuego, but it looks
> 	like the script is a bit fragile.  In particular, your installation is getting
> stuck in the
> 	routine: constants.sh:sync_fetch_jenkins_cli, which has no limit on
> retries of the operation.
> 
> 	This is called twice by updates.sh, and is used to make
> 	sure that the latest jenkins-cli.jar file is downloaded from the running
> Jenkins server.
> 	This java program is used later in the script to install some modified
> plugins to Jenkins.
> 
> 	I'm not sure why your system is not coming up properly, but I'm
> hoping it may be something
> 	simple like not waiting enough time after a restart.  Can you apply the
> following patch
> 	(to constants.sh and updates.sh) in your fuego repository, try
> install.sh again,
> 	 and send me a log of the results?
> 
> 	This is a bit of a shot in the dark, but it might help, and the 'set -x' will
> give more
> 	details about the operations happening in the script.
> 
> 	Thanks,
> 	 -- Tim
> 
> 	Here’s the patch:
> 
> 	diff --git a/frontend-install/jenkins-updates/constants.sh
> b/frontend-install/jenkins-updates/constants.sh
> 	index 7016641..ea37fde 100755
> 	--- a/frontend-install/jenkins-updates/constants.sh
> 	+++ b/frontend-install/jenkins-updates/constants.sh
> 	@@ -28,10 +28,17 @@ default_output() {
> 	 }
> 
> 	 sync_fetch_jenkins_cli() {
> 	+    sleep 20
> 	+    retry = 0
> 	     until wget -v --no-proxy ${JEN_URL}/jnlpJars/jenkins-cli.jar -O
> jenkins-cli.jar
> 	     do
> 	         echo "Retrying wget -v --no-proxy ${JEN_URL}/jnlpJars/jenkins-
> cli.jar -O jenkins-cli.jar"
> 	         service jenkins restart
> 	-        sleep 10
> 	+        delay=$(( 10 + ($retry * 4) ))
> 	+        echo Delay=$delay
> 	+        sleep delay
> 	+        if [ $retry -ge 10 ] ; then
> 	+            break
> 	+        fi
> 	     done
> 	 }
> 	diff --git a/frontend-install/jenkins-updates/updates.sh b/frontend-
> install/jenkins-updates/updates.sh
> 	index 96ee0f5..7a5adbc 100755
> 	--- a/frontend-install/jenkins-updates/updates.sh
> 	+++ b/frontend-install/jenkins-updates/updates.sh
> 	@@ -2,6 +2,8 @@
> 	 # This script rewords basic Jenkins concepts
> 	 # to match Quality Assurance domain
> 
> 	+set -x
> 	+
> 	 if [ "$(whoami)" != "root" ]; then
> 	        echo "Please run this as root user." >&3
> 	        exit 1
> 	--------
> 
> 
> 	> -----Original Message-----
> 	> From: Mark Choi [mailto:bchoi@mvista.com
> <mailto:bchoi@mvista.com> ]
> 	> Sent: Tuesday, February 28, 2017 12:43 AM
> 	> To: Bird, Timothy <Tim.Bird@sony.com
> <mailto:Tim.Bird@sony.com> >
> 	> Cc: fuego@lists.linuxfoundation.org
> <mailto:fuego@lists.linuxfoundation.org>
> 	> Subject: Re: [Fuego] ERROR 503: Service Temporarily Unavailable.
> 	>
> 	> Hi Tim,
> 	>
> 	> I found problem was caused by update.sh. I started docker image
> and start
> 	> /etc/init.d/jenkins then I tried as follow and get log.
> 	>
> 	> root@e4fc08fb2bb0:/fuego-install/jenkins-updates# ./updates.sh
> 	> Jenkins cache is /var/cache/jenkins/war
> 	> 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-28 08:11:07--
> 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... 200 OK
> 	> Length: 605730 (592K) [application/java-archive]
> 	> Saving to: 'jenkins-cli.jar'
> 	>
> 	> jenkins-cli.jar
> 	>
> 100%[======================================================
> 	> ======>] 591.53K  --.-KB/s   in 0.05s
> 	>
> 	> 2017-02-28 08:11:07 (11.6 MB/s) - 'jenkins-cli.jar' saved
> [605730/605730]
> 	>
> 	> './css/style1.css' -> '/var/cache/jenkins/war/css/style1.css'
> 	> './css/style.css' -> '/var/cache/jenkins/war/css/style.css'
> 	> './css/style2.css' -> '/var/cache/jenkins/war/css/style2.css'
> 	> './images/24x24/plot.png' ->
> 	> '/var/cache/jenkins/war/images/24x24/plot.png'
> 	> './images/32x32/computer.gif' ->
> 	> '/var/cache/jenkins/war/images/32x32/computer.gif'
> 	> './images/32x32/computer.png' ->
> 	> '/var/cache/jenkins/war/images/32x32/computer.png'
> 	> './images/Renesas.png' ->
> '/var/cache/jenkins/war/images/Renesas.png'
> 	> './images/LinuxFoundation.png' ->
> 	> '/var/cache/jenkins/war/images/LinuxFoundation.png'
> 	> './images/cogent-embedded.png' ->
> 	> '/var/cache/jenkins/war/images/cogent-embedded.png'
> 	> './images/LTSI.png' -> '/var/cache/jenkins/war/images/LTSI.png'
> 	> './images/48x48/computer.gif' ->
> 	> '/var/cache/jenkins/war/images/48x48/computer.gif'
> 	> './images/48x48/computer.png' ->
> 	> '/var/cache/jenkins/war/images/48x48/computer.png'
> 	> './images/originals' -> '/var/cache/jenkins/war/images/originals'
> 	> './images/originals/linuxfoundation.png' ->
> 	> '/var/cache/jenkins/war/images/originals/linuxfoundation.png'
> 	> './images/originals/ltsi.jpg' ->
> 	> '/var/cache/jenkins/war/images/originals/ltsi.jpg'
> 	> './images/originals/cogent-embedded.png' ->
> 	> '/var/cache/jenkins/war/images/originals/cogent-embedded.png'
> 	> './images/originals/Renesas_Electronics_logo.png' ->
> 	>
> '/var/cache/jenkins/war/images/originals/Renesas_Electronics_logo.png'
> 	> './images/LTSI.jpg' -> '/var/cache/jenkins/war/images/LTSI.jpg'
> 	> /fuego-install/jenkins-updates/en_US
> 	> copying WEB-INF/lib/jenkins-core-1.509.2.jar ->
> 	> /var/cache/jenkins/war/WEB-INF/lib/jenkins-core-1.509.2.jar
> 	> [ ok ] 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-28 08:11:16--
> 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... 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-
> <http://localhost:8080/fuego/jnlpJars/jenkins->
> 	> cli.jar -O jenkins-cli.jar
> 	> [....] Restarting Jenkins Continuous Integration Server: jenkinsThe
> selected
> 	> http port (8080) seems to be in use by another program
> 	> Please select another port to use for jenkins
> 	>  failed!
> 	> 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-28 08:11:46--
> 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... 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-
> <http://localhost:8080/fuego/jnlpJars/jenkins->
> 	> cli.jar -O jenkins-cli.jar
> 	> [ ok ] 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-28 08:11:57--
> 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-28 08:11:59 ERROR 503: Service Temporarily Unavailable.
> 	>
> 	> Retrying wget -v --no-proxy
> http://localhost:8080/fuego/jnlpJars/jenkins-
> <http://localhost:8080/fuego/jnlpJars/jenkins->
> 	> cli.jar -O jenkins-cli.jar
> 	> [ ok ] 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-28 08:12:12--
> 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-28 08:12:14 ERROR 503: Service Temporarily Unavailable.
> 	>
> 	> Retrying wget -v --no-proxy
> http://localhost:8080/fuego/jnlpJars/jenkins-
> <http://localhost:8080/fuego/jnlpJars/jenkins->
> 	> cli.jar -O jenkins-cli.jar
> 	> [ ok ] Restarting Jenkins Continuous Integration Server: jenkins.
> 	> ^C
> 	> root@e4fc08fb2bb0:/fuego-install/jenkins-updates#
> 	>
> 	>
> 	> I did cat for /var/log/jenkins/jenkins.log and captured last part of
> log.
> 	>
> 	>
> 	> Feb 28, 2017 8:26:21 AM org.jenkinsci.main.modules.sshd.SSHD
> start
> 	> INFO: Started SSHD at port 39951
> 	> Feb 28, 2017 8:26:21 AM jenkins.InitReactorRunner$1 onAttained
> 	> INFO: Completed initialization
> 	> Feb 28, 2017 8:26:21 AM hudson.TcpSlaveAgentListener <init>
> 	> INFO: JNLP slave agent listener started on TCP port 38848
> 	> Feb 28, 2017 8:26:21 AM hudson.WebAppMain$2 run
> 	> INFO: Jenkins is fully up and running
> 	> Feb 28, 2017 8:27:19 AM winstone.Logger logInternal
> 	> WARNING: Request URL /jnlpJars/jenkins-cli.jar not found -
> doesn't match
> 	> any webapp prefix
> 	> Feb 28, 2017 8:27:36 AM winstone.Logger logInternal
> 	> WARNING: Request URL /jnlpJars/jenkins-cli.jar not found -
> doesn't match
> 	> any webapp prefix
> 	> Feb 28, 2017 8:28:54 AM winstone.Logger logInternal
> 	> WARNING: Request URL / not found - doesn't match any webapp
> prefix
> 	> root@e4fc08fb2bb0:/fuego-install#
> 	>
> 	>
> 	> Could you please check this log and comment?
> 	>
> 	> BR,
> 	> Mark
> 	>
> 	> 2017-02-24 16:55 GMT+09:00 Mark Choi <bchoi@mvista.com
> <mailto:bchoi@mvista.com>
> 
> 	> <mailto:bchoi@mvista.com <mailto:bchoi@mvista.com> > >:
> 	>
> 	>
> 	>       Hi Tim,
> 	>
> 	>       Thanks to your reply. :)
> 	>
> 	>
> 	>        1) working on using the latest Jenkins
> 	>            I installed jenkin on the host as https://wiki.jenkins-
> 	> ci.org/display/JENKINS/Installing+Jenkins+on+Ubuntu
> <http://ci.org/display/JENKINS/Installing+Jenkins+on+Ubuntu>
> <https://wiki.jenkins-
> 	> ci.org/display/JENKINS/Installing+Jenkins+on+Ubuntu
> <http://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 MB
> 	>       Step 1 : FROM debian:jessie
> 	>        ---> 19134a8202e7
> 	>       Step 2 : MAINTAINER tim.bird@am.sony.com
> <mailto:tim.bird@am.sony.com>
> 	> <mailto:tim.bird@am.sony.com <mailto:tim.bird@am.sony.com> >
> 
> 	>        ---> Using cache
> 	>        ---> 4ef47b94044b
> 	>       Step 3 : ARG HTTP_PROXY
> 	>        ---> Using cache
> 	>        ---> 7e964752e35c
> 	>       Step 4 : ENV INST_FUEGO_ENGINE_PATH /home/jenkins
> 	>        ---> Using cache
> 	>        ---> dde0288b5a04
> 	>       Step 5 : ENV INST_FUEGO_FRONTEND_PATH /var/lib/jenkins
> 	>        ---> Using cache
> 	>        ---> 7ca695e83d33
> 	>       Step 6 : ENV URL_PREFIX /fuego
> 	>        ---> Using cache
> 	>        ---> ccfbd2c42b00
> 	>       Step 7 : WORKDIR /fuego-install
> 	>        ---> Using cache
> 	>        ---> edb08e19cf9f
> 	>       Step 8 : RUN dpkg --add-architecture i386
> 	>        ---> Using cache
> 	>        ---> 8639734467ce
> 	>       Step 9 : RUN echo deb http://ftp.us.debian.org/debian
> <http://ftp.us.debian.org/debian>
> 	> <http://ftp.us.debian.org/debian
> <http://ftp.us.debian.org/debian> >  jessie main non-free >>
> 	> /etc/apt/sources.list
> 	>        ---> Using cache
> 	>        ---> 461c7ff1d2b6
> 	>       Step 10 : RUN if [ -n "$HTTP_PROXY" ]; then echo
> 	> 'Acquire::http::proxy "'$HTTP_PROXY'";' >
> /etc/apt/apt.conf.d/80proxy; fi
> 	>        ---> Using cache
> 	>        ---> aed756ff978a
> 	>       Step 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
> 	>        ---> b36aa18cb5d1
> 	>       Step 12 : RUN /bin/bash -c 'echo "dash dash/sh boolean false" |
> 	> debconf-set-selections ; DEBIAN_FRONTEND=noninteractive dpkg-
> 	> reconfigure dash'
> 	>        ---> Using cache
> 	>        ---> d6c7f83084c2
> 	>       Step 13 : COPY frontend-install/jenkins_1.509.2_all.deb /fuego-
> 	> install/
> 	>        ---> Using cache
> 	>        ---> ae0aa5e1f358
> 	>       Step 14 : RUN dpkg -i /fuego-install/jenkins_1.509.2_all.deb
> 	>        ---> Using cache
> 	>        ---> b01a6c0a463a
> 	>       Step 15 : RUN if [ -n "$HTTP_PROXY" ]; then echo "use_proxy =
> on"
> 	> >> /etc/wgetrc && echo 'http_proxy =' $HTTP_PROXY >>
> /etc/wgetrc; fi
> 	>        ---> Using cache
> 	>        ---> 028e4805fe8d
> 	>       Step 16 : RUN /bin/bash -c 'wget -nv
> 	> "http://downloads.sourceforge.net/project/getfo/texml/texml-
> 2.0.2/texml-
> <http://downloads.sourceforge.net/project/getfo/texml/texml-
> 2.0.2/texml->
> 	>
> 2.0.2.tar.gz?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fgetfo%2F&ts
> 	> =1398789654&use_mirror=jaist
> 
> 	> <http://downloads.sourceforge.net/project/getfo/texml/texml-
> <http://downloads.sourceforge.net/project/getfo/texml/texml->
> 	> 2.0.2/texml-
> 	>
> 2.0.2.tar.gz?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fgetfo%2F&ts
> 	> =1398789654&use_mirror=jaist> " -O texml.tar.gz ; tar xvf
> texml.tar.gz; cd
> 	> texml-2.0.2 ; python setup.py install; cd -'
> 	>        ---> Using cache
> 	>        ---> 493250ccb4c3
> 	>       Step 17 : RUN echo "PermitRootLogin yes" >>
> /etc/ssh/sshd_config
> 	>        ---> Using cache
> 	>        ---> 8bce63c99e08
> 	>       Step 18 : RUN echo deb http://emdebian.org/tools/debian/
> <http://emdebian.org/tools/debian/>
> 	> <http://emdebian.org/tools/debian/
> <http://emdebian.org/tools/debian/> >  jessie main >
> 	> /etc/apt/sources.list.d/crosstools.list
> 	>        ---> Using cache
> 	>        ---> c4a09042cabc
> 	>       Step 19 : RUN dpkg --add-architecture armhf
> 	>        ---> Using cache
> 	>        ---> be62180332cc
> 	>       Step 20 : RUN if [ -n "$HTTP_PROXY" ]; then curl --proxy
> 	> $HTTP_PROXY http://emdebian.org/tools/debian/emdebian-
> toolchain- <http://emdebian.org/tools/debian/emdebian-toolchain->
> 	> archive.key <http://emdebian.org/tools/debian/emdebian-
> toolchain- <http://emdebian.org/tools/debian/emdebian-toolchain->
> 	> archive.key>  | sudo apt-key add -; else curl
> 
> 	> http://emdebian.org/tools/debian/emdebian-toolchain-
> archive.key <http://emdebian.org/tools/debian/emdebian-toolchain-
> archive.key>
> 	> <http://emdebian.org/tools/debian/emdebian-toolchain-
> archive.key <http://emdebian.org/tools/debian/emdebian-toolchain-
> archive.key> >  |
> 	> sudo apt-key add -; fi
> 	>        ---> Using cache
> 	>        ---> 2b5d713beec4
> 	>       Step 21 : RUN DEBIAN_FRONTEND=noninteractive apt-get
> update
> 	>        ---> Using cache
> 	>        ---> 3c5971aa96d5
> 	>       Step 22 : RUN DEBIAN_FRONTEND=noninteractive apt-get -yV
> install
> 	> crossbuild-essential-armhf
> 	>        ---> Using cache
> 	>        ---> 9f78584aaabf
> 	>       Step 23 : ENV INST_FUEGO_CORE_GIT_REVISION c2ddbab
> 	>        ---> Using cache
> 	>        ---> 8aa835ebb580
> 	>       Step 24 : RUN mkdir -p /home/jenkins
> 	>        ---> Using cache
> 	>        ---> 9811d541abce
> 	>       Step 25 : RUN if [ -n "$HTTP_PROXY" ]; then git config --global
> 	> http.proxy $HTTP_PROXY; fi
> 	>        ---> Using cache
> 	>        ---> d7ed36f07ec2
> 	>       Step 26 : RUN git clone https://bitbucket.org/tbird20d/fuego-
> core.git <https://bitbucket.org/tbird20d/fuego-core.git>
> 	> <https://bitbucket.org/tbird20d/fuego-core.git
> <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
> 	>        ---> 1166c682964b
> 	>       Step 27 : RUN ln -s
> $INST_FUEGO_ENGINE_PATH/fuego/engine/*
> 	> $INST_FUEGO_ENGINE_PATH/
> 	>        ---> Using cache
> 	>        ---> 0f9e924b6a9d
> 	>       Step 28 : RUN ln -s $INST_FUEGO_ENGINE_PATH/fuego/jobs
> 	> $INST_FUEGO_FRONTEND_PATH/jobs
> 	>        ---> Using cache
> 	>        ---> 7349d4101795
> 	>       Step 29 : COPY docs
> 	> $INST_FUEGO_FRONTEND_PATH/userContent/docs/
> 	>        ---> Using cache
> 	>        ---> f7ffd99f3643
> 	>       Step 30 : RUN ln -s
> 	> $INST_FUEGO_ENGINE_PATH/fuego/engine/scripts/ftc
> /usr/local/bin/
> 	>        ---> Using cache
> 	>        ---> a3ecf1216198
> 	>       Step 31 : COPY fuego-scripts/maintain_config_link.sh
> /usr/local/bin/
> 	>        ---> Using cache
> 	>        ---> 790a7dc771a7
> 	>       Step 32 : RUN ln -s /userdata/buildzone
> 	> $INST_FUEGO_ENGINE_PATH/buildzone
> 	>        ---> Using cache
> 	>        ---> c763a03176bb
> 	>       Step 33 : RUN ln -s /userdata/work
> 	> $INST_FUEGO_ENGINE_PATH/work
> 	>        ---> Using cache
> 	>        ---> b2bbee76afe7
> 	>       Step 34 : RUN ln -s /userdata/logs
> $INST_FUEGO_ENGINE_PATH/logs
> 	>        ---> Using cache
> 	>        ---> 72631eb4b142
> 	>       Step 35 : RUN ln -s /userdata/logs
> 	> $INST_FUEGO_FRONTEND_PATH/logs
> 	>        ---> Using cache
> 	>        ---> a0ac32f43928
> 	>       Step 36 : RUN ln -s /userdata/conf/boards
> 	> $INST_FUEGO_ENGINE_PATH/overlays/boards
> 	>        ---> Using cache
> 	>        ---> 8ef92486bf52
> 	>       Step 37 : RUN ln -s /userdata/conf/config.xml
> 	> $INST_FUEGO_FRONTEND_PATH/config.xml
> 	>        ---> Using cache
> 	>        ---> 5db5957ad12d
> 	>       Step 38 : RUN ln -s /userdata/conf/tools.sh
> 	> $INST_FUEGO_ENGINE_PATH/scripts/tools.sh
> 	>        ---> Using cache
> 	>        ---> 388d7b0042bc
> 	>       Step 39 : RUN ln -s
> $INST_FUEGO_ENGINE_PATH/fuego/plugins-
> 	> conf/scriptler $INST_FUEGO_FRONTEND_PATH/
> 	>        ---> Using cache
> 	>        ---> 07516d61482a
> 	>       Step 40 : RUN ln -s
> $INST_FUEGO_ENGINE_PATH/fuego/plugins-
> 	> conf/sidebar-link.xml $INST_FUEGO_FRONTEND_PATH/
> 	>        ---> Using cache
> 	>        ---> 1c3052a276c3
> 	>       Step 41 : COPY frontend-install/jenkins.cfg /etc/default/jenkins
> 	>        ---> Using cache
> 	>        ---> f8a02e7f3793
> 	>       Step 42 : COPY fuego-scripts/subsitute_jen_url_prefix.sh
> /fuego-
> 	> install/
> 	>        ---> Using cache
> 	>        ---> 6dd4a9693178
> 	>       Step 43 : RUN /fuego-install/subsitute_jen_url_prefix.sh
> 	> /etc/default/jenkins
> 	>        ---> Using cache
> 	>        ---> ebaa2d2af0fb
> 	>       Step 44 : RUN chown -R jenkins  $INST_FUEGO_ENGINE_PATH
> 	> $INST_FUEGO_FRONTEND_PATH /var/cache/jenkins
> /etc/default/jenkins
> 	>        ---> Using cache
> 	>        ---> 37d7165f2169
> 	>       Step 45 : COPY frontend-install/plugins
> 	> $INST_FUEGO_FRONTEND_PATH/
> 	>        ---> Using cache
> 	>        ---> 678c9358cfc4
> 	>       Step 46 : COPY frontend-install/jenkins-updates /fuego-
> 	> install/jenkins-updates
> 	>        ---> Using cache
> 	>        ---> b3c77ee2fe76
> 	>       Step 47 : RUN /fuego-install/subsitute_jen_url_prefix.sh
> /fuego-
> 	> install/jenkins-updates
> 	>        ---> Using cache
> 	>        ---> c26e6d5d21d6
> 	>       Step 48 : WORKDIR /fuego-install/jenkins-updates
> 	>        ---> Using cache
> 	>        ---> 46cad051caf2
> 	>       Step 49 : RUN echo "installing custom UI updates"
> 	>        ---> Using cache
> 	>        ---> ffbbbcc623e4
> 	>       Step 50 : RUN /etc/init.d/jenkins start && ./updates.sh
> 	>        ---> Running in 2ddaccce07e3
> 	>       Starting Jenkins Continuous Integration Server: jenkins.
> 	>       Jenkins cache is /var/cache/jenkins/war
> 	>       converted 'http://localhost:8080/fuego/jnlpJars/jenkins-cli.jar
> <http://localhost:8080/fuego/jnlpJars/jenkins-cli.jar>
> 
> 	> <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>
> 	> <http://localhost:8080/fuego/jnlpJars/jenkins-cli.jar
> <http://localhost:8080/fuego/jnlpJars/jenkins-cli.jar> > ' (UTF-8)
> 	>       --2017-02-24 07:49:16--
> http://localhost:8080/fuego/jnlpJars/jenkins-
> <http://localhost:8080/fuego/jnlpJars/jenkins->
> 	> cli.jar <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... 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
> <http://localhost:8080/fuego/jnlpJars/jenkins-cli.jar>
> 	> <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>
> 	> <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>
> 	> <http://localhost:8080/fuego/jnlpJars/jenkins-cli.jar
> <http://localhost:8080/fuego/jnlpJars/jenkins-cli.jar> > ' (UTF-8)
> 	>       --2017-02-24 07:49:28--
> http://localhost:8080/fuego/jnlpJars/jenkins-
> <http://localhost:8080/fuego/jnlpJars/jenkins->
> 	> cli.jar <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-24 07:49:33 ERROR 503: Service Temporarily Unavailable.
> 	>
> 	>       Retrying wget -v --no-proxy
> 	> http://localhost:8080/fuego/jnlpJars/jenkins-cli.jar
> <http://localhost:8080/fuego/jnlpJars/jenkins-cli.jar>
> 	> <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>
> 	> <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>
> 	> <http://localhost:8080/fuego/jnlpJars/jenkins-cli.jar
> <http://localhost:8080/fuego/jnlpJars/jenkins-cli.jar> > ' (UTF-8)
> 	>       --2017-02-24 07:49:44--
> http://localhost:8080/fuego/jnlpJars/jenkins-
> <http://localhost:8080/fuego/jnlpJars/jenkins->
> 	> cli.jar <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...
> 	> ^Cbchoi@atom2:~/work/third-party/fuego$
> 	>
> 	>       BR,
> 	>       Mark
> 	>
> 	>
> 	>
> 	>       2017-02-24 1:21 GMT+09:00 Bird, Timothy <Tim.Bird@sony.com
> <mailto:Tim.Bird@sony.com>
> 	> <mailto:Tim.Bird@sony.com <mailto: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-
> <http://localhost:8080/fuego/jnlpJars/jenkins->
> 	> <http://localhost:8080/fuego/jnlpJars/jenkins-
> <http://localhost:8080/fuego/jnlpJars/jenkins-> >
> 	>               > cli.jar <http://localhost:8080/fuego/jnlpJars/jenkins-cli.jar
> <http://localhost:8080/fuego/jnlpJars/jenkins-cli.jar>
> 	> <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-
> <http://localhost:8080/fuego/jnlpJars/jenkins->
> 	> cli.jar <http://localhost:8080/fuego/jnlpJars/jenkins-cli.jar
> <http://localhost:8080/fuego/jnlpJars/jenkins-cli.jar> >
> 
> 	>               > <http://localhost:8080/fuego/jnlpJars/jenkins-cli.jar
> <http://localhost:8080/fuego/jnlpJars/jenkins-cli.jar>
> 	> <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>
> 	> <http://localhost:8080/fuego/jnlpJars/jenkins-cli.jar
> <http://localhost:8080/fuego/jnlpJars/jenkins-cli.jar> >
> 	>               > <http://localhost:8080/fuego/jnlpJars/jenkins-cli.jar
> <http://localhost:8080/fuego/jnlpJars/jenkins-cli.jar>
> 	> <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>
> 	> <http://localhost:8080/fuego/jnlpJars/jenkins-cli.jar
> <http://localhost:8080/fuego/jnlpJars/jenkins-cli.jar> >
> 	>               > <http://localhost:8080/fuego/jnlpJars/jenkins-cli.jar
> <http://localhost:8080/fuego/jnlpJars/jenkins-cli.jar>
> 	> <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, LLC
> 	>
> 
> 	>       http://www.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 <mailto:bchoi@mvista.com>
> <mailto:bchoi@mvista.com <mailto:bchoi@mvista.com> >
> 	>       =========================
> 	>
> 	>
> 	>
> 	>
> 	> --
> 	>
> 	> =========================
> 	>
> 	> Mark Choi ( 최봉규 부장 )
> 	> Customer Support Engineer
> 	> MontaVista Software, LLC
> 	>
> 	> http://www.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 <mailto:bchoi@mvista.com>
> <mailto:bchoi@mvista.com <mailto:bchoi@mvista.com> >
> 	> =========================
> 
> 
> 
> 
> 
> 
> --
> 
> =========================
> 
> Mark Choi ( 최봉규 부장 )
> Customer Support Engineer
> MontaVista Software, LLC
> 
> http://www.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 <mailto:bchoi@mvista.com>
> =========================


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Fuego] ERROR 503: Service Temporarily Unavailable.
  2017-03-01  0:12       ` Bird, Timothy
@ 2017-03-02  8:03         ` Mark Choi
  2017-03-02  8:10           ` Bird, Timothy
  0 siblings, 1 reply; 9+ messages in thread
From: Mark Choi @ 2017-03-02  8:03 UTC (permalink / raw)
  To: Bird, Timothy; +Cc: fuego

[-- Attachment #1: Type: text/plain, Size: 46001 bytes --]

Hi Tim,

I applied patches and get following logs.

It looks like working fine.

Many thanks !!



================ LOG ==============
bchoi@atom2:~/work/third-party/fuego$ ./install.sh
[sudo] password for bchoi:
Sending build context to Docker daemon 105.1 MB
Step 1 : FROM debian:jessie
 ---> 19134a8202e7
Step 2 : MAINTAINER tim.bird@am.sony.com
 ---> Using cache
 ---> 4ef47b94044b
Step 3 : ARG HTTP_PROXY
 ---> Using cache
 ---> 7e964752e35c
Step 4 : ENV INST_FUEGO_ENGINE_PATH /home/jenkins
 ---> Using cache
 ---> dde0288b5a04
Step 5 : ENV INST_FUEGO_FRONTEND_PATH /var/lib/jenkins
 ---> Using cache
 ---> 7ca695e83d33
Step 6 : ENV URL_PREFIX /fuego
 ---> Using cache
 ---> ccfbd2c42b00
Step 7 : WORKDIR /fuego-install
 ---> Using cache
 ---> edb08e19cf9f
Step 8 : RUN dpkg --add-architecture i386
 ---> Using cache
 ---> 8639734467ce
Step 9 : RUN echo deb http://ftp.us.debian.org/debian jessie main non-free
>> /etc/apt/sources.list
 ---> Using cache
 ---> 461c7ff1d2b6
Step 10 : RUN if [ -n "$HTTP_PROXY" ]; then echo 'Acquire::http::proxy
"'$HTTP_PROXY'";' > /etc/apt/apt.conf.d/80proxy; fi
 ---> Using cache
 ---> aed756ff978a
Step 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
 ---> b36aa18cb5d1
Step 12 : RUN /bin/bash -c 'echo "dash dash/sh boolean false" |
debconf-set-selections ; DEBIAN_FRONTEND=noninteractive dpkg-reconfigure
dash'
 ---> Using cache
 ---> d6c7f83084c2
Step 13 : COPY frontend-install/jenkins_1.509.2_all.deb /fuego-install/
 ---> Using cache
 ---> ae0aa5e1f358
Step 14 : RUN dpkg -i /fuego-install/jenkins_1.509.2_all.deb
 ---> Using cache
 ---> b01a6c0a463a
Step 15 : RUN if [ -n "$HTTP_PROXY" ]; then echo "use_proxy = on" >>
/etc/wgetrc && echo 'http_proxy =' $HTTP_PROXY >> /etc/wgetrc; fi
 ---> Using cache
 ---> 028e4805fe8d
Step 16 : RUN /bin/bash -c 'wget -nv "
http://downloads.sourceforge.net/project/getfo/texml/texml-2.0.2/texml-2.0.2.tar.gz?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fgetfo%2F&ts=1398789654&use_mirror=jaist"
-O texml.tar.gz ; tar xvf texml.tar.gz; cd texml-2.0.2 ; python setup.py
install; cd -'
 ---> Using cache
 ---> 493250ccb4c3
Step 17 : RUN echo "PermitRootLogin yes" >> /etc/ssh/sshd_config
 ---> Using cache
 ---> 8bce63c99e08
Step 18 : RUN echo deb http://emdebian.org/tools/debian/ jessie main >
/etc/apt/sources.list.d/crosstools.list
 ---> Using cache
 ---> c4a09042cabc
Step 19 : RUN dpkg --add-architecture armhf
 ---> Using cache
 ---> be62180332cc
Step 20 : RUN if [ -n "$HTTP_PROXY" ]; then curl --proxy $HTTP_PROXY
http://emdebian.org/tools/debian/emdebian-toolchain-archive.key | sudo
apt-key add -; else curl
http://emdebian.org/tools/debian/emdebian-toolchain-archive.key | sudo
apt-key add -; fi
 ---> Using cache
 ---> 2b5d713beec4
Step 21 : RUN DEBIAN_FRONTEND=noninteractive apt-get update
 ---> Using cache
 ---> 3c5971aa96d5
Step 22 : RUN DEBIAN_FRONTEND=noninteractive apt-get -yV install
crossbuild-essential-armhf
 ---> Using cache
 ---> 9f78584aaabf
Step 23 : ENV INST_FUEGO_CORE_GIT_REVISION c2ddbab
 ---> Using cache
 ---> 8aa835ebb580
Step 24 : RUN mkdir -p /home/jenkins
 ---> Using cache
 ---> 9811d541abce
Step 25 : RUN if [ -n "$HTTP_PROXY" ]; then git config --global http.proxy
$HTTP_PROXY; fi
 ---> Using cache
 ---> d7ed36f07ec2
Step 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
 ---> 1166c682964b
Step 27 : RUN ln -s $INST_FUEGO_ENGINE_PATH/fuego/engine/*
$INST_FUEGO_ENGINE_PATH/
 ---> Using cache
 ---> 0f9e924b6a9d
Step 28 : RUN ln -s $INST_FUEGO_ENGINE_PATH/fuego/jobs
$INST_FUEGO_FRONTEND_PATH/jobs
 ---> Using cache
 ---> 7349d4101795
Step 29 : COPY docs $INST_FUEGO_FRONTEND_PATH/userContent/docs/
 ---> Using cache
 ---> f7ffd99f3643
Step 30 : RUN ln -s $INST_FUEGO_ENGINE_PATH/fuego/engine/scripts/ftc
/usr/local/bin/
 ---> Using cache
 ---> a3ecf1216198
Step 31 : COPY fuego-scripts/maintain_config_link.sh /usr/local/bin/
 ---> Using cache
 ---> 790a7dc771a7
Step 32 : RUN ln -s /userdata/buildzone $INST_FUEGO_ENGINE_PATH/buildzone
 ---> Using cache
 ---> c763a03176bb
Step 33 : RUN ln -s /userdata/work $INST_FUEGO_ENGINE_PATH/work
 ---> Using cache
 ---> b2bbee76afe7
Step 34 : RUN ln -s /userdata/logs $INST_FUEGO_ENGINE_PATH/logs
 ---> Using cache
 ---> 72631eb4b142
Step 35 : RUN ln -s /userdata/logs $INST_FUEGO_FRONTEND_PATH/logs
 ---> Using cache
 ---> a0ac32f43928
Step 36 : RUN ln -s /userdata/conf/boards
$INST_FUEGO_ENGINE_PATH/overlays/boards
 ---> Using cache
 ---> 8ef92486bf52
Step 37 : RUN ln -s /userdata/conf/config.xml
$INST_FUEGO_FRONTEND_PATH/config.xml
 ---> Using cache
 ---> 5db5957ad12d
Step 38 : RUN ln -s /userdata/conf/tools.sh
$INST_FUEGO_ENGINE_PATH/scripts/tools.sh
 ---> Using cache
 ---> 388d7b0042bc
Step 39 : RUN ln -s $INST_FUEGO_ENGINE_PATH/fuego/plugins-conf/scriptler
$INST_FUEGO_FRONTEND_PATH/
 ---> Using cache
 ---> 07516d61482a
Step 40 : RUN ln -s
$INST_FUEGO_ENGINE_PATH/fuego/plugins-conf/sidebar-link.xml
$INST_FUEGO_FRONTEND_PATH/
 ---> Using cache
 ---> 1c3052a276c3
Step 41 : COPY frontend-install/jenkins.cfg /etc/default/jenkins
 ---> Using cache
 ---> f8a02e7f3793
Step 42 : COPY fuego-scripts/subsitute_jen_url_prefix.sh /fuego-install/
 ---> Using cache
 ---> 6dd4a9693178
Step 43 : RUN /fuego-install/subsitute_jen_url_prefix.sh
/etc/default/jenkins
 ---> Using cache
 ---> ebaa2d2af0fb
Step 44 : RUN chown -R jenkins  $INST_FUEGO_ENGINE_PATH
$INST_FUEGO_FRONTEND_PATH /var/cache/jenkins /etc/default/jenkins
 ---> Using cache
 ---> 37d7165f2169
Step 45 : COPY frontend-install/plugins $INST_FUEGO_FRONTEND_PATH/
 ---> Using cache
 ---> 678c9358cfc4
Step 46 : COPY frontend-install/jenkins-updates
/fuego-install/jenkins-updates
 ---> 9bd5efc1926e
Removing intermediate container b31713cd58ee
Step 47 : RUN /fuego-install/subsitute_jen_url_prefix.sh
/fuego-install/jenkins-updates
 ---> Running in 3e1a6dadf008
Subsituting WEBROOT_PREFIX_PLACEHOLDER -> /fuego in
/fuego-install/jenkins-updates
 ---> da47a0793fc3
Removing intermediate container 3e1a6dadf008
Step 48 : WORKDIR /fuego-install/jenkins-updates
 ---> Running in 21e6d19e0757
 ---> 972cf31eed48
Removing intermediate container 21e6d19e0757
Step 49 : RUN echo "installing custom UI updates"
 ---> Running in ab3f65ff9d77
installing custom UI updates
 ---> 7890ae99f7ee
Removing intermediate container ab3f65ff9d77
Step 50 : RUN /etc/init.d/jenkins start && ./updates.sh
 ---> Running in b38bcb69602f
Starting Jenkins Continuous Integration Server: jenkins.
++ whoami
+ '[' root '!=' root ']'
+ source ./constants.sh
++ LANG=en_US
++ JENKINS_USER_PASS=j3nkins
++ JEN_URL=http://localhost:8080/fuego
++ JENKINS_INST=/var/lib/jenkins
++ JENKINS_WAR_FILE=/usr/share/jenkins/jenkins.war
+++ jar tf /usr/share/jenkins/jenkins.war
+++ grep jenkins-core
++ JENKINS_CORE_NAME=WEB-INF/lib/jenkins-core-1.509.2.jar
++ JENKINS_CACHE=/var/cache/jenkins/war
++ RSYNC_ARGS='-ahq --stats'
+ echo 'Jenkins cache is /var/cache/jenkins/war'
Jenkins cache is /var/cache/jenkins/war
+ fix_permissions /var/lib/jenkins
+ chown -fRH jenkins /var/lib/jenkins

+ fix_permissions /var/cache/jenkins/war
+ chown -fRH jenkins /var/cache/jenkins/war
+ sync_fetch_jenkins_cli
+ sleep 20
+ retry=0
+ wget -v --no-proxy http://localhost:8080/fuego/jnlpJars/jenkins-cli.jar
-O jenkins-cli.jar
converted 'http://localhost:8080/fuego/jnlpJars/jenkins-cli.jar'
(ANSI_X3.4-1968) -> 'http://localhost:8080/fuego/jnlpJars/jenkins-cli.jar'
(UTF-8)
--2017-03-02 07:57:22--
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... 200 OK
Length: 605730 (592K) [application/java-archive]
Saving to: 'jenkins-cli.jar'

     0K .......... .......... .......... .......... ..........  8% 4.21M 0s
    50K .......... .......... .......... .......... .......... 16% 10.5M 0s
   100K .......... .......... .......... .......... .......... 25%  169M 0s
   150K .......... .......... .......... .......... .......... 33% 57.1M 0s
   200K .......... .......... .......... .......... .......... 42% 12.3M 0s
   250K .......... .......... .......... .......... .......... 50% 16.1M 0s
   300K .......... .......... .......... .......... .......... 59% 22.5M 0s
   350K .......... .......... .......... .......... .......... 67% 54.9M 0s
   400K .......... .......... .......... .......... .......... 76% 71.2M 0s
   450K .......... .......... .......... .......... .......... 84% 88.3M 0s
   500K .......... .......... .......... .......... .......... 92% 34.5M 0s
   550K .......... .......... .......... .......... .         100%
 950K=0.07s

2017-03-02 07:57:22 (7.82 MB/s) - 'jenkins-cli.jar' saved [605730/605730]

+ cd en_US
+ cp hudson.plugins.page_markup.PageMarkupPageDecorator.xml locale.xml
/var/lib/jenkins
+ fix_permissions /var/lib/jenkins/buildstep-config-files.xml
/var/lib/jenkins/config.xml /var/lib/jenkins/custom-config-files.xml
/var/lib/jenkins/hudson.maven.MavenModuleSet.xml
/var/lib/jenkins/hudson.model.UpdateCenter.xml
/var/lib/jenkins/hudson.plugins.git.GitTool.xml
/var/lib/jenkins/hudson.plugins.groovy.Groovy.xml
/var/lib/jenkins/hudson.plugins.page_markup.PageMarkupPageDecorator.xml
/var/lib/jenkins/hudson.plugins.throttleconcurrents.ThrottleJobProperty.xml
/var/lib/jenkins/hudson.scm.CVSSCM.xml
/var/lib/jenkins/hudson.scm.SubversionSCM.xml
/var/lib/jenkins/hudson.tasks.Ant.xml
/var/lib/jenkins/hudson.tasks.Mailer.xml
/var/lib/jenkins/hudson.tasks.Maven.xml
/var/lib/jenkins/hudson.tasks.Shell.xml
/var/lib/jenkins/hudson.triggers.SCMTrigger.xml
/var/lib/jenkins/jenkins.model.JenkinsLocationConfiguration.xml
/var/lib/jenkins/jp.ikedam.jenkins.plugins.extensible_choice_parameter.GlobalTextareaChoiceListProvider.xml
/var/lib/jenkins/locale.xml /var/lib/jenkins/nodeMonitors.xml
/var/lib/jenkins/org.codefirst.SimpleThemeDecorator.xml
/var/lib/jenkins/sidebar-link.xml
+ chown -fRH jenkins /var/lib/jenkins/buildstep-config-files.xml
+ for p in 'plugins/*'
+ cd plugins/PrioritySorter
+ '[' -f /var/lib/jenkins/plugins/PrioritySorter.jpi ']'
+ jar uf /var/lib/jenkins/plugins/PrioritySorter.jpi ./WEB-INF
+ '[' -f /var/lib/jenkins/plugins/PrioritySorter.hpi ']'
+ cd ../..
+ for p in 'plugins/*'
+ cd plugins/compact-columns
+ '[' -f /var/lib/jenkins/plugins/compact-columns.jpi ']'
+ jar uf /var/lib/jenkins/plugins/compact-columns.jpi ./WEB-INF
+ '[' -f /var/lib/jenkins/plugins/compact-columns.hpi ']'
+ cd ../..
+ for p in 'plugins/*'
+ cd plugins/dashboard-view
+ '[' -f /var/lib/jenkins/plugins/dashboard-view.jpi ']'
+ jar uf /var/lib/jenkins/plugins/dashboard-view.jpi ./WEB-INF ./help
+ '[' -f /var/lib/jenkins/plugins/dashboard-view.hpi ']'
+ cd ../..
+ for p in 'plugins/*'
+ cd plugins/jobConfigHistory
+ '[' -f /var/lib/jenkins/plugins/jobConfigHistory.jpi ']'
+ '[' -f /var/lib/jenkins/plugins/jobConfigHistory.hpi ']'
+ cd ../..
+ fix_permissions /var/lib/jenkins/plugins
+ chown -fRH jenkins /var/lib/jenkins/plugins
+ cp -vr ./css /var/cache/jenkins/war
'./css/style1.css' -> '/var/cache/jenkins/war/css/style1.css'
'./css/style.css' -> '/var/cache/jenkins/war/css/style.css'
'./css/style2.css' -> '/var/cache/jenkins/war/css/style2.css'
+ cp -vr ./images /var/cache/jenkins/war
'./images/24x24/plot.png' -> '/var/cache/jenkins/war/images/24x24/plot.png'
'./images/32x32/computer.gif' ->
'/var/cache/jenkins/war/images/32x32/computer.gif'
'./images/32x32/computer.png' ->
'/var/cache/jenkins/war/images/32x32/computer.png'
'./images/Renesas.png' -> '/var/cache/jenkins/war/images/Renesas.png'
'./images/LinuxFoundation.png' ->
'/var/cache/jenkins/war/images/LinuxFoundation.png'
'./images/cogent-embedded.png' ->
'/var/cache/jenkins/war/images/cogent-embedded.png'
'./images/LTSI.png' -> '/var/cache/jenkins/war/images/LTSI.png'
'./images/48x48/computer.gif' ->
'/var/cache/jenkins/war/images/48x48/computer.gif'
'./images/48x48/computer.png' ->
'/var/cache/jenkins/war/images/48x48/computer.png'
'./images/originals' -> '/var/cache/jenkins/war/images/originals'
'./images/originals/linuxfoundation.png' ->
'/var/cache/jenkins/war/images/originals/linuxfoundation.png'
'./images/originals/ltsi.jpg' ->
'/var/cache/jenkins/war/images/originals/ltsi.jpg'
'./images/originals/cogent-embedded.png' ->
'/var/cache/jenkins/war/images/originals/cogent-embedded.png'
'./images/originals/Renesas_Electronics_logo.png' ->
'/var/cache/jenkins/war/images/originals/Renesas_Electronics_logo.png'
'./images/LTSI.jpg' -> '/var/cache/jenkins/war/images/LTSI.jpg'
+ fix_permissions /var/cache/jenkins/war/css
+ chown -fRH jenkins /var/cache/jenkins/war/css
+ fix_permissions /var/cache/jenkins/war/images
+ chown -fRH jenkins /var/cache/jenkins/war/images
+ pwd
/fuego-install/jenkins-updates/en_US
+ cd ./core
+ jar xf /usr/share/jenkins/jenkins.war WEB-INF/lib/jenkins-core-1.509.2.jar
+ jar uf WEB-INF/lib/jenkins-core-1.509.2.jar hudson/AboutJenkins
hudson/TcpSlaveAgentListener hudson/cli hudson/fsp hudson/init
hudson/lifecycle hudson/matrix hudson/model hudson/views hudson/widgets
+ jar uf WEB-INF/lib/jenkins-core-1.509.2.jar jenkins/management
jenkins/model
+ jar uf WEB-INF/lib/jenkins-core-1.509.2.jar lib/form lib/hudson lib/layout
copying WEB-INF/lib/jenkins-core-1.509.2.jar ->
/var/cache/jenkins/war/WEB-INF/lib/jenkins-core-1.509.2.jar
+ echo 'copying WEB-INF/lib/jenkins-core-1.509.2.jar ->
/var/cache/jenkins/war/WEB-INF/lib/jenkins-core-1.509.2.jar'
+ cp WEB-INF/lib/jenkins-core-1.509.2.jar
/var/cache/jenkins/war/WEB-INF/lib/jenkins-core-1.509.2.jar
+ fix_permissions
/var/cache/jenkins/war/WEB-INF/lib/jenkins-core-1.509.2.jar
+ chown -fRH jenkins
/var/cache/jenkins/war/WEB-INF/lib/jenkins-core-1.509.2.jar
+ fix_permissions /var/cache/jenkins/war
+ chown -fRH jenkins /var/cache/jenkins/war
+ rm WEB-INF/lib/jenkins-core-1.509.2.jar
+ cd ../..
+ service jenkins restart
Restarting Jenkins Continuous Integration Server: jenkins.
+ sync_fetch_jenkins_cli
+ sleep 20
+ retry=0
+ wget -v --no-proxy http://localhost:8080/fuego/jnlpJars/jenkins-cli.jar
-O jenkins-cli.jar
converted 'http://localhost:8080/fuego/jnlpJars/jenkins-cli.jar'
(ANSI_X3.4-1968) -> 'http://localhost:8080/fuego/jnlpJars/jenkins-cli.jar'
(UTF-8)
--2017-03-02 07:57:52--
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... 200 OK
Length: 605730 (592K) [application/java-archive]
Saving to: 'jenkins-cli.jar'

     0K .......... .......... .......... .......... ..........  8% 45.8M 0s
    50K .......... .......... .......... .......... .......... 16% 42.8M 0s
   100K .......... .......... .......... .......... .......... 25% 33.6M 0s
   150K .......... .......... .......... .......... .......... 33% 21.8M 0s
   200K .......... .......... .......... .......... .......... 42%  145M 0s
   250K .......... .......... .......... .......... .......... 50% 29.3M 0s
   300K .......... .......... .......... .......... .......... 59% 69.1M 0s
   350K .......... .......... .......... .......... .......... 67% 10.9M 0s
   400K .......... .......... .......... .......... .......... 76% 25.8M 0s
   450K .......... .......... .......... .......... .......... 84%  121M 0s
   500K .......... .......... .......... .......... .......... 92%  177M 0s
   550K .......... .......... .......... .......... .         100%
93.3M=0.02s

2017-03-02 07:57:52 (35.9 MB/s) - 'jenkins-cli.jar' saved [605730/605730]

+ xargs -n1 -t java -jar jenkins-cli.jar -s http://localhost:8080/fuego
install-plugin
+ ls -1 plugins/locale.hpi plugins/page-markup.hpi plugins/sidebar-link.hpi
java -jar jenkins-cli.jar -s http://localhost:8080/fuego install-plugin
plugins/locale.hpi
Installing a plugin from local file: plugins/locale.hpi
java -jar jenkins-cli.jar -s http://localhost:8080/fuego install-plugin
plugins/page-markup.hpi
Installing a plugin from local file: plugins/page-markup.hpi
java -jar jenkins-cli.jar -s http://localhost:8080/fuego install-plugin
plugins/sidebar-link.hpi
Installing a plugin from local file: plugins/sidebar-link.hpi
+ rm jenkins-cli.jar
+ true
 ---> be3201abb08b
Removing intermediate container b38bcb69602f
Step 51 : RUN ln -s $INST_FUEGO_ENGINE_PATH/logs
$INST_FUEGO_FRONTEND_PATH/userContent/fuego.logs
 ---> Running in 53c41ffd4b6e
 ---> 420421d26f42
Removing intermediate container 53c41ffd4b6e
Step 52 : RUN ln -s $INST_FUEGO_ENGINE_PATH/fuego/jobs/tests.info
$INST_FUEGO_FRONTEND_PATH/userContent/tests.info
 ---> Running in b2a7775c7e22
 ---> c2d2002c570a
Removing intermediate container b2a7775c7e22
Step 53 : COPY container-cfg/sshd_config /etc/ssh/sshd_config
 ---> f35a1765f8a5
Removing intermediate container 291df0c296ff
Step 54 : COPY fuego-scripts/user-setup.sh /fuego-install/
 ---> 87ec183bcbb8
Removing intermediate container c937f0491f5d
Step 55 : RUN /fuego-install/user-setup.sh
 ---> Running in 73df8c82b4a9
Adding user `dc' to group `sudo' ...
Adding user dc to group sudo
Done.
 ---> 4b9a95dd8661
Removing intermediate container 73df8c82b4a9
Step 56 : WORKDIR /home/jenkins
 ---> Running in 669c51de1494
 ---> a2881649efae
Removing intermediate container 669c51de1494
Step 57 : COPY fuego-scripts /
 ---> e4d7dafd4fc2
Removing intermediate container 595e77adf7f1
Step 58 : COPY fuego-scripts/fuego-start-cmd.sh /etc/
 ---> 5b6e851a9582
Removing intermediate container 0487ea0faca0
Step 59 : CMD /etc/fuego-start-cmd.sh
 ---> Running in d1002abd30e3
 ---> e119ed41de6c
Removing intermediate container d1002abd30e3
Successfully built e119ed41de6c
bchoi@atom2:~/work/third-party/fuego$


BR,
Mark

2017-03-01 9:12 GMT+09:00 Bird, Timothy <Tim.Bird@sony.com>:

> Hello Mark,
>
> Thanks for hanging in there and providing some more details.  Here are
> some comments.
> updates.sh handles customization of jenkins (version 1.509.2) for Fuego,
> but it looks
> like the script is a bit fragile.  In particular, your installation is
> getting stuck in the
> routine: constants.sh:sync_fetch_jenkins_cli, which has no limit on
> retries of the operation.
>
> This is called twice by updates.sh, and is used to make
> sure that the latest jenkins-cli.jar file is downloaded from the running
> Jenkins server.
> This java program is used later in the script to install some modified
> plugins to Jenkins.
>
> I'm not sure why your system is not coming up properly, but I'm hoping it
> may be something
> simple like not waiting enough time after a restart.  Can you apply the
> following patch
> (to constants.sh and updates.sh) in your fuego repository, try install.sh
> again,
>  and send me a log of the results?
>
> This is a bit of a shot in the dark, but it might help, and the 'set -x'
> will give more
> details about the operations happening in the script.
>
> Thanks,
>  -- Tim
>
> Here’s the patch:
>
> diff --git a/frontend-install/jenkins-updates/constants.sh
> b/frontend-install/jenkins-updates/constants.sh
> index 7016641..ea37fde 100755
> --- a/frontend-install/jenkins-updates/constants.sh
> +++ b/frontend-install/jenkins-updates/constants.sh
> @@ -28,10 +28,17 @@ default_output() {
>  }
>
>  sync_fetch_jenkins_cli() {
> +    sleep 20
> +    retry = 0
>      until wget -v --no-proxy ${JEN_URL}/jnlpJars/jenkins-cli.jar -O
> jenkins-cli.jar
>      do
>          echo "Retrying wget -v --no-proxy ${JEN_URL}/jnlpJars/jenkins-cli.jar
> -O jenkins-cli.jar"
>          service jenkins restart
> -        sleep 10
> +        delay=$(( 10 + ($retry * 4) ))
> +        echo Delay=$delay
> +        sleep delay
> +        if [ $retry -ge 10 ] ; then
> +            break
> +        fi
>      done
>  }
> diff --git a/frontend-install/jenkins-updates/updates.sh
> b/frontend-install/jenkins-updates/updates.sh
> index 96ee0f5..7a5adbc 100755
> --- a/frontend-install/jenkins-updates/updates.sh
> +++ b/frontend-install/jenkins-updates/updates.sh
> @@ -2,6 +2,8 @@
>  # This script rewords basic Jenkins concepts
>  # to match Quality Assurance domain
>
> +set -x
> +
>  if [ "$(whoami)" != "root" ]; then
>         echo "Please run this as root user." >&3
>         exit 1
> --------
>
> > -----Original Message-----
> > From: Mark Choi [mailto:bchoi@mvista.com]
> > Sent: Tuesday, February 28, 2017 12:43 AM
> > To: Bird, Timothy <Tim.Bird@sony.com>
> > Cc: fuego@lists.linuxfoundation.org
> > Subject: Re: [Fuego] ERROR 503: Service Temporarily Unavailable.
> >
> > Hi Tim,
> >
> > I found problem was caused by update.sh. I started docker image and start
> > /etc/init.d/jenkins then I tried as follow and get log.
> >
> > root@e4fc08fb2bb0:/fuego-install/jenkins-updates# ./updates.sh
> > Jenkins cache is /var/cache/jenkins/war
> > 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-28 08:11:07--  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... 200 OK
> > Length: 605730 (592K) [application/java-archive]
> > Saving to: 'jenkins-cli.jar'
> >
> > jenkins-cli.jar
> > 100%[======================================================
> > ======>] 591.53K  --.-KB/s   in 0.05s
> >
> > 2017-02-28 08:11:07 (11.6 MB/s) - 'jenkins-cli.jar' saved [605730/605730]
> >
> > './css/style1.css' -> '/var/cache/jenkins/war/css/style1.css'
> > './css/style.css' -> '/var/cache/jenkins/war/css/style.css'
> > './css/style2.css' -> '/var/cache/jenkins/war/css/style2.css'
> > './images/24x24/plot.png' ->
> > '/var/cache/jenkins/war/images/24x24/plot.png'
> > './images/32x32/computer.gif' ->
> > '/var/cache/jenkins/war/images/32x32/computer.gif'
> > './images/32x32/computer.png' ->
> > '/var/cache/jenkins/war/images/32x32/computer.png'
> > './images/Renesas.png' -> '/var/cache/jenkins/war/images/Renesas.png'
> > './images/LinuxFoundation.png' ->
> > '/var/cache/jenkins/war/images/LinuxFoundation.png'
> > './images/cogent-embedded.png' ->
> > '/var/cache/jenkins/war/images/cogent-embedded.png'
> > './images/LTSI.png' -> '/var/cache/jenkins/war/images/LTSI.png'
> > './images/48x48/computer.gif' ->
> > '/var/cache/jenkins/war/images/48x48/computer.gif'
> > './images/48x48/computer.png' ->
> > '/var/cache/jenkins/war/images/48x48/computer.png'
> > './images/originals' -> '/var/cache/jenkins/war/images/originals'
> > './images/originals/linuxfoundation.png' ->
> > '/var/cache/jenkins/war/images/originals/linuxfoundation.png'
> > './images/originals/ltsi.jpg' ->
> > '/var/cache/jenkins/war/images/originals/ltsi.jpg'
> > './images/originals/cogent-embedded.png' ->
> > '/var/cache/jenkins/war/images/originals/cogent-embedded.png'
> > './images/originals/Renesas_Electronics_logo.png' ->
> > '/var/cache/jenkins/war/images/originals/Renesas_Electronics_logo.png'
> > './images/LTSI.jpg' -> '/var/cache/jenkins/war/images/LTSI.jpg'
> > /fuego-install/jenkins-updates/en_US
> > copying WEB-INF/lib/jenkins-core-1.509.2.jar ->
> > /var/cache/jenkins/war/WEB-INF/lib/jenkins-core-1.509.2.jar
> > [ ok ] Restarting 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-28 08:11:16--  http://localhost:8080/fuego/
> jnlpJars/jenkins-cli.jar
> > Resolving localhost (localhost)... ::1, 127.0.0.1
> > Connecting 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.jar
> > [....] Restarting Jenkins Continuous Integration Server: jenkinsThe
> selected
> > http port (8080) seems to be in use by another program
> > Please select another port to use for jenkins
> >  failed!
> > 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-28 08:11:46--  http://localhost:8080/fuego/
> jnlpJars/jenkins-cli.jar
> > Resolving localhost (localhost)... ::1, 127.0.0.1
> > Connecting 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.jar
> > [ ok ] Restarting 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-28 08:11:57--  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-28 08:11:59 ERROR 503: Service Temporarily Unavailable.
> >
> > Retrying wget -v --no-proxy http://localhost:8080/fuego/
> jnlpJars/jenkins-
> > cli.jar -O jenkins-cli.jar
> > [ ok ] Restarting 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-28 08:12:12--  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-28 08:12:14 ERROR 503: Service Temporarily Unavailable.
> >
> > Retrying wget -v --no-proxy http://localhost:8080/fuego/
> jnlpJars/jenkins-
> > cli.jar -O jenkins-cli.jar
> > [ ok ] Restarting Jenkins Continuous Integration Server: jenkins.
> > ^C
> > root@e4fc08fb2bb0:/fuego-install/jenkins-updates#
> >
> >
> > I did cat for /var/log/jenkins/jenkins.log and captured last part of log.
> >
> >
> > Feb 28, 2017 8:26:21 AM org.jenkinsci.main.modules.sshd.SSHD start
> > INFO: Started SSHD at port 39951
> > Feb 28, 2017 8:26:21 AM jenkins.InitReactorRunner$1 onAttained
> > INFO: Completed initialization
> > Feb 28, 2017 8:26:21 AM hudson.TcpSlaveAgentListener <init>
> > INFO: JNLP slave agent listener started on TCP port 38848
> > Feb 28, 2017 8:26:21 AM hudson.WebAppMain$2 run
> > INFO: Jenkins is fully up and running
> > Feb 28, 2017 8:27:19 AM winstone.Logger logInternal
> > WARNING: Request URL /jnlpJars/jenkins-cli.jar not found - doesn't match
> > any webapp prefix
> > Feb 28, 2017 8:27:36 AM winstone.Logger logInternal
> > WARNING: Request URL /jnlpJars/jenkins-cli.jar not found - doesn't match
> > any webapp prefix
> > Feb 28, 2017 8:28:54 AM winstone.Logger logInternal
> > WARNING: Request URL / not found - doesn't match any webapp prefix
> > root@e4fc08fb2bb0:/fuego-install#
> >
> >
> > Could you please check this log and comment?
> >
> > BR,
> > Mark
> >
> > 2017-02-24 16:55 GMT+09:00 Mark Choi <bchoi@mvista.com
> > <mailto:bchoi@mvista.com> >:
> >
> >
> >       Hi Tim,
> >
> >       Thanks to your reply. :)
> >
> >
> >        1) working on using the latest Jenkins
> >            I installed jenkin on the host as https://wiki.jenkins-
> > ci.org/display/JENKINS/Installing+Jenkins+on+Ubuntu <
> 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 MB
> >       Step 1 : FROM debian:jessie
> >        ---> 19134a8202e7
> >       Step 2 : MAINTAINER tim.bird@am.sony.com
> > <mailto:tim.bird@am.sony.com>
> >        ---> Using cache
> >        ---> 4ef47b94044b
> >       Step 3 : ARG HTTP_PROXY
> >        ---> Using cache
> >        ---> 7e964752e35c
> >       Step 4 : ENV INST_FUEGO_ENGINE_PATH /home/jenkins
> >        ---> Using cache
> >        ---> dde0288b5a04
> >       Step 5 : ENV INST_FUEGO_FRONTEND_PATH /var/lib/jenkins
> >        ---> Using cache
> >        ---> 7ca695e83d33
> >       Step 6 : ENV URL_PREFIX /fuego
> >        ---> Using cache
> >        ---> ccfbd2c42b00
> >       Step 7 : WORKDIR /fuego-install
> >        ---> Using cache
> >        ---> edb08e19cf9f
> >       Step 8 : RUN dpkg --add-architecture i386
> >        ---> Using cache
> >        ---> 8639734467ce
> >       Step 9 : RUN echo deb http://ftp.us.debian.org/debian
> > <http://ftp.us.debian.org/debian>  jessie main non-free >>
> > /etc/apt/sources.list
> >        ---> Using cache
> >        ---> 461c7ff1d2b6
> >       Step 10 : RUN if [ -n "$HTTP_PROXY" ]; then echo
> > 'Acquire::http::proxy "'$HTTP_PROXY'";' > /etc/apt/apt.conf.d/80proxy; fi
> >        ---> Using cache
> >        ---> aed756ff978a
> >       Step 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
> >        ---> b36aa18cb5d1
> >       Step 12 : RUN /bin/bash -c 'echo "dash dash/sh boolean false" |
> > debconf-set-selections ; DEBIAN_FRONTEND=noninteractive dpkg-
> > reconfigure dash'
> >        ---> Using cache
> >        ---> d6c7f83084c2
> >       Step 13 : COPY frontend-install/jenkins_1.509.2_all.deb /fuego-
> > install/
> >        ---> Using cache
> >        ---> ae0aa5e1f358
> >       Step 14 : RUN dpkg -i /fuego-install/jenkins_1.509.2_all.deb
> >        ---> Using cache
> >        ---> b01a6c0a463a
> >       Step 15 : RUN if [ -n "$HTTP_PROXY" ]; then echo "use_proxy = on"
> > >> /etc/wgetrc && echo 'http_proxy =' $HTTP_PROXY >> /etc/wgetrc; fi
> >        ---> Using cache
> >        ---> 028e4805fe8d
> >       Step 16 : RUN /bin/bash -c 'wget -nv
> > "http://downloads.sourceforge.net/project/getfo/texml/texml-2.0.2/texml-
> > 2.0.2.tar.gz?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fgetfo%2F&ts
> > =1398789654&use_mirror=jaist
> > <http://downloads.sourceforge.net/project/getfo/texml/texml-
> > 2.0.2/texml-
> > 2.0.2.tar.gz?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fgetfo%2F&ts
> > =1398789654&use_mirror=jaist> " -O texml.tar.gz ; tar xvf texml.tar.gz;
> cd
> > texml-2.0.2 ; python setup.py install; cd -'
> >        ---> Using cache
> >        ---> 493250ccb4c3
> >       Step 17 : RUN echo "PermitRootLogin yes" >> /etc/ssh/sshd_config
> >        ---> Using cache
> >        ---> 8bce63c99e08
> >       Step 18 : RUN echo deb http://emdebian.org/tools/debian/
> > <http://emdebian.org/tools/debian/>  jessie main >
> > /etc/apt/sources.list.d/crosstools.list
> >        ---> Using cache
> >        ---> c4a09042cabc
> >       Step 19 : RUN dpkg --add-architecture armhf
> >        ---> Using cache
> >        ---> be62180332cc
> >       Step 20 : RUN if [ -n "$HTTP_PROXY" ]; then curl --proxy
> > $HTTP_PROXY http://emdebian.org/tools/debian/emdebian-toolchain-
> > archive.key <http://emdebian.org/tools/debian/emdebian-toolchain-
> > archive.key>  | sudo apt-key add -; else curl
> > http://emdebian.org/tools/debian/emdebian-toolchain-archive.key
> > <http://emdebian.org/tools/debian/emdebian-toolchain-archive.key>  |
> > sudo apt-key add -; fi
> >        ---> Using cache
> >        ---> 2b5d713beec4
> >       Step 21 : RUN DEBIAN_FRONTEND=noninteractive apt-get update
> >        ---> Using cache
> >        ---> 3c5971aa96d5
> >       Step 22 : RUN DEBIAN_FRONTEND=noninteractive apt-get -yV install
> > crossbuild-essential-armhf
> >        ---> Using cache
> >        ---> 9f78584aaabf
> >       Step 23 : ENV INST_FUEGO_CORE_GIT_REVISION c2ddbab
> >        ---> Using cache
> >        ---> 8aa835ebb580
> >       Step 24 : RUN mkdir -p /home/jenkins
> >        ---> Using cache
> >        ---> 9811d541abce
> >       Step 25 : RUN if [ -n "$HTTP_PROXY" ]; then git config --global
> > http.proxy $HTTP_PROXY; fi
> >        ---> Using cache
> >        ---> d7ed36f07ec2
> >       Step 26 : RUN git clone https://bitbucket.org/
> tbird20d/fuego-core.git
> > <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
> >        ---> 1166c682964b
> >       Step 27 : RUN ln -s $INST_FUEGO_ENGINE_PATH/fuego/engine/*
> > $INST_FUEGO_ENGINE_PATH/
> >        ---> Using cache
> >        ---> 0f9e924b6a9d
> >       Step 28 : RUN ln -s $INST_FUEGO_ENGINE_PATH/fuego/jobs
> > $INST_FUEGO_FRONTEND_PATH/jobs
> >        ---> Using cache
> >        ---> 7349d4101795
> >       Step 29 : COPY docs
> > $INST_FUEGO_FRONTEND_PATH/userContent/docs/
> >        ---> Using cache
> >        ---> f7ffd99f3643
> >       Step 30 : RUN ln -s
> > $INST_FUEGO_ENGINE_PATH/fuego/engine/scripts/ftc /usr/local/bin/
> >        ---> Using cache
> >        ---> a3ecf1216198
> >       Step 31 : COPY fuego-scripts/maintain_config_link.sh
> /usr/local/bin/
> >        ---> Using cache
> >        ---> 790a7dc771a7
> >       Step 32 : RUN ln -s /userdata/buildzone
> > $INST_FUEGO_ENGINE_PATH/buildzone
> >        ---> Using cache
> >        ---> c763a03176bb
> >       Step 33 : RUN ln -s /userdata/work
> > $INST_FUEGO_ENGINE_PATH/work
> >        ---> Using cache
> >        ---> b2bbee76afe7
> >       Step 34 : RUN ln -s /userdata/logs $INST_FUEGO_ENGINE_PATH/logs
> >        ---> Using cache
> >        ---> 72631eb4b142
> >       Step 35 : RUN ln -s /userdata/logs
> > $INST_FUEGO_FRONTEND_PATH/logs
> >        ---> Using cache
> >        ---> a0ac32f43928
> >       Step 36 : RUN ln -s /userdata/conf/boards
> > $INST_FUEGO_ENGINE_PATH/overlays/boards
> >        ---> Using cache
> >        ---> 8ef92486bf52
> >       Step 37 : RUN ln -s /userdata/conf/config.xml
> > $INST_FUEGO_FRONTEND_PATH/config.xml
> >        ---> Using cache
> >        ---> 5db5957ad12d
> >       Step 38 : RUN ln -s /userdata/conf/tools.sh
> > $INST_FUEGO_ENGINE_PATH/scripts/tools.sh
> >        ---> Using cache
> >        ---> 388d7b0042bc
> >       Step 39 : RUN ln -s $INST_FUEGO_ENGINE_PATH/fuego/plugins-
> > conf/scriptler $INST_FUEGO_FRONTEND_PATH/
> >        ---> Using cache
> >        ---> 07516d61482a
> >       Step 40 : RUN ln -s $INST_FUEGO_ENGINE_PATH/fuego/plugins-
> > conf/sidebar-link.xml $INST_FUEGO_FRONTEND_PATH/
> >        ---> Using cache
> >        ---> 1c3052a276c3
> >       Step 41 : COPY frontend-install/jenkins.cfg /etc/default/jenkins
> >        ---> Using cache
> >        ---> f8a02e7f3793
> >       Step 42 : COPY fuego-scripts/subsitute_jen_url_prefix.sh /fuego-
> > install/
> >        ---> Using cache
> >        ---> 6dd4a9693178
> >       Step 43 : RUN /fuego-install/subsitute_jen_url_prefix.sh
> > /etc/default/jenkins
> >        ---> Using cache
> >        ---> ebaa2d2af0fb
> >       Step 44 : RUN chown -R jenkins  $INST_FUEGO_ENGINE_PATH
> > $INST_FUEGO_FRONTEND_PATH /var/cache/jenkins /etc/default/jenkins
> >        ---> Using cache
> >        ---> 37d7165f2169
> >       Step 45 : COPY frontend-install/plugins
> > $INST_FUEGO_FRONTEND_PATH/
> >        ---> Using cache
> >        ---> 678c9358cfc4
> >       Step 46 : COPY frontend-install/jenkins-updates /fuego-
> > install/jenkins-updates
> >        ---> Using cache
> >        ---> b3c77ee2fe76
> >       Step 47 : RUN /fuego-install/subsitute_jen_url_prefix.sh /fuego-
> > install/jenkins-updates
> >        ---> Using cache
> >        ---> c26e6d5d21d6
> >       Step 48 : WORKDIR /fuego-install/jenkins-updates
> >        ---> Using cache
> >        ---> 46cad051caf2
> >       Step 49 : RUN echo "installing custom UI updates"
> >        ---> Using cache
> >        ---> ffbbbcc623e4
> >       Step 50 : RUN /etc/init.d/jenkins start && ./updates.sh
> >        ---> Running in 2ddaccce07e3
> >       Starting Jenkins Continuous Integration Server: jenkins.
> >       Jenkins cache is /var/cache/jenkins/war
> >       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-24 07:49:16--  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... 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
> > <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-24 07:49:28--  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-24 07:49:33 ERROR 503: Service Temporarily Unavailable.
> >
> >       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-24 07:49:44--  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...
> > ^Cbchoi@atom2:~/work/third-party/fuego$
> >
> >       BR,
> >       Mark
> >
> >
> >
> >       2017-02-24 1:21 GMT+09:00 Bird, Timothy <Tim.Bird@sony.com
> > <mailto: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-
> > <http://localhost:8080/fuego/jnlpJars/jenkins->
> >               > cli.jar <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>
> >               > <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>
> >               > <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>
> >               > <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, LLC
> >
> >       http://www.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 <mailto:bchoi@mvista.com>
> >       =========================
> >
> >
> >
> >
> > --
> >
> > =========================
> >
> > Mark Choi ( 최봉규 부장 )
> > Customer Support Engineer
> > MontaVista Software, LLC
> >
> > http://www.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 <mailto:bchoi@mvista.com>
> > =========================
>
>


-- 
=========================
Mark Choi ( 최봉규 부장 )
Customer Support Engineer
MontaVista Software, LLC

http://www.mvista.com
Tel:  +82 70 7017 3452
Fax: +82 2 403 3450
Cell: +82 10  6865 0286
Email: bchoi@mvista.com
=========================

[-- Attachment #2: Type: text/html, Size: 67436 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Fuego] ERROR 503: Service Temporarily Unavailable.
  2017-02-28  8:42     ` Mark Choi
@ 2017-03-01  0:12       ` Bird, Timothy
  2017-03-02  8:03         ` Mark Choi
  0 siblings, 1 reply; 9+ messages in thread
From: Bird, Timothy @ 2017-03-01  0:12 UTC (permalink / raw)
  To: Mark Choi; +Cc: fuego

Hello Mark,

Thanks for hanging in there and providing some more details.  Here are some comments.
updates.sh handles customization of jenkins (version 1.509.2) for Fuego, but it looks
like the script is a bit fragile.  In particular, your installation is getting stuck in the
routine: constants.sh:sync_fetch_jenkins_cli, which has no limit on retries of the operation.

This is called twice by updates.sh, and is used to make
sure that the latest jenkins-cli.jar file is downloaded from the running Jenkins server.
This java program is used later in the script to install some modified plugins to Jenkins.

I'm not sure why your system is not coming up properly, but I'm hoping it may be something
simple like not waiting enough time after a restart.  Can you apply the following patch
(to constants.sh and updates.sh) in your fuego repository, try install.sh again,
 and send me a log of the results?

This is a bit of a shot in the dark, but it might help, and the 'set -x' will give more
details about the operations happening in the script.

Thanks,
 -- Tim

Here’s the patch:

diff --git a/frontend-install/jenkins-updates/constants.sh b/frontend-install/jenkins-updates/constants.sh
index 7016641..ea37fde 100755
--- a/frontend-install/jenkins-updates/constants.sh
+++ b/frontend-install/jenkins-updates/constants.sh
@@ -28,10 +28,17 @@ default_output() {
 }
 
 sync_fetch_jenkins_cli() {
+    sleep 20
+    retry = 0
     until wget -v --no-proxy ${JEN_URL}/jnlpJars/jenkins-cli.jar -O jenkins-cli.jar
     do
         echo "Retrying wget -v --no-proxy ${JEN_URL}/jnlpJars/jenkins-cli.jar -O jenkins-cli.jar"
         service jenkins restart
-        sleep 10
+        delay=$(( 10 + ($retry * 4) ))
+        echo Delay=$delay
+        sleep delay
+        if [ $retry -ge 10 ] ; then
+            break
+        fi
     done
 }
diff --git a/frontend-install/jenkins-updates/updates.sh b/frontend-install/jenkins-updates/updates.sh
index 96ee0f5..7a5adbc 100755
--- a/frontend-install/jenkins-updates/updates.sh
+++ b/frontend-install/jenkins-updates/updates.sh
@@ -2,6 +2,8 @@
 # This script rewords basic Jenkins concepts
 # to match Quality Assurance domain
 
+set -x
+
 if [ "$(whoami)" != "root" ]; then
 	echo "Please run this as root user." >&3
 	exit 1
--------

> -----Original Message-----
> From: Mark Choi [mailto:bchoi@mvista.com]
> Sent: Tuesday, February 28, 2017 12:43 AM
> To: Bird, Timothy <Tim.Bird@sony.com>
> Cc: fuego@lists.linuxfoundation.org
> Subject: Re: [Fuego] ERROR 503: Service Temporarily Unavailable.
> 
> Hi Tim,
> 
> I found problem was caused by update.sh. I started docker image and start
> /etc/init.d/jenkins then I tried as follow and get log.
> 
> root@e4fc08fb2bb0:/fuego-install/jenkins-updates# ./updates.sh
> Jenkins cache is /var/cache/jenkins/war
> 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-28 08:11:07--  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... 200 OK
> Length: 605730 (592K) [application/java-archive]
> Saving to: 'jenkins-cli.jar'
> 
> jenkins-cli.jar
> 100%[======================================================
> ======>] 591.53K  --.-KB/s   in 0.05s
> 
> 2017-02-28 08:11:07 (11.6 MB/s) - 'jenkins-cli.jar' saved [605730/605730]
> 
> './css/style1.css' -> '/var/cache/jenkins/war/css/style1.css'
> './css/style.css' -> '/var/cache/jenkins/war/css/style.css'
> './css/style2.css' -> '/var/cache/jenkins/war/css/style2.css'
> './images/24x24/plot.png' ->
> '/var/cache/jenkins/war/images/24x24/plot.png'
> './images/32x32/computer.gif' ->
> '/var/cache/jenkins/war/images/32x32/computer.gif'
> './images/32x32/computer.png' ->
> '/var/cache/jenkins/war/images/32x32/computer.png'
> './images/Renesas.png' -> '/var/cache/jenkins/war/images/Renesas.png'
> './images/LinuxFoundation.png' ->
> '/var/cache/jenkins/war/images/LinuxFoundation.png'
> './images/cogent-embedded.png' ->
> '/var/cache/jenkins/war/images/cogent-embedded.png'
> './images/LTSI.png' -> '/var/cache/jenkins/war/images/LTSI.png'
> './images/48x48/computer.gif' ->
> '/var/cache/jenkins/war/images/48x48/computer.gif'
> './images/48x48/computer.png' ->
> '/var/cache/jenkins/war/images/48x48/computer.png'
> './images/originals' -> '/var/cache/jenkins/war/images/originals'
> './images/originals/linuxfoundation.png' ->
> '/var/cache/jenkins/war/images/originals/linuxfoundation.png'
> './images/originals/ltsi.jpg' ->
> '/var/cache/jenkins/war/images/originals/ltsi.jpg'
> './images/originals/cogent-embedded.png' ->
> '/var/cache/jenkins/war/images/originals/cogent-embedded.png'
> './images/originals/Renesas_Electronics_logo.png' ->
> '/var/cache/jenkins/war/images/originals/Renesas_Electronics_logo.png'
> './images/LTSI.jpg' -> '/var/cache/jenkins/war/images/LTSI.jpg'
> /fuego-install/jenkins-updates/en_US
> copying WEB-INF/lib/jenkins-core-1.509.2.jar ->
> /var/cache/jenkins/war/WEB-INF/lib/jenkins-core-1.509.2.jar
> [ ok ] Restarting 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-28 08:11:16--  http://localhost:8080/fuego/jnlpJars/jenkins-cli.jar
> Resolving localhost (localhost)... ::1, 127.0.0.1
> Connecting 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.jar
> [....] Restarting Jenkins Continuous Integration Server: jenkinsThe selected
> http port (8080) seems to be in use by another program
> Please select another port to use for jenkins
>  failed!
> 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-28 08:11:46--  http://localhost:8080/fuego/jnlpJars/jenkins-cli.jar
> Resolving localhost (localhost)... ::1, 127.0.0.1
> Connecting 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.jar
> [ ok ] Restarting 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-28 08:11:57--  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-28 08:11:59 ERROR 503: Service Temporarily Unavailable.
> 
> Retrying wget -v --no-proxy http://localhost:8080/fuego/jnlpJars/jenkins-
> cli.jar -O jenkins-cli.jar
> [ ok ] Restarting 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-28 08:12:12--  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-28 08:12:14 ERROR 503: Service Temporarily Unavailable.
> 
> Retrying wget -v --no-proxy http://localhost:8080/fuego/jnlpJars/jenkins-
> cli.jar -O jenkins-cli.jar
> [ ok ] Restarting Jenkins Continuous Integration Server: jenkins.
> ^C
> root@e4fc08fb2bb0:/fuego-install/jenkins-updates#
> 
> 
> I did cat for /var/log/jenkins/jenkins.log and captured last part of log.
> 
> 
> Feb 28, 2017 8:26:21 AM org.jenkinsci.main.modules.sshd.SSHD start
> INFO: Started SSHD at port 39951
> Feb 28, 2017 8:26:21 AM jenkins.InitReactorRunner$1 onAttained
> INFO: Completed initialization
> Feb 28, 2017 8:26:21 AM hudson.TcpSlaveAgentListener <init>
> INFO: JNLP slave agent listener started on TCP port 38848
> Feb 28, 2017 8:26:21 AM hudson.WebAppMain$2 run
> INFO: Jenkins is fully up and running
> Feb 28, 2017 8:27:19 AM winstone.Logger logInternal
> WARNING: Request URL /jnlpJars/jenkins-cli.jar not found - doesn't match
> any webapp prefix
> Feb 28, 2017 8:27:36 AM winstone.Logger logInternal
> WARNING: Request URL /jnlpJars/jenkins-cli.jar not found - doesn't match
> any webapp prefix
> Feb 28, 2017 8:28:54 AM winstone.Logger logInternal
> WARNING: Request URL / not found - doesn't match any webapp prefix
> root@e4fc08fb2bb0:/fuego-install#
> 
> 
> Could you please check this log and comment?
> 
> BR,
> Mark
> 
> 2017-02-24 16:55 GMT+09:00 Mark Choi <bchoi@mvista.com
> <mailto:bchoi@mvista.com> >:
> 
> 
> 	Hi Tim,
> 
> 	Thanks to your reply. :)
> 
> 
> 	 1) working on using the latest Jenkins
> 	     I installed jenkin on the host as https://wiki.jenkins-
> ci.org/display/JENKINS/Installing+Jenkins+on+Ubuntu <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 MB
> 	Step 1 : FROM debian:jessie
> 	 ---> 19134a8202e7
> 	Step 2 : MAINTAINER tim.bird@am.sony.com
> <mailto:tim.bird@am.sony.com>
> 	 ---> Using cache
> 	 ---> 4ef47b94044b
> 	Step 3 : ARG HTTP_PROXY
> 	 ---> Using cache
> 	 ---> 7e964752e35c
> 	Step 4 : ENV INST_FUEGO_ENGINE_PATH /home/jenkins
> 	 ---> Using cache
> 	 ---> dde0288b5a04
> 	Step 5 : ENV INST_FUEGO_FRONTEND_PATH /var/lib/jenkins
> 	 ---> Using cache
> 	 ---> 7ca695e83d33
> 	Step 6 : ENV URL_PREFIX /fuego
> 	 ---> Using cache
> 	 ---> ccfbd2c42b00
> 	Step 7 : WORKDIR /fuego-install
> 	 ---> Using cache
> 	 ---> edb08e19cf9f
> 	Step 8 : RUN dpkg --add-architecture i386
> 	 ---> Using cache
> 	 ---> 8639734467ce
> 	Step 9 : RUN echo deb http://ftp.us.debian.org/debian
> <http://ftp.us.debian.org/debian>  jessie main non-free >>
> /etc/apt/sources.list
> 	 ---> Using cache
> 	 ---> 461c7ff1d2b6
> 	Step 10 : RUN if [ -n "$HTTP_PROXY" ]; then echo
> 'Acquire::http::proxy "'$HTTP_PROXY'";' > /etc/apt/apt.conf.d/80proxy; fi
> 	 ---> Using cache
> 	 ---> aed756ff978a
> 	Step 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
> 	 ---> b36aa18cb5d1
> 	Step 12 : RUN /bin/bash -c 'echo "dash dash/sh boolean false" |
> debconf-set-selections ; DEBIAN_FRONTEND=noninteractive dpkg-
> reconfigure dash'
> 	 ---> Using cache
> 	 ---> d6c7f83084c2
> 	Step 13 : COPY frontend-install/jenkins_1.509.2_all.deb /fuego-
> install/
> 	 ---> Using cache
> 	 ---> ae0aa5e1f358
> 	Step 14 : RUN dpkg -i /fuego-install/jenkins_1.509.2_all.deb
> 	 ---> Using cache
> 	 ---> b01a6c0a463a
> 	Step 15 : RUN if [ -n "$HTTP_PROXY" ]; then echo "use_proxy = on"
> >> /etc/wgetrc && echo 'http_proxy =' $HTTP_PROXY >> /etc/wgetrc; fi
> 	 ---> Using cache
> 	 ---> 028e4805fe8d
> 	Step 16 : RUN /bin/bash -c 'wget -nv
> "http://downloads.sourceforge.net/project/getfo/texml/texml-2.0.2/texml-
> 2.0.2.tar.gz?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fgetfo%2F&ts
> =1398789654&use_mirror=jaist
> <http://downloads.sourceforge.net/project/getfo/texml/texml-
> 2.0.2/texml-
> 2.0.2.tar.gz?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fgetfo%2F&ts
> =1398789654&use_mirror=jaist> " -O texml.tar.gz ; tar xvf texml.tar.gz; cd
> texml-2.0.2 ; python setup.py install; cd -'
> 	 ---> Using cache
> 	 ---> 493250ccb4c3
> 	Step 17 : RUN echo "PermitRootLogin yes" >> /etc/ssh/sshd_config
> 	 ---> Using cache
> 	 ---> 8bce63c99e08
> 	Step 18 : RUN echo deb http://emdebian.org/tools/debian/
> <http://emdebian.org/tools/debian/>  jessie main >
> /etc/apt/sources.list.d/crosstools.list
> 	 ---> Using cache
> 	 ---> c4a09042cabc
> 	Step 19 : RUN dpkg --add-architecture armhf
> 	 ---> Using cache
> 	 ---> be62180332cc
> 	Step 20 : RUN if [ -n "$HTTP_PROXY" ]; then curl --proxy
> $HTTP_PROXY http://emdebian.org/tools/debian/emdebian-toolchain-
> archive.key <http://emdebian.org/tools/debian/emdebian-toolchain-
> archive.key>  | sudo apt-key add -; else curl
> http://emdebian.org/tools/debian/emdebian-toolchain-archive.key
> <http://emdebian.org/tools/debian/emdebian-toolchain-archive.key>  |
> sudo apt-key add -; fi
> 	 ---> Using cache
> 	 ---> 2b5d713beec4
> 	Step 21 : RUN DEBIAN_FRONTEND=noninteractive apt-get update
> 	 ---> Using cache
> 	 ---> 3c5971aa96d5
> 	Step 22 : RUN DEBIAN_FRONTEND=noninteractive apt-get -yV install
> crossbuild-essential-armhf
> 	 ---> Using cache
> 	 ---> 9f78584aaabf
> 	Step 23 : ENV INST_FUEGO_CORE_GIT_REVISION c2ddbab
> 	 ---> Using cache
> 	 ---> 8aa835ebb580
> 	Step 24 : RUN mkdir -p /home/jenkins
> 	 ---> Using cache
> 	 ---> 9811d541abce
> 	Step 25 : RUN if [ -n "$HTTP_PROXY" ]; then git config --global
> http.proxy $HTTP_PROXY; fi
> 	 ---> Using cache
> 	 ---> d7ed36f07ec2
> 	Step 26 : RUN git clone https://bitbucket.org/tbird20d/fuego-core.git
> <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
> 	 ---> 1166c682964b
> 	Step 27 : RUN ln -s $INST_FUEGO_ENGINE_PATH/fuego/engine/*
> $INST_FUEGO_ENGINE_PATH/
> 	 ---> Using cache
> 	 ---> 0f9e924b6a9d
> 	Step 28 : RUN ln -s $INST_FUEGO_ENGINE_PATH/fuego/jobs
> $INST_FUEGO_FRONTEND_PATH/jobs
> 	 ---> Using cache
> 	 ---> 7349d4101795
> 	Step 29 : COPY docs
> $INST_FUEGO_FRONTEND_PATH/userContent/docs/
> 	 ---> Using cache
> 	 ---> f7ffd99f3643
> 	Step 30 : RUN ln -s
> $INST_FUEGO_ENGINE_PATH/fuego/engine/scripts/ftc /usr/local/bin/
> 	 ---> Using cache
> 	 ---> a3ecf1216198
> 	Step 31 : COPY fuego-scripts/maintain_config_link.sh /usr/local/bin/
> 	 ---> Using cache
> 	 ---> 790a7dc771a7
> 	Step 32 : RUN ln -s /userdata/buildzone
> $INST_FUEGO_ENGINE_PATH/buildzone
> 	 ---> Using cache
> 	 ---> c763a03176bb
> 	Step 33 : RUN ln -s /userdata/work
> $INST_FUEGO_ENGINE_PATH/work
> 	 ---> Using cache
> 	 ---> b2bbee76afe7
> 	Step 34 : RUN ln -s /userdata/logs $INST_FUEGO_ENGINE_PATH/logs
> 	 ---> Using cache
> 	 ---> 72631eb4b142
> 	Step 35 : RUN ln -s /userdata/logs
> $INST_FUEGO_FRONTEND_PATH/logs
> 	 ---> Using cache
> 	 ---> a0ac32f43928
> 	Step 36 : RUN ln -s /userdata/conf/boards
> $INST_FUEGO_ENGINE_PATH/overlays/boards
> 	 ---> Using cache
> 	 ---> 8ef92486bf52
> 	Step 37 : RUN ln -s /userdata/conf/config.xml
> $INST_FUEGO_FRONTEND_PATH/config.xml
> 	 ---> Using cache
> 	 ---> 5db5957ad12d
> 	Step 38 : RUN ln -s /userdata/conf/tools.sh
> $INST_FUEGO_ENGINE_PATH/scripts/tools.sh
> 	 ---> Using cache
> 	 ---> 388d7b0042bc
> 	Step 39 : RUN ln -s $INST_FUEGO_ENGINE_PATH/fuego/plugins-
> conf/scriptler $INST_FUEGO_FRONTEND_PATH/
> 	 ---> Using cache
> 	 ---> 07516d61482a
> 	Step 40 : RUN ln -s $INST_FUEGO_ENGINE_PATH/fuego/plugins-
> conf/sidebar-link.xml $INST_FUEGO_FRONTEND_PATH/
> 	 ---> Using cache
> 	 ---> 1c3052a276c3
> 	Step 41 : COPY frontend-install/jenkins.cfg /etc/default/jenkins
> 	 ---> Using cache
> 	 ---> f8a02e7f3793
> 	Step 42 : COPY fuego-scripts/subsitute_jen_url_prefix.sh /fuego-
> install/
> 	 ---> Using cache
> 	 ---> 6dd4a9693178
> 	Step 43 : RUN /fuego-install/subsitute_jen_url_prefix.sh
> /etc/default/jenkins
> 	 ---> Using cache
> 	 ---> ebaa2d2af0fb
> 	Step 44 : RUN chown -R jenkins  $INST_FUEGO_ENGINE_PATH
> $INST_FUEGO_FRONTEND_PATH /var/cache/jenkins /etc/default/jenkins
> 	 ---> Using cache
> 	 ---> 37d7165f2169
> 	Step 45 : COPY frontend-install/plugins
> $INST_FUEGO_FRONTEND_PATH/
> 	 ---> Using cache
> 	 ---> 678c9358cfc4
> 	Step 46 : COPY frontend-install/jenkins-updates /fuego-
> install/jenkins-updates
> 	 ---> Using cache
> 	 ---> b3c77ee2fe76
> 	Step 47 : RUN /fuego-install/subsitute_jen_url_prefix.sh /fuego-
> install/jenkins-updates
> 	 ---> Using cache
> 	 ---> c26e6d5d21d6
> 	Step 48 : WORKDIR /fuego-install/jenkins-updates
> 	 ---> Using cache
> 	 ---> 46cad051caf2
> 	Step 49 : RUN echo "installing custom UI updates"
> 	 ---> Using cache
> 	 ---> ffbbbcc623e4
> 	Step 50 : RUN /etc/init.d/jenkins start && ./updates.sh
> 	 ---> Running in 2ddaccce07e3
> 	Starting Jenkins Continuous Integration Server: jenkins.
> 	Jenkins cache is /var/cache/jenkins/war
> 	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-24 07:49:16--  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... 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
> <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-24 07:49:28--  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-24 07:49:33 ERROR 503: Service Temporarily Unavailable.
> 
> 	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-24 07:49:44--  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...
> ^Cbchoi@atom2:~/work/third-party/fuego$
> 
> 	BR,
> 	Mark
> 
> 
> 
> 	2017-02-24 1:21 GMT+09:00 Bird, Timothy <Tim.Bird@sony.com
> <mailto: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-
> <http://localhost:8080/fuego/jnlpJars/jenkins->
> 		> cli.jar <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>
> 		> <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>
> 		> <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>
> 		> <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, LLC
> 
> 	http://www.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 <mailto:bchoi@mvista.com>
> 	=========================
> 
> 
> 
> 
> --
> 
> =========================
> 
> Mark Choi ( 최봉규 부장 )
> Customer Support Engineer
> MontaVista Software, LLC
> 
> http://www.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 <mailto:bchoi@mvista.com>
> =========================


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* Re: [Fuego] ERROR 503: Service Temporarily Unavailable.
  2017-02-24  7:55   ` Mark Choi
@ 2017-02-28  8:42     ` Mark Choi
  2017-03-01  0:12       ` Bird, Timothy
  0 siblings, 1 reply; 9+ messages in thread
From: Mark Choi @ 2017-02-28  8:42 UTC (permalink / raw)
  To: Bird, Timothy; +Cc: fuego

[-- Attachment #1: Type: text/plain, Size: 19089 bytes --]

Hi Tim,

I found problem was caused by update.sh. I started docker image and start
/etc/init.d/jenkins then I tried as follow and get log.

root@e4fc08fb2bb0:/fuego-install/jenkins-updates# ./updates.sh
Jenkins cache is /var/cache/jenkins/war
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-28 08:11:07--
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... 200 OK
Length: 605730 (592K) [application/java-archive]
Saving to: 'jenkins-cli.jar'

jenkins-cli.jar
 100%[============================================================>]
591.53K  --.-KB/s   in 0.05s

2017-02-28 08:11:07 (11.6 MB/s) - 'jenkins-cli.jar' saved [605730/605730]

'./css/style1.css' -> '/var/cache/jenkins/war/css/style1.css'
'./css/style.css' -> '/var/cache/jenkins/war/css/style.css'
'./css/style2.css' -> '/var/cache/jenkins/war/css/style2.css'
'./images/24x24/plot.png' -> '/var/cache/jenkins/war/images/24x24/plot.png'
'./images/32x32/computer.gif' ->
'/var/cache/jenkins/war/images/32x32/computer.gif'
'./images/32x32/computer.png' ->
'/var/cache/jenkins/war/images/32x32/computer.png'
'./images/Renesas.png' -> '/var/cache/jenkins/war/images/Renesas.png'
'./images/LinuxFoundation.png' ->
'/var/cache/jenkins/war/images/LinuxFoundation.png'
'./images/cogent-embedded.png' ->
'/var/cache/jenkins/war/images/cogent-embedded.png'
'./images/LTSI.png' -> '/var/cache/jenkins/war/images/LTSI.png'
'./images/48x48/computer.gif' ->
'/var/cache/jenkins/war/images/48x48/computer.gif'
'./images/48x48/computer.png' ->
'/var/cache/jenkins/war/images/48x48/computer.png'
'./images/originals' -> '/var/cache/jenkins/war/images/originals'
'./images/originals/linuxfoundation.png' ->
'/var/cache/jenkins/war/images/originals/linuxfoundation.png'
'./images/originals/ltsi.jpg' ->
'/var/cache/jenkins/war/images/originals/ltsi.jpg'
'./images/originals/cogent-embedded.png' ->
'/var/cache/jenkins/war/images/originals/cogent-embedded.png'
'./images/originals/Renesas_Electronics_logo.png' ->
'/var/cache/jenkins/war/images/originals/Renesas_Electronics_logo.png'
'./images/LTSI.jpg' -> '/var/cache/jenkins/war/images/LTSI.jpg'
/fuego-install/jenkins-updates/en_US
copying WEB-INF/lib/jenkins-core-1.509.2.jar ->
/var/cache/jenkins/war/WEB-INF/lib/jenkins-core-1.509.2.jar
[ ok ] Restarting 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-28 08:11:16--
http://localhost:8080/fuego/jnlpJars/jenkins-cli.jar
Resolving localhost (localhost)... ::1, 127.0.0.1
Connecting 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.jar
[....] Restarting Jenkins Continuous Integration Server: jenkinsThe
selected http port (8080) seems to be in use by another program
Please select another port to use for jenkins
 failed!
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-28 08:11:46--
http://localhost:8080/fuego/jnlpJars/jenkins-cli.jar
Resolving localhost (localhost)... ::1, 127.0.0.1
Connecting 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.jar
[ ok ] Restarting 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-28 08:11:57--
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-28 08:11:59 ERROR 503: Service Temporarily Unavailable.

Retrying wget -v --no-proxy
http://localhost:8080/fuego/jnlpJars/jenkins-cli.jar -O jenkins-cli.jar
[ ok ] Restarting 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-28 08:12:12--
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-28 08:12:14 ERROR 503: Service Temporarily Unavailable.

Retrying wget -v --no-proxy
http://localhost:8080/fuego/jnlpJars/jenkins-cli.jar -O jenkins-cli.jar
[ ok ] Restarting Jenkins Continuous Integration Server: jenkins.
^C
root@e4fc08fb2bb0:/fuego-install/jenkins-updates#


I did cat for /var/log/jenkins/jenkins.log and captured last part of log.


Feb 28, 2017 8:26:21 AM org.jenkinsci.main.modules.sshd.SSHD start
INFO: Started SSHD at port 39951
Feb 28, 2017 8:26:21 AM jenkins.InitReactorRunner$1 onAttained
INFO: Completed initialization
Feb 28, 2017 8:26:21 AM hudson.TcpSlaveAgentListener <init>
INFO: JNLP slave agent listener started on TCP port 38848
Feb 28, 2017 8:26:21 AM hudson.WebAppMain$2 run
INFO: Jenkins is fully up and running
Feb 28, 2017 8:27:19 AM winstone.Logger logInternal
WARNING: Request URL /jnlpJars/jenkins-cli.jar not found - doesn't match
any webapp prefix
Feb 28, 2017 8:27:36 AM winstone.Logger logInternal
WARNING: Request URL /jnlpJars/jenkins-cli.jar not found - doesn't match
any webapp prefix
Feb 28, 2017 8:28:54 AM winstone.Logger logInternal
WARNING: Request URL / not found - doesn't match any webapp prefix
root@e4fc08fb2bb0:/fuego-install#


Could you please check this log and comment?

BR,
Mark

2017-02-24 16:55 GMT+09:00 Mark Choi <bchoi@mvista.com>:

> Hi Tim,
>
> Thanks to your reply. :)
>
>  1) working on using the latest Jenkins
>      I 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 MB
> Step 1 : FROM debian:jessie
>  ---> 19134a8202e7
> Step 2 : MAINTAINER tim.bird@am.sony.com
>  ---> Using cache
>  ---> 4ef47b94044b
> Step 3 : ARG HTTP_PROXY
>  ---> Using cache
>  ---> 7e964752e35c
> Step 4 : ENV INST_FUEGO_ENGINE_PATH /home/jenkins
>  ---> Using cache
>  ---> dde0288b5a04
> Step 5 : ENV INST_FUEGO_FRONTEND_PATH /var/lib/jenkins
>  ---> Using cache
>  ---> 7ca695e83d33
> Step 6 : ENV URL_PREFIX /fuego
>  ---> Using cache
>  ---> ccfbd2c42b00
> Step 7 : WORKDIR /fuego-install
>  ---> Using cache
>  ---> edb08e19cf9f
> Step 8 : RUN dpkg --add-architecture i386
>  ---> Using cache
>  ---> 8639734467ce
> Step 9 : RUN echo deb http://ftp.us.debian.org/debian jessie main
> non-free >> /etc/apt/sources.list
>  ---> Using cache
>  ---> 461c7ff1d2b6
> Step 10 : RUN if [ -n "$HTTP_PROXY" ]; then echo 'Acquire::http::proxy
> "'$HTTP_PROXY'";' > /etc/apt/apt.conf.d/80proxy; fi
>  ---> Using cache
>  ---> aed756ff978a
> Step 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
>  ---> b36aa18cb5d1
> Step 12 : RUN /bin/bash -c 'echo "dash dash/sh boolean false" |
> debconf-set-selections ; DEBIAN_FRONTEND=noninteractive dpkg-reconfigure
> dash'
>  ---> Using cache
>  ---> d6c7f83084c2
> Step 13 : COPY frontend-install/jenkins_1.509.2_all.deb /fuego-install/
>  ---> Using cache
>  ---> ae0aa5e1f358
> Step 14 : RUN dpkg -i /fuego-install/jenkins_1.509.2_all.deb
>  ---> Using cache
>  ---> b01a6c0a463a
> Step 15 : RUN if [ -n "$HTTP_PROXY" ]; then echo "use_proxy = on" >>
> /etc/wgetrc && echo 'http_proxy =' $HTTP_PROXY >> /etc/wgetrc; fi
>  ---> Using cache
>  ---> 028e4805fe8d
> Step 16 : RUN /bin/bash -c 'wget -nv "http://downloads.sourceforge.
> net/project/getfo/texml/texml-2.0.2/texml-2.0.2.tar.gz?r=
> http%3A%2F%2Fsourceforge.net%2Fprojects%2Fgetfo%2F&ts=
> 1398789654&use_mirror=jaist" -O texml.tar.gz ; tar xvf texml.tar.gz; cd
> texml-2.0.2 ; python setup.py install; cd -'
>  ---> Using cache
>  ---> 493250ccb4c3
> Step 17 : RUN echo "PermitRootLogin yes" >> /etc/ssh/sshd_config
>  ---> Using cache
>  ---> 8bce63c99e08
> Step 18 : RUN echo deb http://emdebian.org/tools/debian/ jessie main >
> /etc/apt/sources.list.d/crosstools.list
>  ---> Using cache
>  ---> c4a09042cabc
> Step 19 : RUN dpkg --add-architecture armhf
>  ---> Using cache
>  ---> be62180332cc
> Step 20 : RUN if [ -n "$HTTP_PROXY" ]; then curl --proxy $HTTP_PROXY
> http://emdebian.org/tools/debian/emdebian-toolchain-archive.key | sudo
> apt-key add -; else curl http://emdebian.org/tools/
> debian/emdebian-toolchain-archive.key | sudo apt-key add -; fi
>  ---> Using cache
>  ---> 2b5d713beec4
> Step 21 : RUN DEBIAN_FRONTEND=noninteractive apt-get update
>  ---> Using cache
>  ---> 3c5971aa96d5
> Step 22 : RUN DEBIAN_FRONTEND=noninteractive apt-get -yV install
> crossbuild-essential-armhf
>  ---> Using cache
>  ---> 9f78584aaabf
> Step 23 : ENV INST_FUEGO_CORE_GIT_REVISION c2ddbab
>  ---> Using cache
>  ---> 8aa835ebb580
> Step 24 : RUN mkdir -p /home/jenkins
>  ---> Using cache
>  ---> 9811d541abce
> Step 25 : RUN if [ -n "$HTTP_PROXY" ]; then git config --global http.proxy
> $HTTP_PROXY; fi
>  ---> Using cache
>  ---> d7ed36f07ec2
> Step 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
>  ---> 1166c682964b
> Step 27 : RUN ln -s $INST_FUEGO_ENGINE_PATH/fuego/engine/*
> $INST_FUEGO_ENGINE_PATH/
>  ---> Using cache
>  ---> 0f9e924b6a9d
> Step 28 : RUN ln -s $INST_FUEGO_ENGINE_PATH/fuego/jobs
> $INST_FUEGO_FRONTEND_PATH/jobs
>  ---> Using cache
>  ---> 7349d4101795
> Step 29 : COPY docs $INST_FUEGO_FRONTEND_PATH/userContent/docs/
>  ---> Using cache
>  ---> f7ffd99f3643
> Step 30 : RUN ln -s $INST_FUEGO_ENGINE_PATH/fuego/engine/scripts/ftc
> /usr/local/bin/
>  ---> Using cache
>  ---> a3ecf1216198
> Step 31 : COPY fuego-scripts/maintain_config_link.sh /usr/local/bin/
>  ---> Using cache
>  ---> 790a7dc771a7
> Step 32 : RUN ln -s /userdata/buildzone $INST_FUEGO_ENGINE_PATH/buildzone
>  ---> Using cache
>  ---> c763a03176bb
> Step 33 : RUN ln -s /userdata/work $INST_FUEGO_ENGINE_PATH/work
>  ---> Using cache
>  ---> b2bbee76afe7
> Step 34 : RUN ln -s /userdata/logs $INST_FUEGO_ENGINE_PATH/logs
>  ---> Using cache
>  ---> 72631eb4b142
> Step 35 : RUN ln -s /userdata/logs $INST_FUEGO_FRONTEND_PATH/logs
>  ---> Using cache
>  ---> a0ac32f43928
> Step 36 : RUN ln -s /userdata/conf/boards $INST_FUEGO_ENGINE_PATH/
> overlays/boards
>  ---> Using cache
>  ---> 8ef92486bf52
> Step 37 : RUN ln -s /userdata/conf/config.xml $INST_FUEGO_FRONTEND_PATH/
> config.xml
>  ---> Using cache
>  ---> 5db5957ad12d
> Step 38 : RUN ln -s /userdata/conf/tools.sh $INST_FUEGO_ENGINE_PATH/
> scripts/tools.sh
>  ---> Using cache
>  ---> 388d7b0042bc
> Step 39 : RUN ln -s $INST_FUEGO_ENGINE_PATH/fuego/plugins-conf/scriptler
> $INST_FUEGO_FRONTEND_PATH/
>  ---> Using cache
>  ---> 07516d61482a
> Step 40 : RUN ln -s $INST_FUEGO_ENGINE_PATH/fuego/plugins-conf/sidebar-link.xml
> $INST_FUEGO_FRONTEND_PATH/
>  ---> Using cache
>  ---> 1c3052a276c3
> Step 41 : COPY frontend-install/jenkins.cfg /etc/default/jenkins
>  ---> Using cache
>  ---> f8a02e7f3793
> Step 42 : COPY fuego-scripts/subsitute_jen_url_prefix.sh /fuego-install/
>  ---> Using cache
>  ---> 6dd4a9693178
> Step 43 : RUN /fuego-install/subsitute_jen_url_prefix.sh
> /etc/default/jenkins
>  ---> Using cache
>  ---> ebaa2d2af0fb
> Step 44 : RUN chown -R jenkins  $INST_FUEGO_ENGINE_PATH
> $INST_FUEGO_FRONTEND_PATH /var/cache/jenkins /etc/default/jenkins
>  ---> Using cache
>  ---> 37d7165f2169
> Step 45 : COPY frontend-install/plugins $INST_FUEGO_FRONTEND_PATH/
>  ---> Using cache
>  ---> 678c9358cfc4
> Step 46 : COPY frontend-install/jenkins-updates
> /fuego-install/jenkins-updates
>  ---> Using cache
>  ---> b3c77ee2fe76
> Step 47 : RUN /fuego-install/subsitute_jen_url_prefix.sh
> /fuego-install/jenkins-updates
>  ---> Using cache
>  ---> c26e6d5d21d6
> Step 48 : WORKDIR /fuego-install/jenkins-updates
>  ---> Using cache
>  ---> 46cad051caf2
> Step 49 : RUN echo "installing custom UI updates"
>  ---> Using cache
>  ---> ffbbbcc623e4
> Step 50 : RUN /etc/init.d/jenkins start && ./updates.sh
>  ---> Running in 2ddaccce07e3
> Starting Jenkins Continuous Integration Server: jenkins.
> Jenkins cache is /var/cache/jenkins/war
> 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:16--  http://localhost:8080/fuego/
> jnlpJars/jenkins-cli.jar
> Resolving localhost (localhost)... ::1, 127.0.0.1
> Connecting 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.jar
> Restarting 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.1
> Connecting to localhost (localhost)|::1|:8080... connected.
> HTTP request sent, awaiting response... 503 Service Temporarily Unavailable
> 2017-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.jar
> Restarting 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.1
> Connecting 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/jn
>> lpJars/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/jn
>> lpJars/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, LLC
>
> http://www.mvista.com
> Tel:  +82 70 7017 3452
> Fax: +82 2 403 3450
> Cell: +82 10  6865 0286
> Email: bchoi@mvista.com
> =========================
>



-- 
=========================
Mark Choi ( 최봉규 부장 )
Customer Support Engineer
MontaVista Software, LLC

http://www.mvista.com
Tel:  +82 70 7017 3452
Fax: +82 2 403 3450
Cell: +82 10  6865 0286
Email: bchoi@mvista.com
=========================

[-- Attachment #2: Type: text/html, Size: 28805 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Fuego] ERROR 503: Service Temporarily Unavailable.
  2017-02-23 16:21 ` Bird, Timothy
@ 2017-02-24  7:55   ` Mark Choi
  2017-02-28  8:42     ` Mark Choi
  0 siblings, 1 reply; 9+ messages in thread
From: Mark Choi @ 2017-02-24  7:55 UTC (permalink / raw)
  To: Bird, Timothy; +Cc: fuego

[-- Attachment #1: Type: text/plain, Size: 11835 bytes --]

Hi Tim,

Thanks to your reply. :)

 1) working on using the latest Jenkins
     I 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 MB
Step 1 : FROM debian:jessie
 ---> 19134a8202e7
Step 2 : MAINTAINER tim.bird@am.sony.com
 ---> Using cache
 ---> 4ef47b94044b
Step 3 : ARG HTTP_PROXY
 ---> Using cache
 ---> 7e964752e35c
Step 4 : ENV INST_FUEGO_ENGINE_PATH /home/jenkins
 ---> Using cache
 ---> dde0288b5a04
Step 5 : ENV INST_FUEGO_FRONTEND_PATH /var/lib/jenkins
 ---> Using cache
 ---> 7ca695e83d33
Step 6 : ENV URL_PREFIX /fuego
 ---> Using cache
 ---> ccfbd2c42b00
Step 7 : WORKDIR /fuego-install
 ---> Using cache
 ---> edb08e19cf9f
Step 8 : RUN dpkg --add-architecture i386
 ---> Using cache
 ---> 8639734467ce
Step 9 : RUN echo deb http://ftp.us.debian.org/debian jessie main non-free
>> /etc/apt/sources.list
 ---> Using cache
 ---> 461c7ff1d2b6
Step 10 : RUN if [ -n "$HTTP_PROXY" ]; then echo 'Acquire::http::proxy
"'$HTTP_PROXY'";' > /etc/apt/apt.conf.d/80proxy; fi
 ---> Using cache
 ---> aed756ff978a
Step 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
 ---> b36aa18cb5d1
Step 12 : RUN /bin/bash -c 'echo "dash dash/sh boolean false" |
debconf-set-selections ; DEBIAN_FRONTEND=noninteractive dpkg-reconfigure
dash'
 ---> Using cache
 ---> d6c7f83084c2
Step 13 : COPY frontend-install/jenkins_1.509.2_all.deb /fuego-install/
 ---> Using cache
 ---> ae0aa5e1f358
Step 14 : RUN dpkg -i /fuego-install/jenkins_1.509.2_all.deb
 ---> Using cache
 ---> b01a6c0a463a
Step 15 : RUN if [ -n "$HTTP_PROXY" ]; then echo "use_proxy = on" >>
/etc/wgetrc && echo 'http_proxy =' $HTTP_PROXY >> /etc/wgetrc; fi
 ---> Using cache
 ---> 028e4805fe8d
Step 16 : RUN /bin/bash -c 'wget -nv "
http://downloads.sourceforge.net/project/getfo/texml/texml-2.0.2/texml-2.0.2.tar.gz?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fgetfo%2F&ts=1398789654&use_mirror=jaist"
-O texml.tar.gz ; tar xvf texml.tar.gz; cd texml-2.0.2 ; python setup.py
install; cd -'
 ---> Using cache
 ---> 493250ccb4c3
Step 17 : RUN echo "PermitRootLogin yes" >> /etc/ssh/sshd_config
 ---> Using cache
 ---> 8bce63c99e08
Step 18 : RUN echo deb http://emdebian.org/tools/debian/ jessie main >
/etc/apt/sources.list.d/crosstools.list
 ---> Using cache
 ---> c4a09042cabc
Step 19 : RUN dpkg --add-architecture armhf
 ---> Using cache
 ---> be62180332cc
Step 20 : RUN if [ -n "$HTTP_PROXY" ]; then curl --proxy $HTTP_PROXY
http://emdebian.org/tools/debian/emdebian-toolchain-archive.key | sudo
apt-key add -; else curl
http://emdebian.org/tools/debian/emdebian-toolchain-archive.key | sudo
apt-key add -; fi
 ---> Using cache
 ---> 2b5d713beec4
Step 21 : RUN DEBIAN_FRONTEND=noninteractive apt-get update
 ---> Using cache
 ---> 3c5971aa96d5
Step 22 : RUN DEBIAN_FRONTEND=noninteractive apt-get -yV install
crossbuild-essential-armhf
 ---> Using cache
 ---> 9f78584aaabf
Step 23 : ENV INST_FUEGO_CORE_GIT_REVISION c2ddbab
 ---> Using cache
 ---> 8aa835ebb580
Step 24 : RUN mkdir -p /home/jenkins
 ---> Using cache
 ---> 9811d541abce
Step 25 : RUN if [ -n "$HTTP_PROXY" ]; then git config --global http.proxy
$HTTP_PROXY; fi
 ---> Using cache
 ---> d7ed36f07ec2
Step 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
 ---> 1166c682964b
Step 27 : RUN ln -s $INST_FUEGO_ENGINE_PATH/fuego/engine/*
$INST_FUEGO_ENGINE_PATH/
 ---> Using cache
 ---> 0f9e924b6a9d
Step 28 : RUN ln -s $INST_FUEGO_ENGINE_PATH/fuego/jobs
$INST_FUEGO_FRONTEND_PATH/jobs
 ---> Using cache
 ---> 7349d4101795
Step 29 : COPY docs $INST_FUEGO_FRONTEND_PATH/userContent/docs/
 ---> Using cache
 ---> f7ffd99f3643
Step 30 : RUN ln -s $INST_FUEGO_ENGINE_PATH/fuego/engine/scripts/ftc
/usr/local/bin/
 ---> Using cache
 ---> a3ecf1216198
Step 31 : COPY fuego-scripts/maintain_config_link.sh /usr/local/bin/
 ---> Using cache
 ---> 790a7dc771a7
Step 32 : RUN ln -s /userdata/buildzone $INST_FUEGO_ENGINE_PATH/buildzone
 ---> Using cache
 ---> c763a03176bb
Step 33 : RUN ln -s /userdata/work $INST_FUEGO_ENGINE_PATH/work
 ---> Using cache
 ---> b2bbee76afe7
Step 34 : RUN ln -s /userdata/logs $INST_FUEGO_ENGINE_PATH/logs
 ---> Using cache
 ---> 72631eb4b142
Step 35 : RUN ln -s /userdata/logs $INST_FUEGO_FRONTEND_PATH/logs
 ---> Using cache
 ---> a0ac32f43928
Step 36 : RUN ln -s /userdata/conf/boards
$INST_FUEGO_ENGINE_PATH/overlays/boards
 ---> Using cache
 ---> 8ef92486bf52
Step 37 : RUN ln -s /userdata/conf/config.xml
$INST_FUEGO_FRONTEND_PATH/config.xml
 ---> Using cache
 ---> 5db5957ad12d
Step 38 : RUN ln -s /userdata/conf/tools.sh
$INST_FUEGO_ENGINE_PATH/scripts/tools.sh
 ---> Using cache
 ---> 388d7b0042bc
Step 39 : RUN ln -s $INST_FUEGO_ENGINE_PATH/fuego/plugins-conf/scriptler
$INST_FUEGO_FRONTEND_PATH/
 ---> Using cache
 ---> 07516d61482a
Step 40 : RUN ln -s
$INST_FUEGO_ENGINE_PATH/fuego/plugins-conf/sidebar-link.xml
$INST_FUEGO_FRONTEND_PATH/
 ---> Using cache
 ---> 1c3052a276c3
Step 41 : COPY frontend-install/jenkins.cfg /etc/default/jenkins
 ---> Using cache
 ---> f8a02e7f3793
Step 42 : COPY fuego-scripts/subsitute_jen_url_prefix.sh /fuego-install/
 ---> Using cache
 ---> 6dd4a9693178
Step 43 : RUN /fuego-install/subsitute_jen_url_prefix.sh
/etc/default/jenkins
 ---> Using cache
 ---> ebaa2d2af0fb
Step 44 : RUN chown -R jenkins  $INST_FUEGO_ENGINE_PATH
$INST_FUEGO_FRONTEND_PATH /var/cache/jenkins /etc/default/jenkins
 ---> Using cache
 ---> 37d7165f2169
Step 45 : COPY frontend-install/plugins $INST_FUEGO_FRONTEND_PATH/
 ---> Using cache
 ---> 678c9358cfc4
Step 46 : COPY frontend-install/jenkins-updates
/fuego-install/jenkins-updates
 ---> Using cache
 ---> b3c77ee2fe76
Step 47 : RUN /fuego-install/subsitute_jen_url_prefix.sh
/fuego-install/jenkins-updates
 ---> Using cache
 ---> c26e6d5d21d6
Step 48 : WORKDIR /fuego-install/jenkins-updates
 ---> Using cache
 ---> 46cad051caf2
Step 49 : RUN echo "installing custom UI updates"
 ---> Using cache
 ---> ffbbbcc623e4
Step 50 : RUN /etc/init.d/jenkins start && ./updates.sh
 ---> Running in 2ddaccce07e3
Starting Jenkins Continuous Integration Server: jenkins.
Jenkins cache is /var/cache/jenkins/war
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:16--
http://localhost:8080/fuego/jnlpJars/jenkins-cli.jar
Resolving localhost (localhost)... ::1, 127.0.0.1
Connecting 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.jar
Restarting 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.1
Connecting to localhost (localhost)|::1|:8080... connected.
HTTP request sent, awaiting response... 503 Service Temporarily Unavailable
2017-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.jar
Restarting 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.1
Connecting 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, LLC

http://www.mvista.com
Tel:  +82 70 7017 3452
Fax: +82 2 403 3450
Cell: +82 10  6865 0286
Email: bchoi@mvista.com
=========================

[-- Attachment #2: Type: text/html, Size: 17831 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Fuego] ERROR 503: Service Temporarily Unavailable.
  2017-02-22  6:39 Mark Choi
@ 2017-02-23 16:21 ` Bird, Timothy
  2017-02-24  7:55   ` Mark Choi
  0 siblings, 1 reply; 9+ messages in thread
From: Bird, Timothy @ 2017-02-23 16:21 UTC (permalink / raw)
  To: Mark Choi, fuego



> -----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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Fuego] ERROR 503: Service Temporarily Unavailable.
@ 2017-02-22  6:39 Mark Choi
  2017-02-23 16:21 ` Bird, Timothy
  0 siblings, 1 reply; 9+ messages in thread
From: Mark Choi @ 2017-02-22  6:39 UTC (permalink / raw)
  To: fuego

[-- Attachment #1: Type: text/plain, Size: 841 bytes --]

Hi
It is my first trip to fuego. :)


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 -O jenkins-cli.jar
Restarting 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-22 06:35:27--  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 ?

BR.

[-- Attachment #2: Type: text/html, Size: 2188 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2017-03-02 22:18 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-22  6:37 [Fuego] ERROR 503: Service Temporarily Unavailable Mark Choi
2017-02-22  6:39 Mark Choi
2017-02-23 16:21 ` Bird, Timothy
2017-02-24  7:55   ` Mark Choi
2017-02-28  8:42     ` Mark Choi
2017-03-01  0:12       ` Bird, Timothy
2017-03-02  8:03         ` Mark Choi
2017-03-02  8:10           ` Bird, Timothy
2017-03-02 22:18             ` Bird, Timothy

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.