[Source] Xj3D trunk hudson testing begun OK; errors running 'test' task

Don Brutzman brutzman at nps.edu
Mon Sep 5 21:54:55 PDT 2011


On 9/3/2011 8:05 AM, Alan Hudson wrote:
> [...]
> It runs for me but thats because I have apps/cadfilter compiled. If you go into apps/cadfilter and do ant compile then the ant test task will run.
> 
> The issue is I've placed testing at the global level. But in this case it needs an app compiled which is the apps/cadfilter directory. Need either decide that the compile target of the main ant file will compile all the apps. Or decide to move the app level tests down to the app level instead of global.

OK.. am thinking:  we should make the test task depend on the compileApps
task and keep it at the top level for visibility.  assuming that we do a
good job on all the tests, it wouldn't hurt to make them part of a
build compile (or build all) either.

so:  added compileApps as a dependency of ant test.  worked.
fwiw however this task then recompiled all the apps
even though they had just been compiled on the previous task.
i checked in this dependency since it doesn't add much time.

anyway, a new set of proper test errors now emerges.
looks like some implicit-path problems and some failing tests.
13 tests passed, 7 failed.

======================
compileApps:
Compiling CADFilter
Xj3D CADFilter App.init:
Xj3D CADFilter App.compile:
Compiling xj3d/filter/exporter
Compiling xj3d/filter
Compiling xj3d/filter/node
Compiling xj3d/filter/importer
Compiling xj3d/filter/importer/collada
Compiling xj3d/filter/filters
Compiling xj3d/filter/ui
Compiling xj3d/cdfviewer
Compiling Browser
Xj3D Browser App.init:
Xj3D Browser App.compile:
Compiling xj3d/browser/ui
Compiling xj3d/browser
init:
compileTest:
Compiling xj3d/filter
Compiling org/web3d/
Compiling org/web3d/util/
Compiling org/web3d/util/spatial
Compiling org/web3d/vrml/export/compressors
Compiling 
test:
Running TestCompressionToolsTestSuite
Testsuite: TestCompressionToolsTestSuite
compression percent: 0.490125
Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.076 sec
Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.076 sec
------------- Standard Output ---------------
compression percent: 0.490125
------------- ---------------- ---------------

Testcase: testQuantizeFloatArrayDeflaterAllFloats took 0.071 sec
Running TestFiltersTestSuite
Testsuite: TestFiltersTestSuite
Malformed URL: C:\Program Files\NetBeans 7.0.1\parsetest\filter\Transform\NoExistingData.x3dv
Malformed URL: C:\Program Files\NetBeans 7.0.1\parsetest\filter\Transform\ExistingDataOneMore.x3dv
Malformed URL: C:\Program Files\NetBeans 7.0.1\parsetest\filter\Transform\ExistingDataOneLess.x3dv
Malformed URL: C:\Program Files\NetBeans 7.0.1\parsetest\filter\FlattenTransform\simple.x3dv
Malformed URL: C:\Program Files\NetBeans 7.0.1\parsetest\filter\FlattenTransform\coffeeCup.x3d
Malformed URL: C:\Program Files\NetBeans 7.0.1\parsetest\filter\FlattenTransform\conglomeration.x3dv
Malformed URL: C:\Program Files\NetBeans 7.0.1\parsetest\filter\AbsScale\square.x3dv
Tests run: 19, Failures: 7, Errors: 0, Time elapsed: 0.495 sec
Tests run: 19, Failures: 7, Errors: 0, Time elapsed: 0.495 sec
------------- Standard Output ---------------
Malformed URL: C:\Program Files\NetBeans 7.0.1\parsetest\filter\Transform\NoExistingData.x3dv
Malformed URL: C:\Program Files\NetBeans 7.0.1\parsetest\filter\Transform\ExistingDataOneMore.x3dv
Malformed URL: C:\Program Files\NetBeans 7.0.1\parsetest\filter\Transform\ExistingDataOneLess.x3dv
Malformed URL: C:\Program Files\NetBeans 7.0.1\parsetest\filter\FlattenTransform\simple.x3dv
Malformed URL: C:\Program Files\NetBeans 7.0.1\parsetest\filter\FlattenTransform\coffeeCup.x3d
Malformed URL: C:\Program Files\NetBeans 7.0.1\parsetest\filter\FlattenTransform\conglomeration.x3dv
Malformed URL: C:\Program Files\NetBeans 7.0.1\parsetest\filter\AbsScale\square.x3dv
------------- ---------------- ---------------

Testcase: testTransformNoExistingData took 0.151 sec
	FAILED
Error code not 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Error code not 0 expected:<0> but was:<1>
	at xj3d.filter.TestTransformFilter.testTransformNoExistingData(TestTransformFilter.java:67)

Testcase: testTransformExistingDataOneMore took 0.058 sec
	FAILED
Error code not 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Error code not 0 expected:<0> but was:<1>
	at xj3d.filter.TestTransformFilter.testTransformExistingDataOneMore(TestTransformFilter.java:100)

Testcase: testTransformExistingDataOneLess took 0.006 sec
	FAILED
Error code not 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Error code not 0 expected:<0> but was:<1>
	at xj3d.filter.TestTransformFilter.testTransformExistingDataOneLess(TestTransformFilter.java:129)

Testcase: testSimple took 0.01 sec
	FAILED
Error code not 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Error code not 0 expected:<0> but was:<1>
	at xj3d.filter.TestFlattenTransformFilter.testSimple(TestFlattenTransformFilter.java:62)

Testcase: testCoffeeCup took 0.002 sec
	FAILED
Error code not 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Error code not 0 expected:<0> but was:<1>
	at xj3d.filter.TestFlattenTransformFilter.testCoffeeCup(TestFlattenTransformFilter.java:86)

Testcase: testConglomeration took 0.003 sec
	FAILED
Error code not 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Error code not 0 expected:<0> but was:<1>
	at xj3d.filter.TestFlattenTransformFilter.testConglomeration(TestFlattenTransformFilter.java:116)

Testcase: testTriangulation took 0.001 sec
Testcase: testCenter took 0 sec
Testcase: testCombineShape took 0.001 sec
Testcase: testDEFChooser took 0.001 sec
Testcase: testGenNormals took 0 sec
Testcase: testIdentity took 0 sec
Testcase: testIndex took 0.001 sec
Testcase: testLocalURL took 0.001 sec
Testcase: testRemoveNode took 0.001 sec
Testcase: testAbsScale took 0.003 sec
	FAILED
Error code not 0 expected:<0> but was:<1>
junit.framework.AssertionFailedError: Error code not 0 expected:<0> but was:<1>
	at xj3d.filter.TestAbsScaleFilter.testAbsScale(TestAbsScaleFilter.java:66)

Testcase: testGlobalBounds took 0 sec
Testcase: testColorRGBAtoRGB took 0 sec
Testcase: testCollada took 0 sec
Test TestFiltersTestSuite FAILED
BUILD SUCCESSFUL (total time: 3 seconds)
======================

added target test to the hudson build, with this compileApps dependency
getting automatically updated from subversion.  got different results...
compileApps: compiled CADFilter OK.  compileTest: also worked OK.

test: task failed due to bad path, hudson results follow.

======================
test:
[junit] Running TestCompressionToolsTestSuite [junit] Testsuite: TestCompressionToolsTestSuite [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec [junit] [junit] Caused an ERROR [junit] TestCompressionToolsTestSuite [junit] java.lang.ClassNotFoundException: TestCompressionToolsTestSuite [junit] at java.net.URLClassLoader$1.run(URLClassLoader.java:202) [junit] at java.security.AccessController.doPrivileged(Native Method) [junit] at java.net.URLClassLoader.findClass(URLClassLoader.java:190) [junit] at java.lang.ClassLoader.loadClass(ClassLoader.java:307) [junit] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) [junit] at java.lang.ClassLoader.loadClass(ClassLoader.java:248) [junit] at java.lang.Class.forName0(Native Method) [junit] at java.lang.Class.forName(Class.java:169) [junit] [junit] Test TestCompressionToolsTestSuite FAILED [junit] Running TestFiltersTestSuite [junit] Testsu
ite: TestFiltersTestSuite [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec [junit] [junit] Caused an ERROR [junit] TestFiltersTestSuite [junit] java.lang.ClassNotFoundException: TestFiltersTestSuite [junit] at java.net.URLClassLoader$1.run(URLClassLoader.java:202) [junit] at java.security.AccessController.doPrivileged(Native Method) [junit] at java.net.URLClassLoader.findClass(URLClassLoader.java:190) [junit] at java.lang.ClassLoader.loadClass(ClassLoader.java:307) [junit] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) [junit] at java.lang.ClassLoader.loadClass(ClassLoader.java:248) [junit] at java.lang.Class.forName0(Native Method) [junit] at java.lang.Class.forName(Class.java:169) [junit] [junit] Test TestFiltersTestSuite FAILED 
======================

all the best, Don
-- 
Don Brutzman  Naval Postgraduate School, Code USW/Br      brutzman at nps.edu
Watkins 270   MOVES Institute, Monterey CA 93943-5000 USA  +1.831.656.2149
X3D, virtual worlds, underwater robots     http://faculty.nps.edu/brutzman



More information about the Source mailing list