ace-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Jenkins Server <jenk...@builds.apache.org>
Subject Build failed in Jenkins: ACE-trunk #278
Date Sat, 06 Jun 2015 16:37:49 GMT
See <https://builds.apache.org/job/ACE-trunk/278/changes>

Changes:

[marrs] ACE-508 Added the message of the cause to the event that gets recorded in the audit
log.

[marrs] ACE-503 Second part of patch.

[marrs] ACE-503 First part of patch.

[marrs] ACE-490 ACE-491 Removed some System.out statements.

[marrs] ACE-518 Fixed the UI to signal key validation errors to the user.

[marrs] ACE-518 Added validation to keys for attributes and tags.

------------------------------------------
[...truncated 8714 lines...]
    [javac] 	List languageList = new ArrayList();
    [javac] 	^^^^
    [javac] List is a raw type. References to generic type List<E> should be parameterized
    [javac] ----------
    [javac] 173. WARNING in /x1/jenkins/jenkins-slave/workspace/ACE-trunk/org.apache.ace.verifier/src/org/apache/felix/framework/util/manifestparser/R4LibraryClause.java
(at line 251)
    [javac] 	List languageList = new ArrayList();
    [javac] 	                        ^^^^^^^^^
    [javac] ArrayList is a raw type. References to generic type ArrayList<E> should
be parameterized
    [javac] ----------
    [javac] ----------
    [javac] 174. WARNING in /x1/jenkins/jenkins-slave/workspace/ACE-trunk/org.apache.ace.verifier/src/org/apache/felix/framework/wiring/BundleCapabilityImpl.java
(at line 68)
    [javac] 	uses = new ArrayList(tok.countTokens());
    [javac] 	           ^^^^^^^^^
    [javac] ArrayList is a raw type. References to generic type ArrayList<E> should
be parameterized
    [javac] ----------
    [javac] ----------
    [javac] 175. WARNING in /x1/jenkins/jenkins-slave/workspace/ACE-trunk/org.apache.ace.verifier/src/org/apache/felix/framework/wiring/BundleRequirementImpl.java
(at line 64)
    [javac] 	this(revision, namespace, dirs, Collections.EMPTY_MAP, SimpleFilter.convert(attrs));
    [javac] 	                                ^^^^^^^^^^^^^^^^^^^^^
    [javac] Type safety: The expression of type Map needs unchecked conversion to conform
to Map<String,Object>
    [javac] ----------
    [javac] 175 problems (175 warnings)
     [copy] Copying 1 file to /x1/jenkins/jenkins-slave/workspace/ACE-trunk/org.apache.ace.verifier/bin

build:

compileTests:
    [mkdir] Created dir: /x1/jenkins/jenkins-slave/workspace/ACE-trunk/org.apache.ace.verifier/bin_test
    [javac] Compiling 1 source file to /x1/jenkins/jenkins-slave/workspace/ACE-trunk/org.apache.ace.verifier/bin_test
    [javac] /x1/jenkins/jenkins-slave/workspace/ACE-trunk/org.apache.ace.verifier/test/org/apache/ace/deployment/verifier/impl/VerifierTest.java

testng:
    [mkdir] Created dir: /x1/jenkins/jenkins-slave/workspace/ACE-trunk/org.apache.ace.verifier/generated/testng
   [testng] org.apache.felix.framework.resolver.ResolveException: Unable to resolve org.test.foo;version=0.0.0(id=1):
missing requirement [org.test.foo;version=0.0.0(id=1)] osgi.wiring.package; (osgi.wiring.package=org.foo)
   [testng] [TestNG] Running:
   [testng] 	at org.apache.felix.framework.resolver.Candidates.populateRevision(Candidates.java:391)
   [testng]   Ant suite
   [testng] 	at org.apache.felix.framework.resolver.Candidates.populate(Candidates.java:174)
   [testng] 
   [testng] 	at org.apache.felix.framework.resolver.ResolverImpl.resolve(ResolverImpl.java:95)
   [testng] WIRE: org.test.foo;version=0.0.0(id=1) - [org.test.foo;version=0.0.0(id=1)] osgi.wiring.package;
(osgi.wiring.package=org.foo) - [org.test.foo2;version=0.0.0(id=2)] osgi.wiring.package; {bundle-symbolic-name=org.test.foo2,
osgi.wiring.package=org.foo, bundle-version=0.0.0, version=0.0.0} -> org.test.foo2;version=0.0.0(id=2)
   [testng] 	at org.apache.ace.deployment.verifier.impl.VerifyEnvironmentImpl.verifyResolve(VerifyEnvironmentImpl.java:309)
   [testng] WIRE: org.test.foo;version=0.0.0(id=1) - [org.test.foo;version=0.0.0(id=1)] osgi.wiring.package;
(osgi.wiring.package=org.osgi.framework) - [org.apache.felix.framework;version=0.0.0(id=0)]
osgi.wiring.package; {bundle-version=0.0.0, bundle-symbolic-name=[Ljava.lang.String;@17b84f9,
osgi.wiring.package=org.osgi.framework, version=1.5.0} -> org.apache.felix.framework;version=0.0.0(id=0)
   [testng] 	at org.apache.ace.deployment.verifier.impl.VerifierTest.testResolveFail(VerifierTest.java:147)
   [testng] 
   [testng] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   [testng] ===============================================
   [testng] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
   [testng] Ant suite
   [testng] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   [testng] Total tests run: 2, Failures: 0, Skips: 0
   [testng] ===============================================
   [testng] 	at java.lang.reflect.Method.invoke(Method.java:606)
   [testng] 	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
   [testng] 
   [testng] 	at org.testng.internal.Invoker.invokeMethod(Invoker.java:702)
   [testng] 	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:894)
   [testng] 	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1219)
   [testng] 	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
   [testng] 	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
   [testng] 	at org.testng.TestRunner.privateRun(TestRunner.java:767)
   [testng] 	at org.testng.TestRunner.run(TestRunner.java:617)
   [testng] 	at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
   [testng] 	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
   [testng] 	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
   [testng] 	at org.testng.SuiteRunner.run(SuiteRunner.java:240)
   [testng] 	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:53)
   [testng] 	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:87)
   [testng] 	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1197)
   [testng] 	at org.testng.TestNG.runSuitesLocally(TestNG.java:1122)
   [testng] 	at org.testng.TestNG.run(TestNG.java:1030)
   [testng] 	at org.testng.TestNG.privateMain(TestNG.java:1337)
   [testng] 	at org.testng.TestNG.main(TestNG.java:1306)

template.init:

init:

deeptest:

template.init:
     [echo] Enter project org.apache.ace.test

init:

dependencies:

compile:

test:

template.init:
     [echo] Enter project org.apache.ace.range.api

init:

dependencies:

compile:

test:

template.init:
     [echo] Enter project org.apache.ace.feedback.common

init:

dependencies:

compile:

test:

template.init:
     [echo] Enter project org.apache.ace.agent

init:

dependencies:

compile:

test:

template.init:
     [echo] Enter project org.apache.ace.builder

init:

dependencies:

compile:

test:

template.init:
     [echo] Enter project org.apache.ace.agent.controller.itest

init:

dependencies:

compile:

test:
  [bndtest] Testing /x1/jenkins/jenkins-slave/workspace/ACE-trunk/org.apache.ace.agent.controller.itest/bnd.bnd
  [bndtest] ! could not resolve the bundles: [org.mockito.mockito-all-1.9.0Uses constraint
violation. Unable to resolve bundle revision org.mockito.mockito-all [1.0] because it exports
package 'org.hamcrest.core' and is also exposed to it from bundle revision org.apache.felix.framework
[0] via the following dependency chain:
  [bndtest] 
  [bndtest]   org.mockito.mockito-all [1.0]
  [bndtest]     import: (osgi.wiring.package=org.junit)
  [bndtest]      |
  [bndtest]     export: osgi.wiring.package=org.junit; uses:=org.hamcrest.core
  [bndtest]     export: osgi.wiring.package=org.hamcrest.core
  [bndtest]   org.apache.felix.framework [0]
  [bndtest] ]
  [bndtest] ! Failed to start bundle org.mockito.mockito-all-1.9.0, exception Uses constraint
violation. Unable to resolve bundle revision org.mockito.mockito-all [1.0] because it exports
package 'org.hamcrest.core' and is also exposed to it from bundle revision org.apache.felix.framework
[0] via the following dependency chain:
  [bndtest] 
  [bndtest]   org.mockito.mockito-all [1.0]
  [bndtest]     import: (osgi.wiring.package=org.junit)
  [bndtest]      |
  [bndtest]     export: osgi.wiring.package=org.junit; uses:=org.hamcrest.core
  [bndtest]     export: osgi.wiring.package=org.hamcrest.core
  [bndtest]   org.apache.felix.framework [0]
  [bndtest] got context org.apache.felix.framework.BundleContextImpl@1d35c2d
  [bndtest] ____________________________
  [bndtest] Welcome to Apache Felix Gogo
  [bndtest] 
  [bndtest] 2015-06-06 16:37:47.311:INFO:oejs.Server:jetty-7.x.y-SNAPSHOT
  [bndtest] 2015-06-06 16:37:47.354:INFO:oejsh.ContextHandler:started o.e.j.s.ServletContextHandler{/,null}
  [bndtest] 2015-06-06 16:37:47.398:INFO:oejs.AbstractConnector:Started SelectChannelConnector@0.0.0.0:8080
  [bndtest] Uses constraint violation. Unable to resolve bundle revision org.mockito.mockito-all
[1.0] because it exports package 'org.hamcrest.core' and is also exposed to it from bundle
revision org.apache.felix.framework [0] via the following dependency chain:
  [bndtest] 
  [bndtest]   org.mockito.mockito-all [1.0]
  [bndtest]     import: (osgi.wiring.package=org.junit)
  [bndtest]      |
  [bndtest]     export: osgi.wiring.package=org.junit; uses:=org.hamcrest.core
  [bndtest]     export: osgi.wiring.package=org.hamcrest.core
  [bndtest]   org.apache.felix.framework [0]
  [bndtest] Tests run  : 1
  [bndtest] Passed     : 0
  [bndtest] Errors     : 0
  [bndtest] Failures   : 1
  [bndtest] 1 Error(s)
  [bndtest] Tests failed
  [bndtest] 	at aQute.bnd.ant.TestTask.executeProject(TestTask.java:83)
  [bndtest] 	at aQute.bnd.ant.TestTask.execute(TestTask.java:55)
  [bndtest] 	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
  [bndtest] 	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
  [bndtest] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  [bndtest] 	at java.lang.reflect.Method.invoke(Method.java:606)
  [bndtest] 	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
  [bndtest] 	at org.apache.tools.ant.Task.perform(Task.java:348)
  [bndtest] 	at org.apache.tools.ant.Target.execute(Target.java:390)
  [bndtest] 	at org.apache.tools.ant.Target.performTasks(Target.java:411)
  [bndtest] 	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
  [bndtest] 	at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
  [bndtest] 	at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
  [bndtest] 	at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
  [bndtest] 	at org.apache.tools.ant.taskdefs.SubAnt.execute(SubAnt.java:302)
  [bndtest] 	at org.apache.tools.ant.taskdefs.SubAnt.execute(SubAnt.java:221)
  [bndtest] 	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
  [bndtest] 	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
  [bndtest] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  [bndtest] 	at java.lang.reflect.Method.invoke(Method.java:606)
  [bndtest] 	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
  [bndtest] 	at org.apache.tools.ant.Task.perform(Task.java:348)
  [bndtest] 	at org.apache.tools.ant.Target.execute(Target.java:390)
  [bndtest] 	at org.apache.tools.ant.Target.performTasks(Target.java:411)
  [bndtest] 	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
  [bndtest] 	at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
  [bndtest] 	at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
  [bndtest] 	at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
  [bndtest] 	at org.apache.tools.ant.Main.runBuild(Main.java:809)
  [bndtest] 	at org.apache.tools.ant.Main.startAnt(Main.java:217)
  [bndtest] 	at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
  [bndtest] 	at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)

BUILD FAILED
/x1/jenkins/jenkins-slave/workspace/ACE-trunk/cnf/build.xml:55: The following error occurred
while executing this line:
/x1/jenkins/jenkins-slave/workspace/ACE-trunk/cnf/build-template.xml:67: Tests failed

Total time: 5 minutes 0 seconds
Build step 'Invoke Ant' marked build as failure
Recording test results
TestNG Reports Processing: START
Looking for TestNG results report in workspace using pattern: **/testng/testng-results.xml
Saving reports...
Processing '/x1/jenkins/jenkins-home/jobs/ACE-trunk/builds/2015-06-06_16-32-10/testng/testng-results-1.xml'
Processing '/x1/jenkins/jenkins-home/jobs/ACE-trunk/builds/2015-06-06_16-32-10/testng/testng-results-10.xml'
Processing '/x1/jenkins/jenkins-home/jobs/ACE-trunk/builds/2015-06-06_16-32-10/testng/testng-results-11.xml'
Processing '/x1/jenkins/jenkins-home/jobs/ACE-trunk/builds/2015-06-06_16-32-10/testng/testng-results-12.xml'
Processing '/x1/jenkins/jenkins-home/jobs/ACE-trunk/builds/2015-06-06_16-32-10/testng/testng-results-13.xml'
Processing '/x1/jenkins/jenkins-home/jobs/ACE-trunk/builds/2015-06-06_16-32-10/testng/testng-results-14.xml'
Processing '/x1/jenkins/jenkins-home/jobs/ACE-trunk/builds/2015-06-06_16-32-10/testng/testng-results-15.xml'
Processing '/x1/jenkins/jenkins-home/jobs/ACE-trunk/builds/2015-06-06_16-32-10/testng/testng-results-16.xml'
Processing '/x1/jenkins/jenkins-home/jobs/ACE-trunk/builds/2015-06-06_16-32-10/testng/testng-results-17.xml'
Processing '/x1/jenkins/jenkins-home/jobs/ACE-trunk/builds/2015-06-06_16-32-10/testng/testng-results-18.xml'
Processing '/x1/jenkins/jenkins-home/jobs/ACE-trunk/builds/2015-06-06_16-32-10/testng/testng-results-19.xml'
Processing '/x1/jenkins/jenkins-home/jobs/ACE-trunk/builds/2015-06-06_16-32-10/testng/testng-results-2.xml'
Processing '/x1/jenkins/jenkins-home/jobs/ACE-trunk/builds/2015-06-06_16-32-10/testng/testng-results-20.xml'
Processing '/x1/jenkins/jenkins-home/jobs/ACE-trunk/builds/2015-06-06_16-32-10/testng/testng-results-3.xml'
Processing '/x1/jenkins/jenkins-home/jobs/ACE-trunk/builds/2015-06-06_16-32-10/testng/testng-results-4.xml'
Processing '/x1/jenkins/jenkins-home/jobs/ACE-trunk/builds/2015-06-06_16-32-10/testng/testng-results-5.xml'
Processing '/x1/jenkins/jenkins-home/jobs/ACE-trunk/builds/2015-06-06_16-32-10/testng/testng-results-6.xml'
Processing '/x1/jenkins/jenkins-home/jobs/ACE-trunk/builds/2015-06-06_16-32-10/testng/testng-results-7.xml'
Processing '/x1/jenkins/jenkins-home/jobs/ACE-trunk/builds/2015-06-06_16-32-10/testng/testng-results-8.xml'
Processing '/x1/jenkins/jenkins-home/jobs/ACE-trunk/builds/2015-06-06_16-32-10/testng/testng-results-9.xml'
Processing '/x1/jenkins/jenkins-home/jobs/ACE-trunk/builds/2015-06-06_16-32-10/testng/testng-results.xml'
TestNG Reports Processing: FINISH

Mime
View raw message