[Fuego] Updating Fuego and got error

Mark Choi bchoi at mvista.com
Fri Mar 31 06:32:19 UTC 2017


Hi Timothy,

Thanks.

I upgraded my system then I rebooted and resolved this issue.

By the way, I got another issue:

bchoi at atom2:~/work/third-party/fuego$
fuego-host-scripts/docker-start-container.sh
Starting Fuego container
1cb1e005805179394d9acd2358b970292427bbcb0e72fa070cd2a308dd036408
[....] Starting 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
. ok
[ ok ] Starting OpenBSD Secure Shell server: sshd.
[FAIL] Starting network benchmark server failed!
eth0: error fetching interface information: Device not found
/var/lib/jenkins/config.xml is a symlink - everything is OK.

I think eth0 interface is not found on my system which is Ubuntu-16.04.
Ubuntu-16.04 has interfaces as following format.

bchoi at atom2:/boot/grub$ ifconfig -a
docker0   Link encap:Ethernet  HWaddr 02:42:bd:a0:e1:4f
          inet addr:172.17.0.1  Bcast:0.0.0.0  Mask:255.255.0.0
          inet6 addr: fe80::42:bdff:fea0:e14f/64 Scope:Link
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:76 errors:0 dropped:0 overruns:0 frame:0
          TX packets:28 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:7756 (7.7 KB)  TX bytes:3651 (3.6 KB)

enp2s0    Link encap:Ethernet  HWaddr 00:25:22:37:dc:b7
          inet addr:10.195.0.222  Bcast:10.195.255.255  Mask:255.255.0.0
          inet6 addr: fe80::cc6e:4b40:b207:e0a2/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3768476 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1917178 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:580068050 (580.0 MB)  TX bytes:129200164 (129.2 MB)

enp3s5    Link encap:Ethernet  HWaddr 00:07:e9:08:0f:3e
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:1427 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1427 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1
          RX bytes:99748 (99.7 KB)  TX bytes:99748 (99.7 KB)


I can see them on docker image also.
On seeing /etc/init.d/netperf on docker system, it tried to start
"/usr/bin/netserver" and it return error because could not find eth0
interface.

Where can I find to change eth0 to enp2s0?
Could you add code to select network interface name as host system are
using flexibly?

BR,
Mark





2017-03-31 2:26 GMT+09:00 Bird, Timothy <Tim.Bird at sony.com>:

>
>
> > -----Original Message-----
> > From Mark Choi on Wednesday, March 29, 2017 7:36 PM
> > Hi,
> >
> > I did git clone and ran ./install.sh, but, got errors as following.
> > I have tried to Fuego on Ubuntu-16.04.
>
> This looks like it might be related to this Docker issue:
> https://github.com/docker/docker/issues/15341
>
> Or at least there are some similar messages mentioned in the very end of
> the
> discussion thread for that issue.  See specifically this comment:
> https://github.com/docker/docker/issues/15341#issuecomment-242032948
>
> Can you try:
> 1) rebooting your machine
> 2) doing "modprobe veth" and trying again
> ?
>
> Thanks,
>  -- Tim
>
> >
> > bchoi at atom2:~/work/third-party/fuego$ ./install.sh
> > Sending build context to Docker daemon 105.1 MB
> > Step 1 : FROM debian:jessie
> >  ---> 19134a8202e7
> > Step 2 : MAINTAINER tim.bird at am.sony.com
> > <mailto:tim.bird at 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
> >  ---> 23d57327de1b
> > Step 47 : RUN /fuego-install/subsitute_jen_url_prefix.sh /fuego-
> > install/jenkins-updates
> >  ---> Running in 39b50a7ad6a8
> > failed to create endpoint mad_lumiere on network bridge: failed to add
> the
> > host (veth9583e8c) <=> sandbox (veth85deed3) pair interfaces: operation
> > not supported
> > bchoi at atom2:~/work/third-party/fuego$
> >
> >
> > I found changing endpoint name whenever I tried. Is it normal work?
> >
> > BR,
> > Mark
>



-- 
=========================
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 at mvista.com
=========================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfoundation.org/pipermail/fuego/attachments/20170331/b6333f56/attachment-0001.html>


More information about the Fuego mailing list