[jbosstools-issues] [JBoss JIRA] (JBIDE-10761) org.jboss.tools.drools.ui.bot.test fails due to null widget (was jboss bot tests job fails after switching to Drools 5.3.1)

Juraj Gargulak (JIRA) jira-events at lists.jboss.org
Tue May 22 02:46:18 EDT 2012


    [ https://issues.jboss.org/browse/JBIDE-10761?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12694564#comment-12694564 ] 

Juraj Gargulak commented on JBIDE-10761:
----------------------------------------

Hi Len,

1) I would say that the DISPLAY variable should be set by default on any linux. It is not required just by Drools tests, it is needed for every GUI application. Anyway, this error is not caused by tests themselves, it is definitely problem with system environment - maybe something wrong with X server.

2) I would try it. It is possible that the tests won't pass but the reason should not be any error.
                
> org.jboss.tools.drools.ui.bot.test fails due to null widget (was jboss bot tests job fails after switching to Drools 5.3.1)
> ---------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-10761
>                 URL: https://issues.jboss.org/browse/JBIDE-10761
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: drools, SOA Tooling, testing
>    Affects Versions: 3.3.0.Beta1
>            Reporter: Nick Boldt
>            Assignee: Len DiMaggio
>             Fix For: 3.3.0.Beta2-SOA
>
>         Attachments: JBIDE10761-log.txt, org.jboss.tools.drools.ui.bot.test.DroolsAllBotTests.txt, TEST-org.jboss.tools.drools.ui.bot.test.DroolsAllBotTests.xml
>
>
> A couple weeks ago, we migrated from including Drools 5.2.1 to 5.3.1 in JBoss Tools.
> Now, the drool bot tests fail.
> From https://hudson.qa.jboss.com/hudson/view/DevStudio_Trunk/job/jbosstools-3.3_trunk.bottests.aggregate/ws/sources/aggregate/bottests-site/tests/org.jboss.tools.drools.ui.bot.test/target/work/data/.metadata/.log
> {code}
> !SESSION 2012-01-31 09:21:39.379 -----------------------------------------------
> eclipse.buildId=unknown
> java.version=1.6.0_30
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
> Framework arguments:  -application org.eclipse.tycho.surefire.osgibooter.uitest -testproperties /mnt/hudson_workspace/workspace/jbosstools-3.3_trunk.bottests.aggregate/sources/aggregate/bottests-site/tests/org.jboss.tools.drools.ui.bot.test/target/surefire.properties -testApplication org.eclipse.ui.ide.workbench -product org.eclipse.platform.ide -nouithread
> Command-line arguments:  -data /mnt/hudson_workspace/workspace/jbosstools-3.3_trunk.bottests.aggregate/sources/aggregate/bottests-site/tests/org.jboss.tools.drools.ui.bot.test/target/work/data -dev file:/mnt/hudson_workspace/workspace/jbosstools-3.3_trunk.bottests.aggregate/sources/aggregate/bottests-site/tests/org.jboss.tools.drools.ui.bot.test/target/dev.properties -application org.eclipse.tycho.surefire.osgibooter.uitest -testproperties /mnt/hudson_workspace/workspace/jbosstools-3.3_trunk.bottests.aggregate/sources/aggregate/bottests-site/tests/org.jboss.tools.drools.ui.bot.test/target/surefire.properties -testApplication org.eclipse.ui.ide.workbench -product org.eclipse.platform.ide -nouithread
> ...
> !ENTRY org.eclipse.osgi 4 0 2012-01-31 09:21:44.984
> !MESSAGE Application error
> !STACK 1
> org.eclipse.swt.SWTError: No more handles [gtk_init_check() failed]
> 	at org.eclipse.swt.SWT.error(SWT.java:4308)
> {code}
> which results in:
> {code}
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] org.jboss.tools.site.bottests.root ................ SUCCESS [0.888s]
> [INFO] org.jboss.tools.bot.tests.plugins ................. SUCCESS [0.030s]
> [INFO] org.jboss.tools.bot.tests.tests ................... SUCCESS [0.044s]
> [INFO] org.jboss.tools.drools.ui.bot.test ................ FAILURE [1:34.367s]
> [INFO] org.jboss.tools.bot.tests.features ................ SUCCESS [0.012s]
> [INFO] org.jboss.tools.bot.test.feature .................. SKIPPED
> [INFO] JBoss Tools - Bot Tests Site ...................... SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> {code}
> Not sure to whom to assign this - who owns the org.jboss.tools.drools.ui.bot.test code?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list