See <https://builds.apache.org/job/JSPWiki/422/changes>

Changes:

[metskem] check cause (not exception) for the failing mailutiltest

------------------------------------------
[...truncated 1122 lines...]
        at java.net.ServerSocket.<init>(ServerSocket.java:194)
        at java.net.ServerSocket.<init>(ServerSocket.java:106)
        at org.hsqldb.server.HsqlSocketFactory.createServerSocket(Unknown 
Source)
        at org.hsqldb.server.Server.openServerSocket(Unknown Source)
        at org.hsqldb.server.Server.run(Unknown Source)
        at org.hsqldb.server.Server.access$000(Unknown Source)
        at org.hsqldb.server.Server$ServerThread.run(Unknown Source)
[Server@44fd2549]: [Thread[main,5,main]]: setSilent(true)
[Server@44fd2549]: [Thread[HSQLDB Server @44fd2549,5,main]]: 
run()/openServerSocket(): 
java.net.BindException: Address already in use
        at java.net.PlainSocketImpl.socketBind(Native Method)
        at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:383)
        at java.net.ServerSocket.bind(ServerSocket.java:328)
        at java.net.ServerSocket.<init>(ServerSocket.java:194)
        at java.net.ServerSocket.<init>(ServerSocket.java:106)
        at org.hsqldb.server.HsqlSocketFactory.createServerSocket(Unknown 
Source)
        at org.hsqldb.server.Server.openServerSocket(Unknown Source)
        at org.hsqldb.server.Server.run(Unknown Source)
        at org.hsqldb.server.Server.access$000(Unknown Source)
        at org.hsqldb.server.Server$ServerThread.run(Unknown Source)
[Server@21415036]: [Thread[main,5,main]]: setSilent(true)
[Server@21415036]: [Thread[HSQLDB Server @21415036,5,main]]: 
run()/openServerSocket(): 
java.net.BindException: Address already in use
        at java.net.PlainSocketImpl.socketBind(Native Method)
        at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:383)
        at java.net.ServerSocket.bind(ServerSocket.java:328)
        at java.net.ServerSocket.<init>(ServerSocket.java:194)
        at java.net.ServerSocket.<init>(ServerSocket.java:106)
        at org.hsqldb.server.HsqlSocketFactory.createServerSocket(Unknown 
Source)
        at org.hsqldb.server.Server.openServerSocket(Unknown Source)
        at org.hsqldb.server.Server.run(Unknown Source)
        at org.hsqldb.server.Server.access$000(Unknown Source)
        at org.hsqldb.server.Server$ServerThread.run(Unknown Source)
[Server@faaf84c]: [Thread[main,5,main]]: setSilent(true)
[Server@faaf84c]: [Thread[HSQLDB Server @faaf84c,5,main]]: 
run()/openServerSocket(): 
java.net.BindException: Address already in use
        at java.net.PlainSocketImpl.socketBind(Native Method)
        at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:383)
        at java.net.ServerSocket.bind(ServerSocket.java:328)
        at java.net.ServerSocket.<init>(ServerSocket.java:194)
        at java.net.ServerSocket.<init>(ServerSocket.java:106)
        at org.hsqldb.server.HsqlSocketFactory.createServerSocket(Unknown 
Source)
        at org.hsqldb.server.Server.openServerSocket(Unknown Source)
        at org.hsqldb.server.Server.run(Unknown Source)
        at org.hsqldb.server.Server.access$000(Unknown Source)
        at org.hsqldb.server.Server$ServerThread.run(Unknown Source)
[Server@55a2e547]: [Thread[main,5,main]]: setSilent(true)
[Server@55a2e547]: [Thread[HSQLDB Server @55a2e547,5,main]]: 
run()/openServerSocket(): 
java.net.BindException: Address already in use
        at java.net.PlainSocketImpl.socketBind(Native Method)
        at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:383)
        at java.net.ServerSocket.bind(ServerSocket.java:328)
        at java.net.ServerSocket.<init>(ServerSocket.java:194)
        at java.net.ServerSocket.<init>(ServerSocket.java:106)
        at org.hsqldb.server.HsqlSocketFactory.createServerSocket(Unknown 
Source)
        at org.hsqldb.server.Server.openServerSocket(Unknown Source)
        at org.hsqldb.server.Server.run(Unknown Source)
        at org.hsqldb.server.Server.access$000(Unknown Source)
        at org.hsqldb.server.Server$ServerThread.run(Unknown Source)
Tests run: 11, Failures: 6, Errors: 0, Skipped: 0, Time elapsed: 11.422 sec <<< 
FAILURE! - in org.apache.wiki.auth.user.JDBCUserDatabaseTest
testDeleteByLoginName(org.apache.wiki.auth.user.JDBCUserDatabaseTest)  Time 
elapsed: 0.315 sec  <<< FAILURE!
junit.framework.AssertionFailedError: Looks like your database could not be 
connected to - please make sure that you have started your database, exception: 
java.lang.NullPointerException java.lang.NullPointerException
        at junit.framework.Assert.fail(Assert.java:57)
        at junit.framework.TestCase.fail(TestCase.java:227)
        at 
org.apache.wiki.auth.user.JDBCUserDatabaseTest.setUp(JDBCUserDatabaseTest.java:128)

testGetWikiName(org.apache.wiki.auth.user.JDBCUserDatabaseTest)  Time elapsed: 
0.309 sec  <<< FAILURE!
junit.framework.AssertionFailedError: Looks like your database could not be 
connected to - please make sure that you have started your database, exception: 
java.lang.NullPointerException java.lang.NullPointerException
        at junit.framework.Assert.fail(Assert.java:57)
        at junit.framework.TestCase.fail(TestCase.java:227)
        at 
org.apache.wiki.auth.user.JDBCUserDatabaseTest.setUp(JDBCUserDatabaseTest.java:128)

testFindByEmail(org.apache.wiki.auth.user.JDBCUserDatabaseTest)  Time elapsed: 
0.309 sec  <<< FAILURE!
junit.framework.AssertionFailedError: Looks like your database could not be 
connected to - please make sure that you have started your database, exception: 
java.lang.NullPointerException java.lang.NullPointerException
        at junit.framework.Assert.fail(Assert.java:57)
        at junit.framework.TestCase.fail(TestCase.java:227)
        at 
org.apache.wiki.auth.user.JDBCUserDatabaseTest.setUp(JDBCUserDatabaseTest.java:128)

testFindByUid(org.apache.wiki.auth.user.JDBCUserDatabaseTest)  Time elapsed: 
0.308 sec  <<< FAILURE!
junit.framework.AssertionFailedError: Looks like your database could not be 
connected to - please make sure that you have started your database, exception: 
java.lang.NullPointerException java.lang.NullPointerException
        at junit.framework.Assert.fail(Assert.java:57)
        at junit.framework.TestCase.fail(TestCase.java:227)
        at 
org.apache.wiki.auth.user.JDBCUserDatabaseTest.setUp(JDBCUserDatabaseTest.java:128)

testFindByFullName(org.apache.wiki.auth.user.JDBCUserDatabaseTest)  Time 
elapsed: 0.309 sec  <<< FAILURE!
junit.framework.AssertionFailedError: Looks like your database could not be 
connected to - please make sure that you have started your database, exception: 
java.lang.NullPointerException java.lang.NullPointerException
        at junit.framework.Assert.fail(Assert.java:57)
        at junit.framework.TestCase.fail(TestCase.java:227)
        at 
org.apache.wiki.auth.user.JDBCUserDatabaseTest.setUp(JDBCUserDatabaseTest.java:128)

testRename(org.apache.wiki.auth.user.JDBCUserDatabaseTest)  Time elapsed: 0.309 
sec  <<< FAILURE!
junit.framework.AssertionFailedError: Looks like your database could not be 
connected to - please make sure that you have started your database, exception: 
java.lang.NullPointerException java.lang.NullPointerException
        at junit.framework.Assert.fail(Assert.java:57)
        at junit.framework.TestCase.fail(TestCase.java:227)
        at 
org.apache.wiki.auth.user.JDBCUserDatabaseTest.setUp(JDBCUserDatabaseTest.java:128)

Running org.apache.wiki.auth.user.UserProfileTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.083 sec - in 
org.apache.wiki.auth.user.UserProfileTest
Running org.apache.wiki.auth.user.XMLUserDatabaseTest
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.477 sec - in 
org.apache.wiki.auth.user.XMLUserDatabaseTest
Running org.apache.wiki.auth.acl.AclImplTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.19 sec - in 
org.apache.wiki.auth.acl.AclImplTest
Running org.apache.wiki.auth.acl.DefaultAclManagerTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.098 sec - in 
org.apache.wiki.auth.acl.DefaultAclManagerTest
Running org.apache.wiki.auth.acl.AclEntryImplTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec - in 
org.apache.wiki.auth.acl.AclEntryImplTest
Running org.apache.wiki.PropertyReaderTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in 
org.apache.wiki.PropertyReaderTest
Running org.apache.wiki.xmlrpc.RPCHandlerTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.533 sec - in 
org.apache.wiki.xmlrpc.RPCHandlerTest
Running org.apache.wiki.WikiEngineTest
Tests run: 40, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.661 sec - in 
org.apache.wiki.WikiEngineTest
Running org.apache.wiki.content.PageRenamerTest
Tests run: 21, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.646 sec - in 
org.apache.wiki.content.PageRenamerTest
Running org.apache.wiki.parser.JSPWikiMarkupParserTest
Trying to crash parser with a line which is 198002 chars in size
100 page renderings: 0:00:00.259 (386.1003861003861 renderings/second)
Tests run: 207, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 14.435 sec - 
in org.apache.wiki.parser.JSPWikiMarkupParserTest
Running org.apache.wiki.parser.CreoleToJSPWikiTranslatorTest
Tests run: 84, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.141 sec - in 
org.apache.wiki.parser.CreoleToJSPWikiTranslatorTest
Running org.apache.wiki.parser.MarkupParserTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec - in 
org.apache.wiki.parser.MarkupParserTest
Running org.apache.wiki.providers.VersioningFileProviderTest
Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.616 sec - in 
org.apache.wiki.providers.VersioningFileProviderTest
Running org.apache.wiki.providers.CachingProviderTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.105 sec - in 
org.apache.wiki.providers.CachingProviderTest
Running org.apache.wiki.providers.BasicAttachmentProviderTest
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.073 sec - 
in org.apache.wiki.providers.BasicAttachmentProviderTest
Running org.apache.wiki.providers.FileSystemProviderTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.198 sec - in 
org.apache.wiki.providers.FileSystemProviderTest
Running org.apache.wiki.ui.WikiCommandTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.026 sec - in 
org.apache.wiki.ui.WikiCommandTest
Running org.apache.wiki.ui.InputValidatorTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.052 sec - in 
org.apache.wiki.ui.InputValidatorTest
Running org.apache.wiki.ui.admin.beans.PluginBeanTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec - in 
org.apache.wiki.ui.admin.beans.PluginBeanTest
Running org.apache.wiki.ui.CommandResolverTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.132 sec - in 
org.apache.wiki.ui.CommandResolverTest
Running org.apache.wiki.ui.GroupCommandTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.028 sec - in 
org.apache.wiki.ui.GroupCommandTest
Running org.apache.wiki.ui.PageCommandTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.042 sec - in 
org.apache.wiki.ui.PageCommandTest
Running org.apache.wiki.ui.RedirectCommandTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in 
org.apache.wiki.ui.RedirectCommandTest
Running org.apache.wiki.filters.DefaultFilterManagerTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.026 sec - in 
org.apache.wiki.filters.DefaultFilterManagerTest
Running org.apache.wiki.rss.RSSGeneratorTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.206 sec - in 
org.apache.wiki.rss.RSSGeneratorTest
Running org.apache.wiki.PageManagerTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.026 sec - in 
org.apache.wiki.PageManagerTest
Running org.apache.wiki.render.CreoleRendererTest
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.231 sec - in 
org.apache.wiki.render.CreoleRendererTest
Running org.apache.wiki.render.WysiwygEditingRendererTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.049 sec - in 
org.apache.wiki.render.WysiwygEditingRendererTest
Running org.apache.wiki.render.RenderingManagerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.946 sec - in 
org.apache.wiki.render.RenderingManagerTest
Running org.apache.wiki.i18n.InternationalizationManagerTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec - in 
org.apache.wiki.i18n.InternationalizationManagerTest
Running org.apache.wiki.search.SearchManagerTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 32.864 sec - in 
org.apache.wiki.search.SearchManagerTest
Running org.apache.wiki.attachment.AttachmentManagerTest
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.869 sec - in 
org.apache.wiki.attachment.AttachmentManagerTest
Running org.apache.wiki.util.FileUtilTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec - in 
org.apache.wiki.util.FileUtilTest
Running org.apache.wiki.util.CryptoUtilTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec - in 
org.apache.wiki.util.CryptoUtilTest
Running org.apache.wiki.util.PriorityListTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec - in 
org.apache.wiki.util.PriorityListTest
Running org.apache.wiki.util.XmlUtilTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.014 sec - in 
org.apache.wiki.util.XmlUtilTest
Running org.apache.wiki.util.ClassUtilTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.111 sec - in 
org.apache.wiki.util.ClassUtilTest
Running org.apache.wiki.util.TimedCounterListTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.111 sec - in 
org.apache.wiki.util.TimedCounterListTest
Running org.apache.wiki.util.PropertyReaderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec - in 
org.apache.wiki.util.PropertyReaderTest
Running org.apache.wiki.util.MailUtilTest
Reason: 454 4.7.0 TLS not available due to local problem

I could not test whether mail sending works, we let the test pass anyway.
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.121 sec - in 
org.apache.wiki.util.MailUtilTest
Running org.apache.wiki.util.comparators.HumanComparatorTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec - in 
org.apache.wiki.util.comparators.HumanComparatorTest
Running org.apache.wiki.util.CommentedPropertiesTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec - in 
org.apache.wiki.util.CommentedPropertiesTest
Running org.apache.wiki.util.ByteUtilsTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in 
org.apache.wiki.util.ByteUtilsTest
Running org.apache.wiki.util.SerializerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in 
org.apache.wiki.util.SerializerTest
Running org.apache.wiki.util.TextUtilTest
Tests run: 42, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.07 sec - in 
org.apache.wiki.util.TextUtilTest

Results :

Failed tests: 
  JDBCUserDatabaseTest.setUp:128 Looks like your database could not be 
connected to - please make sure that you have started your database, exception: 
java.lang.NullPointerException java.lang.NullPointerException
  JDBCUserDatabaseTest.setUp:128 Looks like your database could not be 
connected to - please make sure that you have started your database, exception: 
java.lang.NullPointerException java.lang.NullPointerException
  JDBCUserDatabaseTest.setUp:128 Looks like your database could not be 
connected to - please make sure that you have started your database, exception: 
java.lang.NullPointerException java.lang.NullPointerException
  JDBCUserDatabaseTest.setUp:128 Looks like your database could not be 
connected to - please make sure that you have started your database, exception: 
java.lang.NullPointerException java.lang.NullPointerException
  JDBCUserDatabaseTest.setUp:128 Looks like your database could not be 
connected to - please make sure that you have started your database, exception: 
java.lang.NullPointerException java.lang.NullPointerException
  JDBCUserDatabaseTest.setUp:128 Looks like your database could not be 
connected to - please make sure that you have started your database, exception: 
java.lang.NullPointerException java.lang.NullPointerException

Tests run: 955, Failures: 6, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache JSPWiki .................................... SUCCESS [3.314s]
[INFO] Apache JSPWiki initial wiki pages builder ......... SUCCESS [0.057s]
[INFO] Apache JSPWiki initial wiki pages (de) ............ SUCCESS [2.072s]
[INFO] Apache JSPWiki initial wiki pages (en) ............ SUCCESS [0.389s]
[INFO] Apache JSPWiki initial wiki pages (es) ............ SUCCESS [0.385s]
[INFO] Apache JSPWiki initial wiki pages (fi) ............ SUCCESS [0.351s]
[INFO] Apache JSPWiki initial wiki pages (fr) ............ SUCCESS [0.325s]
[INFO] Apache JSPWiki initial wiki pages (it) ............ SUCCESS [0.475s]
[INFO] Apache JSPWiki initial wiki pages (nl) ............ SUCCESS [0.582s]
[INFO] Apache JSPWiki initial wiki pages (pt_BR) ......... SUCCESS [0.268s]
[INFO] Apache JSPWiki initial wiki pages (ru) ............ SUCCESS [0.330s]
[INFO] Apache JSPWiki initial wiki pages (zh_CN) ......... SUCCESS [0.576s]
[INFO] Apache JSPWiki Main War ........................... FAILURE [2:15.373s]
[INFO] Apache JSPWiki portable ........................... SKIPPED
[INFO] jspwiki-it-builder ................................ SKIPPED
[INFO] jspwiki-selenium-tests ............................ SKIPPED
[INFO] jspwiki-it-test-custom ............................ SKIPPED
[INFO] jspwiki-it-test-custom-absolute-urls .............. SKIPPED
[INFO] jspwiki-it-test-custom-jdbc ....................... SKIPPED
[INFO] jspwiki-it-test-cma ............................... SKIPPED
[INFO] jspwiki-it-test-cma-jdbc .......................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2:25.842s
[INFO] Finished at: Sun Sep 18 17:52:07 UTC 2016
[INFO] Final Memory: 43M/2934M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test (default-test) on 
project jspwiki-war: There are test failures.
[ERROR] 
[ERROR] Please refer to 
<https://builds.apache.org/job/JSPWiki/ws/jspwiki-war/target/surefire-reports> 
for the individual test results.
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :jspwiki-war
Build step 'Invoke top-level Maven targets' marked build as failure

Reply via email to