OS Ubuntu 14.04 LTS (inside a Docker container, host OS is the same.)
Buildbot version: 0.8.8
Twisted version: 13.2.0
Docker version 1.9.1, build a34a1d5

The slave starts and runs but there is nothing in the log. Other than that it 
seems to operate normally.

File perms on the directory used by the slave are:

root@6cdfea974f8e:/# ls -lR /var/lib/devops/buildbot/slave01/
/var/lib/devops/buildbot/slave01/:
total 12
-rw------- 1 bbslave bbslave 1304 Aug  5 14:36 buildbot.tac
drwxr-xr-x 2 bbslave bbslave 4096 Jul 29 19:09 info
-rw-rw-r-- 1 bbslave bbslave    0 Jul 29 19:10 twistd.log
-rw------- 1 bbslave bbslave    2 Aug  5 14:36 twistd.pid

/var/lib/devops/buildbot/slave01/info:
total 8
-rw-r--r-- 1 bbslave bbslave 34 Aug  5 14:36 admin
-rw-r--r-- 1 bbslave bbslave 71 Aug  5 14:36 host
root@6cdfea974f8e:/#

The slave (?) creates the PID file and otherwise seems to operate normally.
(Master uses analogous commands and does operate normally. Except for mail 
notification, but that's a different subject.)
Slave and master are executing in the same container.

Relevant commands to create the slave, copy the files to an alternate location 
and start the slave are shown:

First run when the Docker image is built:
  ENV SLAVE_HOME   /home/bbslave/slave01# set variable
  RUN buildslave create-slave ${SLAVE_HOME} localhost:9989 slave01 pass# build 
slave, files in slave user dir

In the startup script
  chown -R bbslave.bbslave /var/lib/devops/buildbot/slave01 /home/bbslave# make 
sure all relevant files are owned by slave user
  su -c "cp -R /home/bbslave/slave01/* /var/lib/devops/buildbot/slave01" 
bbslave # copy files to directory shared with host
  su bbslave -c "/usr/bin/buildslave start /var/lib/devops/buildbot/slave01"# 
start the slave

When I first began building this the slave was logging normally but stopped at 
some point for reasons not obvious to me.

Thanks,
hank
________________________________
NOTICE OF CONFIDENTIALITY:
This message may contain information that is considered confidential and which 
may be prohibited from disclosure under applicable law or by contractual 
agreement. The information is intended solely for the use of the individual or 
entity named above. If you are not the intended recipient, you are hereby 
notified that any disclosure, copying, distribution or use of the information 
contained in or attached to this message is strictly prohibited. If you have 
received this email transmission in error, please notify the sender by replying 
to this email and then delete it from your system.
_______________________________________________
users mailing list
[email protected]
https://lists.buildbot.net/mailman/listinfo/users

Reply via email to