Sander's Weblog

February 27, 2006

Bootstrapping a Gump Run

Filed under: Apache — Sander @ 7:00 am

I’ve been playing around with Gump over the weekend. My goal was to set up a Gump run on an Xserve box that Apple has made available to the ASF, so we get some build coverage on the platform of all the packages and projects that Gump tracks.

Gump builds and installs hundreds of software packages, and to get the maximum experience I started from scratch, by checking out the trunk of the Gump source code. Before Gump can run, it requires the presence of several native and Python packages. I found out about these by repeatedly calling ./gump run until it would actually go, installing pre-requisite libraries along the way. I don’t remember exactly what I installed, but one component (rdflib?) required Python 2.4 so I installed that as well.

Gump checks for a number of prerequisites like make, ant, maven, a .Net runtime and it’s build utility NAnt. After I had all these up and running, I had the following build result:

Projects Successes Failures Prereqs No Works Packages
769 72 (9.36%) 131 (17.04%) 566 (73.60%) 00 (0.00%) 00 (0.00%)

Then, I started adding packaged projects by finding out from the build logs which jars were missing, and downloading those from the individual project web sites. This slightly reduced the number of failures due to missing prerequisites:

770 121 (15.71%) 111 (14.42%) 503 (65.32%) 00 (0.00%) 35 (4.55%)

However, tracing down all those packages proved pretty tedious, so I cheated. I got with the Gump guys and copied the entire package collection from one of their official instances. This got my failure count down markedly:

772 122 (15.80%) 30 (3.89%) 497 (64.38%) 00 (0.00%) 123 (15.93%)

But wait, the failure count was down, but the success rate did not increase. What was going on? Well, most projects depended on JUnit, which just a couple of days before had introduced some JDK 1.5 only features. So, I switched the entire Gump run to JDK 1.5. I also populated the Maven local repository by hand-rolling some failing builds. Gump runs Maven in offline mode, so it doesn’t go out on the net to find jars it doesn’t have. The folks on the Gump mailinglist were very helpful getting me up and running. This exercise got me to just about the present state:

778 404 (51.93%) 73 (9.38%) 175 (22.49%) 00 (0.00%) 126 (16.20%)

A few more failures, mostly because of failing JUnit tests, but radically higher number of successes. Tee Hee! We’re getting somewhere! I have now put Gump on an automated run every six hours, with the results publiclly available. Now if I could figure out how the Stats and Xref pages work, I’d be onto something.

Share this post:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • StumbleUpon

February 18, 2006

Thank You For the Memory

Filed under: Tech — Sander @ 7:00 am

Early this week, I went ahead and maxed out the RAM in my Powerbook. I now have 2Gb and it just flies. With the default 512Mb it was swapping a lot, especially after a couple of days of opening and closing applications. Especially Safari was hit very hard. Now, switching applications takes no time at all. For under $300, I should have done this months ago. What a difference.

Share this post:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • StumbleUpon

February 11, 2006

CodeCon 2006

Filed under: Tech — Sander @ 7:00 am

I am currently attending CodeCon 2006 in San Francisco. Interesting talks, as usual. Really atrocious folding chairs that look OK at first glance, but then you sit on them for an hour and realize everything down there is numb.

Three talks on Friday about fighting Malware/Spyware/Phishing. The first two, on Daylight Fraud Prevention and SiteAdvisor had in common that they were about commercial offerings and did not include any code. TRUMAN, The Reusable Unknown Malware Analysis Net, is available under the GPL.

SiteAdvisor combines automated analysis of potentially malicious websites with “a bunch of guys in Indiaâ€? to produce a rating of the malice these sites wreak on the user’s computer. They put a red/green status indicator in the browser status bar, and inject red and
green icons in Google search result pages. This is pretty interesting and I’d like to see where this goes. The presenter seems to have a good grasp of the fact that they don’t know all the consequences of offering this service on a large scale, how it will be abused etc. Watch that
space.

The other two talks on Friday were about the P2P space: VidTorrent is a P2P streaming application out of the MIT Media Lab. Finally, I think Localhost essentially slaps a file system onto BitTorrent.

The presentations this year seem to have a noticable practical slant. These are actual products that are shipping or close to shipping, not vague unpractical ideas hatched in someone’s basement and destined to never venture beyond.

Share this post:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • StumbleUpon

February 4, 2006

No More Blind Dialing

Filed under: Stuff — Sander @ 7:00 am

Went ahead and got the RAZR. Not the ROKR or the SLVR because I really don’t care about the iTunes. I also really wanted a clamshell phone because I don’t want to dial my friends with my phone in my pants. That would be wrong. The RAZR doesn’t look as sturdy as the V60i it replaces, you know the one with the broken display. We’ll see. Hope it’s not a LEMN.

Share this post:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • StumbleUpon

Powered by WordPress