To run unit tests Op dinsdag 7 januari 2014 schreef Alex Harui [via Apache Flex Users] ( [email protected]):
> Just curious: why does flexmojos need the flash player to run at all > during a build? > > On 1/7/14 7:41 AM, "wim.deblauwe" <[hidden > email]<http://user/SendEmail.jtp?type=node&node=4384&i=0>> > wrote: > > >I just did a test with xvfb. I now get a "broken pipe" error: > > > >Xvfb starting$ Xvfb :1 -screen 0 1024x768x24 -fbdir > >/var/lib/jenkins/2014-01-07_16-27-521847713838354367507xvfb > >.... > > > >[INFO] --- flexmojos-maven-plugin:6.0.1:test-run (default-test-run) @ > >client-domain --- > >[INFO] Flexmojos 6.0.1 > >[INFO] GPL License - Version 2.0 (NO WARRANTY) - See COPYRIGHT file > >[DEBUG] Found 1 test runners: > >[TestRunner.swf] > >[DEBUG] Using test port '43627' and test control port '40158' > >[DEBUG] Flexmojos test port: 43627 - control: 40158 > >[INFO] Running tests > >/var/lib/jenkins/jobs/Flux/workspace/client-domain/target/test-classes/Tes > > >tRunner.swf > >[DEBUG] [net.flexmojos.oss.test.monitor.AsVmPing] opened server socket on > >port 40158 > >[DEBUG] [LAUNCHER] ASVmLauncher starting > >[DEBUG] [LAUNCHER] exec: [flashplayer] - > >/var/lib/jenkins/jobs/Flux/workspace/client-domain/target/test-classes/Tes > > >tRunner.swf > >[DEBUG] [LAUNCHER] Creating process > >[WARNING] [LAUNCHER] Using regular flashplayer tests > >[DEBUG] [LAUNCHER] Executing command: [flashplayer, > >/var/lib/jenkins/jobs/Flux/workspace/client-domain/target/test-classes/Tes > > >tRunner.swf] > >[DEBUG] [net.flexmojos.oss.test.monitor.ResultHandler] opened server > >socket > >on port 43627 > >[DEBUG] [LAUNCHER] Process created java.lang.UNIXProcess@d6a6acb > >[DEBUG] [MOJO] launcher STARTED > >[DEBUG] [MOJO] pinger STARTED > >[DEBUG] [MOJO] resultHandler STARTED > >[DEBUG] [LAUNCHER] Output pumpers ON > >[DEBUG] [LAUNCHER] Waiting for flashplayer termination > >[DEBUG] [SYSOUT]: Starting flashplayer using WINE > >[DEBUG] [SYSOUT]: DISPLAY=:1 > >[DEBUG] [MOJO] launcher RUNNING > >[DEBUG] [MOJO] pinger STARTED > >[DEBUG] [MOJO] resultHandler STARTED > >[DEBUG] [SYSERR]: p11-kit: couldn't load module: > >/usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: > >/usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: cannot open shared > object > >file: No such file or directory > >[DEBUG] [MOJO] launcher RUNNING > >[DEBUG] [MOJO] pinger STARTED > >[DEBUG] [MOJO] resultHandler STARTED > >[DEBUG] [SYSERR]: libGL: OpenDriver: trying > >/usr/lib/i386-linux-gnu/dri/tls/swrast_dri.so > >[DEBUG] [SYSERR]: libGL: OpenDriver: trying > >/usr/lib/i386-linux-gnu/dri/swrast_dri.so > >[DEBUG] [SYSERR]: fixme:thread:start_thread Started native thread > 0000002c > >[DEBUG] [SYSERR]: fixme:thread:start_thread Started native thread > 0000002b > >[DEBUG] [SYSERR]: fixme:d3d:wined3d_guess_card No card selector available > >for card vendor 0000 (using GL_RENDERER "Gallium 0.4 on llvmpipe (LLVM > >3.3, > >128 bits)"). > >[DEBUG] [MOJO] launcher RUNNING > >[DEBUG] [MOJO] pinger STARTED > >[DEBUG] [MOJO] resultHandler STARTED > >[DEBUG] [MOJO] launcher RUNNING > >[DEBUG] [MOJO] pinger STARTED > >[DEBUG] [MOJO] resultHandler STARTED > >[DEBUG] [SYSERR]: fixme:win:EnumDisplayDevicesW > >((null),0,0x33dd48,0x00000000), stub! > >[DEBUG] [SYSERR]: fixme:win:EnumDisplayDevicesW > >((null),0,0x33ce24,0x00000000), stub! > >[DEBUG] [SYSERR]: fixme:win:EnumDisplayDevicesW > >((null),0,0x33e0e8,0x00000000), stub! > >[DEBUG] [SYSERR]: fixme:winediag:AUDDRV_GetAudioEndpoint Winepulse is not > >officially supported by the wine project > >[DEBUG] [SYSERR]: fixme:winediag:AUDDRV_GetAudioEndpoint For sound > related > >feedback and support, please visit > >http://ubuntuforums.org/showthread.php?t=1960599 > >[DEBUG] [MOJO] launcher RUNNING > >[DEBUG] [MOJO] pinger STARTED > >[DEBUG] [MOJO] resultHandler STARTED > >[DEBUG] [net.flexmojos.oss.test.monitor.AsVmPing] accepting data from > >client > >[DEBUG] [CONTROL] AsVmControl handleRequest > >[DEBUG] [CONTROL] query status > >[DEBUG] [CONTROL] received status > >[DEBUG] [CONTROL] status is: <policy-file-request/>� > >[DEBUG] [CONTROL] query status > >[DEBUG] [CONTROL] received status > >[DEBUG] [CONTROL] status is: null > >[DEBUG] [CONTROL] query status > >[DEBUG] [MOJO] launcher RUNNING > >[DEBUG] [MOJO] pinger ERROR > >[DEBUG] [MOJO] resultHandler STARTED > >[DEBUG] [LAUNCHER] process has not been finished, destroying > >[INFO] > >------------------------------------------------------------------------ > >[INFO] Tests run: 0, Failures: 0, Errors: 0, Time Elapsed: 0 sec > >[ERROR] Broken pipe - > >/var/lib/jenkins/jobs/Flux/workspace/client-domain/target/test-classes/Tes > > >tRunner.swf > >[hidden email] <http://user/SendEmail.jtp?type=node&node=4384&i=1>> > > > >> An alternative would be xvfb ... I remember that I invested days and > >>even > >> weeks in trying to get a Flexmojos CI build up and running on a Linux > >> machine: > >> > >> > >> > >> > https://dev.c-ware.de/confluence/display/PUBLIC/Building+Flexmojos+on+a+H > >>eadless+64Bit+Ubuntu+10.04+CI-Server > >> > >> After getting the virtual Screen stuff up and running, I ran into loads > >>of > >> Problems with the Linux FlashPlayer and finally gave up renting a > >>Windows > >> Amazon EC2 Node because I would rather pay a few bucks for the Windows > >> Machine than ruin my sanity by getting the FlashPlayer up and running > on > >> Linux by my headless CI Server ;-) > >> > >> Chris > >> > >> ________________________________________ > >> Von: wim.deblauwe <[hidden > >>email]<http://user/SendEmail.jtp?type=node&node=4381&i=0>> > >> > >> Gesendet: Dienstag, 7. Januar 2014 12:29 > >> An: [hidden email] <http://user/SendEmail.jtp?type=node&node=4381&i=1> > >> Betreff: Re: AW: Running unit tests with flashplayer under wine > >> > >> VNC is there because I run jenkins as a service on Ubuntu, so there is > >>no > >> graphical display available. > >> > >> > >> 2014/1/7 Tom Chiverton [via Apache Flex Users] < > >> [hidden email] <http://user/SendEmail.jtp?type=node&node=4381&i=2>> > >> > >> > Wow, complicated. > >> > > >> > Are you trying to work around the fact your Jenkins machine is > >>headless > >> > ? Or something else ? Basically, why is VNC here at all ? > >> > > >> > Tom > >> > > >> > On 07/01/2014 09:23, wim.deblauwe wrote: > >> > > >> > > I am not totally in the clear yet. I don't have it working through > >> > jenkins > >> > > yet. > >> > > > >> > > * I have installed vnc4server package (sudo apt-get install > >> vnc4server) > >> > and > >> > > the vnc plugin in jenkins. > >> > > * I have set the option in the build settings of my project to > start > >> > vnc. > >> > > * I can connect using vinagre to this desktop > >> > > * I have checked that the DISPLAY variable is set in a pre-build > >>step > >> by > >> > > running: echo $DISPLAY > >> > > * If I start vncserver manually, set the DISPLAY manually and then > >>run > >> > my > >> > > 'flashplayer' script, I see the flashplayer starting in the remote > >> > desktop. > >> > > > >> > > I have the feeling that wine does not seem to pick up the display > >> > variable > >> > > for some reason. > >> > > > >> > > All ideas welcome! > >> > > > >> > > regards, > >> > > > >> > > Wim > >> > > > >> > > > >> > > > >> > > -- > >> > > View this message in context: > >> > > >> > >> > http://apache-flex-users.2333346.n4.nabble.com/Running-unit-tests-with-fl > >>ashplayer-under-wine-tp4284p4374.html > >> > > >> > > Sent from the Apache Flex Users mailing list archive at Nabble.com. > >> > > > >> > > > >>______________________________________________________________________ > >> > > This email has been scanned by the Symantec Email Security.cloud > >> > service. > >> > > For more information please visit http://www.symanteccloud.com > >> > > > >>______________________________________________________________________ > >> > > > >> > > > >> > > >> > > >> > > >> > ------------------------------ > >> > If you reply to this email, your message will be added to the > >> discussion > >> > below: > >> > > >> > > >> > >> > http://apache-flex-users.2333346.n4.nabble.com/Running-unit-tests-with-fl > >>ashplayer-under-wine-tp4284p4375.html > >> > To unsubscribe from Running unit tests with flashplayer under wine, > >> click > >> > here< > >> > >> > . > >> > NAML< > >> > >> > http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?m > >>acro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml. > > >>namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble > > >>.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble% > > >>3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21na > > >>bble%3Aemail.naml> > >> > >> > > >> > >> > >> > >> > >> -- > >> View this message in context: > >> > >> > http://apache-flex-users.2333346.n4.nabble.com/Running-unit-tests-with-fl > >>ashplayer-under-wine-tp4284p4380.html > >> > >> Sent from the Apache Flex Users mailing list archive at Nabble.com. > >> > >> > >> ------------------------------ > >> If you reply to this email, your message will be added to the > >>discussion > >> below: > >> > >> > >> > http://apache-flex-users.2333346.n4.nabble.com/Running-unit-tests-with-fl > >>ashplayer-under-wine-tp4284p4381.html > >> To unsubscribe from Running unit tests with flashplayer under wine, > >>click > >> > >>here<http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet. > > >>jtp?macro=unsubscribe_by_code&node=4284&code=d2ltLmRlYmxhdXdlQGdtYWlsLmNv > > >>bXw0Mjg0fDExMzA2NTE5NDc=> > >> . > >> > >>NAML<http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet. > > >>jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble. > > >>naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-n > > >>abble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21na > > >>bble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email > > >>%21nabble%3Aemail.naml> > >> > > > > > > > > > >-- > >View this message in context: > > > http://apache-flex-users.2333346.n4.nabble.com/Running-unit-tests-with-fla > >shplayer-under-wine-tp4284p4383.html > >Sent from the Apache Flex Users mailing list archive at Nabble.com. > > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://apache-flex-users.2333346.n4.nabble.com/Running-unit-tests-with-flashplayer-under-wine-tp4284p4384.html > To unsubscribe from Running unit tests with flashplayer under wine, click > here<http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4284&code=d2ltLmRlYmxhdXdlQGdtYWlsLmNvbXw0Mjg0fDExMzA2NTE5NDc=> > . > NAML<http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Running-unit-tests-with-flashplayer-under-wine-tp4284p4386.html Sent from the Apache Flex Users mailing list archive at Nabble.com.
