You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@creadur.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2014/09/17 00:20:40 UTC

Build failed in Jenkins: Creadur-Rat #135

See <https://builds.apache.org/job/Creadur-Rat/135/changes>

Changes:

[sebb] RAT-177 - final arrays should be private

------------------------------------------
[...truncated 1281 lines...]
[au:antunit] *****************************************************
[au:antunit]   Files with Apache License headers will be marked AL
[au:antunit]   Binary files (which do not require AL headers) will be marked B
[au:antunit]   Compressed archives will be marked A
[au:antunit]   Notices, licenses etc will be marked N
[au:antunit]  !????? <https://builds.apache.org/job/Creadur-Rat/ws/apache-rat-tasks/src/test/resources/antunit/report-normal-operation.xml>
[au:antunit]  
[au:antunit] *****************************************************
[au:antunit]  Printing headers for files without AL header...
[au:antunit]  
[au:antunit]  
[au:antunit] =======================================================================
[au:antunit] ==<https://builds.apache.org/job/Creadur-Rat/ws/apache-rat-tasks/src/test/resources/antunit/report-normal-operation.xml>
[au:antunit] =======================================================================
[au:antunit] <?xml version='1.0'?>
[au:antunit] <!--
[au:antunit] 
[au:antunit]  Licensed to the Apache Software Foundation (ASF) under one   *
[au:antunit]  or more contributor license agreements.  See the NOTICE file *
[au:antunit]  distributed with this work for additional information        *
[au:antunit]  regarding copyright ownership.  The ASF licenses this file   *
[au:antunit]  to you under the Apache License, Version 2.0 (the            *
[au:antunit]  "License"); you may not use this file except in compliance   *
[au:antunit]  with the License.  You may obtain a copy of the License at   *
[au:antunit]                                                               *
[au:antunit]    http://www.apache.org/licenses/LICENSE-2.0                 *
[au:antunit]                                                               *
[au:antunit]  Unless required by applicable law or agreed to in writing,   *
[au:antunit]  software distributed under the License is distributed on an  *
[au:antunit]  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       *
[au:antunit]  KIND, either express or implied.  See the License for the    *
[au:antunit]  specific language governing permissions and limitations      *
[au:antunit]  under the License.                                           *
[au:antunit] 
[au:antunit] -->
[au:antunit] 
[au:antunit] <project name='report-normal-operation'
[au:antunit]     default="allTests"
[au:antunit]     xmlns:au="antlib:org.apache.ant.antunit"
[au:antunit]     xmlns:rat="antlib:org.apache.rat.anttasks">
[au:antunit] 
[au:antunit]   <property name="output.dir" location="../../../../target/testoutput"/>
[au:antunit]   <mkdir dir="${output.dir}/dest"/>
[au:antunit]   <path id="all-classes-needed-for-tests">
[au:antunit]     <pathelement location="${jar.name}" />
[au:antunit]     <pathelement path="${test.classpath}" />
[au:antunit]     <pathelement location="${output.dir}/dest" />
[au:antunit]   </path>
[au:antunit] 
[au:antunit]   <taskdef uri="antlib:org.apache.ant.antunit" 
[au:antunit]            resource="org/apache/ant/antunit/antlib.xml" 
[au:antunit]            classpathref="all-classes-needed-for-tests"
[au:antunit]            loaderref="testloader"/>
[au:antunit] 
[au:antunit]   <taskdef uri="antlib:org.apache.rat.anttasks"
[au:antunit]            resource="org/apache/rat/anttasks/antlib.xml"
[au:antunit]            classpathref="all-classes-needed-for-tests"
[au:antunit]            loaderref="testloader"/>
[au:antunit] 
[au:antunit]   <target name="setUp">
[au:antunit]     <pathconvert dirsep="/" property="file.name">
[au:antunit]       <path>
[au:antunit]         <pathelement location="${ant.file}"/>
[au:antunit]       </path>
[au:antunit] '
[au:antunit] 	took 0.091 sec
[au:antunit] Target: testWithALUnknownSentToFile took 0.091 sec
[au:antunit] Target: testWithReportSentToFile took 0.084 sec
[au:antunit] Target: testCustomMatcherSentToFile  caused an ERROR
[au:antunit] 	at line 333, column 43
[au:antunit] 	Message: Unable to find a javac compiler;
[au:antunit] com.sun.tools.javac.Main is not on the classpath.
[au:antunit] Perhaps JAVA_HOME does not point to the JDK.
[au:antunit] It is currently set to "/usr/lib/jvm/java-7-openjdk-amd64/jre"
[au:antunit] 	took 0.025 sec
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ apache-rat-tasks ---
[INFO] Building jar: <https://builds.apache.org/job/Creadur-Rat/ws/apache-rat-tasks/target/apache-rat-tasks-0.12-SNAPSHOT.jar>
[INFO] 
[INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ apache-rat-tasks ---
[INFO] 
[INFO] --- maven-install-plugin:2.5.1:install (default-install) @ apache-rat-tasks ---
[INFO] Installing <https://builds.apache.org/job/Creadur-Rat/ws/apache-rat-tasks/target/apache-rat-tasks-0.12-SNAPSHOT.jar> to /jenkins/maven-repositories/0/org/apache/rat/apache-rat-tasks/0.12-SNAPSHOT/apache-rat-tasks-0.12-SNAPSHOT.jar
[INFO] Installing <https://builds.apache.org/job/Creadur-Rat/ws/apache-rat-tasks/pom.xml> to /jenkins/maven-repositories/0/org/apache/rat/apache-rat-tasks/0.12-SNAPSHOT/apache-rat-tasks-0.12-SNAPSHOT.pom
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Creadur Rat::Command Line 0.12-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ apache-rat ---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-bytecode-version) @ apache-rat ---
[INFO] 
[INFO] --- apache-rat-plugin:0.11:check (default) @ apache-rat ---
[INFO] 51 implicit excludes (use -debug for more details).
[INFO] Exclude: README-ANT.txt
[INFO] Exclude: README-CLI.txt
[INFO] 7 resources included (use -debug for more details)
Warning:  org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser: Property 'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' is not recognized.
Compiler warnings:
  WARNING:  'org.apache.xerces.jaxp.SAXParserImpl: Property 'http://javax.xml.XMLConstants/property/accessExternalDTD' is not recognized.'
Warning:  org.apache.xerces.parsers.SAXParser: Feature 'http://javax.xml.XMLConstants/feature/secure-processing' is not recognized.
Warning:  org.apache.xerces.parsers.SAXParser: Property 'http://javax.xml.XMLConstants/property/accessExternalDTD' is not recognized.
Warning:  org.apache.xerces.parsers.SAXParser: Property 'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' is not recognized.
[INFO] Rat check: Summary of files. Unapproved: 0 unknown: 0 generated: 0 approved: 6 licence.
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ apache-rat ---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ apache-rat ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources to META-INF
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ apache-rat ---
[INFO] No sources to compile
[INFO] 
[INFO] --- animal-sniffer-maven-plugin:1.11:check (check-java-1.5-compat) @ apache-rat ---
[INFO] Signature checking is skipped.
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ apache-rat ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory <https://builds.apache.org/job/Creadur-Rat/ws/apache-rat/src/test/resources>
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ apache-rat ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.17:test (default-test) @ apache-rat ---
[JENKINS] Recording test results[INFO] 

[INFO] --- maven-dependency-plugin:2.8:unpack-dependencies (default) @ apache-rat ---
[INFO] Unpacking /jenkins/maven-repositories/0/commons-lang/commons-lang/2.6/commons-lang-2.6.jar to <https://builds.apache.org/job/Creadur-Rat/ws/apache-rat/target/classes> with includes "" and excludes "META-INF/**"
[INFO] Unpacking <https://builds.apache.org/job/Creadur-Rat/ws/apache-rat-core/target/apache-rat-core-0.12-SNAPSHOT.jar> to <https://builds.apache.org/job/Creadur-Rat/ws/apache-rat/target/classes> with includes "" and excludes "META-INF/**"
[INFO] Unpacking <https://builds.apache.org/job/Creadur-Rat/ws/apache-rat-tasks/target/apache-rat-tasks-0.12-SNAPSHOT.jar> to <https://builds.apache.org/job/Creadur-Rat/ws/apache-rat/target/classes> with includes "" and excludes "META-INF/**"
[INFO] Unpacking /jenkins/maven-repositories/0/commons-io/commons-io/2.2/commons-io-2.2.jar to <https://builds.apache.org/job/Creadur-Rat/ws/apache-rat/target/classes> with includes "" and excludes "META-INF/**"
[INFO] Unpacking /jenkins/maven-repositories/0/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar to <https://builds.apache.org/job/Creadur-Rat/ws/apache-rat/target/classes> with includes "" and excludes "META-INF/**"
[INFO] Unpacking /jenkins/maven-repositories/0/commons-cli/commons-cli/1.2/commons-cli-1.2.jar to <https://builds.apache.org/job/Creadur-Rat/ws/apache-rat/target/classes> with includes "" and excludes "META-INF/**"
[INFO] Unpacking /jenkins/maven-repositories/0/org/apache/commons/commons-compress/1.5/commons-compress-1.5.jar to <https://builds.apache.org/job/Creadur-Rat/ws/apache-rat/target/classes> with includes "" and excludes "META-INF/**"
[INFO] 
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ apache-rat ---
[INFO] Building jar: <https://builds.apache.org/job/Creadur-Rat/ws/apache-rat/target/apache-rat-0.12-SNAPSHOT.jar>
[INFO] 
[INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ apache-rat ---
[INFO] 
[INFO] --- maven-install-plugin:2.5.1:install (default-install) @ apache-rat ---
[INFO] Installing <https://builds.apache.org/job/Creadur-Rat/ws/apache-rat/target/apache-rat-0.12-SNAPSHOT.jar> to /jenkins/maven-repositories/0/org/apache/rat/apache-rat/0.12-SNAPSHOT/apache-rat-0.12-SNAPSHOT.jar
[INFO] Installing <https://builds.apache.org/job/Creadur-Rat/ws/apache-rat/pom.xml> to /jenkins/maven-repositories/0/org/apache/rat/apache-rat/0.12-SNAPSHOT/apache-rat-0.12-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache Creadur Rat ................................ SUCCESS [1:13.925s]
[INFO] Apache Creadur Rat::Core .......................... SUCCESS [35.557s]
[INFO] Apache Creadur Rat::Plugin4Maven .................. SUCCESS [26.881s]
[INFO] Apache Creadur Rat::Tasks4Ant ..................... SUCCESS [12.535s]
[INFO] Apache Creadur Rat::Command Line .................. SUCCESS [6.909s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2:53.335s
[INFO] Finished at: Tue Sep 16 22:20:16 UTC 2014
[INFO] Final Memory: 30M/228M
[INFO] ------------------------------------------------------------------------
[WARNING] The requested profile "rat" could not be activated because it does not exist.
Waiting for Jenkins to finish collecting data
[JENKINS] Archiving <https://builds.apache.org/job/Creadur-Rat/ws/apache-rat-plugin/pom.xml> to org.apache.rat/apache-rat-plugin/0.12-SNAPSHOT/apache-rat-plugin-0.12-SNAPSHOT.pom
[JENKINS] Archiving <https://builds.apache.org/job/Creadur-Rat/ws/apache-rat-plugin/target/apache-rat-plugin-0.12-SNAPSHOT.jar> to org.apache.rat/apache-rat-plugin/0.12-SNAPSHOT/apache-rat-plugin-0.12-SNAPSHOT.jar
Sending artifact delta relative to Creadur-Rat » Apache Creadur Rat::Plugin4Maven #134
Archived 2 artifacts
Archive block size is 32768
Received 0 blocks and 54017 bytes
Compression is 0.0%
Took 0.39 sec
[JENKINS] Archiving <https://builds.apache.org/job/Creadur-Rat/ws/apache-rat-tasks/pom.xml> to org.apache.rat/apache-rat-tasks/0.12-SNAPSHOT/apache-rat-tasks-0.12-SNAPSHOT.pom
[JENKINS] Archiving <https://builds.apache.org/job/Creadur-Rat/ws/apache-rat-tasks/target/apache-rat-tasks-0.12-SNAPSHOT.jar> to org.apache.rat/apache-rat-tasks/0.12-SNAPSHOT/apache-rat-tasks-0.12-SNAPSHOT.jar
Sending artifact delta relative to Creadur-Rat » Apache Creadur Rat::Tasks4Ant #134
Archived 2 artifacts
Archive block size is 32768
Received 0 blocks and 30181 bytes
Compression is 0.0%
Took 0.31 sec
[JENKINS] Archiving <https://builds.apache.org/job/Creadur-Rat/ws/pom.xml> to org.apache.rat/apache-rat-project/0.12-SNAPSHOT/apache-rat-project-0.12-SNAPSHOT.pom
[JENKINS] Archiving <https://builds.apache.org/job/Creadur-Rat/ws/target/apache-rat-project-0.12-SNAPSHOT-site.xml> to org.apache.rat/apache-rat-project/0.12-SNAPSHOT/apache-rat-project-0.12-SNAPSHOT-site.xml
Sending artifact delta relative to Creadur-Rat » Apache Creadur Rat #134
Archived 2 artifacts
Archive block size is 32768
Received 0 blocks and 26562 bytes
Compression is 0.0%
Took 0.39 sec
[JENKINS] Archiving <https://builds.apache.org/job/Creadur-Rat/ws/apache-rat/pom.xml> to org.apache.rat/apache-rat/0.12-SNAPSHOT/apache-rat-0.12-SNAPSHOT.pom
[JENKINS] Archiving <https://builds.apache.org/job/Creadur-Rat/ws/apache-rat/target/apache-rat-0.12-SNAPSHOT.jar> to org.apache.rat/apache-rat/0.12-SNAPSHOT/apache-rat-0.12-SNAPSHOT.jar
Sending artifact delta relative to Creadur-Rat » Apache Creadur Rat::Command Line #134
Archived 2 artifacts
Archive block size is 32768
Received 0 blocks and 1424486 bytes
Compression is 0.0%
Took 2.8 sec
[JENKINS] Archiving <https://builds.apache.org/job/Creadur-Rat/ws/apache-rat-core/pom.xml> to org.apache.rat/apache-rat-core/0.12-SNAPSHOT/apache-rat-core-0.12-SNAPSHOT.pom
[JENKINS] Archiving <https://builds.apache.org/job/Creadur-Rat/ws/apache-rat-core/target/apache-rat-core-0.12-SNAPSHOT.jar> to org.apache.rat/apache-rat-core/0.12-SNAPSHOT/apache-rat-core-0.12-SNAPSHOT.jar
Sending artifact delta relative to Creadur-Rat » Apache Creadur Rat::Core #134
Archived 2 artifacts
Archive block size is 32768
Received 0 blocks and 124517 bytes
Compression is 0.0%
Took 2.2 sec
channel stopped
Maven RedeployPublisher use remote jenkins-ubuntu-1404-4gb-5e9 maven settings from : /home/jenkins/.m2/settings.xml
[INFO] Deployment in https://repository.apache.org/content/repositories/snapshots (id=apache.snapshots.https,uniqueVersion=true)
Deploying the main artifact apache-rat-0.12-SNAPSHOT.jar
Downloading: https://repository.apache.org/content/repositories/snapshots/org/apache/rat/apache-rat/0.12-SNAPSHOT/maven-metadata.xml
Downloaded: https://repository.apache.org/content/repositories/snapshots/org/apache/rat/apache-rat/0.12-SNAPSHOT/maven-metadata.xml (774 B at 5.7 KB/sec)
Uploading: https://repository.apache.org/content/repositories/snapshots/org/apache/rat/apache-rat/0.12-SNAPSHOT/apache-rat-0.12-20140916.222040-35.jar
Uploading: https://repository.apache.org/content/repositories/snapshots/org/apache/rat/apache-rat/0.12-SNAPSHOT/apache-rat-0.12-20140916.222040-35.pom
ERROR: Failed to deploy artifacts: Could not transfer artifact org.apache.rat:apache-rat:jar:0.12-20140916.222040-35 from/to apache.snapshots.https (https://repository.apache.org/content/repositories/snapshots): Failed to transfer file: https://repository.apache.org/content/repositories/snapshots/org/apache/rat/apache-rat/0.12-SNAPSHOT/apache-rat-0.12-20140916.222040-35.jar. Return code is: 401, ReasonPhrase: Unauthorized.
org.apache.maven.artifact.deployer.ArtifactDeploymentException: Failed to deploy artifacts: Could not transfer artifact org.apache.rat:apache-rat:jar:0.12-20140916.222040-35 from/to apache.snapshots.https (https://repository.apache.org/content/repositories/snapshots): Failed to transfer file: https://repository.apache.org/content/repositories/snapshots/org/apache/rat/apache-rat/0.12-SNAPSHOT/apache-rat-0.12-20140916.222040-35.jar. Return code is: 401, ReasonPhrase: Unauthorized.
	at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:143)
	at hudson.maven.reporters.MavenArtifactRecord.deploy(MavenArtifactRecord.java:193)
	at hudson.maven.RedeployPublisher.perform(RedeployPublisher.java:176)
	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804)
	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:776)
	at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.post2(MavenModuleSetBuild.java:1040)
	at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:725)
	at hudson.model.Run.execute(Run.java:1701)
	at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:529)
	at hudson.model.ResourceController.execute(ResourceController.java:88)
	at hudson.model.Executor.run(Executor.java:231)
Caused by: org.eclipse.aether.deployment.DeploymentException: Failed to deploy artifacts: Could not transfer artifact org.apache.rat:apache-rat:jar:0.12-20140916.222040-35 from/to apache.snapshots.https (https://repository.apache.org/content/repositories/snapshots): Failed to transfer file: https://repository.apache.org/content/repositories/snapshots/org/apache/rat/apache-rat/0.12-SNAPSHOT/apache-rat-0.12-20140916.222040-35.jar. Return code is: 401, ReasonPhrase: Unauthorized.
	at org.eclipse.aether.internal.impl.DefaultDeployer.deploy(DefaultDeployer.java:341)
	at org.eclipse.aether.internal.impl.DefaultDeployer.deploy(DefaultDeployer.java:269)
	at org.eclipse.aether.internal.impl.DefaultRepositorySystem.deploy(DefaultRepositorySystem.java:413)
	at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:139)
	... 11 more
Caused by: org.eclipse.aether.transfer.ArtifactTransferException: Could not transfer artifact org.apache.rat:apache-rat:jar:0.12-20140916.222040-35 from/to apache.snapshots.https (https://repository.apache.org/content/repositories/snapshots): Failed to transfer file: https://repository.apache.org/content/repositories/snapshots/org/apache/rat/apache-rat/0.12-SNAPSHOT/apache-rat-0.12-20140916.222040-35.jar. Return code is: 401, ReasonPhrase: Unauthorized.
	at org.eclipse.aether.connector.wagon.WagonRepositoryConnector$6.wrap(WagonRepositoryConnector.java:1016)
	at org.eclipse.aether.connector.wagon.WagonRepositoryConnector$6.wrap(WagonRepositoryConnector.java:1004)
	at org.eclipse.aether.connector.wagon.WagonRepositoryConnector$PutTask.run(WagonRepositoryConnector.java:895)
	at org.eclipse.aether.connector.wagon.WagonRepositoryConnector.put(WagonRepositoryConnector.java:522)
	at org.eclipse.aether.internal.impl.DefaultDeployer.deploy(DefaultDeployer.java:335)
	... 14 more
Caused by: org.apache.maven.wagon.TransferFailedException: Failed to transfer file: https://repository.apache.org/content/repositories/snapshots/org/apache/rat/apache-rat/0.12-SNAPSHOT/apache-rat-0.12-20140916.222040-35.jar. Return code is: 401, ReasonPhrase: Unauthorized.
	at org.apache.maven.wagon.shared.http4.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:626)
	at org.apache.maven.wagon.shared.http4.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:524)
	at org.apache.maven.wagon.shared.http4.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:505)
	at org.apache.maven.wagon.shared.http4.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:485)
	at org.eclipse.aether.connector.wagon.WagonRepositoryConnector$PutTask.run(WagonRepositoryConnector.java:871)
	... 16 more
[INFO] Deployment failed after 2.7 sec
Build step 'Deploy artifacts to Maven repository' changed build result to FAILURE

Jenkins build is back to normal : Creadur-Rat #136

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/Creadur-Rat/136/changes>