binhex / arch-jenkins

Docker build script for Arch Linux base with Jenkins

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Docker and jenkins issues

cviebig opened this issue · comments

Hi @binhex,

I tried to run your Jenkins image but unfortunately got into some trouble. Do you have to obey something when invoking it?

I used the following command:

mkdir config
docker run -P -v $(pwd)/config binhex/arch-jenkins

Docker is complaining a lot and Jenkins can't expose it's web interface. There's only a 503 error returned on it's port.

Do you see something obvious? :/
I'm running an up-to-date Arch Linux on the host.

Thank you very much in advance

Best regards
Chris

2015-07-06 15:19:43,133 CRIT Set uid to user 0
2015-07-06 15:19:43,133 WARN Included extra file "/etc/supervisor/conf.d/jenkins.conf" during parsing
2015-07-06 15:19:43,137 INFO supervisord started with pid 1
2015-07-06 15:19:44,141 INFO spawned: 'jenkins' with pid 8
2015-07-06 15:19:44,146 INFO spawned: 'docker' with pid 9
2015-07-06 15:19:44,150 INFO spawned: 'openssh' with pid 10
2015-07-06 15:19:44,171 DEBG 'openssh' stdout output:
ssh-keygen: generating new host keys: RSA1 
2015-07-06 15:19:44,224 DEBG 'docker' stderr output:
mount: permission denied

2015-07-06 15:19:44,270 DEBG 'docker' stderr output:
mkdir: cannot create directory ‘cpuset’: Read-only file system

2015-07-06 15:19:44,281 DEBG 'docker' stderr output:
mount: 
2015-07-06 15:19:44,291 DEBG 'docker' stderr output:
mount point cpuset does not exist
2015-07-06 15:19:44,291 DEBG 'docker' stderr output:


2015-07-06 15:19:44,292 DEBG 'docker' stderr output:
rmdir: 
2015-07-06 15:19:44,292 DEBG 'docker' stderr output:
failed to remove ‘cpuset’
2015-07-06 15:19:44,292 DEBG 'docker' stderr output:
: Read-only file system
2015-07-06 15:19:44,293 DEBG 'docker' stderr output:


2015-07-06 15:19:44,301 DEBG 'docker' stderr output:
mkdir: 
2015-07-06 15:19:44,301 DEBG 'docker' stderr output:
cannot create directory ‘cpu’
2015-07-06 15:19:44,302 DEBG 'docker' stderr output:
: Read-only file system
2015-07-06 15:19:44,302 DEBG 'docker' stderr output:


2015-07-06 15:19:44,312 DEBG 'docker' stderr output:
mount: 
2015-07-06 15:19:44,313 DEBG 'docker' stderr output:
mount point cpu does not exist
2015-07-06 15:19:44,313 DEBG 'docker' stderr output:


2015-07-06 15:19:44,321 DEBG 'docker' stderr output:
rmdir: 
2015-07-06 15:19:44,321 DEBG 'docker' stderr output:
failed to remove ‘cpu’
2015-07-06 15:19:44,322 DEBG 'docker' stderr output:
: Read-only file system
2015-07-06 15:19:44,322 DEBG 'docker' stderr output:


2015-07-06 15:19:44,323 DEBG 'docker' stderr output:
mkdir: 
2015-07-06 15:19:44,323 DEBG 'docker' stderr output:
cannot create directory ‘cpuacct’
2015-07-06 15:19:44,323 DEBG 'docker' stderr output:
: Read-only file system
2015-07-06 15:19:44,323 DEBG 'docker' stderr output:


2015-07-06 15:19:44,342 DEBG 'docker' stderr output:
mount: 
2015-07-06 15:19:44,342 DEBG 'docker' stderr output:
mount point cpuacct does not exist
2015-07-06 15:19:44,342 DEBG 'docker' stderr output:


2015-07-06 15:19:44,343 DEBG 'docker' stderr output:
rmdir: 
2015-07-06 15:19:44,343 DEBG 'docker' stderr output:
failed to remove ‘cpuacct’
2015-07-06 15:19:44,343 DEBG 'docker' stderr output:
: Read-only file system
2015-07-06 15:19:44,343 DEBG 'docker' stderr output:


2015-07-06 15:19:44,351 DEBG 'docker' stderr output:
mkdir: 
2015-07-06 15:19:44,352 DEBG 'docker' stderr output:
cannot create directory ‘blkio’
2015-07-06 15:19:44,352 DEBG 'docker' stderr output:
: Read-only file system
2015-07-06 15:19:44,352 DEBG 'docker' stderr output:


2015-07-06 15:19:44,362 DEBG 'docker' stderr output:
mount: 
2015-07-06 15:19:44,363 DEBG 'docker' stderr output:
mount point blkio does not exist
2015-07-06 15:19:44,363 DEBG 'docker' stderr output:


2015-07-06 15:19:44,371 DEBG 'docker' stderr output:
rmdir: 
2015-07-06 15:19:44,371 DEBG 'docker' stderr output:
failed to remove ‘blkio’
2015-07-06 15:19:44,372 DEBG 'docker' stderr output:
: Read-only file system
2015-07-06 15:19:44,372 DEBG 'docker' stderr output:


2015-07-06 15:19:44,373 DEBG 'docker' stderr output:
mkdir: 
2015-07-06 15:19:44,373 DEBG 'docker' stderr output:
cannot create directory ‘memory’
2015-07-06 15:19:44,373 DEBG 'docker' stderr output:
: Read-only file system
2015-07-06 15:19:44,374 DEBG 'docker' stderr output:


2015-07-06 15:19:44,388 DEBG 'docker' stderr output:
mount: 
2015-07-06 15:19:44,388 DEBG 'docker' stderr output:
mount point memory does not exist
2015-07-06 15:19:44,389 DEBG 'docker' stderr output:


2015-07-06 15:19:44,391 DEBG 'docker' stderr output:
rmdir: 
2015-07-06 15:19:44,391 DEBG 'docker' stderr output:
failed to remove ‘memory’
2015-07-06 15:19:44,392 DEBG 'docker' stderr output:
: Read-only file system
2015-07-06 15:19:44,392 DEBG 'docker' stderr output:


2015-07-06 15:19:44,401 DEBG 'docker' stderr output:
mkdir: 
2015-07-06 15:19:44,401 DEBG 'docker' stderr output:
cannot create directory ‘devices’
2015-07-06 15:19:44,402 DEBG 'docker' stderr output:
: Read-only file system
2015-07-06 15:19:44,402 DEBG 'docker' stderr output:


2015-07-06 15:19:44,409 DEBG 'docker' stderr output:
mount: 
2015-07-06 15:19:44,411 DEBG 'docker' stderr output:
mount point devices does not exist
2015-07-06 15:19:44,411 DEBG 'docker' stderr output:


2015-07-06 15:19:44,421 DEBG 'docker' stderr output:
rmdir: 
2015-07-06 15:19:44,422 DEBG 'docker' stderr output:
failed to remove ‘devices’
2015-07-06 15:19:44,422 DEBG 'docker' stderr output:
: Read-only file system
2015-07-06 15:19:44,422 DEBG 'docker' stderr output:


2015-07-06 15:19:44,423 DEBG 'docker' stderr output:
mkdir: 
2015-07-06 15:19:44,423 DEBG 'docker' stderr output:
cannot create directory ‘freezer’
2015-07-06 15:19:44,423 DEBG 'docker' stderr output:
: Read-only file system
2015-07-06 15:19:44,424 DEBG 'docker' stderr output:


2015-07-06 15:19:44,435 DEBG 'docker' stderr output:
mount: 
2015-07-06 15:19:44,441 DEBG 'docker' stderr output:
mount point freezer does not exist
2015-07-06 15:19:44,441 DEBG 'docker' stderr output:


2015-07-06 15:19:44,442 DEBG 'docker' stderr output:
rmdir: 
2015-07-06 15:19:44,442 DEBG 'docker' stderr output:
failed to remove ‘freezer’
2015-07-06 15:19:44,442 DEBG 'docker' stderr output:
: Read-only file system
2015-07-06 15:19:44,443 DEBG 'docker' stderr output:


2015-07-06 15:19:44,451 DEBG 'docker' stderr output:
mkdir: 
2015-07-06 15:19:44,452 DEBG 'docker' stderr output:
cannot create directory ‘net_cls’
2015-07-06 15:19:44,452 DEBG 'docker' stderr output:
: Read-only file system
2015-07-06 15:19:44,452 DEBG 'docker' stderr output:


2015-07-06 15:19:44,462 DEBG 'docker' stderr output:
mount: 
2015-07-06 15:19:44,462 DEBG 'docker' stderr output:
mount point net_cls does not exist
2015-07-06 15:19:44,462 DEBG 'docker' stderr output:


2015-07-06 15:19:44,471 DEBG 'docker' stderr output:
rmdir: 
2015-07-06 15:19:44,472 DEBG 'docker' stderr output:
failed to remove ‘net_cls’
2015-07-06 15:19:44,472 DEBG 'docker' stderr output:
: Read-only file system
2015-07-06 15:19:44,472 DEBG 'docker' stderr output:


2015-07-06 15:19:44,492 DEBG 'openssh' stdout output:
RSA 
2015-07-06 15:19:44,576 DEBG 'docker' stderr output:
time="2015-07-06T15:19:44.575481651Z" level=warning msg="/!\\ DON'T BIND ON ANY IP ADDRESS WITHOUT setting -tlsverify IF YOU DON'T KNOW WHAT YOU'RE DOING /!\\" 
time="2015-07-06T15:19:44.575826599Z" level=info msg="Listening for HTTP on tcp (0.0.0.0:4243)" 
time="2015-07-06T15:19:44.576006930Z" level=info msg="Listening for HTTP on unix (/var/run/docker.sock)" 

2015-07-06 15:19:44,590 DEBG 'openssh' stdout output:
DSA 
2015-07-06 15:19:44,599 DEBG 'docker' stderr output:
time="2015-07-06T15:19:44.598937081Z" level=error msg="'overlay' not found as a supported filesystem on this host. Please ensure kernel is new enough and has overlay support loaded." 

2015-07-06 15:19:44,616 DEBG 'docker' stderr output:
time="2015-07-06T15:19:44.615905194Z" level=warning msg="Running modprobe bridge nf_nat failed with message: , error: exit status 1" 

2015-07-06 15:19:44,709 DEBG 'docker' stderr output:
time="2015-07-06T15:19:44.709141360Z" level=fatal msg="Error starting daemon: Error initializing network controller: Error initializing bridge driver: Setup IP forwarding failed: open /proc/sys/net/ipv4/ip_forward: read-only file system" 

2015-07-06 15:19:44,711 DEBG fd 9 closed, stopped monitoring <POutputDispatcher at 139731348625024 for <Subprocess at 139731348623800 with name docker in state STARTING> (stdout)>
2015-07-06 15:19:44,711 DEBG fd 14 closed, stopped monitoring <POutputDispatcher at 139731348625456 for <Subprocess at 139731348623800 with name docker in state STARTING> (stderr)>
2015-07-06 15:19:44,711 INFO exited: docker (exit status 1; not expected)
2015-07-06 15:19:44,711 DEBG received SIGCLD indicating a child quit
2015-07-06 15:19:44,723 DEBG 'openssh' stdout output:
ECDSA 
2015-07-06 15:19:44,723 DEBG 'openssh' stdout output:
ED25519 
2015-07-06 15:19:44,726 DEBG 'openssh' stdout output:


2015-07-06 15:19:44,838 DEBG 'jenkins' stdout output:
Running from: /usr/share/java/jenkins/jenkins.war

2015-07-06 15:19:45,212 DEBG 'jenkins' stderr output:
Jul 06, 2015 3:19:45 PM winstone.Logger logInternal
INFO: Beginning extraction from war file

2015-07-06 15:19:45,213 INFO success: jenkins entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2015-07-06 15:19:45,213 INFO success: openssh entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2015-07-06 15:19:46,215 INFO spawned: 'docker' with pid 82
2015-07-06 15:19:46,265 DEBG 'docker' stderr output:
mount: 
2015-07-06 15:19:46,266 DEBG 'docker' stderr output:
permission denied
2015-07-06 15:19:46,266 DEBG 'docker' stderr output:


2015-07-06 15:19:46,272 DEBG 'docker' stderr output:
mkdir: 
2015-07-06 15:19:46,273 DEBG 'docker' stderr output:
cannot create directory ‘cpuset’
2015-07-06 15:19:46,273 DEBG 'docker' stderr output:
: Read-only file system
2015-07-06 15:19:46,273 DEBG 'docker' stderr output:


2015-07-06 15:19:46,280 DEBG 'docker' stderr output:
mount: 
2015-07-06 15:19:46,280 DEBG 'docker' stderr output:
mount point cpuset does not exist
2015-07-06 15:19:46,281 DEBG 'docker' stderr output:


2015-07-06 15:19:46,282 DEBG 'docker' stderr output:
rmdir: 
2015-07-06 15:19:46,282 DEBG 'docker' stderr output:
failed to remove ‘cpuset’
2015-07-06 15:19:46,282 DEBG 'docker' stderr output:
: Read-only file system
2015-07-06 15:19:46,283 DEBG 'docker' stderr output:


2015-07-06 15:19:46,284 DEBG 'docker' stderr output:
mkdir: 
2015-07-06 15:19:46,284 DEBG 'docker' stderr output:
cannot create directory ‘cpu’
2015-07-06 15:19:46,284 DEBG 'docker' stderr output:
: Read-only file system
2015-07-06 15:19:46,285 DEBG 'docker' stderr output:


2015-07-06 15:19:46,287 DEBG 'docker' stderr output:
mount: 
2015-07-06 15:19:46,287 DEBG 'docker' stderr output:
mount point cpu does not exist
2015-07-06 15:19:46,287 DEBG 'docker' stderr output:


2015-07-06 15:19:46,288 DEBG 'docker' stderr output:
rmdir: 
2015-07-06 15:19:46,288 DEBG 'docker' stderr output:
failed to remove ‘cpu’
2015-07-06 15:19:46,289 DEBG 'docker' stderr output:
: Read-only file system
2015-07-06 15:19:46,289 DEBG 'docker' stderr output:


2015-07-06 15:19:46,290 DEBG 'docker' stderr output:
mkdir: 
2015-07-06 15:19:46,290 DEBG 'docker' stderr output:
cannot create directory ‘cpuacct’
2015-07-06 15:19:46,291 DEBG 'docker' stderr output:
: Read-only file system
2015-07-06 15:19:46,291 DEBG 'docker' stderr output:


2015-07-06 15:19:46,293 DEBG 'docker' stderr output:
mount: 
2015-07-06 15:19:46,293 DEBG 'docker' stderr output:
mount point cpuacct does not exist
2015-07-06 15:19:46,294 DEBG 'docker' stderr output:


2015-07-06 15:19:46,295 DEBG 'docker' stderr output:
rmdir: 
2015-07-06 15:19:46,295 DEBG 'docker' stderr output:
failed to remove ‘cpuacct’
2015-07-06 15:19:46,295 DEBG 'docker' stderr output:
: Read-only file system
2015-07-06 15:19:46,296 DEBG 'docker' stderr output:


2015-07-06 15:19:46,297 DEBG 'docker' stderr output:
mkdir: 
2015-07-06 15:19:46,298 DEBG 'docker' stderr output:
cannot create directory ‘blkio’
2015-07-06 15:19:46,298 DEBG 'docker' stderr output:
: Read-only file system
2015-07-06 15:19:46,298 DEBG 'docker' stderr output:


2015-07-06 15:19:46,302 DEBG 'docker' stderr output:
mount: 
2015-07-06 15:19:46,302 DEBG 'docker' stderr output:
mount point blkio does not exist
2015-07-06 15:19:46,303 DEBG 'docker' stderr output:


2015-07-06 15:19:46,304 DEBG 'docker' stderr output:
rmdir: 
2015-07-06 15:19:46,304 DEBG 'docker' stderr output:
failed to remove ‘blkio’
2015-07-06 15:19:46,305 DEBG 'docker' stderr output:
: Read-only file system
2015-07-06 15:19:46,305 DEBG 'docker' stderr output:


2015-07-06 15:19:46,306 DEBG 'docker' stderr output:
mkdir: 
2015-07-06 15:19:46,306 DEBG 'docker' stderr output:
cannot create directory ‘memory’
2015-07-06 15:19:46,306 DEBG 'docker' stderr output:
: Read-only file system
2015-07-06 15:19:46,307 DEBG 'docker' stderr output:


2015-07-06 15:19:46,309 DEBG 'docker' stderr output:
mount: 
2015-07-06 15:19:46,309 DEBG 'docker' stderr output:
mount point memory does not exist
2015-07-06 15:19:46,309 DEBG 'docker' stderr output:


2015-07-06 15:19:46,311 DEBG 'docker' stderr output:
rmdir: 
2015-07-06 15:19:46,311 DEBG 'docker' stderr output:
failed to remove ‘memory’
2015-07-06 15:19:46,311 DEBG 'docker' stderr output:
: Read-only file system
2015-07-06 15:19:46,311 DEBG 'docker' stderr output:


2015-07-06 15:19:46,312 DEBG 'docker' stderr output:
mkdir: 
2015-07-06 15:19:46,313 DEBG 'docker' stderr output:
cannot create directory ‘devices’
2015-07-06 15:19:46,313 DEBG 'docker' stderr output:
: Read-only file system
2015-07-06 15:19:46,313 DEBG 'docker' stderr output:


2015-07-06 15:19:46,315 DEBG 'docker' stderr output:
mount: 
2015-07-06 15:19:46,316 DEBG 'docker' stderr output:
mount point devices does not exist
2015-07-06 15:19:46,316 DEBG 'docker' stderr output:


2015-07-06 15:19:46,317 DEBG 'docker' stderr output:
rmdir: 
2015-07-06 15:19:46,318 DEBG 'docker' stderr output:
failed to remove ‘devices’
2015-07-06 15:19:46,318 DEBG 'docker' stderr output:
: Read-only file system
2015-07-06 15:19:46,318 DEBG 'docker' stderr output:


2015-07-06 15:19:46,319 DEBG 'docker' stderr output:
mkdir: 
2015-07-06 15:19:46,319 DEBG 'docker' stderr output:
cannot create directory ‘freezer’
2015-07-06 15:19:46,320 DEBG 'docker' stderr output:
: Read-only file system
2015-07-06 15:19:46,320 DEBG 'docker' stderr output:


2015-07-06 15:19:46,322 DEBG 'docker' stderr output:
mount: 
2015-07-06 15:19:46,322 DEBG 'docker' stderr output:
mount point freezer does not exist
2015-07-06 15:19:46,323 DEBG 'docker' stderr output:


2015-07-06 15:19:46,324 DEBG 'docker' stderr output:
rmdir: 
2015-07-06 15:19:46,324 DEBG 'docker' stderr output:
failed to remove ‘freezer’
2015-07-06 15:19:46,325 DEBG 'docker' stderr output:
: Read-only file system
2015-07-06 15:19:46,325 DEBG 'docker' stderr output:


2015-07-06 15:19:46,326 DEBG 'docker' stderr output:
mkdir: 
2015-07-06 15:19:46,326 DEBG 'docker' stderr output:
cannot create directory ‘net_cls’
2015-07-06 15:19:46,326 DEBG 'docker' stderr output:
: Read-only file system
2015-07-06 15:19:46,327 DEBG 'docker' stderr output:


2015-07-06 15:19:46,329 DEBG 'docker' stderr output:
mount: 
2015-07-06 15:19:46,329 DEBG 'docker' stderr output:
mount point net_cls does not exist
2015-07-06 15:19:46,329 DEBG 'docker' stderr output:


2015-07-06 15:19:46,330 DEBG 'docker' stderr output:
rmdir: 
2015-07-06 15:19:46,331 DEBG 'docker' stderr output:
failed to remove ‘net_cls’
2015-07-06 15:19:46,331 DEBG 'docker' stderr output:
: Read-only file system
2015-07-06 15:19:46,331 DEBG 'docker' stderr output:


2015-07-06 15:19:46,368 DEBG 'docker' stderr output:
time="2015-07-06T15:19:46.367104665Z" level=error msg="'overlay' not found as a supported filesystem on this host. Please ensure kernel is new enough and has overlay support loaded." 

2015-07-06 15:19:46,369 DEBG 'docker' stderr output:
time="2015-07-06T15:19:46.368702853Z" level=warning msg="/!\\ DON'T BIND ON ANY IP ADDRESS WITHOUT setting -tlsverify IF YOU DON'T KNOW WHAT YOU'RE DOING /!\\" 
time="2015-07-06T15:19:46.368845190Z" level=info msg="Listening for HTTP on tcp (0.0.0.0:4243)" 
time="2015-07-06T15:19:46.369026779Z" level=info msg="Listening for HTTP on unix (/var/run/docker.sock)" 

2015-07-06 15:19:46,371 DEBG 'docker' stderr output:
time="2015-07-06T15:19:46.371255986Z" level=warning msg="Running modprobe bridge nf_nat failed with message: , error: exit status 1" 

2015-07-06 15:19:46,381 DEBG 'docker' stderr output:
time="2015-07-06T15:19:46.381313961Z" level=fatal msg="Error starting daemon: Error initializing network controller: Error initializing bridge driver: Setup IP forwarding failed: open /proc/sys/net/ipv4/ip_forward: read-only file system" 

2015-07-06 15:19:46,383 DEBG fd 16 closed, stopped monitoring <POutputDispatcher at 139731348625384 for <Subprocess at 139731348623800 with name docker in state STARTING> (stderr)>
2015-07-06 15:19:46,384 DEBG fd 9 closed, stopped monitoring <POutputDispatcher at 139731348625456 for <Subprocess at 139731348623800 with name docker in state STARTING> (stdout)>
2015-07-06 15:19:46,384 INFO exited: docker (exit status 1; not expected)
2015-07-06 15:19:46,384 DEBG received SIGCLD indicating a child quit
2015-07-06 15:19:47,071 DEBG 'jenkins' stderr output:
Jul 06, 2015 3:19:47 PM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: jetty-winstone-2.8

2015-07-06 15:19:49,075 INFO spawned: 'docker' with pid 139
2015-07-06 15:19:49,116 DEBG 'docker' stderr output:
mount: 
2015-07-06 15:19:49,116 DEBG 'docker' stderr output:
permission denied
2015-07-06 15:19:49,117 DEBG 'docker' stderr output:


2015-07-06 15:19:49,123 DEBG 'docker' stderr output:
mkdir: 
2015-07-06 15:19:49,124 DEBG 'docker' stderr output:
cannot create directory ‘cpuset’
2015-07-06 15:19:49,124 DEBG 'docker' stderr output:
: Read-only file system
2015-07-06 15:19:49,124 DEBG 'docker' stderr output:


2015-07-06 15:19:49,128 DEBG 'docker' stderr output:
mount: 
2015-07-06 15:19:49,129 DEBG 'docker' stderr output:
mount point cpuset does not exist
2015-07-06 15:19:49,129 DEBG 'docker' stderr output:


2015-07-06 15:19:49,130 DEBG 'docker' stderr output:
rmdir: 
2015-07-06 15:19:49,130 DEBG 'docker' stderr output:
failed to remove ‘cpuset’
2015-07-06 15:19:49,131 DEBG 'docker' stderr output:
: Read-only file system
2015-07-06 15:19:49,131 DEBG 'docker' stderr output:


2015-07-06 15:19:49,132 DEBG 'docker' stderr output:
mkdir: 
2015-07-06 15:19:49,132 DEBG 'docker' stderr output:
cannot create directory ‘cpu’
2015-07-06 15:19:49,133 DEBG 'docker' stderr output:
: Read-only file system
2015-07-06 15:19:49,133 DEBG 'docker' stderr output:


2015-07-06 15:19:49,135 DEBG 'docker' stderr output:
mount: 
2015-07-06 15:19:49,135 DEBG 'docker' stderr output:
mount point cpu does not exist
2015-07-06 15:19:49,136 DEBG 'docker' stderr output:


2015-07-06 15:19:49,137 DEBG 'docker' stderr output:
rmdir: 
2015-07-06 15:19:49,137 DEBG 'docker' stderr output:
failed to remove ‘cpu’
2015-07-06 15:19:49,137 DEBG 'docker' stderr output:
: Read-only file system
2015-07-06 15:19:49,138 DEBG 'docker' stderr output:


2015-07-06 15:19:49,139 DEBG 'docker' stderr output:
mkdir: 
2015-07-06 15:19:49,139 DEBG 'docker' stderr output:
cannot create directory ‘cpuacct’
2015-07-06 15:19:49,139 DEBG 'docker' stderr output:
: Read-only file system
2015-07-06 15:19:49,140 DEBG 'docker' stderr output:


2015-07-06 15:19:49,142 DEBG 'docker' stderr output:
mount: 
2015-07-06 15:19:49,142 DEBG 'docker' stderr output:
mount point cpuacct does not exist
2015-07-06 15:19:49,143 DEBG 'docker' stderr output:


2015-07-06 15:19:49,144 DEBG 'docker' stderr output:
rmdir: 
2015-07-06 15:19:49,144 DEBG 'docker' stderr output:
failed to remove ‘cpuacct’
2015-07-06 15:19:49,144 DEBG 'docker' stderr output:
: Read-only file system
2015-07-06 15:19:49,145 DEBG 'docker' stderr output:


2015-07-06 15:19:49,146 DEBG 'docker' stderr output:
mkdir: 
2015-07-06 15:19:49,146 DEBG 'docker' stderr output:
cannot create directory ‘blkio’
2015-07-06 15:19:49,146 DEBG 'docker' stderr output:
: Read-only file system
2015-07-06 15:19:49,155 DEBG 'docker' stderr output:


2015-07-06 15:19:49,158 DEBG 'docker' stderr output:
mount: 
2015-07-06 15:19:49,158 DEBG 'docker' stderr output:
mount point blkio does not exist
2015-07-06 15:19:49,158 DEBG 'docker' stderr output:


2015-07-06 15:19:49,159 DEBG 'docker' stderr output:
rmdir: 
2015-07-06 15:19:49,160 DEBG 'docker' stderr output:
failed to remove ‘blkio’
2015-07-06 15:19:49,160 DEBG 'docker' stderr output:
: Read-only file system
2015-07-06 15:19:49,160 DEBG 'docker' stderr output:


2015-07-06 15:19:49,161 DEBG 'docker' stderr output:
mkdir: 
2015-07-06 15:19:49,162 DEBG 'docker' stderr output:
cannot create directory ‘memory’
2015-07-06 15:19:49,162 DEBG 'docker' stderr output:
: Read-only file system
2015-07-06 15:19:49,162 DEBG 'docker' stderr output:


2015-07-06 15:19:49,164 DEBG 'docker' stderr output:
mount: 
2015-07-06 15:19:49,165 DEBG 'docker' stderr output:
mount point memory does not exist
2015-07-06 15:19:49,165 DEBG 'docker' stderr output:


2015-07-06 15:19:49,166 DEBG 'docker' stderr output:
rmdir: 
2015-07-06 15:19:49,166 DEBG 'docker' stderr output:
failed to remove ‘memory’
2015-07-06 15:19:49,167 DEBG 'docker' stderr output:
: Read-only file system
2015-07-06 15:19:49,167 DEBG 'docker' stderr output:


2015-07-06 15:19:49,168 DEBG 'docker' stderr output:
mkdir: 
2015-07-06 15:19:49,169 DEBG 'docker' stderr output:
cannot create directory ‘devices’
2015-07-06 15:19:49,169 DEBG 'docker' stderr output:
: Read-only file system
2015-07-06 15:19:49,170 DEBG 'docker' stderr output:


2015-07-06 15:19:49,171 DEBG 'jenkins' stderr output:
Jul 06, 2015 3:19:49 PM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: NO JSP Support for , did not find org.apache.jasper.servlet.JspServlet

2015-07-06 15:19:49,172 DEBG 'docker' stderr output:
mount: mount point devices does not exist

2015-07-06 15:19:49,173 DEBG 'docker' stderr output:
rmdir: failed to remove ‘devices’: Read-only file system

2015-07-06 15:19:49,174 DEBG 'docker' stderr output:
mkdir: 
2015-07-06 15:19:49,174 DEBG 'docker' stderr output:
cannot create directory ‘freezer’
2015-07-06 15:19:49,174 DEBG 'docker' stderr output:
: Read-only file system
2015-07-06 15:19:49,175 DEBG 'docker' stderr output:


2015-07-06 15:19:49,181 DEBG 'docker' stderr output:
mount: 
2015-07-06 15:19:49,181 DEBG 'docker' stderr output:
mount point freezer does not exist
2015-07-06 15:19:49,181 DEBG 'docker' stderr output:


2015-07-06 15:19:49,183 DEBG 'docker' stderr output:
rmdir: 
2015-07-06 15:19:49,183 DEBG 'docker' stderr output:
failed to remove ‘freezer’
2015-07-06 15:19:49,183 DEBG 'docker' stderr output:
: Read-only file system
2015-07-06 15:19:49,183 DEBG 'docker' stderr output:


2015-07-06 15:19:49,185 DEBG 'docker' stderr output:
mkdir: 
2015-07-06 15:19:49,186 DEBG 'docker' stderr output:
cannot create directory ‘net_cls’
2015-07-06 15:19:49,186 DEBG 'docker' stderr output:
: Read-only file system
2015-07-06 15:19:49,186 DEBG 'docker' stderr output:


2015-07-06 15:19:49,188 DEBG 'docker' stderr output:
mount: 
2015-07-06 15:19:49,189 DEBG 'docker' stderr output:
mount point net_cls does not exist
2015-07-06 15:19:49,189 DEBG 'docker' stderr output:


2015-07-06 15:19:49,190 DEBG 'docker' stderr output:
rmdir: 
2015-07-06 15:19:49,190 DEBG 'docker' stderr output:
failed to remove ‘net_cls’
2015-07-06 15:19:49,191 DEBG 'docker' stderr output:
: Read-only file system
2015-07-06 15:19:49,191 DEBG 'docker' stderr output:


2015-07-06 15:19:49,256 DEBG 'docker' stderr output:
time="2015-07-06T15:19:49.255139903Z" level=error msg="'overlay' not found as a supported filesystem on this host. Please ensure kernel is new enough and has overlay support loaded." 

2015-07-06 15:19:49,258 DEBG 'docker' stderr output:
time="2015-07-06T15:19:49.257434622Z" level=warning msg="/!\\ DON'T BIND ON ANY IP ADDRESS WITHOUT setting -tlsverify IF YOU DON'T KNOW WHAT YOU'RE DOING /!\\" 
time="2015-07-06T15:19:49.257583665Z" level=info msg="Listening for HTTP on tcp (0.0.0.0:4243)" 
time="2015-07-06T15:19:49.257774402Z" level=info msg="Listening for HTTP on unix (/var/run/docker.sock)" 
time="2015-07-06T15:19:49.257822104Z" level=warning msg="Running modprobe bridge nf_nat failed with message: , error: exit status 1" 

2015-07-06 15:19:49,267 DEBG 'docker' stderr output:
time="2015-07-06T15:19:49.266964803Z" level=fatal msg="Error starting daemon: Error initializing network controller: Error initializing bridge driver: Setup IP forwarding failed: open /proc/sys/net/ipv4/ip_forward: read-only file system" 

2015-07-06 15:19:49,269 DEBG fd 9 closed, stopped monitoring <POutputDispatcher at 139731348625384 for <Subprocess at 139731348623800 with name docker in state STARTING> (stdout)>
2015-07-06 15:19:49,269 DEBG fd 16 closed, stopped monitoring <POutputDispatcher at 139731348625024 for <Subprocess at 139731348623800 with name docker in state STARTING> (stderr)>
2015-07-06 15:19:49,269 INFO exited: docker (exit status 1; not expected)
2015-07-06 15:19:49,269 DEBG received SIGCLD indicating a child quit
2015-07-06 15:19:49,949 DEBG 'jenkins' stdout output:
Jenkins home directory: /config found at: EnvVars.masterEnvVars.get("JENKINS_HOME")
2015-07-06 15:19:49,950 DEBG 'jenkins' stdout output:


2015-07-06 15:19:49,954 DEBG 'jenkins' stderr output:
Jul 06, 2015 3:19:49 PM hudson.WebAppMain recordBootAttempt
WARNING: Failed to record boot attempts
java.io.FileNotFoundException: /config/failed-boot-attempts.txt (Permission denied)
    at java.io.FileOutputStream.open(Native Method)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:221)
    at hudson.WebAppMain.recordBootAttempt(WebAppMain.java:295)
    at hudson.WebAppMain.contextInitialized(WebAppMain.java:131)
    at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:782)
    at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:424)
    at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:774)
    at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:249)
    at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1242)
    at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:717)
    at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:494)
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
    at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
    at org.eclipse.jetty.server.Server.doStart(Server.java:282)
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
    at winstone.Launcher.<init>(Launcher.java:154)
    at winstone.Launcher.main(Launcher.java:354)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at Main._main(Main.java:293)
    at Main.main(Main.java:98)


2015-07-06 15:19:49,958 DEBG 'jenkins' stderr output:
Jul 06, 2015 3:19:49 PM hudson.WebAppMain contextInitialized
SEVERE: Failed to initialize Jenkins
java.lang.NullPointerException
    at com.trilead.ssh2.util.IOUtils.closeQuietly(IOUtils.java:12)
    at hudson.WebAppMain.recordBootAttempt(WebAppMain.java:300)
    at hudson.WebAppMain.contextInitialized(WebAppMain.java:131)
    at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:782)
    at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:424)
    at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:774)
    at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:249)
    at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1242)
    at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:717)
    at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:494)
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
    at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
    at org.eclipse.jetty.server.Server.doStart(Server.java:282)
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
    at winstone.Launcher.<init>(Launcher.java:154)
    at winstone.Launcher.main(Launcher.java:354)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at Main._main(Main.java:293)
    at Main.main(Main.java:98)


2015-07-06 15:19:49,963 DEBG 'jenkins' stderr output:
Jul 06, 2015 3:19:49 PM org.eclipse.jetty.util.log.JavaUtilLog warn
WARNING: Failed startup of context w.{,file:/var/cache/jenkins/},/var/cache/jenkins
java.lang.NullPointerException
    at com.trilead.ssh2.util.IOUtils.closeQuietly(IOUtils.java:12)
    at hudson.WebAppMain.recordBootAttempt(WebAppMain.java:300)
    at hudson.WebAppMain.contextInitialized(WebAppMain.java:131)
    at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:782)
    at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:424)
    at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:774)
    at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:249)
    at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1242)
    at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:717)
    at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:494)
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
    at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
    at org.eclipse.jetty.server.Server.doStart(Server.java:282)
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
    at winstone.Launcher.<init>(Launcher.java:154)
    at winstone.Launcher.main(Launcher.java:354)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at Main._main(Main.java:293)
    at Main.main(Main.java:98)


2015-07-06 15:19:50,009 DEBG 'jenkins' stderr output:
Jul 06, 2015 3:19:50 PM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: Started SelectChannelConnector@0.0.0.0:8090

2015-07-06 15:19:50,024 DEBG 'jenkins' stderr output:
Jul 06, 2015 3:19:50 PM winstone.Logger logInternal
INFO: Winstone Servlet Engine v2.0 running: controlPort=disabled

2015-07-06 15:19:53,029 INFO spawned: 'docker' with pid 202
2015-07-06 15:19:53,066 DEBG 'docker' stderr output:
mount: 
2015-07-06 15:19:53,067 DEBG 'docker' stderr output:
permission denied
2015-07-06 15:19:53,067 DEBG 'docker' stderr output:


2015-07-06 15:19:53,572 DEBG 'docker' stderr output:
mkdir: cannot create directory ‘cpuset’: Read-only file system

2015-07-06 15:19:53,574 DEBG 'docker' stderr output:
mount: mount point cpuset does not exist

2015-07-06 15:19:53,575 DEBG 'docker' stderr output:
rmdir: failed to remove ‘cpuset’: Read-only file system

2015-07-06 15:19:53,575 DEBG 'docker' stderr output:
mkdir: cannot create directory ‘cpu’: Read-only file system

2015-07-06 15:19:53,577 DEBG 'docker' stderr output:
mount: 
2015-07-06 15:19:53,578 DEBG 'docker' stderr output:
mount point cpu does not exist
2015-07-06 15:19:53,578 DEBG 'docker' stderr output:


2015-07-06 15:19:53,579 DEBG 'docker' stderr output:
rmdir: failed to remove ‘cpu’: Read-only file system

2015-07-06 15:19:53,580 DEBG 'docker' stderr output:
mkdir: cannot create directory ‘cpuacct’: Read-only file system

2015-07-06 15:19:53,581 DEBG 'docker' stderr output:
mount: mount point cpuacct does not exist

2015-07-06 15:19:53,582 DEBG 'docker' stderr output:
rmdir: failed to remove ‘cpuacct’: Read-only file system

2015-07-06 15:19:53,583 DEBG 'docker' stderr output:
mkdir: cannot create directory ‘blkio’: Read-only file system

2015-07-06 15:19:53,585 DEBG 'docker' stderr output:
mount: mount point blkio does not exist

2015-07-06 15:19:53,586 DEBG 'docker' stderr output:
rmdir: failed to remove ‘blkio’: Read-only file system

2015-07-06 15:19:53,587 DEBG 'docker' stderr output:
mkdir: 
2015-07-06 15:19:53,587 DEBG 'docker' stderr output:
cannot create directory ‘memory’
2015-07-06 15:19:53,587 DEBG 'docker' stderr output:
: Read-only file system
2015-07-06 15:19:53,587 DEBG 'docker' stderr output:


2015-07-06 15:19:53,589 DEBG 'docker' stderr output:
mount: mount point memory does not exist

2015-07-06 15:19:53,590 DEBG 'docker' stderr output:
rmdir: failed to remove ‘memory’: Read-only file system

2015-07-06 15:19:53,591 DEBG 'docker' stderr output:
mkdir: cannot create directory ‘devices’
2015-07-06 15:19:53,591 DEBG 'docker' stderr output:
: Read-only file system

2015-07-06 15:19:53,593 DEBG 'docker' stderr output:
mount: 
2015-07-06 15:19:53,593 DEBG 'docker' stderr output:
mount point devices does not exist
2015-07-06 15:19:53,594 DEBG 'docker' stderr output:


2015-07-06 15:19:53,595 DEBG 'docker' stderr output:
rmdir: failed to remove ‘devices’: Read-only file system

2015-07-06 15:19:53,596 DEBG 'docker' stderr output:
mkdir: cannot create directory ‘freezer’: Read-only file system

2015-07-06 15:19:53,599 DEBG 'docker' stderr output:
mount: mount point freezer does not exist

2015-07-06 15:19:53,600 DEBG 'docker' stderr output:
rmdir: failed to remove ‘freezer’: Read-only file system

2015-07-06 15:19:53,601 DEBG 'docker' stderr output:
mkdir: cannot create directory ‘net_cls’: Read-only file system

2015-07-06 15:19:53,603 DEBG 'docker' stderr output:
mount: mount point net_cls does not exist

2015-07-06 15:19:53,604 DEBG 'docker' stderr output:
rmdir: failed to remove ‘net_cls’: Read-only file system

2015-07-06 15:19:53,645 DEBG 'docker' stderr output:
time="2015-07-06T15:19:53.644671090Z" level=error msg="'overlay' not found as a supported filesystem on this host. Please ensure kernel is new enough and has overlay support loaded." 

2015-07-06 15:19:53,646 DEBG 'docker' stderr output:
time="2015-07-06T15:19:53.646722620Z" level=warning msg="/!\\ DON'T BIND ON ANY IP ADDRESS WITHOUT setting -tlsverify IF YOU DON'T KNOW WHAT YOU'RE DOING /!\\" 

2015-07-06 15:19:53,647 DEBG 'docker' stderr output:
time="2015-07-06T15:19:53.646879415Z" level=info msg="Listening for HTTP on tcp (0.0.0.0:4243)" 

2015-07-06 15:19:53,647 DEBG 'docker' stderr output:
time="2015-07-06T15:19:53.647123441Z" level=info msg="Listening for HTTP on unix (/var/run/docker.sock)" 

2015-07-06 15:19:53,647 DEBG 'docker' stderr output:
time="2015-07-06T15:19:53.647350776Z" level=warning msg="Running modprobe bridge nf_nat failed with message: , error: exit status 1" 

2015-07-06 15:19:53,657 DEBG 'docker' stderr output:
time="2015-07-06T15:19:53.656772772Z" level=fatal msg="Error starting daemon: Error initializing network controller: Error initializing bridge driver: Setup IP forwarding failed: open /proc/sys/net/ipv4/ip_forward: read-only file system" 

2015-07-06 15:19:53,659 DEBG fd 9 closed, stopped monitoring <POutputDispatcher at 139731348625024 for <Subprocess at 139731348623800 with name docker in state STARTING> (stdout)>
2015-07-06 15:19:53,659 DEBG fd 16 closed, stopped monitoring <POutputDispatcher at 139731348625744 for <Subprocess at 139731348623800 with name docker in state STARTING> (stderr)>
2015-07-06 15:19:53,659 INFO exited: docker (exit status 1; not expected)
2015-07-06 15:19:53,659 DEBG received SIGCLD indicating a child quit
2015-07-06 15:19:54,660 INFO gave up: docker entered FATAL state, too many start retries too quickly
2015-07-06 15:20:21,292 WARN received SIGINT indicating exit request
2015-07-06 15:20:21,292 DEBG killing openssh (pid 10) with signal SIGTERM
2015-07-06 15:20:21,293 INFO waiting for jenkins, openssh to die
2015-07-06 15:20:22,294 DEBG fd 19 closed, stopped monitoring <POutputDispatcher at 139731348626320 for <Subprocess at 139731348624160 with name openssh in state STOPPING> (stderr)>
2015-07-06 15:20:22,294 DEBG fd 15 closed, stopped monitoring <POutputDispatcher at 139731348625888 for <Subprocess at 139731348624160 with name openssh in state STOPPING> (stdout)>
2015-07-06 15:20:22,295 INFO stopped: openssh (terminated by SIGTERM)
2015-07-06 15:20:22,295 DEBG received SIGCLD indicating a child quit
2015-07-06 15:20:23,296 DEBG killing jenkins (pid 8) with signal SIGTERM
2015-07-06 15:20:24,298 DEBG fd 8 closed, stopped monitoring <POutputDispatcher at 139731348624592 for <Subprocess at 139731348624016 with name jenkins in state STOPPING> (stderr)>
2015-07-06 15:20:24,298 DEBG fd 6 closed, stopped monitoring <POutputDispatcher at 139731348624232 for <Subprocess at 139731348624016 with name jenkins in state STOPPING> (stdout)>
2015-07-06 15:20:24,299 INFO stopped: jenkins (terminated by SIGTERM)
2015-07-06 15:20:24,299 DEBG received SIGCLD indicating a child quit

Short update:

Running /home/nobody/jenkins.sh as root works fine. When checking the permissions set by install.sh I found that /var/cache/jenkins/ did not have the correct owner (nobody) and not the appropiate permissions (775). Interestingly chown and chmod were successful for the other directories. Can you reproduce this issue?

Again an update:

Removing the commands related to the jenkins to nobody user change, fixes the issues with Jenkins.
Booting the container with --privileged=true satisfies Docker. Unfortunately it's still complaining about overlay filesystem not being available.