marc1s/marytts — Issue #9: marytts-runtime fails integration test
Author: psibre
Created: 2012-02-28 12:21:45+00:00
State: open

Maybe it's just me, but when all dependencies are installed, I think that this should work. However:

```
marytts-runtime steiner$ mvn integration-test
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building marytts-runtime 5.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ marytts-runtime ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 13 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ marytts-runtime ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ marytts-runtime ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 4 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ marytts-runtime ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-surefire-plugin:2.8:test (default-test) @ marytts-runtime ---
[INFO] Surefire report directory: /Users/steiner/projects/workspace/marytts/marytts-runtime/target/surefire-reports

-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running marytts.config.MainConfigTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.058 sec
Running marytts.config.MaryConfigTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.018 sec
Running marytts.datatypes.MaryDataTest
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.238 sec
Running marytts.signalproc.effects.AudioEffectsTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec
Running marytts.tests.junit4.EnvironmentTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.021 sec
Running marytts.util.dom.MaryDomUtilsTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.123 sec
Running marytts.util.FeatureUtilsTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.017 sec
Running marytts.util.MaryCacheTest
INFO Logger: open start
0 [main] INFO HSQLDB35C386D488.org.hsqldb.persist.Logger - open start
INFO Logger: open end
21 [main] INFO HSQLDB35C386D488.org.hsqldb.persist.Logger - open end
INFO Logger: DataFileCache.close(true) : start
78 [main] INFO HSQLDB35C386D488.org.hsqldb.persist.Logger - DataFileCache.close(true) : start
INFO Logger: DataFileCache.close() : save data
80 [main] INFO HSQLDB35C386D488.org.hsqldb.persist.Logger - DataFileCache.close() : save data
INFO Logger: DataFileCache.close() : flags
80 [main] INFO HSQLDB35C386D488.org.hsqldb.persist.Logger - DataFileCache.close() : flags
INFO Logger: DataFileCache.close() : seek end
80 [main] INFO HSQLDB35C386D488.org.hsqldb.persist.Logger - DataFileCache.close() : seek end
INFO Logger: DataFileCache.close() : close
82 [main] INFO HSQLDB35C386D488.org.hsqldb.persist.Logger - DataFileCache.close() : close
INFO Logger: Database closed
84 [main] INFO HSQLDB35C386D488.org.hsqldb.persist.Logger - Database closed
INFO Logger: open start
251 [main] INFO HSQLDB35C386D488.org.hsqldb.persist.Logger - open start
INFO Logger: open end
251 [main] INFO HSQLDB35C386D488.org.hsqldb.persist.Logger - open end
INFO Logger: DataFileCache.close(true) : start
278 [main] INFO HSQLDB35C386D488.org.hsqldb.persist.Logger - DataFileCache.close(true) : start
INFO Logger: DataFileCache.close() : save data
278 [main] INFO HSQLDB35C386D488.org.hsqldb.persist.Logger - DataFileCache.close() : save data
INFO Logger: DataFileCache.close() : close
278 [main] INFO HSQLDB35C386D488.org.hsqldb.persist.Logger - DataFileCache.close() : close
INFO Logger: Database closed
281 [main] INFO HSQLDB35C386D488.org.hsqldb.persist.Logger - Database closed
INFO Logger: open start
411 [main] INFO HSQLDB35C386D488.org.hsqldb.persist.Logger - open start
INFO Logger: open end
413 [main] INFO HSQLDB35C386D488.org.hsqldb.persist.Logger - open end
INFO Logger: DataFileCache.close(true) : start
421 [main] INFO HSQLDB35C386D488.org.hsqldb.persist.Logger - DataFileCache.close(true) : start
INFO Logger: DataFileCache.close() : save data
421 [main] INFO HSQLDB35C386D488.org.hsqldb.persist.Logger - DataFileCache.close() : save data
INFO Logger: DataFileCache.close() : close
421 [main] INFO HSQLDB35C386D488.org.hsqldb.persist.Logger - DataFileCache.close() : close
INFO Logger: Database closed
423 [main] INFO HSQLDB35C386D488.org.hsqldb.persist.Logger - Database closed
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.822 sec

Results :

Tests run: 42, Failures: 0, Errors: 0, Skipped: 0

[INFO]
[INFO] --- maven-jar-plugin:2.3.1:jar (default-jar) @ marytts-runtime ---
[INFO]
[INFO] --- maven-jar-plugin:2.3.1:test-jar (default) @ marytts-runtime ---
[INFO]
[INFO] --- maven-failsafe-plugin:2.8:integration-test (integration-test) @ marytts-runtime ---
[INFO] Failsafe report directory: /Users/steiner/projects/workspace/marytts/marytts-runtime/target/failsafe-reports

-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running marytts.MaryInterfaceIT
Tests run: 10, Failures: 1, Errors: 1, Skipped: 0, Time elapsed: 0.611 sec <<< FAILURE!
Running marytts.server.MaryPropertiesIT
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec

Results :

Failed tests:
canProcessToTokens(marytts.MaryInterfaceIT)

Tests in error:
canGetMaryInterface(marytts.MaryInterfaceIT): Cannot start MARY server

Tests run: 13, Failures: 1, Errors: 1, Skipped: 0

Exception in thread "Thread-3" java.lang.IllegalStateException: MARY system is not running
at marytts.server.Mary.shutdown(Mary.java:384)
at marytts.server.Mary$2.run(Mary.java:290)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.408s
[INFO] Finished at: Tue Feb 28 13:19:22 CET 2012
[INFO] Final Memory: 5M/81M
[INFO] ------------------------------------------------------------------------
```