Projects tigase _server server-core Issues #1002
tigase-server-distribution - Build # 1894 - Failure! (#1002)
Mr. Jenkins opened 6 years ago

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

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

Changes: [Wojciech Kapcia] #8639 slightly adjust project name

Started by: Started by upstream project "multijob" build number 2,098

[...truncated 2.88 KB...]
No emails were triggered.
Parsing POMs
Modules changed, recalculating dependency graph
Established TCP socket on 33464
[workspace] $ /var/lib/jenkins/tools/hudson.model.JDK/oracle-jdk8-auto/bin/java -Xmx512M -XX:PermSize=32m -XX:MaxPermSize=256m -XX:MaxDirectMemorySize=128m -cp /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven35-agent-1.12.jar:/var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/default-latest/boot/plexus-classworlds-2.5.2.jar:/var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/default-latest/conf/logging jenkins.maven3.agent.Maven35Main /var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/default-latest /var/cache/jenkins/war/WEB-INF/lib/remoting-3.27.jar /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven35-interceptor-1.12.jar /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.12.jar 33464
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=32m; support was removed in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
<===[JENKINS REMOTING CAPACITY]===>���channel started
Executing Maven:  -B -f /var/lib/jenkins/jobs/tigase-server-distribution/workspace/pom.xml -Dtests.logger_properties=src/test/resources/logging.properties -Pdist deploy
[INFO] Scanning for projects...
[INFO] 
[INFO] ---------------------< tigase:tigase-server-dist >----------------------
[INFO] Building Tigase XMPP Server Distribution 8.0.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] Downloading from tigase: http://maven-repo.tigase.org/repository/tigase/tigase/tigase-utils/4.0.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloading from tigase: http://maven-repo.tigase.org/repository/tigase/tigase/tigase-xmltools/4.0.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloading from tigase: http://maven-repo.tigase.org/repository/tigase/tigase/tigase-extras-all/2.0.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from tigase: http://maven-repo.tigase.org/repository/tigase/tigase/tigase-extras-all/2.0.0-SNAPSHOT/maven-metadata.xml (362 B at 16 kB/s)
[INFO] Downloading from tigase: http://maven-repo.tigase.org/repository/tigase/tigase/tigase-extras/2.0.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from tigase: http://maven-repo.tigase.org/repository/tigase/tigase/tigase-extras/2.0.0-SNAPSHOT/maven-metadata.xml (358 B at 36 kB/s)
[INFO] Downloading from tigase: http://maven-repo.tigase.org/repository/tigase/tigase/tigase-extras-mailsender/2.0.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloading from tigase-snapshot: https://maven-repo.tigase.net/repository/snapshot/tigase/tigase-extras-mailsender/2.0.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from tigase: http://maven-repo.tigase.org/repository/tigase/tigase/tigase-extras-mailsender/2.0.0-SNAPSHOT/maven-metadata.xml (369 B at 28 kB/s)
[INFO] Downloaded from tigase-snapshot: https://maven-repo.tigase.net/repository/snapshot/tigase/tigase-extras-mailsender/2.0.0-SNAPSHOT/maven-metadata.xml (369 B at 1.1 kB/s)
[INFO] Downloading from tigase: http://maven-repo.tigase.org/repository/tigase/tigase/tigase-extras-base/2.0.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloading from tigase-snapshot: https://maven-repo.tigase.net/repository/snapshot/tigase/tigase-extras-base/2.0.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from tigase: http://maven-repo.tigase.org/repository/tigase/tigase/tigase-extras-base/2.0.0-SNAPSHOT/maven-metadata.xml (363 B at 33 kB/s)
[INFO] Downloaded from tigase-snapshot: https://maven-repo.tigase.net/repository/snapshot/tigase/tigase-extras-base/2.0.0-SNAPSHOT/maven-metadata.xml (363 B at 19 kB/s)
[INFO] Downloading from tigase: http://maven-repo.tigase.org/repository/tigase/tigase/tigase-extras-bcstarttls/2.0.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloading from tigase-snapshot: https://maven-repo.tigase.net/repository/snapshot/tigase/tigase-extras-bcstarttls/2.0.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from tigase: http://maven-repo.tigase.org/repository/tigase/tigase/tigase-extras-bcstarttls/2.0.0-SNAPSHOT/maven-metadata.xml (369 B at 16 kB/s)
[INFO] Downloaded from tigase-snapshot: https://maven-repo.tigase.net/repository/snapshot/tigase/tigase-extras-bcstarttls/2.0.0-SNAPSHOT/maven-metadata.xml (369 B at 9.7 kB/s)
[INFO] Downloading from tigase: http://maven-repo.tigase.org/repository/tigase/tigase/tigase-extras-mailer/2.0.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloading from tigase-snapshot: https://maven-repo.tigase.net/repository/snapshot/tigase/tigase-extras-mailer/2.0.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from tigase: http://maven-repo.tigase.org/repository/tigase/tigase/tigase-extras-mailer/2.0.0-SNAPSHOT/maven-metadata.xml (365 B at 52 kB/s)
[INFO] Downloaded from tigase-snapshot: https://maven-repo.tigase.net/repository/snapshot/tigase/tigase-extras-mailer/2.0.0-SNAPSHOT/maven-metadata.xml (365 B at 19 kB/s)
[INFO] Downloading from tigase: http://maven-repo.tigase.org/repository/tigase/tigase/tigase-extras-mdns/2.0.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloading from tigase-snapshot: https://maven-repo.tigase.net/repository/snapshot/tigase/tigase-extras-mdns/2.0.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from tigase: http://maven-repo.tigase.org/repository/tigase/tigase/tigase-extras-mdns/2.0.0-SNAPSHOT/maven-metadata.xml (363 B at 36 kB/s)
[INFO] Downloaded from tigase-snapshot: https://maven-repo.tigase.net/repository/snapshot/tigase/tigase-extras-mdns/2.0.0-SNAPSHOT/maven-metadata.xml (363 B at 15 kB/s)
[INFO] Downloading from tigase: http://maven-repo.tigase.org/repository/tigase/tigase/sure/web/tigase-web-ui/2.2.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from tigase: http://maven-repo.tigase.org/repository/tigase/tigase/sure/web/tigase-web-ui/2.2.0-SNAPSHOT/maven-metadata.xml (367 B at 22 kB/s)
[INFO] Downloading from tigase: http://maven-repo.tigase.org/repository/tigase/tigase/sure/web/tigase-web-ui/2.2.0-SNAPSHOT/tigase-web-ui-2.2.0-20190222.031459-618.pom
[INFO] Downloaded from tigase: http://maven-repo.tigase.org/repository/tigase/tigase/sure/web/tigase-web-ui/2.2.0-SNAPSHOT/tigase-web-ui-2.2.0-20190222.031459-618.pom (0 B at 0 B/s)
[INFO] Downloading from tigase: http://maven-repo.tigase.org/repository/tigase/tigase/sure/web/tigase-web-ui-parent/2.2.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from tigase: http://maven-repo.tigase.org/repository/tigase/tigase/sure/web/tigase-web-ui-parent/2.2.0-SNAPSHOT/maven-metadata.xml (373 B at 47 kB/s)
[INFO] Downloading from tigase: http://maven-repo.tigase.org/repository/tigase/tigase/sure/web/tigase-web-ui-parent/2.2.0-SNAPSHOT/tigase-web-ui-parent-2.2.0-20190222.031228-22.pom
[INFO] Downloaded from tigase: http://maven-repo.tigase.org/repository/tigase/tigase/sure/web/tigase-web-ui-parent/2.2.0-SNAPSHOT/tigase-web-ui-parent-2.2.0-20190222.031228-22.pom (0 B at 0 B/s)
[INFO] Downloading from tigase: http://maven-repo.tigase.org/repository/tigase/tigase/tigase-message-archiving/2.0.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from tigase: http://maven-repo.tigase.org/repository/tigase/tigase/tigase-message-archiving/2.0.0-SNAPSHOT/maven-metadata.xml (369 B at 31 kB/s)
[INFO] Downloading from tigase: http://maven-repo.tigase.org/repository/tigase/tigase/tigase-unified-archive/2.0.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from tigase: http://maven-repo.tigase.org/repository/tigase/tigase/tigase-unified-archive/2.0.0-SNAPSHOT/maven-metadata.xml (367 B at 24 kB/s)
[INFO] Downloading from tigase: http://maven-repo.tigase.org/repository/tigase/tigase/tigase-socks5/2.0.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from tigase: http://maven-repo.tigase.org/repository/tigase/tigase/tigase-socks5/2.0.0-SNAPSHOT/maven-metadata.xml (358 B at 36 kB/s)
[INFO] Downloading from tigase: http://maven-repo.tigase.org/repository/tigase/tigase/tigase-stun/2.0.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from tigase: http://maven-repo.tigase.org/repository/tigase/tigase/tigase-stun/2.0.0-SNAPSHOT/maven-metadata.xml (356 B at 24 kB/s)
[INFO] Downloading from tigase: http://maven-repo.tigase.org/repository/tigase/tigase/tigase-mongodb/2.0.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from tigase: http://maven-repo.tigase.org/repository/tigase/tigase/tigase-mongodb/2.0.0-SNAPSHOT/maven-metadata.xml (359 B at 24 kB/s)
[INFO] Downloading from tigase: http://maven-repo.tigase.org/repository/tigase/tigase/sure/web/tigase-web-ui/2.2.0-SNAPSHOT/tigase-web-ui-2.2.0-20190222.031459-618.war
[INFO] Downloaded from tigase: http://maven-repo.tigase.org/repository/tigase/tigase/sure/web/tigase-web-ui/2.2.0-SNAPSHOT/tigase-web-ui-2.2.0-20190222.031459-618.war (0 B at 0 B/s)
[INFO] 
[INFO] --- license-maven-plugin:3.0:check (licence) @ tigase-server-dist ---
[INFO] Checking licenses...
[WARNING] Missing header in: /var/lib/jenkins/jobs/tigase-server-distribution/workspace/src/main/assembly/dist.xml
[WARNING] Missing header in: /var/lib/jenkins/jobs/tigase-server-distribution/workspace/src/main/groovy/buildVersion.groovy
[WARNING] Missing header in: /var/lib/jenkins/jobs/tigase-server-distribution/workspace/src/main/java/tigase/dist/XmppServerDist.java
[WARNING] Missing header in: /var/lib/jenkins/jobs/tigase-server-distribution/workspace/src/main/assembly/dist-max.xml
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:  4.263 s
[INFO] Finished at: 2019-02-23T03:09:17Z
[INFO] ------------------------------------------------------------------------
Waiting for Jenkins to finish collecting data[ERROR] Failed to execute goal com.mycila:license-maven-plugin:3.0:check (licence) on project tigase-server-dist: Some files do not have the expected license header -> [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

[JENKINS] Archiving /var/lib/jenkins/jobs/tigase-server-distribution/workspace/pom.xml to tigase/tigase-server-dist/8.0.0-SNAPSHOT/tigase-server-dist-8.0.0-SNAPSHOT.pom
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

Andrzej Wójcik (Tigase) commented 6 years ago

I've fixed the license headers in "dist" project but looking at number of issues related to "headers" reported on the forum and as issues, it looks like this enforcement may be doing some harm, ie. users trying to build Tigase on their own (probably with some additional classes added by them without those headers) are failing during build time. While I agree that they most likely should create separate jars instead of modifying Tigase directly, this header checked increased fail ratio which make people think that usage of Tigase is "hard".

wojciech.kapcia@tigase.net commented 6 years ago

Andrzej Wójcik wrote:

I've fixed the license headers in "dist" project but looking at number of issues related to "headers" reported on the forum

I see only one issue ;-)

and as issues, it looks like this enforcement may be doing some harm, ie. users trying to build Tigase on their own (probably with some additional classes added by them without those headers) are failing during build time. While I agree that they most likely should create separate jars instead of modifying Tigase directly, this header checked increased fail ratio which make people think that usage of Tigase is "hard".

I agree - I'll reconfigure the projects so it won't do the check on every build and I'll call the check only in jenkins so if anything is missing job will fail.

wojciech.kapcia@tigase.net commented 6 years ago

All projects updated (git + jenkins)

wojciech.kapcia@tigase.net commented 6 years ago

Works well after change

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