Untitled

VMWare 2.0.6 and Hudson CI interaction on Mac OS X 10.6

The setup

I was running Hudson inside Tomcat 6 on Snow Leopard, and I had VMWare running some Linux VMs.

The problem

Hudson worked fine, but during certain situations, such as JUnit test cases that accessed the network, or post-build svn and Capistrano scripts, the following error message would appear:

could not lookup DNS configuration info service: (ipc/send) invalid destination port.

The solution

Eventually, I found this thread, which lead me to disabling the VMWare kernel extensions:

sudo /Library/Application\ Support/VMware\ Fusion/boot.sh --stop

I restarted Hudson, and everything works.

The conclusion

Google didn’t help me much with this problem, so it must not be that common a setup. But, if you have one big Mac Pro that you’re using as a testing and integration host, you might find yourself running into similar issues.