Set up BuildBot continuous integration for BRL-CADBRL-CAD
Status: ClosedTime to complete: 72 hrs Mentors: SeanTags: continuous integration, buildbot, web, python, unix, ssh

BuildBot is a continuous integration (CI) system.  CI systems are used to continuously test software so that failures can be detected, reported, and ultimately fixed quickly.  BRL-CAD would like to have several CI systems set up to evaluate their usefulness for our open source community.

This task involves setting up BuildBot for BRL-CAD.  At a minimum, it should be set up to test our configuration (cmake), compilation (make), distribution viability (make distcheck), performance (make benchmark), regression (make regress), and unit test status (make test).

You will also be required to document your progress installing and setting up BuildBot on our wiki (http://brlcad.org/wiki/Continuous_Integration) including all steps you take.

As this task requires accessing one of our development servers over SSH, you need to be comfortable working on a unix command line.  Contact 'brlcad' in our IRC channel to get set up after claiming this task.

Resources:

  • http://trac.buildbot.net/
Uploaded Work
File name/URLFile sizeDate submitted
buildbot.txt1.5 KBDecember 06 2012 17:06 UTC
Comments
Skriptkidon December 4 2012 13:39 UTCTask Claimed

I would like to work on this task.

Andrei Popescu on December 4 2012 13:42 UTCTask Assigned

This task has been assigned to Skriptkid. You have 72 hours to complete this task, good luck!

Skriptkidon December 4 2012 18:06 UTCSSH figured out

Read up on SSH. Logged in and created dir "Skriptkid" in the home folder(Just to test). What do I need to do next? If I need to come on IRC, I'll be there at about this time(or a bit before)  tomorrow.

Sean on December 4 2012 20:09 UTCwrong dir

The directory you created will not help you.  The directory you start in is already your home directory.  You need to create a directory specifically called public_html and you can install buildbot there.  You will be able to access that directory at http://crit.brlcad.org/~skriptkid/


 

Skriptkidon December 5 2012 01:23 UTCI Know

I just wanted to test if I'd logged in right.

Skriptkidon December 5 2012 17:23 UTCUnable to run Buildbot

I installed and ran buildbot as per intructions given here : http://buildbot.net/buildbot/docs/current/tutorial/firstrun.html. But it shows a lot of errors about missing dependancies and missing files. Buildbot isn't able to run. The two required scripts are on my home folder(gciskriptkid.) Also, there are a few files in ~/res(not necessary, but just in case they're needed.)

Skriptkidon December 6 2012 12:46 UTCNeed sqlite3

Need sqlite3 installed. Buildbot needs a module called pysqlite2, which requires sqlite3.

Daniel Rossberg on December 7 2012 11:42 UTCDeadline extended

The deadline of the task has been extended with 2 days and 0 hours.

Skriptkidon December 8 2012 17:57 UTCReady for review

The work on this task is ready to be reviewed.

Skriptkidon December 8 2012 17:59 UTCBug

There seems to be a bug in file src/other/togl/src/glew/glew.c. Some functions are undeclared in the file, which is why it's not being built. But the Buildbot system is installed and rolling fine. http://crit.brlcad.org/buildbot/.

Skriptkidon December 8 2012 18:22 UTCMake log

http://crit.brlcad.org/buildbot/builders/brlcad-tester/builds/7/steps/shell_2/logs/stdio


 


The bug's there at the end

Sean on December 8 2012 18:47 UTCTask Closed

Congratulations, this task has been completed successfully.

Skriptkidon December 8 2012 19:01 UTCCleaned up

Cleaned up my account. Only the buildmaster and slave dirs are there. Deleted everthing else. They both are in public_html. Also, the master is listening on port 8001 and slave on 8090(All info is in master.cfg, in which I've changed the comments according to what I've configured.)

Skriptkidon December 9 2012 12:53 UTCFixed mkdir and SVNPoll

brlcad: I know this task was closed, but didn't wanna leave that one little thing unfinished. Fixed mkdir 'dir exists.' Won't fail now. -p is enabled. Also, I had forgotten one little thing in the config file. The refresh interval. Even that's done.

Sean on December 9 2012 15:50 UTCexcellent

Thanks for fixing it up!  

Sean on December 19 2012 21:41 UTCfollow-on task

Several follow-on tasks have been posted:


http://www.google-melange.com/gci/task/view/google/gci2012/8109204


http://www.google-melange.com/gci/task/view/google/gci2012/8125203


http://www.google-melange.com/gci/task/view/google/gci2012/8131202


http://www.google-melange.com/gci/task/view/google/gci2012/8108203