jspwiki-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Jenkins Server <jenk...@builds.apache.org>
Subject Build failed in Jenkins: JSPWiki-sonarqube #7
Date Sat, 18 Mar 2017 16:56:27 GMT
See <https://builds.apache.org/job/JSPWiki-sonarqube/7/display/redirect?page=changes>

Changes:

[brushed] 2.10.3-git-37 / JSPWIKI-1055

------------------------------------------
[...truncated 190.88 KB...]
Running org.apache.wiki.auth.authorize.JDBCGroupDatabaseTest
[Server@41bbdb8d]: [Thread[main,5,main]]: setSilent(true)
[Server@41bbdb8d]: [Thread[HSQLDB Server @41bbdb8d,5,main]]: run()/openServerSocket(): 
java.net.BindException: Address already in use (Bind failed)
	at java.net.PlainSocketImpl.socketBind(Native Method)
	at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:387)
	at java.net.ServerSocket.bind(ServerSocket.java:375)
	at java.net.ServerSocket.<init>(ServerSocket.java:237)
	at java.net.ServerSocket.<init>(ServerSocket.java:128)
	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@5be2a48f]: [Thread[main,5,main]]: setSilent(true)
[Server@5be2a48f]: [Thread[HSQLDB Server @5be2a48f,5,main]]: run()/openServerSocket(): 
java.net.BindException: Address already in use (Bind failed)
	at java.net.PlainSocketImpl.socketBind(Native Method)
	at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:387)
	at java.net.ServerSocket.bind(ServerSocket.java:375)
	at java.net.ServerSocket.<init>(ServerSocket.java:237)
	at java.net.ServerSocket.<init>(ServerSocket.java:128)
	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@55eb1d69]: [Thread[main,5,main]]: setSilent(true)
[Server@55eb1d69]: [Thread[HSQLDB Server @55eb1d69,5,main]]: run()/openServerSocket(): 
java.net.BindException: Address already in use (Bind failed)
	at java.net.PlainSocketImpl.socketBind(Native Method)
	at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:387)
	at java.net.ServerSocket.bind(ServerSocket.java:375)
	at java.net.ServerSocket.<init>(ServerSocket.java:237)
	at java.net.ServerSocket.<init>(ServerSocket.java:128)
	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@6f3679a7]: [Thread[main,5,main]]: setSilent(true)
[Server@6f3679a7]: [Thread[HSQLDB Server @6f3679a7,5,main]]: run()/openServerSocket(): 
java.net.BindException: Address already in use (Bind failed)
	at java.net.PlainSocketImpl.socketBind(Native Method)
	at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:387)
	at java.net.ServerSocket.bind(ServerSocket.java:375)
	at java.net.ServerSocket.<init>(ServerSocket.java:237)
	at java.net.ServerSocket.<init>(ServerSocket.java:128)
	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: 4, Failures: 4, Errors: 0, Skipped: 0, Time elapsed: 1.294 sec <<< FAILURE!
- in org.apache.wiki.auth.authorize.JDBCGroupDatabaseTest
testSave(org.apache.wiki.auth.authorize.JDBCGroupDatabaseTest)  Time elapsed: 0.33 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.authorize.JDBCGroupDatabaseTest.setUp(JDBCGroupDatabaseTest.java:87)

testDelete(org.apache.wiki.auth.authorize.JDBCGroupDatabaseTest)  Time elapsed: 0.316 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.authorize.JDBCGroupDatabaseTest.setUp(JDBCGroupDatabaseTest.java:87)

testGroups(org.apache.wiki.auth.authorize.JDBCGroupDatabaseTest)  Time elapsed: 0.316 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.authorize.JDBCGroupDatabaseTest.setUp(JDBCGroupDatabaseTest.java:87)

testResave(org.apache.wiki.auth.authorize.JDBCGroupDatabaseTest)  Time elapsed: 0.324 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.authorize.JDBCGroupDatabaseTest.setUp(JDBCGroupDatabaseTest.java:87)

Running org.apache.wiki.auth.authorize.WebContainerAuthorizerTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.169 sec - in org.apache.wiki.auth.authorize.WebContainerAuthorizerTest
Running org.apache.wiki.auth.AuthorizationManagerTest
Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.532 sec - in org.apache.wiki.auth.AuthorizationManagerTest
Running org.apache.wiki.auth.AuthenticationManagerTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.231 sec - in org.apache.wiki.auth.AuthenticationManagerTest
Running org.apache.wiki.providers.FileSystemProviderTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.402 sec - in org.apache.wiki.providers.FileSystemProviderTest
Running org.apache.wiki.providers.CachingProviderTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.228 sec - in org.apache.wiki.providers.CachingProviderTest
Running org.apache.wiki.providers.VersioningFileProviderTest
Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.328 sec - in org.apache.wiki.providers.VersioningFileProviderTest
Running org.apache.wiki.providers.BasicAttachmentProviderTest
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.29 sec - in org.apache.wiki.providers.BasicAttachmentProviderTest
Running org.apache.wiki.WikiEngineTest
Tests run: 40, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.03 sec - in org.apache.wiki.WikiEngineTest
Running org.apache.wiki.ReleaseTest
Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec - in org.apache.wiki.ReleaseTest
Running org.apache.wiki.content.PageRenamerTest
Tests run: 21, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.772 sec - in org.apache.wiki.content.PageRenamerTest
Running org.apache.wiki.search.SearchManagerTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 28.614 sec - in org.apache.wiki.search.SearchManagerTest
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.034 sec - in org.apache.wiki.util.MailUtilTest
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.PropertyReaderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec - in org.apache.wiki.util.PropertyReaderTest
Running org.apache.wiki.util.SerializerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec - in org.apache.wiki.util.SerializerTest
Running org.apache.wiki.util.XmlUtilTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec - in org.apache.wiki.util.XmlUtilTest
Running org.apache.wiki.util.CryptoUtilTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec - in org.apache.wiki.util.CryptoUtilTest
Running org.apache.wiki.util.comparators.HumanComparatorTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 sec - in org.apache.wiki.util.comparators.HumanComparatorTest
Running org.apache.wiki.util.ByteUtilsTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec - in org.apache.wiki.util.ByteUtilsTest
Running org.apache.wiki.util.TextUtilTest
Tests run: 42, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.043 sec - in org.apache.wiki.util.TextUtilTest
Running org.apache.wiki.util.ClassUtilTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.088 sec - in org.apache.wiki.util.ClassUtilTest
Running org.apache.wiki.util.FileUtilTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.048 sec - in org.apache.wiki.util.FileUtilTest
Running org.apache.wiki.util.CommentedPropertiesTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec - in org.apache.wiki.util.CommentedPropertiesTest
Running org.apache.wiki.util.TimedCounterListTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.115 sec - in org.apache.wiki.util.TimedCounterListTest
Running org.apache.wiki.ReferenceManagerTest
Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.768 sec - in org.apache.wiki.ReferenceManagerTest
Running org.apache.wiki.plugin.TableOfContentsTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.501 sec - in org.apache.wiki.plugin.TableOfContentsTest
Running org.apache.wiki.plugin.DefaultPluginManagerTest
Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.463 sec - in org.apache.wiki.plugin.DefaultPluginManagerTest
Running org.apache.wiki.plugin.GroupsTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.042 sec - in org.apache.wiki.plugin.GroupsTest
Running org.apache.wiki.plugin.RecentChangesPluginTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.038 sec - in org.apache.wiki.plugin.RecentChangesPluginTest
Running org.apache.wiki.plugin.InsertPageTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.198 sec - in org.apache.wiki.plugin.InsertPageTest
Running org.apache.wiki.plugin.ReferringPagesPluginTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.312 sec - in org.apache.wiki.plugin.ReferringPagesPluginTest
Running org.apache.wiki.plugin.ReferringUndefinedPagesPluginTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.148 sec - in org.apache.wiki.plugin.ReferringUndefinedPagesPluginTest
Running org.apache.wiki.plugin.PageViewPluginTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.26 sec - in org.apache.wiki.plugin.PageViewPluginTest
Running org.apache.wiki.plugin.CounterPluginTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.088 sec - in org.apache.wiki.plugin.CounterPluginTest
Running org.apache.wiki.plugin.IfPluginTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.075 sec - in org.apache.wiki.plugin.IfPluginTest
Running org.apache.wiki.plugin.UndefinedPagesPluginTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.046 sec - in org.apache.wiki.plugin.UndefinedPagesPluginTest
Running org.apache.wiki.url.ShortViewURLConstructorTest
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.112 sec - in org.apache.wiki.url.ShortViewURLConstructorTest
Running org.apache.wiki.url.ShortURLConstructorTest
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.101 sec - in org.apache.wiki.url.ShortURLConstructorTest
Running org.apache.wiki.url.DefaultURLConstructorTest
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.114 sec - in org.apache.wiki.url.DefaultURLConstructorTest
Running org.apache.wiki.rss.RSSGeneratorTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.117 sec - in org.apache.wiki.rss.RSSGeneratorTest
Running org.apache.wiki.parser.CreoleToJSPWikiTranslatorTest
Tests run: 84, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.195 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.005 sec - in org.apache.wiki.parser.MarkupParserTest
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.288 (347.22222222222223 renderings/second)
Tests run: 207, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.648 sec - in org.apache.wiki.parser.JSPWikiMarkupParserTest
Running org.apache.wiki.PageSorterTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec - in org.apache.wiki.PageSorterTest
Running org.apache.wiki.diff.ContextualDiffProviderTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.343 sec - in org.apache.wiki.diff.ContextualDiffProviderTest
Running org.apache.wiki.render.CreoleRendererTest
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.119 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.039 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.681 sec - in org.apache.wiki.render.RenderingManagerTest

Results :

Failed tests: 
  JDBCGroupDatabaseTest.setUp:87 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
  JDBCGroupDatabaseTest.setUp:87 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
  JDBCGroupDatabaseTest.setUp:87 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
  JDBCGroupDatabaseTest.setUp:87 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
  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: 13, Errors: 0, Skipped: 0

[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Skipping Apache JSPWiki
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache JSPWiki ..................................... SUCCESS [  5.181 s]
[INFO] Apache JSPWiki initial wiki pages builder .......... SUCCESS [  0.065 s]
[INFO] Apache JSPWiki initial wiki pages (de) ............. SUCCESS [  1.721 s]
[INFO] Apache JSPWiki initial wiki pages (en) ............. SUCCESS [  0.208 s]
[INFO] Apache JSPWiki initial wiki pages (es) ............. SUCCESS [  0.148 s]
[INFO] Apache JSPWiki initial wiki pages (fi) ............. SUCCESS [  0.108 s]
[INFO] Apache JSPWiki initial wiki pages (fr) ............. SUCCESS [  0.142 s]
[INFO] Apache JSPWiki initial wiki pages (it) ............. SUCCESS [  0.223 s]
[INFO] Apache JSPWiki initial wiki pages (nl) ............. SUCCESS [  0.125 s]
[INFO] Apache JSPWiki initial wiki pages (pt_BR) .......... SUCCESS [  0.111 s]
[INFO] Apache JSPWiki initial wiki pages (ru) ............. SUCCESS [  0.137 s]
[INFO] Apache JSPWiki initial wiki pages (zh_CN) .......... SUCCESS [  0.156 s]
[INFO] Apache JSPWiki Main War ............................ FAILURE [01:52 min]
[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: 02:03 min
[INFO] Finished at: 2017-03-18T16:56:26+00:00
[INFO] Final Memory: 61M/1232M
[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-sonarqube/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

Mime
View raw message