See 
<https://builds.apache.org/job/sling-org-apache-sling-installer-core-1.8/16/display/redirect?page=changes>

Changes:

[robert.munteanu] SLING-7466 : adding basic unittest

------------------------------------------
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on H25 (ubuntu xenial) in workspace 
<https://builds.apache.org/job/sling-org-apache-sling-installer-core-1.8/ws/>
Cloning the remote Git repository
Cloning repository 
https://github.com/apache/sling-org-apache-sling-installer-core.git
 > git init 
 > <https://builds.apache.org/job/sling-org-apache-sling-installer-core-1.8/ws/>
 >  # timeout=10
Fetching upstream changes from 
https://github.com/apache/sling-org-apache-sling-installer-core.git
 > git --version # timeout=10
 > git fetch --tags --progress 
 > https://github.com/apache/sling-org-apache-sling-installer-core.git 
 > +refs/heads/*:refs/remotes/origin/*
 > git config remote.origin.url 
 > https://github.com/apache/sling-org-apache-sling-installer-core.git # 
 > timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # 
 > timeout=10
 > git config remote.origin.url 
 > https://github.com/apache/sling-org-apache-sling-installer-core.git # 
 > timeout=10
Fetching upstream changes from 
https://github.com/apache/sling-org-apache-sling-installer-core.git
 > git fetch --tags --progress 
 > https://github.com/apache/sling-org-apache-sling-installer-core.git 
 > +refs/heads/*:refs/remotes/origin/*
 > git rev-parse origin/master^{commit} # timeout=10
Checking out Revision 687feac99efee8c3aaad60253adcdd70e0f02333 (origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 687feac99efee8c3aaad60253adcdd70e0f02333
Commit message: "SLING-7466 : adding basic unittest"
 > git rev-list 0897a1d5297bfbfb14fce02e17d184177e245fe7 # timeout=10
Parsing POMs
Modules changed, recalculating dependency graph
Established TCP socket on 40753
maven33-agent.jar already up to date
maven33-interceptor.jar already up to date
maven3-interceptor-commons.jar already up to date
[sling-org-apache-sling-installer-core-1.8] $ 
/home/jenkins/tools/java/latest1.8/bin/java -Xmx2g -Xms256m -cp 
/home/jenkins/jenkins-slave/maven33-agent.jar:/home/jenkins/tools/maven/apache-maven-3.3.9/boot/plexus-classworlds-2.5.2.jar:/home/jenkins/tools/maven/apache-maven-3.3.9/conf/logging
 jenkins.maven3.agent.Maven33Main /home/jenkins/tools/maven/apache-maven-3.3.9 
/home/jenkins/jenkins-slave/slave.jar 
/home/jenkins/jenkins-slave/maven33-interceptor.jar 
/home/jenkins/jenkins-slave/maven3-interceptor-commons.jar 40753
<===[JENKINS REMOTING CAPACITY]===>   channel started
Executing Maven:  -B -f 
<https://builds.apache.org/job/sling-org-apache-sling-installer-core-1.8/ws/pom.xml>
 -Dmaven.repo.local=/home/jenkins/jenkins-slave/maven-repositories/1 -U clean 
deploy
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Sling Installer 3.8.11-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] Downloading: 
https://repo.maven.apache.org/maven2/org/mockito/mockito-core/2.13.0/mockito-core-2.13.0.pom
[INFO] Downloaded: 
https://repo.maven.apache.org/maven2/org/mockito/mockito-core/2.13.0/mockito-core-2.13.0.pom
 (15 KB at 50.8 KB/sec)
[INFO] Downloading: 
https://repo.maven.apache.org/maven2/net/bytebuddy/byte-buddy/1.7.9/byte-buddy-1.7.9.pom
[INFO] Downloaded: 
https://repo.maven.apache.org/maven2/net/bytebuddy/byte-buddy/1.7.9/byte-buddy-1.7.9.pom
 (12 KB at 248.4 KB/sec)
[INFO] Downloading: 
https://repo.maven.apache.org/maven2/net/bytebuddy/byte-buddy-parent/1.7.9/byte-buddy-parent-1.7.9.pom
[INFO] Downloaded: 
https://repo.maven.apache.org/maven2/net/bytebuddy/byte-buddy-parent/1.7.9/byte-buddy-parent-1.7.9.pom
 (25 KB at 1227.4 KB/sec)
[INFO] Downloading: 
https://repo.maven.apache.org/maven2/net/bytebuddy/byte-buddy-agent/1.7.9/byte-buddy-agent-1.7.9.pom
[INFO] Downloaded: 
https://repo.maven.apache.org/maven2/net/bytebuddy/byte-buddy-agent/1.7.9/byte-buddy-agent-1.7.9.pom
 (5 KB at 300.3 KB/sec)
[INFO] Downloading: 
https://repo.maven.apache.org/maven2/org/mockito/mockito-core/2.13.0/mockito-core-2.13.0.jar
[INFO] Downloading: 
https://repo.maven.apache.org/maven2/net/bytebuddy/byte-buddy/1.7.9/byte-buddy-1.7.9.jar
[INFO] Downloading: 
https://repo.maven.apache.org/maven2/net/bytebuddy/byte-buddy-agent/1.7.9/byte-buddy-agent-1.7.9.jar
[INFO] Downloaded: 
https://repo.maven.apache.org/maven2/net/bytebuddy/byte-buddy-agent/1.7.9/byte-buddy-agent-1.7.9.jar
 (42 KB at 931.8 KB/sec)
[INFO] Downloaded: 
https://repo.maven.apache.org/maven2/org/mockito/mockito-core/2.13.0/mockito-core-2.13.0.jar
 (526 KB at 6042.0 KB/sec)
[INFO] Downloaded: 
https://repo.maven.apache.org/maven2/net/bytebuddy/byte-buddy/1.7.9/byte-buddy-1.7.9.jar
 (2856 KB at 15189.3 KB/sec)
[INFO] 
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ 
org.apache.sling.installer.core ---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-java) @ 
org.apache.sling.installer.core ---
[INFO] 
[INFO] --- maven-antrun-plugin:1.8:run 
(set-bundle-required-execution-environment) @ org.apache.sling.installer.core 
---
[INFO] Executing tasks

main:
Setting Bundle-RequiredExecutionEnvironment=JavaSE-1.7 from sling.java.version=7
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) 
@ org.apache.sling.installer.core ---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ 
org.apache.sling.installer.core ---
[INFO] 
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ 
org.apache.sling.installer.core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
<https://builds.apache.org/job/sling-org-apache-sling-installer-core-1.8/ws/src/main/resources>
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ 
org.apache.sling.installer.core ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 61 source files to 
<https://builds.apache.org/job/sling-org-apache-sling-installer-core-1.8/ws/target/classes>
[INFO] 
<https://builds.apache.org/job/sling-org-apache-sling-installer-core-1.8/ws/src/main/java/org/apache/sling/installer/core/impl/util/RefreshDependenciesUtil.java>:
 Some input files use or override a deprecated API.
[INFO] 
<https://builds.apache.org/job/sling-org-apache-sling-installer-core-1.8/ws/src/main/java/org/apache/sling/installer/core/impl/util/RefreshDependenciesUtil.java>:
 Recompile with -Xlint:deprecation for details.
[INFO] 
<https://builds.apache.org/job/sling-org-apache-sling-installer-core-1.8/ws/src/main/java/org/apache/sling/installer/core/impl/OsgiInstallerImpl.java>:
 Some input files use unchecked or unsafe operations.
[INFO] 
<https://builds.apache.org/job/sling-org-apache-sling-installer-core-1.8/ws/src/main/java/org/apache/sling/installer/core/impl/OsgiInstallerImpl.java>:
 Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-antrun-plugin:1.8:run (testbundle-1.0) @ 
org.apache.sling.installer.core ---
[WARNING] Parameter tasks is deprecated, use target instead
[INFO] Executing tasks

Create a test bundle:
      [jar] Building jar: 
<https://builds.apache.org/job/sling-org-apache-sling-installer-core-1.8/ws/target/org.apache.sling.installer.core-3.8.11-SNAPSHOT-testbundle-1.0.jar>
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-bundle-plugin:3.2.0:manifest (scr-metadata) @ 
org.apache.sling.installer.core ---
[INFO] 
[INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ 
org.apache.sling.installer.core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
<https://builds.apache.org/job/sling-org-apache-sling-installer-core-1.8/ws/src/test/resources>
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.5.1:testCompile (default-testCompile) @ 
org.apache.sling.installer.core ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 16 source files to 
<https://builds.apache.org/job/sling-org-apache-sling-installer-core-1.8/ws/target/test-classes>
[INFO] 
<https://builds.apache.org/job/sling-org-apache-sling-installer-core-1.8/ws/src/test/java/org/apache/sling/installer/core/impl/util/RefreshDependenciesUtilTest.java>:
 
<https://builds.apache.org/job/sling-org-apache-sling-installer-core-1.8/ws/src/test/java/org/apache/sling/installer/core/impl/util/RefreshDependenciesUtilTest.java>
 uses or overrides a deprecated API.
[INFO] 
<https://builds.apache.org/job/sling-org-apache-sling-installer-core-1.8/ws/src/test/java/org/apache/sling/installer/core/impl/util/RefreshDependenciesUtilTest.java>:
 Recompile with -Xlint:deprecation for details.
[INFO] 
<https://builds.apache.org/job/sling-org-apache-sling-installer-core-1.8/ws/src/test/java/org/apache/sling/installer/core/impl/MockBundleContext.java>:
 
<https://builds.apache.org/job/sling-org-apache-sling-installer-core-1.8/ws/src/test/java/org/apache/sling/installer/core/impl/MockBundleContext.java>
 uses unchecked or unsafe operations.
[INFO] 
<https://builds.apache.org/job/sling-org-apache-sling-installer-core-1.8/ws/src/test/java/org/apache/sling/installer/core/impl/MockBundleContext.java>:
 Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ 
org.apache.sling.installer.core ---
[INFO] Surefire report directory: 
<https://builds.apache.org/job/sling-org-apache-sling-installer-core-1.8/ws/target/surefire-reports>

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.sling.installer.api.InstallableResourceTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec - in 
org.apache.sling.installer.api.InstallableResourceTest
Running org.apache.sling.installer.core.impl.RegisteredResourceTest
[main] WARN org.apache.sling.installer.core.impl.DefaultTransformer - Resource 
test:test:1.jar does not have the manifest as its first entry in the archive. 
If this is a bundle, make sure to put the manifest first in the jar file.
[main] WARN org.apache.sling.installer.core.impl.DefaultTransformer - Resource 
test:test:1.jar does not have the manifest as its first entry in the archive. 
If this is a bundle, make sure to put the manifest first in the jar file.
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.02 sec - in 
org.apache.sling.installer.core.impl.RegisteredResourceTest
Running org.apache.sling.installer.core.impl.OsgiInstallerImplTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec - in 
org.apache.sling.installer.core.impl.OsgiInstallerImplTest
Running org.apache.sling.installer.core.impl.RegisteredResourceComparatorTest
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec - in 
org.apache.sling.installer.core.impl.RegisteredResourceComparatorTest
Running org.apache.sling.installer.core.impl.tasks.BundleTaskCreatorTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.024 sec - in 
org.apache.sling.installer.core.impl.tasks.BundleTaskCreatorTest
Running org.apache.sling.installer.core.impl.TaskOrderingTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.019 sec - in 
org.apache.sling.installer.core.impl.TaskOrderingTest
Running org.apache.sling.installer.core.impl.util.RefreshDependenciesUtilTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.059 sec - in 
org.apache.sling.installer.core.impl.util.RefreshDependenciesUtilTest
Running org.apache.sling.installer.core.impl.EntityResourceListTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.644 sec - in 
org.apache.sling.installer.core.impl.EntityResourceListTest
Running org.apache.sling.installer.core.impl.DictionaryDigestTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec - in 
org.apache.sling.installer.core.impl.DictionaryDigestTest
Running org.apache.sling.installer.core.impl.InternalResourceTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec - in 
org.apache.sling.installer.core.impl.InternalResourceTest

Results :

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

[JENKINS] Recording test results
[INFO] 
[INFO] --- animal-sniffer-maven-plugin:1.15:check (default) @ 
org.apache.sling.installer.core ---
[INFO] Checking unresolved references to org.codehaus.mojo.signature:java17:1.0
[INFO] 
[INFO] --- maven-bundle-plugin:3.2.0:bundle (default-bundle) @ 
org.apache.sling.installer.core ---
[INFO] 
[INFO] >>> maven-source-plugin:3.0.1:jar (attach-sources) > generate-sources @ 
org.apache.sling.installer.core >>>
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-java) @ 
org.apache.sling.installer.core ---
[INFO] 
[INFO] --- maven-antrun-plugin:1.8:run 
(set-bundle-required-execution-environment) @ org.apache.sling.installer.core 
---
[INFO] Executing tasks

main:
Setting Bundle-RequiredExecutionEnvironment=JavaSE-1.7 from sling.java.version=7
[INFO] Executed tasks
[WARNING] Failed to getClass for org.apache.maven.plugins.source.SourceJarMojo
[INFO] 
[INFO] <<< maven-source-plugin:3.0.1:jar (attach-sources) < generate-sources @ 
org.apache.sling.installer.core <<<
[INFO] 
[INFO] --- maven-source-plugin:3.0.1:jar (attach-sources) @ 
org.apache.sling.installer.core ---
[INFO] Building jar: 
<https://builds.apache.org/job/sling-org-apache-sling-installer-core-1.8/ws/target/org.apache.sling.installer.core-3.8.11-SNAPSHOT-sources.jar>
[INFO] 
[INFO] --- maven-site-plugin:3.5.1:attach-descriptor (attach-descriptor) @ 
org.apache.sling.installer.core ---
[INFO] 
[INFO] --- maven-bundle-plugin:3.2.0:baseline (baseline) @ 
org.apache.sling.installer.core ---
[INFO] artifact org.apache.sling:org.apache.sling.installer.core: checking for 
updates from Nexus
[INFO] artifact org.apache.sling:org.apache.sling.installer.core: checking for 
updates from central
[INFO] Baseline Report - Generated by Apache Felix Maven Bundle Plugin on 
2018-02-05T15:04Z based on Bnd - see http://www.aqute.biz/Bnd/Bnd
[INFO] Comparing bundle org.apache.sling.installer.core version 3.8.11-SNAPSHOT 
to version 3.8.10
[INFO] 
[INFO]   PACKAGE_NAME                                       DELTA      CUR_VER  
  BASE_VER   REC_VER    WARNINGS  
[INFO] = ================================================== ========== 
========== ========== ========== ==========
[INFO]   org.apache.sling.installer.api                     unchanged  3.2.1    
  3.2.1      3.2.1      -         
[INFO] 
-----------------------------------------------------------------------------------------------------------
[INFO]   org.apache.sling.installer.api.event               unchanged  1.0.3    
  1.0.3      1.0.3      -         
[INFO] 
-----------------------------------------------------------------------------------------------------------
[INFO]   org.apache.sling.installer.api.info                unchanged  1.1.0    
  1.1.0      1.1.0      -         
[INFO] 
-----------------------------------------------------------------------------------------------------------
[INFO]   org.apache.sling.installer.api.jmx                 unchanged  1.0.3    
  1.0.3      1.0.3      -         
[INFO] 
-----------------------------------------------------------------------------------------------------------
[INFO]   org.apache.sling.installer.api.tasks               unchanged  1.4.0    
  1.4.0      1.4.0      -         
[INFO] 
-----------------------------------------------------------------------------------------------------------
[INFO] Baseline analysis complete, 0 error(s), 0 warning(s)
[INFO] 
[INFO] --- ianal-maven-plugin:1.0-alpha-1:verify-legal-files (default) @ 
org.apache.sling.installer.core ---
[INFO] Checking legal files in: 
org.apache.sling.installer.core-3.8.11-SNAPSHOT.jar
[INFO] Checking legal files in: 
org.apache.sling.installer.core-3.8.11-SNAPSHOT-sources.jar
[INFO] 
[INFO] --- apache-rat-plugin:0.11:check (default) @ 
org.apache.sling.installer.core ---
[INFO] 51 implicit excludes (use -debug for more details).
[INFO] Exclude: DEPENDENCIES
[INFO] Exclude: src/main/appended-resources/META-INF/*
[INFO] Exclude: velocity.log
[INFO] Exclude: target/*
[INFO] Exclude: README.md
[INFO] Exclude: maven-eclipse.xml
[INFO] Exclude: .*
[INFO] Exclude: .*/**
[INFO] Exclude: **/*.json
[INFO] Exclude: DEPENDENCIES
[INFO] Exclude: **/*.rej
[INFO] Exclude: hs_err_*.log
[INFO] Exclude: **/repository/index/*/index-details.txt
[INFO] 79 resources included (use -debug for more details)
[INFO] Rat check: Summary of files. Unapproved: 1 unknown: 1 generated: 0 
approved: 77 licence.
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:27 min
[INFO] Finished at: 2018-02-05T15:04:59+00:00
[INFO] Final Memory: 49M/523M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.11:check 
(default) on project org.apache.sling.installer.core: Too many files with 
unapproved license: 1 See RAT report in: 
<https://builds.apache.org/job/sling-org-apache-sling-installer-core-1.8/ws/target/rat.txt>
 -> [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
channel stopped
Recording test results
Not sending mail to unregistered user [email protected]

Reply via email to