[jbosstools-issues] [JBoss JIRA] (JBIDE-12986) due to refactoring or tests module & migration to git, installer tests broken

Nick Boldt (JIRA) jira-events at lists.jboss.org
Sun Nov 4 22:30:17 EST 2012


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

Nick Boldt commented on JBIDE-12986:
------------------------------------

Jobs are better - items #1 and #3 above are resolved (though #2, deprecation warning, persists). However, the test is failing due to no window manager or display thread being available:

{code}
+ twm
twm:  another window manager is already running. on screen 0?
twm:  unable to find any unmanaged video screens.

log4j:WARN No appenders could be found for logger (org.eclipse.swtbot.swt.finder.matchers.AbstractMatcher).
log4j:WARN Please initialize the log4j system properly.

!MESSAGE Internal browser is not available: No more handles [Unknown Mozilla path (MOZILLA_FIVE_HOME not set)]

Testsuite: org.jboss.tools.tests.installation.InstallFromCentralTest
Application Started: 13600
log4j:WARN No appenders could be found for logger (org.eclipse.swtbot.swt.finder.matchers.AbstractMatcher).
log4j:WARN Please initialize the log4j system properly.
Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 4.538 sec

Testcase: testInstall took 3.777 sec
	Caused an ERROR
The widget was null.
org.eclipse.swtbot.swt.finder.exceptions.WidgetNotFoundException: The widget was null.
{code}


                
> due to refactoring or tests module & migration to git, installer tests broken
> -----------------------------------------------------------------------------
>
>                 Key: JBIDE-12986
>                 URL: https://issues.jboss.org/browse/JBIDE-12986
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Build/Releng, testing, updatesite
>    Affects Versions: 4.0.0.Beta2
>            Reporter: Nick Boldt
>            Assignee: Mickael Istria
>             Fix For: 4.0.0.Beta2
>
>
> 3 problems:
> 1. can't find org.jboss.tools.tests.installation - need to point at http://download.jboss.org/jbosstools/builds/staging/jbosstools-4.0_trunk.component--base/all/repo/ instead
> {code:label=http://hudson.qa.jboss.com/hudson/view/DevStudio/view/DevStudio_Trunk/job/jbosstools-4.0_trunk.install-tests-e4.2-jbt_trunk/510/console}
> !ENTRY org.eclipse.equinox.p2.metadata.repository 4 1000 2012-10-26 17:09:16.893
> !MESSAGE No repository found at http://download.jboss.org/jbosstools/builds/staging/jbosstools-4.0_trunk.component--tests/all/repo/.
> The installable unit org.jboss.tools.tests.installation has not been found.
> {code}
> 2. deprecation warning
> {code:label=http://hudson.qa.jboss.com/hudson/view/DevStudio/view/DevStudio_Trunk/job/jbosstools-4.0_trunk.install-tests-e4.2-jbt_trunk/510/console}
> Installing content from http://download.jboss.org/jbosstools/updates/nightly/core/trunk/
> The jvmargs attribute is deprecated. Please use nested jvmarg elements.
> The args attribute is deprecated. Please use nested arg elements.
> {code}
> 3. Can't run testapp org.eclipse.swtbot.eclipse.junit4.headless.swtbottestapplication:
> {code:label=http://hudson.qa.jboss.com/hudson/view/DevStudio/view/DevStudio_Trunk/job/jbosstools-4.0_trunk.install-tests-e4.2-jbt_trunk/510/console}
> java.lang.RuntimeException: Application "org.eclipse.swtbot.eclipse.junit4.headless.swtbottestapplication" could not be found in the registry. The applications available are: org.eclipse.ant.core.antRunner, org.eclipse.ant.ui.antRunner, org.eclipse.datatools.connectivity.console.profile.StorageFileEditor, org.eclipse.e4.ui.workbench.swt.E4Application, org.eclipse.e4.ui.workbench.swt.GenTopic, org.eclipse.emf.codegen.CodeGen, org.eclipse.emf.codegen.JMerger, org.eclipse.emf.codegen.ecore.Generator, org.eclipse.emf.importer.ecore.Ecore2GenModel, org.eclipse.emf.importer.java.Java2GenModel, org.eclipse.emf.importer.rose.Rose2GenModel, org.eclipse.equinox.app.error, org.eclipse.equinox.p2.director, org.eclipse.equinox.p2.garbagecollector.application, org.eclipse.equinox.p2.publisher.InstallPublisher, org.eclipse.equinox.p2.publisher.EclipseGenerator, org.eclipse.equinox.p2.publisher.ProductPublisher, org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher, org.eclipse.equinox.p2.reconciler.application, org.eclipse.equinox.p2.repository.repo2runnable, org.eclipse.equinox.p2.repository.metadataverifier, org.eclipse.equinox.p2.artifact.repository.mirrorApplication, org.eclipse.equinox.p2.metadata.repository.mirrorApplication, org.eclipse.equinox.p2.updatesite.UpdateSitePublisher, org.eclipse.equinox.p2.publisher.UpdateSitePublisher, org.eclipse.equinox.p2.publisher.CategoryPublisher, org.eclipse.help.base.infocenterApplication, org.eclipse.help.base.helpApplication, org.eclipse.help.base.indexTool, org.eclipse.jdt.apt.core.aptBuild, org.eclipse.jdt.core.JavaCodeFormatter, org.eclipse.jdt.core.JavaIndexer, org.eclipse.pde.build.Build, org.eclipse.pde.junit.runtime.uitestapplication, org.eclipse.pde.junit.runtime.legacytestapplication, org.eclipse.pde.junit.runtime.coretestapplication, org.eclipse.pde.junit.runtime.coretestapplicationnonmain, org.eclipse.pde.junit.runtime.nonuithreadtestapplication, org.eclipse.ui.ide.workbench, org.eclipse.wst.jsdt.core.JavaCodeFormatter, org.eclipse.wst.server.preview.preview.
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the jbosstools-issues mailing list