Projects tigase _server server-core Issues #863
tigase-server-distribution - Build # 1316 - Failure! (#863)
Closed
Tigase Support opened 7 years ago

tigase-server-distribution - Build # 1316 - Failure:

Check console output at http://build.tigase.org/jenkins/job/tigase-server-distribution/1316/ to view the results.

Changes:

[Andrzej Wójcik] #5800: moved @TigaseDeprecated to tigase-utils and added

[Andrzej Wójcik] #5800: removed deprecated classes scheduled for removal in 7.2.0

[Andrzej Wójcik] #5565: fixed issue with conversion of --amp-db-uri

[Andrzej Wójcik] #5820: updated schema files to add msg_type field to

[Artur Hefczyc] XML formatting in the pom.xml file.

[Wojciech Kapcia] #5005 fix debug configuration not being correctly applied

[Wojciech Kapcia] #5734 allow usage of ScheduledTask in components implementing

Started by: Started by upstream project "multijob" build number 1,490


[...truncated 104.05 KB...]
[JENKINS] Archiving /var/lib/jenkins/jobs/tigase-server-distribution/workspace/server/pom.xml to tigase/tigase-server/7.2.0-SNAPSHOT/tigase-issue #7.2.0-SNAPSHOT.pom
[JENKINS] Archiving /var/lib/jenkins/jobs/tigase-server-distribution/workspace/server/target/tigase-server.jar to tigase/tigase-server/7.2.0-SNAPSHOT/tigase-issue #7.2.0-SNAPSHOT.jar
[JENKINS] Archiving /var/lib/jenkins/jobs/tigase-server-distribution/workspace/server/target/tigase-server-tests.jar to tigase/tigase-server/7.2.0-SNAPSHOT/tigase-issue #7.2.0-SNAPSHOT-tests.jar
[ERROR] /var/lib/jenkins/jobs/tigase-server-distribution/workspace/server/src/main/java/tigase/db/beans/MDRepositoryBean.java:280: warning - @return tag has no arguments.
[ERROR] /var/lib/jenkins/jobs/tigase-server-distribution/workspace/server/src/main/java/tigase/server/xmppclient/XMPPIOProcessor.java:112: warning - @param argument "streamErrorName" is not a parameter name.
[ERROR] /var/lib/jenkins/jobs/tigase-server-distribution/workspace/server/src/main/java/tigase/server/websocket/WebSocketProtocolIfc.java:56: warning - @return tag has no arguments.
[ERROR] /var/lib/jenkins/jobs/tigase-server-distribution/workspace/server/src/main/java/tigase/eventbus/EventRoutingSelector.java:41: warning - @return tag has no arguments.
[ERROR] /var/lib/jenkins/jobs/tigase-server-distribution/workspace/server/src/main/java/tigase/eventbus/impl/ReflectEventRoutingSelectorFactory.java:61: warning - @return tag has no arguments.
[ERROR] /var/lib/jenkins/jobs/tigase-server-distribution/workspace/server/src/main/java/tigase/vhosts/VHostItem.java:1084: warning - @return tag has no arguments.
[ERROR] /var/lib/jenkins/jobs/tigase-server-distribution/workspace/server/src/main/java/tigase/vhosts/VHostItem.java:1247: warning - @return tag has no arguments.
[ERROR] /var/lib/jenkins/jobs/tigase-server-distribution/workspace/server/src/main/java/tigase/vhosts/VHostManagerIfc.java:72: warning - @return tag has no arguments.
[ERROR] /var/lib/jenkins/jobs/tigase-server-distribution/workspace/server/src/main/java/tigase/cluster/api/CommandListener.java:78: warning - @return tag has no arguments.
[ERROR] /var/lib/jenkins/jobs/tigase-server-distribution/workspace/server/src/main/java/tigase/cluster/api/ClusterConnectionHandler.java:41: warning - @return tag has no arguments.
[ERROR] /var/lib/jenkins/jobs/tigase-server-distribution/workspace/server/src/main/java/tigase/cluster/api/ClusterConnectionSelectorIfc.java:45: warning - @return tag has no arguments.
[ERROR] /var/lib/jenkins/jobs/tigase-server-distribution/workspace/server/src/main/java/tigase/cluster/strategy/DefaultClusteringStrategy.java:296: warning - @return tag has no arguments.
[ERROR] /var/lib/jenkins/jobs/tigase-server-distribution/workspace/server/src/main/java/tigase/stats/StatisticsList.java:149: warning - @return tag has no arguments.
[ERROR] /var/lib/jenkins/jobs/tigase-server-distribution/workspace/server/src/main/java/tigase/xmpp/XMPPResourceConnection.java:991: warning - Tag @link:illegal character: "42" in "JabberIqRegister#doRemoveAccount(Packet, Element, XMPPResourceConnection, * Queue)"
[JENKINS] Archiving /var/lib/jenkins/jobs/tigase-server-distribution/workspace/documentation/asciidoc/pom.xml to tigase/tigase-server-docs/7.2.0-SNAPSHOT/tigase-server-docs-7.2.0-SNAPSHOT.pom
[ERROR] /var/lib/jenkins/jobs/tigase-server-distribution/workspace/server/src/main/java/tigase/xmpp/impl/C2SDeliveryErrorProcessor.java:98: warning - @return tag has no arguments.
[ERROR] /var/lib/jenkins/jobs/tigase-server-distribution/workspace/server/src/main/java/tigase/xmpp/impl/C2SDeliveryErrorProcessor.java:189: warning - @return tag has no arguments.
[ERROR] /var/lib/jenkins/jobs/tigase-server-distribution/workspace/server/src/main/java/tigase/xmpp/impl/Message.java:306: warning - @return tag has no arguments.
[ERROR] /var/lib/jenkins/jobs/tigase-server-distribution/workspace/server/src/main/java/tigase/xmpp/impl/Message.java:328: warning - @return tag has no arguments.
[ERROR] /var/lib/jenkins/jobs/tigase-server-distribution/workspace/server/src/main/java/tigase/xmpp/impl/Message.java:344: warning - @return tag has no arguments.
[JENKINS] Archiving /var/lib/jenkins/jobs/tigase-server-distribution/workspace/documentation/asciidoc/devguide/pom.xml to tigase/tigase-server-docs-devel/7.2.0-SNAPSHOT/tigase-server-docs-devel-7.2.0-SNAPSHOT.pom
[ERROR] /var/lib/jenkins/jobs/tigase-server-distribution/workspace/server/src/main/java/tigase/xmpp/impl/OfflineMessages.java:479: warning - @return tag has no arguments.
[ERROR] /var/lib/jenkins/jobs/tigase-server-distribution/workspace/server/src/main/java/tigase/xmpp/impl/Privacy.java:212: warning - @return tag has no arguments.
[ERROR] /var/lib/jenkins/jobs/tigase-server-distribution/workspace/server/src/main/java/tigase/xmpp/impl/roster/RosterAbstract.java:791: warning - @return tag has no arguments.
[ERROR] /var/lib/jenkins/jobs/tigase-server-distribution/workspace/server/src/main/java/tigase/db/DataRepository.java:291: warning - @return tag has no arguments.
[JENKINS] Archiving /var/lib/jenkins/jobs/tigase-server-distribution/workspace/pom.xml to tigase/tigase-server-master/7.2.0-SNAPSHOT/tigase-server-master-7.2.0-SNAPSHOT.pom
[ERROR] /var/lib/jenkins/jobs/tigase-server-distribution/workspace/server/src/main/java/tigase/db/DataRepository.java:311: warning - @return tag has no arguments.
[ERROR] /var/lib/jenkins/jobs/tigase-server-distribution/workspace/server/src/main/java/tigase/db/DataRepository.java:311: warning - @param argument "pos" is not a parameter name.
[ERROR] /var/lib/jenkins/jobs/tigase-server-distribution/workspace/server/src/main/java/tigase/db/DataSourceHelper.java:54: warning - @return tag has no arguments.
[ERROR] /var/lib/jenkins/jobs/tigase-server-distribution/workspace/server/src/main/java/tigase/db/RepositoryFactory.java:470: warning - @return tag has no arguments.
[ERROR] /var/lib/jenkins/jobs/tigase-server-distribution/workspace/server/src/main/java/tigase/db/RepositoryFactory.java:520: warning - @return tag has no arguments.
[ERROR] /var/lib/jenkins/jobs/tigase-server-distribution/workspace/server/src/main/java/tigase/db/util/DBSchemaLoader.java:229: warning - Tag @link: reference not found: TigaseDBTask
[ERROR] /var/lib/jenkins/jobs/tigase-server-distribution/workspace/server/src/main/java/tigase/db/util/DBSchemaLoader.java:229: warning - Tag @link: reference not found: TigaseDBTask
[ERROR] /var/lib/jenkins/jobs/tigase-server-distribution/workspace/server/src/main/java/tigase/db/beans/AuthUserRepositoryConfigBean.java:72: warning - @return tag has no arguments.
[ERROR] /var/lib/jenkins/jobs/tigase-server-distribution/workspace/server/src/main/java/tigase/db/beans/AuthUserRepositoryConfigBean.java:118: warning - @return tag has no arguments.
[ERROR] /var/lib/jenkins/jobs/tigase-server-distribution/workspace/server/src/main/java/tigase/db/beans/MDPoolConfigBean.java:107: warning - @return tag has no arguments.
[ERROR] /var/lib/jenkins/jobs/tigase-server-distribution/workspace/server/src/main/java/tigase/db/beans/DataSourceBean.java:318: warning - @return tag has no arguments.
[ERROR] /var/lib/jenkins/jobs/tigase-server-distribution/workspace/server/src/main/java/tigase/db/beans/DataSourceBean.java:326: warning - @return tag has no arguments.
[ERROR] /var/lib/jenkins/jobs/tigase-server-distribution/workspace/server/src/main/java/tigase/db/beans/DataSourceBean.java:334: warning - @return tag has no arguments.
[ERROR] /var/lib/jenkins/jobs/tigase-server-distribution/workspace/server/src/main/java/tigase/db/beans/DataSourceBean.java:342: warning - @return tag has no arguments.
[ERROR] /var/lib/jenkins/jobs/tigase-server-distribution/workspace/server/target/distro-javadoc-sources/tigase-utils-3.6.0-20170719.123658-223-sources/tigase/util/ui/console/CommandlineParameter.java:127: warning - @return tag has no arguments.
[ERROR] /var/lib/jenkins/jobs/tigase-server-distribution/workspace/server/target/distro-javadoc-sources/tigase-utils-3.6.0-20170719.123658-223-sources/tigase/cert/CertificateUtil.java:415: warning - @return tag has no arguments.
[ERROR] /var/lib/jenkins/jobs/tigase-server-distribution/workspace/server/target/distro-javadoc-sources/tigase-utils-3.6.0-20170719.123658-223-sources/tigase/cert/RSAPrivateKeyDecoder.java:82: warning - @return tag has no arguments.
[ERROR] /var/lib/jenkins/jobs/tigase-server-distribution/workspace/server/target/distro-javadoc-sources/tigase-utils-3.6.0-20170719.123658-223-sources/tigase/cert/RSAPrivateKeyDecoder.java:113: warning - @return tag has no arguments.
[ERROR] /var/lib/jenkins/jobs/tigase-server-distribution/workspace/server/target/distro-javadoc-sources/tigase-utils-3.6.0-20170719.123658-223-sources/tigase/criteria/ElementCriteria.java:83: warning - @return tag has no arguments.
[ERROR] javadoc: error - com.sun.tools.doclets.internal.toolkit.util.DocletAbortException: com.sun.tools.javac.code.Symbol$CompletionFailure: class file for org.hamcrest.BaseMatcher not found
[ERROR] 
[ERROR] Command line was: /var/lib/jenkins/tools/hudson.model.JDK/oracle-jdk8-auto/jre/../bin/javadoc -J-Xmx512m @options @packages
[ERROR] 
[ERROR] Refer to the generated Javadoc files in '/var/lib/jenkins/jobs/tigase-server-distribution/workspace/distribution-docs/javadoc' dir.
[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/MojoExecutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :tigase-server
channel stopped
Started calculate disk usage of build
Finished Calculation of disk usage of build in 0 seconds
Started calculate disk usage of workspace
Finished Calculation of disk usage of workspace in 0 seconds
Notifying upstream projects of job completion
Email was triggered for: Failure - 1st
Email was triggered for: Failure - Any
Trigger Failure - Any was overridden by another trigger and will not send an email.
Trigger Failure - Still was overridden by another trigger and will not send an email.
Sending email for trigger: Failure - 1st

wojciech.kapcia@tigase.net commented 7 years ago

//cc: %andrzej.wojcik

This was caused by #5800 - in principle deprecation test case extended org.hamcrest.BaseMatcher and then tigase-utils test artifact was included as dependency in the server (but with compile scope) and then tigase-utils was included as dependency to skan. We also, in tigase-server, create javadoc for tigase-utils and tigase-xmltools as those are inlined (due to OSGi support... maybe we could think of a better packages separation because that was the main case AFAIR?) and this caused on build machine this error:

javadoc: error - com.sun.tools.doclets.internal.toolkit.util.DocletAbortException: com.sun.tools.javac.code.Symbol$CompletionFailure: class file for org.hamcrest.BaseMatcher not found
[ERROR] 

Curious thing is - why only on build machine - this I haven't figured out...

Andrzej Wójcik (Tigase) commented 7 years ago

Thank you for providing this information. I will be more careful with adding dependencies - will make sure that proper scope is added.

As I checked, my JUnit tests looking for deprecated methods, fields, and classes are still being executed, so I suppose we can close this issue?

issue 1 of 1
Type
Bug
Priority
Normal
Assignee
RedmineID
5828
Version
tigase-server-8.0.0
Spent time
18h 45m
Issue Votes (0)
Watchers (0)
Reference
tigase/_server/server-core#863
Please wait...
Page is in error, reload to recover