JavaFX on headless Jenkins
Tom Eugelink
tbee at tbee.org
Mon Jan 6 12:13:42 PST 2014
Yes please, I've got Jenkins setup so it starts a vncserver and it runs on linux, so I'm interesting in the option you mention (as long as it doesn't require too many hoops I need to jump through).
Tom
On 2014-1-6 17:36, David Hill wrote:
> On 1/4/14, Jan 4, 3:57 PM, Tom Eugelink wrote:
>> I'm trying to run JavaFX UI tests using TestFX on a headless Jenkins server (Ubuntu / Debian). I've gotten to the point where the UI is actually started by Jenkins, but then the test fail with a "no suitable pipeline found". Any suggestions how to fix that?
>
> This has long been a challenge with FX. I even modified Glass/Lens to get a headless with a VNC option working on Linux & Mac (Windows probably needed a little porting). This has never been a priority though, only a casual hobby.
>
> Daniel is working on a refresh of Glass/Lens that may make it even easier to do headless (as a side effect).
>
> If there is any interest, I can provide more information on the current Glass/Lens headless.
>
> Dave
>>
>> :*test*
>> Executing task ':test' (up-to-date check took 0.054 secs) due to:
>> No history is available.
>> Starting process 'Gradle Worker 1'. Working directory: /var/lib/jenkins/workspace/JFXtras8.0 Command: /usr/lib/jvm/jdk1.8.0-ea/bin/java -Djava.security.manager=jarjar.org.gradle.process.internal.child.BootstrapSecurityManager -Dfile.encoding=UTF-8 -ea -cp /var/lib/jenkins/.gradle/caches/1.9/workerMain/gradle-worker.jar jarjar.org.gradle.process.internal.launcher.GradleWorkerMain
>> Successfully started process 'Gradle Worker 1'
>> Gradle Worker 1 executing tests.
>>
>> jfxtras.labs.scene.control.test.ListSpinnerEditableTest > enterSelectValueByTyping STANDARD_ERROR
>> Graphics Device initialization failed for : es2, sw
>> Error initializing QuantumRenderer: no suitable pipeline found
>> java.lang.RuntimeException: java.lang.RuntimeException: Error initializing QuantumRenderer: no suitable pipeline found
>> at com.sun.javafx.tk.quantum.QuantumRenderer.getInstance(QuantumRenderer.java:300)
>> at com.sun.javafx.tk.quantum.QuantumToolkit.init(QuantumToolkit.java:244)
>> at com.sun.javafx.tk.Toolkit.getToolkit(Toolkit.java:179)
>> at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:210)
>> at com.sun.javafx.application.LauncherImpl.startToolkit(LauncherImpl.java:653)
>> at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:678)
>> at com.sun.javafx.application.LauncherImpl.access$000(LauncherImpl.java:56)
>> at com.sun.javafx.application.LauncherImpl$1.run(LauncherImpl.java:158)
>> at java.lang.Thread.run(Thread.java:744)
>> Caused by: java.lang.RuntimeException: Error initializing QuantumRenderer: no suitable pipeline found
>> at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.init(QuantumRenderer.java:98)
>> at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:128)
>> ... 1 more
>> Exception in thread "Thread-4" java.lang.RuntimeException: No toolkit found
>> at com.sun.javafx.tk.Toolkit.getToolkit(Toolkit.java:191)
>> at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:210)
>> at com.sun.javafx.application.LauncherImpl.startToolkit(LauncherImpl.java:653)
>> at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:678)
>> at com.sun.javafx.application.LauncherImpl.access$000(LauncherImpl.java:56)
>> at com.sun.javafx.application.LauncherImpl$1.run(LauncherImpl.java:158)
>> at java.lang.Thread.run(Thread.java:744)
>>
>>
>
>
More information about the openjfx-dev
mailing list