Projects tigase _server tigase-mongodb Issues #26
tigase-mongodb - Build # 2340 - Failure! (#26)
Closed
Tigase Support opened 7 years ago

tigase-mongodb - Build # 2340 - Failure:

Check console output at http://build.tigase.org/jenkins/job/tigase-mongodb/2340/ to view the results.

Changes:

No changes

Started by: Started by upstream project "tigase-pubsub" build number 2,004


[...truncated 15.24 KB...]
T E S T S
-------------------------------------------------------
Running tigase.mongodb.pubsub.PubSubDAOMongoTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.003 sec - in tigase.mongodb.pubsub.PubSubDAOMongoTest
Running tigase.mongodb.pubsub.MongoMsgBroadcastRepositoryTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.009 sec - in tigase.mongodb.pubsub.MongoMsgBroadcastRepositoryTest
Running tigase.mongodb.MongoRepositoryTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0 sec - in tigase.mongodb.MongoRepositoryTest
Running tigase.mongodb.MongoMsgRepositoryTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0 sec - in tigase.mongodb.MongoMsgRepositoryTest
Running tigase.mongodb.muc.MongoHistoryProviderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.04 sec - in tigase.mongodb.muc.MongoHistoryProviderTest
Running tigase.mongodb.muc.MongoMucDAOTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.012 sec - in tigase.mongodb.muc.MongoMucDAOTest
Running tigase.mongodb.archive.MongoMessageArchiveRepositoryTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.075 sec - in tigase.mongodb.archive.MongoMessageArchiveRepositoryTest

Results :

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

[JENKINS] Recording test results
[INFO] 
[INFO] --- maven-bundle-plugin:2.4.0:bundle (default-bundle) @ tigase-mongodb ---
[INFO] 
[INFO] --- maven-javadoc-plugin:2.9.1:jar (dist) @ tigase-mongodb ---
[WARNING] Source files encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] 
1 error
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
Join notifier requires a CauseAction
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 28.413 s
[INFO] Finished at: 2017-07-01T03:00:02+02:00
[INFO] Final Memory: 40M/458M
[INFO] ------------------------------------------------------------------------
Waiting for Jenkins to finish collecting data
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.9.1:jar (dist) on project tigase-mongodb: MavenReportException: Error while creating archive:
[ERROR] Exit code: 1 - /var/lib/jenkins/jobs/tigase-mongodb/workspace/src/main/java/tigase/mongodb/muc/MongoHistoryProvider.java:39: error: cannot access Affiliation
[ERROR] import tigase.muc.Affiliation;
[ERROR] ^
[JENKINS] Archiving /var/lib/jenkins/jobs/tigase-mongodb/workspace/pom.xml to tigase/tigase-mongodb/1.2.0-SNAPSHOT/tigase-issue #1.2.0-SNAPSHOT.pom
[JENKINS] Archiving /var/lib/jenkins/jobs/tigase-mongodb/workspace/target/tigase-issue #1.2.0-SNAPSHOT.jar to tigase/tigase-mongodb/1.2.0-SNAPSHOT/tigase-issue #1.2.0-SNAPSHOT.jar
[ERROR] bad class file: /var/lib/jenkins/.m2/repository/tigase/tigase-muc/2.5.0-SNAPSHOT/tigase-muc-2.5.0-SNAPSHOT.jar(tigase/muc/Affiliation.class)
[ERROR] unable to access file: corrupted zip file
[ERROR] Please remove or make sure it appears in the correct subdirectory of the classpath.
[ERROR] 
[ERROR] Command line was: /var/lib/jenkins/tools/hudson.model.JDK/oracle-jdk8-auto/jre/../bin/javadoc @options @packages
[ERROR] 
[ERROR] Refer to the generated Javadoc files in '/var/lib/jenkins/jobs/tigase-mongodb/workspace/target/apidocs' 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
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

Next build was ok.

tigase-mongo was configured both in multijob and tigase-pubsub (as downstream) resulting in possibility of building it to early. I've removed it as downstream from tigase-pubsub as it doesn't make sense to keep it there.

issue 1 of 1
Type
Bug
Priority
Normal
Assignee
RedmineID
5743
Issue Votes (0)
Watchers (0)
Reference
tigase/_server/tigase-mongodb#26
Please wait...
Page is in error, reload to recover