Posts Tagged ‘ec2’

Hudson and Amazon EC2 – the sequel

June 28th, 2009

A while back I talked about getting Hudson running with -based slaves.  I had some issues – some self-inflicted like forgetting to add the IP address of the server to the appropriate Security Group to allow access port 22 – and some idiosyncrasies.  Now, however, I’ve got things running and am building jobs for and .

One of the ironic key issues for us that we’re testing a configuration management system but we can’t use that system because RUBYLIB issues mean that there some bleed through between the installed version and the version being tested.  So instead the useful plug-in allows an init script to be run to prep each slave.  For each slave we run a simple set of commands that retrieves a script designed to bootstrap the host. In our case we do:

cd /tmp
wget http://pelin.lovedthanlost.net//debian/-explode
chmod 0755 /tmp/-explode
/tmp/-explode

The -explode script installs all the required packages and performs some needed set-up. I’ve got a bunch of init scripts for different platforms and the plug-in automatically installs a Java JDK after the init script run. The slave then ready to run the tests. And simple…

Hudson and Amazon EC2

June 8th, 2009

So my biggest gripe with Hudson slave nodes. In land we need to run our tests a wide variety of platforms – it’s a system/configuration management tool that runs just about every flavour of *nix (and soon to be Windows) around: Linux (a bucket load of distros), *BSD, OSX, AIX, Solaris, HP-UX, amongst others. We need to ensure it builds, runs and configures things these platforms and that new features and functions don’t break things. To do this there a huge management overhead – especially as build/test generally two or three people – mostly Luke and I.

In this process I’ve had many struggles with getting people to submit slaves and with managing my own slave node network for . It’s bloody annoying to have to fight RUBYLIB issues, Gem versions, installed versions of and and a dozen other issues with running tests slaves before you can even identify and fix a failed test.

I finally threw in the towel and decided to look at some other engines – perhaps my initial look and selection of had been premature.  But another review and installation of a wide variety of tools suggested to me that was the right choice. So an impasse.

Then along came the Hudson Amazon EC2 plug-in.  It allows to run up Amazon instances when required as slaves.  This means with a few judicious choices of AMIs I can quickly run up a test farm that covers all my requirements – Linux, Solaris, even Windows when we merge in the new Windows code (0.25.0beta2 I hope).  It’s not quite working yet – for reasons that aren’t 100% clear to me yet. :)   But it’s the right path and I hope it’s going to make life much easier.  More how it all works … when it all works..

UPDATE:  It now works – mostly a PEBCAK issue – the plug-in requires that the Security Group configured to allow a connection port 22 from the master.  Next steps some proper implementation… :P

“Eye” Massager

December 18th, 2004

And Ruth sent me this link to this USB-powered ‘eye’ massager. The marketing blurb reads:

USB Eye Massager the latest-designed health care Product specially for the Person which long time use their eyes, Such as the Computer operator. The product could relax the stress of the Eyes. and make your whole body in the situation of the unstressing by the product vibration.
Everyone could adjust the speed of the massager’s vibration.
1.The power supplied by the USB Port. 5V Input.
2.The product has the four colors available:Yellow,Red,Blue,and Green.
Welcome Inquiry!

I suspect one or two female geeks might be interested in purchasing this item to massage their … tired eyes. One wonders if the company actually believes it going to be used to massage eyes. Or if their marketing people are being sub-tle. Hmmm they are in marketing… :)