[Fuego] [LTSI-dev] Jenkins error

Doug Crawford dcrawford at zonoff.com
Wed Sep 21 18:37:28 UTC 2016


> On Sep 20, 2016, at 9:56 PM, Bird, Timothy <Tim.Bird at am.sony.com> wrote:
> 
> Sorry for the slow response.  I've been out of the office the last few days.
> 
>> -----Original Message-----
>> From: ltsi-dev-bounces at lists.linuxfoundation.org [mailto:ltsi-dev-
> 
>> On Ubuntu Trusty 14.04 on VirtualBox VM
>> Updated Docker as per the Docker web instructions, getting version 1.12.1
>> Install.sh and docker create script ran without issue, start script had an error:
>> Server: jenkinssu: System error failed!
>> 
>> ----
>> vagrant at vagrant-ubuntu-trusty-64:/vagrant/dev/erik/jta-public/jta-host-
>> scripts$ ls
>> docker-build.sh  docker-create-container.sh  docker-start-container.sh
>> vagrant at vagrant-ubuntu-trusty-64:/vagrant/dev/erik/jta-public/jta-host-
>> scripts$ sudo ./docker-create-container.sh
>> Created JTA container
>> 6a420f901af7847f2afa3100d3fb3852b71bc65f92aecd13a9aefe0823d42b77
>> vagrant at vagrant-ubuntu-trusty-64:/vagrant/dev/erik/jta-public/jta-host-
>> scripts$ sudo ./docker-start-container.sh
>> Starting JTA container
>> 6a420f901af7847f2afa3100d3fb3852b71bc65f92aecd13a9aefe0823d42b77
>> [....] Starting Jenkins Continuous Integration Server: jenkinssu: System error
>> failed!
>> [ ok ] Starting OpenBSD Secure Shell server: sshd.
>> [ ok ] Starting network benchmark server.
>> eth0      Link encap:Ethernet  HWaddr 08:00:27:f2:f2:d9
>>          inet addr:10.0.2.15  Bcast:10.0.2.255  Mask:255.255.255.0
>>          inet6 addr: fe80::a00:27ff:fef2:f2d9/64 Scope:Link
>>          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>>          RX packets:1927624 errors:0 dropped:0 overruns:0 frame:0
>>          TX packets:345482 errors:0 dropped:0 overruns:0 carrier:0
>>          collisions:0 txqueuelen:1000
>>          RX bytes:2746559839 (2.5 GiB)  TX bytes:23097565 (22.0 MiB)
>> 
>> /var/lib/jenkins/config.xml is a symlink - everything is OK.
>> Setting up watches.
>> Watches established.
>>>> 
>> Am I doing something wrong?
> 
> Not that I can see.  Can you please do the following:
> 
> Start the container, using the docker-start-container.sh script (like you are doing).
> Once "inside" the container, edit /etc/init.d/jenkins and add the line: "set -x"
> somewhere near the top of the file (for example, right before the PATH=... line).
> 
> Then exit the shell (terminating the container), and start it again using docker-start-container.sh
> 
> Then please send the output to this list.  The output from /etc/init.d/jenkins should look something like the following...
> + PATH=/bin:/usr/bin:/sbin:/usr/sbin
> + DESC='Jenkins Continuous Integration Server'
> + NAME=Jenkins
> ...
> I assume the message is coming from the $SU command inside this script (in the do_start function), but I'd like to verify that.
> 
> If the 'su' command is having the problem, we may need to strace it to see what the issue is, but that will be tricky since strace is not put into the container by default.  (But it's not hard to add stuff to the Dockerfile to add additional Debian packages to the container image.)
> 
> I'm not sure what would be causing the system error.
> 
> FWIW, I'm running fuego (jta renamed) on Ubuntu 14.04.05 (Trusty Tahr), with docker version 1.12.0, so the environment should be very similar.
> -- Tim
> 
> 
> 
> 

Thanks to the several folks who responded with fixes to this situation.
In return I will try everything suggested that I think I understand, including
Tim’s request as posted here, in order to give you some hopefully useful info.

-Doug Crawford


More information about the Fuego mailing list