See <https://builds.apache.org/job/ACE-trunk/188/changes>
Changes: [Jan Willem Janssen] ACE-449 - ISE when reconfigurating deploymentversionlimit: - the deployment version repository tries to purge the available versions on every addition to the repository using the public remove API. When the repository is created from XML, all calls to the public API (including the remove) are blocked, as we want to avoid the caller from messing up a repository that is not consistent yet. This caused the illegal state exception to appear; - the solution is to make an "internal" remove method (analog to the add of a repository) that does not check the busy flag. The public remove method, after having performed the busy check, forwards its call to this internal remove method keeping the same semantics. The purging of deployment versions can now use the internal remove without any issues surrounding the busy flag. ------------------------------------------ [...truncated 3070 lines...] [bndtest] (c) 2007 OSGi, All Rights Reserved [bndtest] Got response code 401 for http://localhost:8080/obr/repository.xml [bndtest] Got response code 404 for http://localhost:8080/obr/repository.xml [bndtest] Bundle Indexer | v2.2 [bndtest] (c) 2007 OSGi, All Rights Reserved [bndtest] Got response code 401 for http://localhost:8080/obr/repository.xml [bndtest] Got response code 404 for http://localhost:8080/obr/repository.xml [bndtest] Bundle Indexer | v2.2 [bndtest] (c) 2007 OSGi, All Rights Reserved [bndtest] Got response code 401 for http://localhost:8080/obr/repository.xml [bndtest] Got response code 404 for http://localhost:8080/obr/repository.xml [bndtest] Bundle Indexer | v2.2 [bndtest] (c) 2007 OSGi, All Rights Reserved [bndtest] Got response code 401 for http://localhost:8080/obr/repository.xml [bndtest] Got response code 404 for http://localhost:8080/auditlog [bndtest] Got response code 401 for http://localhost:8080/auditlog [bndtest] Got response code 401 for http://localhost:8080/auditlog [bndtest] Tests run : 7 [bndtest] Passed : 7 [bndtest] Errors : 0 [bndtest] Failures : 0 [bndtest] All tests passed template.init: [echo] Enter project org.apache.ace.bnd init: dependencies: compile: test: template.init: [echo] Enter project org.apache.ace.client.automation init: dependencies: compile: test: template.init: [echo] Enter project org.apache.ace.client.repository.itest init: dependencies: compile: test: [bndtest] Testing /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ACE-trunk/org.apache.ace.client.repository.itest/bnd.bnd [bndtest] 2014-01-15 12:17:58.520:INFO:oejs.Server:jetty-7.x.y-SNAPSHOT [bndtest] 2014-01-15 12:17:58.587:INFO:oejsh.ContextHandler:started o.e.j.s.ServletContextHandler{/,null} [bndtest] 2014-01-15 12:17:58.625:INFO:oejs.AbstractConnector:Started [email protected]:8080 [bndtest] ____________________________ [bndtest] Welcome to Apache Felix Gogo [bndtest] [bndtest] Bundle Indexer | v2.2 [bndtest] (c) 2007 OSGi, All Rights Reserved [bndtest] Bundle Indexer | v2.2 [bndtest] (c) 2007 OSGi, All Rights Reserved [bndtest] Tests run : 20 [bndtest] Passed : 20 [bndtest] Errors : 0 [bndtest] Failures : 0 [bndtest] All tests passed template.init: [echo] Enter project org.apache.ace.client.rest init: dependencies: compile: test: template.init: [echo] Enter project org.apache.ace.client.rest.itest init: dependencies: compile: test: [bndtest] Testing /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ACE-trunk/org.apache.ace.client.rest.itest/bnd.bnd [bndtest] 2014-01-15 12:18:09.443:INFO:oejs.Server:jetty-7.x.y-SNAPSHOT [bndtest] 2014-01-15 12:18:09.480:INFO:oejsh.ContextHandler:started o.e.j.s.ServletContextHandler{/,null} [bndtest] 2014-01-15 12:18:09.525:INFO:oejs.AbstractConnector:Started [email protected]:8080 [bndtest] ____________________________ [bndtest] Welcome to Apache Felix Gogo [bndtest] [bndtest] store: /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ACE-trunk/build/generated/store [bndtest] Bundle Indexer | v2.2 [bndtest] (c) 2007 OSGi, All Rights Reserved [bndtest] http://localhost:8080/client/work/rest-43/artifact/artifact-Bundle-SymbolicName-foo.b1-Bundle-Version-1.0.0 [bndtest] http://localhost:8080/client/work/rest-43/artifact/artifact-Bundle-SymbolicName-foo.b2-Bundle-Version-1.0.0 [bndtest] http://localhost:8080/client/work/rest-43/artifact/artifact-Bundle-SymbolicName-foo.b3-Bundle-Version-1.0.0 [bndtest] http://localhost:8080/client/work/rest-43/artifact2feature/artifact2feature-leftEndpoint-%28artifactName%3Dfoo.a1%29-rightEndpoint-%28name%3Dfoo.f1%29-rightCardinality-1-leftCardinality-1 [bndtest] http://localhost:8080/client/work/rest-43/artifact2feature/artifact2feature-leftEndpoint-%28artifactName%3Dfoo.a2%29-rightEndpoint-%28name%3Dfoo.f2%29-rightCardinality-1-leftCardinality-1 [bndtest] http://localhost:8080/client/work/rest-43/artifact2feature/artifact2feature-leftEndpoint-%28artifactName%3Dfoo.a3%29-rightEndpoint-%28name%3Dfoo.f3%29-rightCardinality-1-leftCardinality-1 [bndtest] http://localhost:8080/client/work/rest-43/feature/feature-name-foo.f1 [bndtest] http://localhost:8080/client/work/rest-43/feature/feature-name-foo.f2 [bndtest] http://localhost:8080/client/work/rest-43/feature/feature-name-foo.f3 [bndtest] http://localhost:8080/client/work/rest-43/feature2distribution/feature2distribution-leftEndpoint-%28name%3Dfoo.f1%29-rightEndpoint-%28name%3Dfoo.d1%29-rightCardinality-1-leftCardinality-1 [bndtest] http://localhost:8080/client/work/rest-43/feature2distribution/feature2distribution-leftEndpoint-%28name%3Dfoo.f2%29-rightEndpoint-%28name%3Dfoo.d1%29-rightCardinality-1-leftCardinality-1 [bndtest] http://localhost:8080/client/work/rest-43/feature2distribution/feature2distribution-leftEndpoint-%28name%3Dfoo.f3%29-rightEndpoint-%28name%3Dfoo.d1%29-rightCardinality-1-leftCardinality-1 [bndtest] http://localhost:8080/client/work/rest-43/distribution/distribution-name-foo.d1 [bndtest] http://localhost:8080/client/work/rest-43/distribution2target/distribution2target-leftEndpoint-%28name%3Dfoo.d1%29-rightEndpoint-%28id%3Dfoo.t1%29-rightCardinality-1-leftCardinality-1 [bndtest] http://localhost:8080/client/work/rest-43/target/target-id-foo.t1 [bndtest] Tests run : 5 [bndtest] Passed : 5 [bndtest] Errors : 0 [bndtest] Failures : 0 [bndtest] All tests passed template.init: [echo] Enter project org.apache.ace.configurator.useradmin.itest init: dependencies: compile: test: [bndtest] Testing /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ACE-trunk/org.apache.ace.configurator.useradmin.itest/bnd.bnd [bndtest] 2014-01-15 12:18:29.456:INFO:oejs.Server:jetty-7.x.y-SNAPSHOT [bndtest] 2014-01-15 12:18:29.505:INFO:oejsh.ContextHandler:started o.e.j.s.ServletContextHandler{/,null} [bndtest] 2014-01-15 12:18:29.542:INFO:oejs.AbstractConnector:Started [email protected]:8080 [bndtest] Tests run : 1 [bndtest] Passed : 1 [bndtest] Errors : 0 [bndtest] Failures : 0 [bndtest] All tests passed template.init: [echo] Enter project org.apache.ace.consolelogger init: dependencies: compile: test: template.init: [echo] Enter project org.apache.ace.deployment.itest init: dependencies: compile: test: [bndtest] Testing /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ACE-trunk/org.apache.ace.deployment.itest/bnd.bnd [bndtest] 2014-01-15 12:18:33.234:INFO:oejs.Server:jetty-7.x.y-SNAPSHOT [bndtest] 2014-01-15 12:18:33.310:INFO:oejsh.ContextHandler:started o.e.j.s.ServletContextHandler{/,null} [bndtest] ____________________________ [bndtest] Welcome to Apache Felix Gogo [bndtest] [bndtest] 2014-01-15 12:18:33.373:INFO:oejs.AbstractConnector:Started [email protected]:8080 [bndtest] 2014-01-15 12:18:33.424:INFO:oejsh.ContextHandler:stopped o.e.j.s.ServletContextHandler{/,null} [bndtest] 2014-01-15 12:18:33.500:INFO:oejs.Server:jetty-7.x.y-SNAPSHOT [bndtest] 2014-01-15 12:18:33.501:INFO:oejsh.ContextHandler:started o.e.j.s.ServletContextHandler{/,null} [bndtest] 2014-01-15 12:18:33.508:INFO:oejs.AbstractConnector:Started [email protected]:8080 [bndtest] Bundle Indexer | v2.2 [bndtest] (c) 2007 OSGi, All Rights Reserved [bndtest] Event: org.osgi.service.event.Event [topic=org/osgi/service/deployment/COMPLETE] [bndtest] Event: org.osgi.service.event.Event [topic=org/osgi/service/deployment/COMPLETE] [bndtest] Event: org.osgi.service.event.Event [topic=org/osgi/service/deployment/COMPLETE] [bndtest] Tests run : 2 [bndtest] Passed : 1 [bndtest] Errors : 1 [bndtest] Failures : 0 [bndtest] 1 Error(s) [bndtest] Tests failed [bndtest] at aQute.bnd.ant.TestTask.executeProject(TestTask.java:78) [bndtest] at aQute.bnd.ant.TestTask.execute(TestTask.java:49) [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:25) [bndtest] at java.lang.reflect.Method.invoke(Method.java:597) [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:25) [bndtest] at java.lang.reflect.Method.invoke(Method.java:597) [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 /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ACE-trunk/cnf/build.xml:55: The following error occurred while executing this line: /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ACE-trunk/cnf/build-template.xml:67: Tests failed Total time: 12 minutes 41 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/2014-01-15_12-03-36/testng/testng-results-1.xml' Processing '/x1/jenkins/jenkins-home/jobs/ACE-trunk/builds/2014-01-15_12-03-36/testng/testng-results-10.xml' Processing '/x1/jenkins/jenkins-home/jobs/ACE-trunk/builds/2014-01-15_12-03-36/testng/testng-results-11.xml' Processing '/x1/jenkins/jenkins-home/jobs/ACE-trunk/builds/2014-01-15_12-03-36/testng/testng-results-12.xml' Processing '/x1/jenkins/jenkins-home/jobs/ACE-trunk/builds/2014-01-15_12-03-36/testng/testng-results-13.xml' Processing '/x1/jenkins/jenkins-home/jobs/ACE-trunk/builds/2014-01-15_12-03-36/testng/testng-results-14.xml' Processing '/x1/jenkins/jenkins-home/jobs/ACE-trunk/builds/2014-01-15_12-03-36/testng/testng-results-15.xml' Processing '/x1/jenkins/jenkins-home/jobs/ACE-trunk/builds/2014-01-15_12-03-36/testng/testng-results-16.xml' Processing '/x1/jenkins/jenkins-home/jobs/ACE-trunk/builds/2014-01-15_12-03-36/testng/testng-results-17.xml' Processing '/x1/jenkins/jenkins-home/jobs/ACE-trunk/builds/2014-01-15_12-03-36/testng/testng-results-2.xml' Processing '/x1/jenkins/jenkins-home/jobs/ACE-trunk/builds/2014-01-15_12-03-36/testng/testng-results-3.xml' Processing '/x1/jenkins/jenkins-home/jobs/ACE-trunk/builds/2014-01-15_12-03-36/testng/testng-results-4.xml' Processing '/x1/jenkins/jenkins-home/jobs/ACE-trunk/builds/2014-01-15_12-03-36/testng/testng-results-5.xml' Processing '/x1/jenkins/jenkins-home/jobs/ACE-trunk/builds/2014-01-15_12-03-36/testng/testng-results-6.xml' Processing '/x1/jenkins/jenkins-home/jobs/ACE-trunk/builds/2014-01-15_12-03-36/testng/testng-results-7.xml' Processing '/x1/jenkins/jenkins-home/jobs/ACE-trunk/builds/2014-01-15_12-03-36/testng/testng-results-8.xml' Processing '/x1/jenkins/jenkins-home/jobs/ACE-trunk/builds/2014-01-15_12-03-36/testng/testng-results-9.xml' Processing '/x1/jenkins/jenkins-home/jobs/ACE-trunk/builds/2014-01-15_12-03-36/testng/testng-results.xml' TestNG Reports Processing: FINISH
