You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by Giorgio Zoppi <gi...@gmail.com> on 2008/04/26 10:36:12 UTC
Test fail
After fetching a new svn and do a mvn.
Is anyone else seeing this build error?
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite errors="2" skipped="0" tests="2" time="0.272" failures="0"
name="calculator.CalculatorDistributedTestCase">
<properties>
<property value="Java(TM) 2 Runtime Environment, Standard Edition"
name="java.runtime.name"/>
<property value="/opt/java/jre/lib/i386" name="sun.boot.library.path"/>
<property value="1.5.0_13-b05" name="java.vm.version"/>
<property value="Sun Microsystems Inc." name="java.vm.vendor"/>
<property value="http://java.sun.com/" name="java.vendor.url"/>
<property value=":" name="path.separator"/>
<property value="Java HotSpot(TM) Client VM" name="java.vm.name"/>
<property value="sun.io" name="file.encoding.pkg"/>
<property value="IT" name="user.country"/>
<property value="SUN_STANDARD" name="sun.java.launcher"/>
<property value="unknown" name="sun.os.patch.level"/>
<property value="Java Virtual Machine Specification"
name="java.vm.specification.name"/>
<property value="/home/giorgio/tuscany-2.0/java/sca/samples/calculator-distributed"
name="user.dir"/>
<property value="1.5.0_13-b05" name="java.runtime.version"/>
<property value="sun.awt.X11GraphicsEnvironment"
name="java.awt.graphicsenv"/>
<property value="/home/giorgio/tuscany-2.0/java/sca/samples/calculator-distributed"
name="basedir"/>
<property value="/opt/java/jre/lib/endorsed" name="java.endorsed.dirs"/>
<property value="i386" name="os.arch"/>
<property value="/tmp" name="java.io.tmpdir"/>
<property value="
" name="line.separator"/>
<property value="Sun Microsystems Inc."
name="java.vm.specification.vendor"/>
<property value="Linux" name="os.name"/>
<property value="UTF-8" name="sun.jnu.encoding"/>
<property value="/opt/java/jre/lib/i386/client:/opt/java/jre/lib/i386:/opt/java/jre/../lib/i386"
name="java.library.path"/>
<property value="Java Platform API Specification"
name="java.specification.name"/>
<property value="49.0" name="java.class.version"/>
<property value="HotSpot Client Compiler" name="sun.management.compiler"/>
<property value="2.6.20-16-generic" name="os.version"/>
<property value="/home/giorgio" name="user.home"/>
<property value="Europe/Rome" name="user.timezone"/>
<property value="sun.print.PSPrinterJob" name="java.awt.printerjob"/>
<property value="UTF-8" name="file.encoding"/>
<property value="1.5" name="java.specification.version"/>
<property value="giorgio" name="user.name"/>
<property value="/var/cache/maven/repo/org/codehaus/plexus/plexus-archiver/1.0-alpha-7/plexus-archiver-1.0-alpha-7.jar:/var/cache/maven/repo/junit/junit/3.8.1/junit-3.8.1.jar:/var/cache/maven/repo/org/codehaus/plexus/plexus-container-default/1.0-alpha-8/plexus-container-default-1.0-alpha-8.jar:/var/cache/maven/repo/org/apache/maven/surefire/surefire-booter/2.3.1/surefire-booter-2.3.1.jar:/var/cache/maven/repo/org/apache/maven/surefire/surefire-api/2.3.1/surefire-api-2.3.1.jar:/var/cache/maven/repo/classworlds/classworlds/1.1-alpha-2/classworlds-1.1-alpha-2.jar:/var/cache/maven/repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar:/var/cache/maven/repo/commons-lang/commons-lang/2.1/commons-lang-2.1.jar"
name="java.class.path"/>
<property value="1.0" name="java.vm.specification.version"/>
<property value="32" name="sun.arch.data.model"/>
<property value="/opt/java/jre" name="java.home"/>
<property value="Sun Microsystems Inc." name="java.specification.vendor"/>
<property value="it" name="user.language"/>
<property value="mixed mode, sharing" name="java.vm.info"/>
<property value="1.5.0_13" name="java.version"/>
<property value="/opt/java/jre/lib/ext" name="java.ext.dirs"/>
<property value="/opt/java/jre/lib/rt.jar:/opt/java/jre/lib/i18n.jar:/opt/java/jre/lib/sunrsasign.jar:/opt/java/jre/lib/jsse.jar:/opt/java/jre/lib/jce.jar:/opt/java/jre/lib/charsets.jar:/opt/java/jre/classes"
name="sun.boot.class.path"/>
<property value="Sun Microsystems Inc." name="java.vendor"/>
<property value="/var/cache/maven/repo" name="localRepository"/>
<property value="/" name="file.separator"/>
<property value="http://java.sun.com/cgi-bin/bugreport.cgi"
name="java.vendor.url.bug"/>
<property value="little" name="sun.cpu.endian"/>
<property value="UnicodeLittle" name="sun.io.unicode.encoding"/>
<property value="gnome" name="sun.desktop"/>
<property value="" name="sun.cpu.isalist"/>
</properties>
<testcase time="1,209,198,689.751"
name="calculator.CalculatorDistributedTestCase">
<error type="java.lang.NoClassDefFoundError"
message="javax/servlet/ServletException">java.lang.NoClassDefFoundError:
javax/servlet/ServletException
at org.apache.tuscany.sca.http.tomcat.module.TomcatRuntimeModuleActivator$1.run(TomcatRuntimeModuleActivator.java:47)
at org.apache.tuscany.sca.http.tomcat.module.TomcatRuntimeModuleActivator$1.run(TomcatRuntimeModuleActivator.java:46)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.tuscany.sca.http.tomcat.module.TomcatRuntimeModuleActivator.start(TomcatRuntimeModuleActivator.java:45)
at org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntime.startModules(ReallySmallRuntime.java:341)
at org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntime.start(ReallySmallRuntime.java:131)
at org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.init(DefaultSCADomain.java:122)
at org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.&lt;init&gt;(DefaultSCADomain.java:113)
at org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:242)
at org.apache.tuscany.sca.host.embedded.SCADomain.newInstance(SCADomain.java:70)
at org.apache.tuscany.sca.domain.manager.launcher.DomainManagerLauncherBootstrap$NodeFacade.start(DomainManagerLauncherBootstrap.java:50)
at calculator.CalculatorDistributedTestCase.init(CalculatorDistributedTestCase.java:54)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.junit.internal.runners.BeforeAndAfterRunner.invokeMethod(BeforeAndAfterRunner.java:74)
at org.junit.internal.runners.BeforeAndAfterRunner.runBefores(BeforeAndAfterRunner.java:50)
at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:33)
at org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:308)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:879)
</error>
</testcase>
<testcase time="1,209,198,689.755"
name="calculator.CalculatorDistributedTestCase">
<error type="java.lang.NullPointerException">java.lang.NullPointerException
at calculator.CalculatorDistributedTestCase.destroy(CalculatorDistributedTestCase.java:77)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.junit.internal.runners.BeforeAndAfterRunner.invokeMethod(BeforeAndAfterRunner.java:74)
at org.junit.internal.runners.BeforeAndAfterRunner.runAfters(BeforeAndAfterRunner.java:65)
at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:37)
at org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:308)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:879)
</error>
</testcase>
</testsuite>
--
Ciao,
Giorgio.
---
"The only people for me are the mad ones, the ones who are mad to
live, mad to talk, mad to be saved. The ones who never yawn or say a
commonplace thing, but burn, burn, burn like fabulous yellow roman
candles exploding like spiders across the stars"
On The Road - Jack Kerouac
Re: Test fail
Posted by Jean-Sebastien Delfino <js...@apache.org>.
Giorgio Zoppi wrote:
> After fetching a new svn and do a mvn.
> Is anyone else seeing this build error?
> <?xml version="1.0" encoding="UTF-8" ?>
> <testsuite errors="2" skipped="0" tests="2" time="0.272" failures="0"
> name="calculator.CalculatorDistributedTestCase">
> <properties>
> <property value="Java(TM) 2 Runtime Environment, Standard Edition"
> name="java.runtime.name"/>
> <property value="/opt/java/jre/lib/i386" name="sun.boot.library.path"/>
> <property value="1.5.0_13-b05" name="java.vm.version"/>
> <property value="Sun Microsystems Inc." name="java.vm.vendor"/>
> <property value="http://java.sun.com/" name="java.vendor.url"/>
> <property value=":" name="path.separator"/>
> <property value="Java HotSpot(TM) Client VM" name="java.vm.name"/>
> <property value="sun.io" name="file.encoding.pkg"/>
> <property value="IT" name="user.country"/>
> <property value="SUN_STANDARD" name="sun.java.launcher"/>
> <property value="unknown" name="sun.os.patch.level"/>
> <property value="Java Virtual Machine Specification"
> name="java.vm.specification.name"/>
> <property value="/home/giorgio/tuscany-2.0/java/sca/samples/calculator-distributed"
> name="user.dir"/>
> <property value="1.5.0_13-b05" name="java.runtime.version"/>
> <property value="sun.awt.X11GraphicsEnvironment"
> name="java.awt.graphicsenv"/>
> <property value="/home/giorgio/tuscany-2.0/java/sca/samples/calculator-distributed"
> name="basedir"/>
> <property value="/opt/java/jre/lib/endorsed" name="java.endorsed.dirs"/>
> <property value="i386" name="os.arch"/>
> <property value="/tmp" name="java.io.tmpdir"/>
> <property value="
> " name="line.separator"/>
> <property value="Sun Microsystems Inc."
> name="java.vm.specification.vendor"/>
> <property value="Linux" name="os.name"/>
> <property value="UTF-8" name="sun.jnu.encoding"/>
> <property value="/opt/java/jre/lib/i386/client:/opt/java/jre/lib/i386:/opt/java/jre/../lib/i386"
> name="java.library.path"/>
> <property value="Java Platform API Specification"
> name="java.specification.name"/>
> <property value="49.0" name="java.class.version"/>
> <property value="HotSpot Client Compiler" name="sun.management.compiler"/>
> <property value="2.6.20-16-generic" name="os.version"/>
> <property value="/home/giorgio" name="user.home"/>
> <property value="Europe/Rome" name="user.timezone"/>
> <property value="sun.print.PSPrinterJob" name="java.awt.printerjob"/>
> <property value="UTF-8" name="file.encoding"/>
> <property value="1.5" name="java.specification.version"/>
> <property value="giorgio" name="user.name"/>
> <property value="/var/cache/maven/repo/org/codehaus/plexus/plexus-archiver/1.0-alpha-7/plexus-archiver-1.0-alpha-7.jar:/var/cache/maven/repo/junit/junit/3.8.1/junit-3.8.1.jar:/var/cache/maven/repo/org/codehaus/plexus/plexus-container-default/1.0-alpha-8/plexus-container-default-1.0-alpha-8.jar:/var/cache/maven/repo/org/apache/maven/surefire/surefire-booter/2.3.1/surefire-booter-2.3.1.jar:/var/cache/maven/repo/org/apache/maven/surefire/surefire-api/2.3.1/surefire-api-2.3.1.jar:/var/cache/maven/repo/classworlds/classworlds/1.1-alpha-2/classworlds-1.1-alpha-2.jar:/var/cache/maven/repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar:/var/cache/maven/repo/commons-lang/commons-lang/2.1/commons-lang-2.1.jar"
> name="java.class.path"/>
> <property value="1.0" name="java.vm.specification.version"/>
> <property value="32" name="sun.arch.data.model"/>
> <property value="/opt/java/jre" name="java.home"/>
> <property value="Sun Microsystems Inc." name="java.specification.vendor"/>
> <property value="it" name="user.language"/>
> <property value="mixed mode, sharing" name="java.vm.info"/>
> <property value="1.5.0_13" name="java.version"/>
> <property value="/opt/java/jre/lib/ext" name="java.ext.dirs"/>
> <property value="/opt/java/jre/lib/rt.jar:/opt/java/jre/lib/i18n.jar:/opt/java/jre/lib/sunrsasign.jar:/opt/java/jre/lib/jsse.jar:/opt/java/jre/lib/jce.jar:/opt/java/jre/lib/charsets.jar:/opt/java/jre/classes"
> name="sun.boot.class.path"/>
> <property value="Sun Microsystems Inc." name="java.vendor"/>
> <property value="/var/cache/maven/repo" name="localRepository"/>
> <property value="/" name="file.separator"/>
> <property value="http://java.sun.com/cgi-bin/bugreport.cgi"
> name="java.vendor.url.bug"/>
> <property value="little" name="sun.cpu.endian"/>
> <property value="UnicodeLittle" name="sun.io.unicode.encoding"/>
> <property value="gnome" name="sun.desktop"/>
> <property value="" name="sun.cpu.isalist"/>
> </properties>
> <testcase time="1,209,198,689.751"
> name="calculator.CalculatorDistributedTestCase">
> <error type="java.lang.NoClassDefFoundError"
> message="javax/servlet/ServletException">java.lang.NoClassDefFoundError:
> javax/servlet/ServletException
> at org.apache.tuscany.sca.http.tomcat.module.TomcatRuntimeModuleActivator$1.run(TomcatRuntimeModuleActivator.java:47)
> at org.apache.tuscany.sca.http.tomcat.module.TomcatRuntimeModuleActivator$1.run(TomcatRuntimeModuleActivator.java:46)
> at java.security.AccessController.doPrivileged(Native Method)
> at org.apache.tuscany.sca.http.tomcat.module.TomcatRuntimeModuleActivator.start(TomcatRuntimeModuleActivator.java:45)
> at org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntime.startModules(ReallySmallRuntime.java:341)
> at org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntime.start(ReallySmallRuntime.java:131)
> at org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.init(DefaultSCADomain.java:122)
> at org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.&lt;init&gt;(DefaultSCADomain.java:113)
> at org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:242)
> at org.apache.tuscany.sca.host.embedded.SCADomain.newInstance(SCADomain.java:70)
> at org.apache.tuscany.sca.domain.manager.launcher.DomainManagerLauncherBootstrap$NodeFacade.start(DomainManagerLauncherBootstrap.java:50)
> at calculator.CalculatorDistributedTestCase.init(CalculatorDistributedTestCase.java:54)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.junit.internal.runners.BeforeAndAfterRunner.invokeMethod(BeforeAndAfterRunner.java:74)
> at org.junit.internal.runners.BeforeAndAfterRunner.runBefores(BeforeAndAfterRunner.java:50)
> at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:33)
> at org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52)
> at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
> at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
> at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
> at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:308)
> at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:879)
> </error>
> </testcase>
> <testcase time="1,209,198,689.755"
> name="calculator.CalculatorDistributedTestCase">
> <error type="java.lang.NullPointerException">java.lang.NullPointerException
> at calculator.CalculatorDistributedTestCase.destroy(CalculatorDistributedTestCase.java:77)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.junit.internal.runners.BeforeAndAfterRunner.invokeMethod(BeforeAndAfterRunner.java:74)
> at org.junit.internal.runners.BeforeAndAfterRunner.runAfters(BeforeAndAfterRunner.java:65)
> at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:37)
> at org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52)
> at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
> at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
> at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
> at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:308)
> at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:879)
> </error>
> </testcase>
> </testsuite>
>
Hi Giorgio,
I just rebuilt the whole trunk from scratch and I don't see that error.
Can you try to rebuild with mvn clean install?
--
Jean-Sebastien