Skip to main content
November 2, 2011
Question

FlexUnit tests fail due to missing sound card on headless CI server

  • November 2, 2011
  • 1 reply
  • 1226 views

Hi,

I have set up Jenkins CI server with Xvnc to run FlexUnit tests during the build process.  Everything worked fine until I started working with Sound - now Flash Player is started, throws a bunch of errors complaining about the missing sound card (which obviously, a headless virtual server doesn't have), and stops execution of the tests entirely. 

I am working around this problem by only running sound-related tests on my local machine, but since the entire purpose of a CI server is to make sure every commit runs through ALL the available unit tests, I was wondering if there is any way to make Flash Player "think" a sound card is available, much in the same way that Xvnc allows me to work without a physical monitor.  Does anyone here have experience with this kind of problem?  Or better yet: Is there a best practice or solution to this problem?

Thanks in advance,

w3ltraumpirat

This topic has been closed for replies.

1 reply

Participant
November 28, 2011

We have the exact same problem.

Did you try to fake sound card?

http://serverfault.com/questions/166542/how-to-create-fake-sound-card-on-linux-server