geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim McConnell (JIRA)" <j...@apache.org>
Subject [jira] Commented: (GERONIMODEVTOOLS-437) Determing success/failure of Abbot testcase from Maven
Date Tue, 15 Jul 2008 23:01:31 GMT

    [ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-437?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12613764#action_12613764
] 

Tim McConnell commented on GERONIMODEVTOOLS-437:
------------------------------------------------

Hi BJ, hope you can help me with this. The abbot testcase is failing but maven thinks it worked
fine. See below. It may be that we need to somehow interrogate either the java return code
or the results file from the testcase run....

[INFO] ------------------------------------------------------------------------
[INFO] Building org.apache.geronimo.testsuite.v21
[INFO]    task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory C:\SVN\Geronimo\devtools\eclipse-plugin\trunk\testsuite\plugins\org.apache.geronimo.
testsuite.v21\target
[INFO] Deleting file-set: C:\SVN\Geronimo\devtools\eclipse-plugin\trunk\testsuite\plugins\org.apache.geronimo.
testsuite.v21 (included: [*.log], excluded: [])
[INFO] [eclipsepde:manifestbundles {execution: initialize}]
[INFO] [eclipsepde:install {execution: initialize}]
[INFO] org.eclipse.jdt.core : 3.4.0-v_874 already exists in local repository.
[INFO] org.eclipse.ui.views : 3.3.0-I20080509-2000 already exists in local repository.
[INFO] SWTFragment:  Dependency {groupId=org.eclipse.plugins, artifactId=org.eclipse.swt.win32.win32.x86,
vers
ion=null, type=jar}
[INFO] org.eclipse.swt.win32.win32.x86 : 3.4.0-v3448f already exists in local repository.
[INFO] org.eclipse.swt : 3.4.0-v3448f already exists in local repository.
[INFO] org.eclipse.jst.j2ee.jca : 1.1.200-v200806041500 already exists in local repository.
[INFO] org.eclipse.jst.j2ee.ejb : 1.1.200-v200806041500 already exists in local repository.
[INFO] org.eclipse.jst.j2ee.web : 1.1.200-v200806051600 already exists in local repository.
[INFO] org.eclipse.core.commands : 3.4.0-I20080509-2000 already exists in local repository.
[INFO] org.eclipse.equinox.app : 1.1.0-v20080421-2006 already exists in local repository.
[INFO] org.eclipse.core.contenttype : 3.3.0-v20080604-1400 already exists in local repository.
[INFO] org.eclipse.ui.workbench : 3.4.0-I20080606-1300 already exists in local repository.
[INFO] org.eclipse.wst.server.core : 1.1.0-v20080530 already exists in local repository.
[INFO] org.eclipse.wst.web : 1.1.202-v200805140200 already exists in local repository.
[INFO] org.eclipse.jst.j2ee : 1.1.200-v200806051600 already exists in local repository.
[INFO] org.eclipse.core.runtime : 3.4.0-v20080512 already exists in local repository.
[INFO] org.eclipse.debug.core : 3.4.0-v20080612 already exists in local repository.
[INFO] org.eclipse.equinox.registry : 3.4.0-v20080516-0950 already exists in local repository.
[INFO] org.eclipse.jdt.launching : 3.4.0-v20080529-1300 already exists in local repository.
[INFO] org.eclipse.jface : 3.4.0-I20080606-1300 already exists in local repository.
[INFO] org.eclipse.wst.common.environment : 1.0.201-v200805140020 already exists in local
repository.
[INFO] org.eclipse.core.resources : 3.4.0-v20080604-1400 already exists in local repository.
[INFO] org.eclipse.ui.editors : 3.4.0-v20080603-2000 already exists in local repository.
[INFO] org.eclipse.equinox.preferences : 3.2.200-v20080421-2006 already exists in local repository.
[INFO] org.eclipse.ui : 3.4.0-I20080610-1200 already exists in local repository.
[INFO] org.eclipse.core.jobs : 3.4.0-v20080512 already exists in local repository.
[INFO] org.eclipse.jst.common.frameworks : 1.1.200-v200805140020 already exists in local repository.
[INFO] org.eclipse.jst.server.core : 1.1.0-v20080528 already exists in local repository.
[INFO] org.eclipse.ui.ide : 3.4.0-I20080606-1300 already exists in local repository.
[INFO] org.eclipse.wst.common.project.facet.core : 1.3.0-v200805140020 already exists in local
repository.
[INFO] org.eclipse.wst.common.frameworks : 1.1.200-v200805140020 already exists in local repository.
[INFO] org.eclipse.wst.common.modulecore : 1.1.200-v200806091800 already exists in local repository.
[INFO] org.eclipse.debug.ui : 3.4.0-v20080529-1300 already exists in local repository.
[INFO] org.eclipse.osgi : 3.4.0-v20080605-1900 already exists in local repository.
[INFO] org.eclipse.core.filebuffers : 3.4.0-v20080603-2000 already exists in local repository.
[INFO] org.eclipse.equinox.common : 3.4.0-v20080421-2006 already exists in local repository.
[INFO] org.eclipse.ui.forms : 3.3.100-v20080611 already exists in local repository.
Downloading: http://people.apache.org/repo/m2-snapshot-repository/woodstox/wstx-asl/3.2.1/wstx-asl-3.2.1.pom
Downloading: http://people.apache.org/repo/m2-incubating-repository//woodstox/wstx-asl/3.2.1/wstx-asl-3.2.1.po
m
Downloading: http://download.java.net/maven/1//woodstox/poms/wstx-asl-3.2.1.pom
Downloading: http://repo1.maven.org/maven2/woodstox/wstx-asl/3.2.1/wstx-asl-3.2.1.pom
[INFO] [antrun:run {execution: backup}]
[INFO] Executing tasks
     [copy] Copying 1 file to C:\SVN\Geronimo\devtools\eclipse-plugin\trunk\testsuite\plugins\org.apache.geron
imo.testsuite.v21\target
     [copy] Copying 1 file to C:\SVN\Geronimo\devtools\eclipse-plugin\trunk\testsuite\plugins\org.apache.geron
imo.testsuite.v21\target
[INFO] Executed tasks
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [eclipsepde:validatemanifest {execution: validate-bundle-classpath}]
[INFO] [compiler:compile]
[INFO] Compiling 5 source files to C:\SVN\Geronimo\devtools\eclipse-plugin\trunk\testsuite\plugins\org.apache.
geronimo.testsuite.v21\target\classes
[INFO] [antrun:run {execution: restore}]
[INFO] Executing tasks
     [copy] Copying 1 file to C:\SVN\Geronimo\devtools\eclipse-plugin\trunk\testsuite\plugins\org.apache.geron
imo.testsuite.v21
     [copy] Copying 1 file to C:\SVN\Geronimo\devtools\eclipse-plugin\trunk\testsuite\plugins\org.apache.geron
imo.testsuite.v21
[INFO] Executed tasks
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [surefire:test]
[INFO] No tests to run.
[INFO] [jar:jar]
[INFO] Building jar: C:\SVN\Geronimo\devtools\eclipse-plugin\trunk\testsuite\plugins\org.apache.geronimo.tests
uite.v21\target\org.apache.geronimo.testsuite.v21-2.1.2.jar
[INFO] [antrun:run {execution: default}]
[INFO] Executing tasks
    [mkdir] Created dir: C:\SVN\Geronimo\devtools\eclipse-plugin\trunk\testsuite\launcher\eclipse\eclipse\plug
ins\org.apache.geronimo.testsuite.v21-2.1.2
    [unzip] Expanding: C:\SVN\Geronimo\devtools\eclipse-plugin\trunk\testsuite\plugins\org.apache.geronimo.tes
tsuite.v21\target\org.apache.geronimo.testsuite.v21-2.1.2.jar into C:\SVN\Geronimo\devtools\eclipse-plugin\tru
nk\testsuite\launcher\eclipse\eclipse\plugins\org.apache.geronimo.testsuite.v21-2.1.2
[INFO] Executed tasks
[INFO] [install:install]
[INFO] Installing C:\SVN\Geronimo\devtools\eclipse-plugin\trunk\testsuite\plugins\org.apache.geronimo.testsuit
e.v21\target\org.apache.geronimo.testsuite.v21-2.1.2.jar to C:\M2\org\apache\geronimo\devtools\org.apache.gero
nimo.testsuite.v21\2.1.2\org.apache.geronimo.testsuite.v21-2.1.2.jar
[INFO] ------------------------------------------------------------------------
[INFO] Building Geronimo Eclipse Plugin :: Testsuite :: Launcher
[INFO]    task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting file-set: C:\SVN\Geronimo\devtools\eclipse-plugin\trunk\testsuite\launcher
(included: [launche
r/results, launcher/eclipse, launcher/workspace], excluded: [])
[INFO] [site:attach-descriptor]
[INFO] [install:install]
[INFO] Installing C:\SVN\Geronimo\devtools\eclipse-plugin\trunk\testsuite\launcher\pom.xml
to C:\M2\org\apache
\geronimo\devtools\testsuite-launcher\2.1.2\testsuite-launcher-2.1.2.pom
[INFO] [antrun:run {execution: run-testsuite}]
[INFO] Executing tasks

init:
     [copy] Copying 1 file to C:\SVN\Geronimo\devtools\eclipse-plugin\trunk\testsuite\launcher\eclipse\eclipse
\plugins
    [mkdir] Created dir: C:\SVN\Geronimo\devtools\eclipse-plugin\trunk\testsuite\launcher\eclipse\eclipse\plug
ins\org.eclipse.test
     [copy] Copying 8 files to C:\SVN\Geronimo\devtools\eclipse-plugin\trunk\testsuite\launcher\eclipse\eclips
e\plugins\org.eclipse.test

win32:
     [java] Buildfile: testsuite.xml

     [java] all:

     [java] testsuite.v21:

     [java] junit:

     [java] init:

     [java] suite:

     [java] init:
     [java]     [mkdir] Created dir: C:\SVN\Geronimo\devtools\eclipse-plugin\trunk\testsuite\launcher\results\
junit

     [java] ui-test:

     [java] java-test:
     [java]      [echo] Running org.apache.geronimo.testsuite.v21.ui.NewServerTest. Result
file: C:\SVN\Geroni
mo\devtools\eclipse-plugin\trunk\testsuite\launcher/results/junit/org.apache.geronimo.testsuite.v21.ui.NewServ
erTest.xml.
     [java]      [java] abbot.swt.finder.generic.NotFoundException
     [java]      [java]         at abbot.swt.finder.generic.FinderImpl.found(FinderImpl.java:74)
     [java]      [java]         at abbot.swt.finder.generic.FinderImpl.find(FinderImpl.java:65)
     [java]      [java]         at org.apache.geronimo.testsuite.v21.ui.AbbotHelper.clickButton(AbbotHelper.ja
va:42)
     [java]      [java]         at org.apache.geronimo.testsuite.v21.ui.NewServerTest.server21Create(NewServer
Test.java:109)
     [java]      [java]         at org.apache.geronimo.testsuite.v21.ui.NewServerTest.testAllGeronimoGUI(NewSe
rverTest.java:41)
     [java]      [java]         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [java]      [java]         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3
9)
     [java]      [java]         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp
l.java:25)
     [java]      [java]         at java.lang.reflect.Method.invoke(Method.java:585)
     [java]      [java]         at junit.framework.TestCase.runTest(TestCase.java:164)
     [java]      [java]         at junit.framework.TestCase.runBare(TestCase.java:130)
     [java]      [java]         at abbot.swt.junit.extensions.SWTTestCase.runBareWrapper(SWTTestCase.java:278)

     [java]      [java]         at abbot.swt.junit.extensions.SWTTestCase.access$2(SWTTestCase.java:275)
     [java]      [java]         at abbot.swt.junit.extensions.SWTTestCase$4.execute(SWTTestCase.java:252)
     [java]      [java]         at abbot.swt.junit.extensions.UserThread.run(UserThread.java:75)
     [java]      [java] Exception in thread "WorkbenchTestable" org.eclipse.swt.SWTException:
Device is dispos
ed
     [java]      [java]         at org.eclipse.swt.SWT.error(SWT.java:3777)
     [java]      [java]         at org.eclipse.swt.SWT.error(SWT.java:3695)
     [java]      [java]         at org.eclipse.swt.SWT.error(SWT.java:3666)
     [java]      [java]         at org.eclipse.swt.widgets.Display.error(Display.java:1180)
     [java]      [java]         at org.eclipse.swt.widgets.Display.syncExec(Display.java:4248)
     [java]      [java]         at org.eclipse.ui.internal.testing.WorkbenchTestable.testingFinished(Workbench
Testable.java:119)
     [java]      [java]         at org.eclipse.test.UITestApplication.runTests(UITestApplication.java:201)
     [java]      [java]         at org.eclipse.ui.internal.testing.WorkbenchTestable$1.run(WorkbenchTestable.j
ava:68)
     [java]      [java]         at java.lang.Thread.run(Thread.java:595)
     [java]      [java] Java Result: 1

     [java] collect-results:
     [java]     [style] Warning: the task name <style> is deprecated. Use <xslt>
instead.
     [java]     [style] Transforming into C:\SVN\Geronimo\devtools\eclipse-plugin\trunk\testsuite\launcher\res
ults\junit
     [java]    [concat] No existing resources and no nested text, doing nothing

     [java] cleanup:

     [java] run:

     [java] collect:

     [java] genResults:
     [java]      [copy] Copying 1 file to C:\SVN\Geronimo\devtools\eclipse-plugin\trunk\testsuite\launcher\res
ults\xml
     [java]     [style] Warning: the task name <style> is deprecated. Use <xslt>
instead.
     [java]     [style] Transforming into C:\SVN\Geronimo\devtools\eclipse-plugin\trunk\testsuite\launcher\res
ults\html
     [java]     [style] Processing C:\SVN\Geronimo\devtools\eclipse-plugin\trunk\testsuite\launcher\results\xm
l\org.apache.geronimo.testsuite.v21.xml to C:\SVN\Geronimo\devtools\eclipse-plugin\trunk\testsuite\launcher\re
sults\html\org.apache.geronimo.testsuite.v21.html
     [java]     [style] Loading stylesheet C:\SVN\Geronimo\devtools\eclipse-plugin\trunk\testsuite\launcher\ec
lipse\eclipse\plugins\org.eclipse.test\JUNIT.XSL
     [java] BUILD SUCCESSFUL

     [java] BUILD SUCCESSFUL
     [java] Total time: 1 minute 23 seconds
[INFO] Executed tasks
[INFO]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] ------------------------------------------------------------------------
[INFO] Geronimo Eclipse Plugin :: Testsuite .................. SUCCESS [7.344s]
[INFO] Geronimo Eclipse Plugin :: Testsuite :: Downloads ..... SUCCESS [24.203s]
[INFO] Geronimo Eclipse Plugin :: Testsuite :: Plugins ....... SUCCESS [0.110s]
[INFO] org.apache.geronimo.testsuite.v21 ..................... SUCCESS [49.203s]
[INFO] Geronimo Eclipse Plugin :: Testsuite :: Launcher ...... SUCCESS [1:46.594s]
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3 minutes 7 seconds
[INFO] Finished at: Tue Jul 15 18:49:22 EDT 2008
[INFO] Final Memory: 21M/48M
[INFO] ------------------------------------------------------------------------

C:\SVN\Geronimo\devtools\eclipse-plugin\trunk\testsuite>

> Determing success/failure of Abbot testcase from Maven
> ------------------------------------------------------
>
>                 Key: GERONIMODEVTOOLS-437
>                 URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-437
>             Project: Geronimo-Devtools
>          Issue Type: Sub-task
>            Reporter: Tim McConnell
>            Assignee: B.J. Reed
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message