How to ensure my bundles get activated before testing?

319 views
Skip to first unread message

t...@quarendon.net

unread,
Jun 27, 2016, 7:19:40 AM6/27/16
to bndtools-users
I'm struggling to get my junit integration tests working reliably at the moment.
It works fine if I run it from within eclipse, but run from a gradle build, it fails.

My integration test is a ".test" osgi bundle project, that is trying to test my REST API endpoints, so I'm using a jersey http client to invoke the endpoints. My test project doesn't have any direct dependency on my "rest api" bundles, though it does have dependencies on the corresponding "api" bundles due to the way that the jersey client API code works (it needs access to the "value objects" that are returned from the REST api endpoints so that it can deserialise them at the client). There's no direct dependency on the bundles containing the rest api endpoints, it's all done through REST api calls that loop back to the HTTP whiteboard service (the tests query the service properties to find out what port it's listening on). The bundles containing the rest api endpoints are in the bndrun configuration, and the errors I'm getting prove that they are being invoked.

I have three providers that are relevant, one that manages persistence, manages ownership of a database connection, and two that register themselves through a @Reference(policy=ReferencePolicy.DYNAMIC) reference with the persistence provider, registering that they want to be involved in database initialisation. During my @Before method in my unit tests I call a REST API entry point that is supposed to initialise the database. One of the bundles has been registered and gets initialised, the other bundle doesn't get initialised.

Curiously adding an explicit "Activator" class to the bundle that isn't getting activated cures things. This makes me (very) suspicious. This doesn't seem like a proper fix, especially as it's only required on one of my bundles to make things work, and not on the other, very similarly structured one. 

So before I attempt to describe my project structure further, or try to set up a test project that mirrors it, in general, how would I ensure that bundles get activated in a unit test environment? I'm clearly missing something here.
I naively tried adding a @Reference to the "api" of the relevant "provider" classes, but that made no difference, which I found odd. Indeed the references are null during my @Before method, both for the "problem" provider and for the "working" provider, so I suspect that's a pointless thing to try anyhow.
I naively tried putting a "sleep" in, also using a ServiceTracker to say "waitForService", but that just hung forever.
I've tried using "immediate=true" on my components with no difference in behaviour.
When running as an OSGi junit test, I have no idea how how to trace what is going on. 
I tried "-runtrace:true" on my bndrun file, and the problem cured itself.


I've tried looking at a stack dump from my "@Before" method in my unit test, and some of the aQute.launcher and aQute.junit source code, but I'm afraid it hasn't given me any insight.

Can I control the start levels somehow from the bndrun file, to control the order in which the bundles are initialised relative to the main "aQute.junit" one?

Thanks.



Darren Landoll

unread,
Jun 27, 2016, 2:19:24 PM6/27/16
to bndtool...@googlegroups.com
This sounds similar to an issue I had not too long ago with some bundles not getting deployed during integration tests executed during a Gradle build. What I found was that since an implementation bundle may not be directly depended on by the integration test project, it was possible for the integration tests to run before the implementation bundle was built (if running Gradle from a clean build).

I could assemble/build all projects first and then run the tests from Gradle to get it working. To solve the problem, I added the "dependson" macro to the integration test BND file so it would know to build the addtional bundle(s) first...


-dependson: example.bundle.impl



--
You received this message because you are subscribed to the Google Groups "bndtools-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bndtools-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

t...@quarendon.net

unread,
Jun 28, 2016, 3:21:02 AM6/28/16
to bndtools-users


On Monday, 27 June 2016 19:19:24 UTC+1, Darren Landoll wrote:
This sounds similar to an issue I had not too long ago with some bundles not getting deployed during integration tests executed during a Gradle build. What I found was that since an implementation bundle may not be directly depended on by the integration test project, it was possible for the integration tests to run before the implementation bundle was built (if running Gradle from a clean build).


I've got my "rest api" projects in the -runrequires section of my integration test bundle, and the runbundles section has those, and the associated "provider" projects. So naively I assume that the gradle build will ensure that those projects are built, and included in the execution configuration. Indeed looking at the gradle output it is certainly building things in the right order, and from recollection when I looked at the launcher.properties file, and the runtrace output, the bundles were being included, I'm pretty sure it's an activation order issue.

I'm fairly sure its down to how the aQute.launcher and aQute.junit code is implemented. My reading of the code of the launcher is that the framework is activating bundles and wiring things on one thread, and as soon as the aQute.junit bundle is activated, the main launch thread notices and then runs the junit tests, regardless of whether there is more activation and wiring to do. That's my reading of the code anyway.

I was hoping someone with more OSGi knowledge, and more knowledge of that code could comment and suggest ways in which things might be going wrong, or ways to control the activation order in this environment.

Indeed I run the same tests this morning, having ignored the problem for a while yesterday and added some further testing, and the problem has gone away. There's definitely a timing problem with the way that the activation happens in this environment. Somehow it feels like the unit test runner needs to wait until "everything" has been activated and wired up before it runs, but I've got no idea how you even define that. Controlling the start levels seems one way that you might be able to control that.


Christian Schneider

unread,
Jun 28, 2016, 3:33:21 AM6/28/16
to bndtool...@googlegroups.com
In OSGi it is very difficult to guarantee a state like fully started. After all you can even change a config at runtime which causes services to restart.

If I got you right then you are doing a REST test. So your test implements a client which calls a REST service. Is that correct?
I have implemented such a test a while ago in pax exam and had similar problems. As the REST client has no OSGi dependency on the REST service the launcher can not really help you.

What I did was to implement a generic method to retry an action for some time until it succeeds or times out:
https://github.com/Talend/tesb-rt-se/blob/master/examples/tesb/ebook/ebook-itests/src/test/java/org/talend/esb/examples/ebook/itest/AbstractJPAItest.java#L100-L125

Here is how to use it. If you use Java 8 closures the code will look even nicer.
https://github.com/Talend/tesb-rt-se/blob/master/examples/tesb/ebook/ebook-itests/src/test/java/org/talend/esb/examples/ebook/itest/ImportRouteTest.java#L47-L51

I think we need such concepts in a testing library. They are even independent of OSGi. If you start an application server in your integration tests and then access it with a REST client you will have
the same problems.  Maybe this already exists as some lib. I would be happy about pointers in this case.

Christian
--
You received this message because you are subscribed to the Google Groups "bndtools-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bndtools-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


-- 
Christian Schneider
http://www.liquid-reality.de

Open Source Architect
http://www.talend.com

BJ Hargrave

unread,
Jun 28, 2016, 7:43:09 AM6/28/16
to bndtool...@googlegroups.com
The gradle build does not process -runrequires or -runbundles. So it will not build any projects referenced in there. If you need projects not listed in -buildpath to be built as a dependency, make sure to list the project names in -dependson. See https://github.com/bndtools/bnd/blob/master/biz.aQute.bndlib.comm.tests/bnd.bnd#L4
 as an example.

--
You received this message because you are subscribed to the Google Groups "bndtools-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bndtools-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
--
BJ

t...@quarendon.net

unread,
Jun 28, 2016, 8:52:12 AM6/28/16
to bndtools-users


On Tuesday, 28 June 2016 08:33:21 UTC+1, Christian Schneider wrote:
What I did was to implement a generic method to retry an action for some time until it succeeds or times out:
https://github.com/Talend/tesb-rt-se/blob/master/examples/tesb/ebook/ebook-itests/src/test/java/org/talend/esb/examples/ebook/itest/AbstractJPAItest.java#L100-L125


Should not the ServiceTracker help? I mean I put in a service tracker for the services that I knew I needed to have running in order for the test to make sense, and then used "waitForService", but I just got a hang. 

The problem is that the symptom I get is an HTTP 500 response, "internal server error" due to an error talking to my uninitialised database. I'm not sure I like the idea of putting that in a loop, saying "while HTTP 500 returned, retry". I'm actually not even sure whether that even makes sense, my suspicion is that it will already be too late.

I appreciate the difficulty, it's why I used quotes round "everything" and said "I've got no idea how you even define that". Informally at least, in a unit test environment, it does seem like there ought to be a good definition of what "everything is running now" means. 

Christian Schneider

unread,
Jun 28, 2016, 8:58:09 AM6/28/16
to bndtool...@googlegroups.com
I guess it depends a lot on your actual project setup. So how about giving it a try with the code I posted. If it works you have something and then can work on a
better solution that maybe avoids the retries.

Christian
--
You received this message because you are subscribed to the Google Groups "bndtools-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bndtools-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Bram Pouwelse

unread,
Jun 28, 2016, 9:06:17 AM6/28/16
to bndtool...@googlegroups.com
Hi Tom, 

You could have a look at the Amdatu Testing [1] project, it allows you to define service dependencies (and even HttpEndpoints but that seems to be undocumented on the website) that must be available before performing the starting the test. 

Regards, 
Bram

t...@quarendon.net

unread,
Jun 28, 2016, 9:51:55 AM6/28/16
to bndtools-users


On Tuesday, 28 June 2016 12:43:09 UTC+1, BJ Hargrave wrote:
The gradle build does not process -runrequires or -runbundles.

So *anything* I have in my "runbundles" list that is one of my projects, I need to duplicate into "dependson"? Presumably things in "buildpath" are noted as dependencies by gradle though.


t...@quarendon.net

unread,
Jun 28, 2016, 9:58:42 AM6/28/16
to bndtools-users
So *anything* I have in my "runbundles" list that is one of my projects, I need to duplicate into "dependson"? Presumably things in "buildpath" are noted as dependencies by gradle though.


Ah, not quite. The "runbundles" is a list of bundles, the "dependson" is a list of *projects*, which may or not be the same thing (not in my case).


Peter Kriens

unread,
Jun 28, 2016, 10:01:07 AM6/28/16
to bndtool...@googlegroups.com
-runbundles should be in your dependencies.

Kind regards,

Peter Kriens

t...@quarendon.net

unread,
Jun 28, 2016, 10:03:25 AM6/28/16
to bndtools-users


On Tuesday, 28 June 2016 14:06:17 UTC+1, Bram Pouwelse wrote:
You could have a look at the Amdatu Testing [1] project, it allows you to define service dependencies (and even HttpEndpoints but that seems to be undocumented on the website) that must be available before performing the starting the test. 

I will check it out. It certainly seems to have ways of dealing with configuration, which is not something I've managed to get working yet (I'm relying on fallback environment variables as the only way I can get configuration options in). 

I will give it a go and see if I can set things up. My concern is knowing whether the tests just happen to work now, today, or whether they will always work because I've got the right dependencies in.



BJ Hargrave

unread,
Jun 28, 2016, 10:48:42 AM6/28/16
to bndtool...@googlegroups.com
Peter misspoke. -runbundles are not part of the build dependencies. Only projects in -buildpath and -dependson are part of the build dependencies of a project (which are used by gradle).
--
--
BJ

t...@quarendon.net

unread,
Jun 30, 2016, 3:39:50 AM6/30/16
to bndtools-users
I will check it out.

I've been playing the Amdatu testing. 
On the face of it it seems to do what I want. 
I ended up creating a special Configuration step that queried a rest API point to check that the required database initialiser objects were registered. This is my main issue -- unless those are wired up, the database doesn't get initialised properly for the tests to run.

However.
It still sometimes doesn't work. So ultimately this doesn't actually appear to have any effect. I still get cases where my configuration step just loops waiting for the initialisers to be available, but they never are.

I feel sure that this is down to the fundamental behaviour of the launcher and how it works. I don't know enough about the threading of things to know whether just waiting for a while will allow other threads to continue the wiring process so that the condition I'm waiting for will eventually be satisfied. My experience is that this doesn't seem to be the case.
I'm going to have to work out how to set myself up to actually step through the launcher code and see what the threads are doing, but my experience of attempting to debug that kind of thing so far hasn't been great (naively if I try and look down the stack to those layers in the debugger I just get lack of source code, even when I can navigate into the source code of jars in the build path).

t...@quarendon.net

unread,
Jun 30, 2016, 4:03:31 AM6/30/16
to bndtools-users
I feel sure that this is down to the fundamental behaviour of the launcher and how it works. I don't know enough about the threading of things to know whether just waiting for a while will allow other threads to continue the wiring process so that the condition I'm waiting for will eventually be satisfied. 

Actually a simple piece of debugging appears to show what the problem is.
My test @Before method is invoked on the main thread. This uses the Amdatu testing configuration steps to wait for a certain condition to be true.
The wiring that I'm waiting for, also happens on the main thread. 
So unless the condition is true first time, it's never going to be true, because the action that will make it true will also happen on the main thread.

So I must be missing something here, because there would *appear* to be a fundamental issue in the design of the junit test runner. It would appear that the bundle activator for that bundle just attempts to run the tests, without any consideration of whether other bundles might need activating. My test waiting for things just results in a hang because it's wanting for things that will never happen.

I'm mis-reading something, surely?

t...@quarendon.net

unread,
Jun 30, 2016, 4:31:01 AM6/30/16
to bndtools-users
My test @Before method is invoked on the main thread. This uses the Amdatu testing configuration steps to wait for a certain condition to be true.
The wiring that I'm waiting for, also happens on the main thread. 
So unless the condition is true first time, it's never going to be true, because the action that will make it true will also happen on the main thread.


Interestingly, setting the "tester.seperatethread" property to true DOESN'T cure the problem. So although I can see that this does make things happen in different threads, the deadlock still remains. So I can see that the code that is running, waiting for the wiring to be complete, is now being run in the "bnd Runtime Test Bundle" thread, and what wiring does get done happens on the "main" thread, I still get a hang, the test still waits forever for the condition to become true. 

t...@quarendon.net

unread,
Jun 30, 2016, 6:37:12 AM6/30/16
to bndtools-users
Interestingly, setting the "tester.seperatethread" property to true DOESN'T cure the problem. So although I can see that this does make things happen in different threads, the deadlock still remains. So I can see that the code that is running, waiting for the wiring to be complete, is now being run in the "bnd Runtime Test Bundle" thread, and what wiring does get done happens on the "main" thread, I still get a hang, the test still waits forever for the condition to become true. 
 
This is really very curious.  
Here's what I see.

With -runtrace:true set on, and running inside the debugger, I see
# starting org.apache.felix.scr
Then it stops in the constructor of the first of my provider classes, then the @Activate method
Then it stops in the "addDatabaseInitialiser" method that is declared as:
@Reference(
policy=ReferencePolicy.DYNAMIC, 
cardinality=ReferenceCardinality.MULTIPLE)
This is my "whiteboard" pattern.
Then it stops in my @Before method that then checks that the required database initialisers are present, they are, so the tests run successfully.
All this happens on the main thread, so can't(?) be subject to timing issues. 

Same is then repeated for the other provider.

Without -runtrace:true set, still running inside the debugger, I see different things depending on how long I pause at the break points. 
Sometimes I see 
provider 1 constructed
provider 1 wired up
provider 2 constructed
provider 2 wired
tests pass.

Sometimes:
provider 1 constructed
provider 2 constructed
provider 1 wired
Tests fail with lack of database initialisers.

And other similar combinations. All these things always happen on the main thread, which is what makes it very odd. There must be some background thread things going on that are altering what I see happen on the main thread somehow.


What I consistently see though is that if the condition of "are there enough database initialisers wired up" fails when my @Before method of my test has run, it will never ever become true. I have never ever seen that happen, whether I use the "seperatethread" option or not. My conclusion is that the felix scr still has work to do, but is not given an opportunity to do it, or something.


So there seems to be a fundamental problem here I can't diagnose. It's way down in the depths of how the felix scr seems to be initalising things, and the interaction between that and how the launcher then kicks off the junit runner main code. That's way beyond the level I can diagnose, especially without the ability to step through code.

Fundamentally for me, running junit tests using the aQute.junit bundle is broken. There doesn't seem to be a solution to reliably get things wired up. 
So I'm stuck. As it stands I'm going to have to disable all of my integration tests as they keep failing on the CI build server and making the builds hang.

Any suggesting for diagnosing this would be greatly appreciated. I could set up a standalone project that had the same structure as my real code, but almost certainly it wouldn't actually exhibit the same problem, but if it would be useful for explaining the structure, I could probably do that. I can't realistically put all my code on github for someone else to look at.

Thanks.

Bram Pouwelse

unread,
Jun 30, 2016, 6:59:18 AM6/30/16
to bndtools-users
Hi Tom, 

I have no experience with DS but if you could create a sample workspace to demonstrate the issue that would help, at least that gives me (or us) the chance to have a look at it and maybe spot the obvious thing you might've missed. If the @Before method is really blocking DS from wiring components it might be possible to demonstrate this by having a DS component depending on a service you register from the before method (just an idea that might work to demonstrate).

Regards, 
Bram

--

t...@quarendon.net

unread,
Jun 30, 2016, 8:34:03 AM6/30/16
to bndtools-users
I have created a workspace at:

In fact in this one Iv'e done something even worse. It doesn't even attempt to run my test cases, doesn't even start up the junit runner. No idea why.
It shows the structure of what I'm trying to do, though at the moment I can't tell whether this workspace will exhibit the problem or not, as it just hangs the junit runner. So if nothing else it is an example of that issue.

Peter Kriens

unread,
Jun 30, 2016, 8:44:08 AM6/30/16
to bndtool...@googlegroups.com
Running TestRestApiEndpoints seems to work (though it fails):

2016-06-30 14:40:58.041:INFO::main: Logging initialized @913ms
2016-06-30 14:40:58.092:INFO:oejs.Server:main: jetty-9.2.12.v20150709
2016-06-30 14:40:58.140:INFO:oejsh.ContextHandler:main: Started o.e.j.s.ServletContextHandler@3246fb96{/,null,AVAILABLE}
2016-06-30 14:40:58.140:INFO:oejs.Server:main: Started @1012ms
2016-06-30 14:40:58.166:INFO:oejs.ServerConnector:main: Started ServerConnector@1af2d44a{HTTP/1.1}{0.0.0.0:8080}
[INFO] Started Jetty 9.2.12.v20150709 at port(s) HTTP:8080 on context path /
[WARNING] Deprecation warning: Filter registered through Apache Felix whiteboard service: {javax.servlet.Filter}={service.ranking=-10, pattern=/.*, service.id=29, service.bundleid=12, service.scope=singleton}. Please change your code to the OSGi Http Whiteboard Service.
[DEBUG] Reusing context with id []
[INFO] Detected extended HttpService. Filters enabled.
[INFO] Http service whiteboard started
addDatabaseInitializer(type1.provider.Type1Impl)
In thread main
addDatabaseInitializer(type2.provider.Type2Impl)
In thread main
TestRestApiEndpoints.setUp
TestRestApiEndpoints.tearDown
Tests run : 1
Passed : 0
Errors : 1
Failures : 0

This is not what you get?

Kind regards.

Peter Kriens

t...@quarendon.net

unread,
Jun 30, 2016, 8:49:44 AM6/30/16
to bndtools-users
This is not what you get?


No, it hangs. 
Putting  
-Dtester.trace=true
on, I get

# running in main thread
# test cases null
# using port 49250
# run unresolved true
# automatic testing of all bundles with Test-Cases header
# using D:\work\eclipse_workspaces\test_wiring_issue\type1.test\generated\test-reports, needed creation false
# adding Bundle Listener for getting test bundle events
# starting queue


and if I break in the debugger, in the stack trace it is in the Activator.automatic method, which seems to be some "automatic" "continuous" testing mode.

Peter Kriens

unread,
Jun 30, 2016, 8:59:38 AM6/30/16
to bndtool...@googlegroups.com
This is my full trace: (I added to the bnd file:

-runtrace: true
-runproperties: tester.trace=true

)

Kind regards,

Peter Kriens

# properties {launch.bundles=/Users/aqute/.bnd/cache/http3A2F2Frepository.amdatu.org2Fdependencies2Fcom.fasterxml.jackson.core.jackson-annotations/jackson-annotations-2.6.3.jar,/Users/aqute/.bnd/cache/http3A2F2Frepository.amdatu.org2Fdependencies2Fcom.fasterxml.jackson.core.jackson-core/jackson-core-2.6.3.jar,/Users/aqute/.bnd/cache/http3A2F2Frepository.amdatu.org2Fdependencies2Fcom.fasterxml.jackson.core.jackson-databind/jackson-databind-2.6.3.jar,/Users/aqute/.bnd/cache/http3A2F2Frepository.amdatu.org2Fdependencies2Fcom.fasterxml.jackson.jaxrs.jackson-jaxrs-base/jackson-jaxrs-base-2.6.3.jar,/Users/aqute/.bnd/cache/http3A2F2Frepository.amdatu.org2Fdependencies2Fcom.fasterxml.jackson.jaxrs.jackson-jaxrs-json-provider/jackson-jaxrs-json-provider-2.6.3.jar,/Users/aqute/.bnd/shacache/shas/2DF97EBD4E5C01599584C45CAA3AEB563D268EEF/com.sun.jersey.client-1.19.1.jar,/Users/aqute/.bnd/shacache/shas/04282D106F2ACD5051BD9BC2935ED9A2920C9385/com.sun.jersey.core-1.19.1.jar,/Users/aqute/.bnd/cache/http3A2F2Frepository.amdatu.org2Frelease2Forg.amdatu.testing.configurator/org.amdatu.testing.configurator-3.1.0.jar,/Users/aqute/.bnd/cache/http3A2F2Frepository.amdatu.org2Frelease2Forg.amdatu.testing.configurator/org.amdatu.testing.configurator-4.0.0.jar,/Users/aqute/.bnd/cache/http3A2F2Frepository.amdatu.org2Frelease2Forg.amdatu.testing.http/org.amdatu.testing.http-1.0.0.jar,/Users/aqute/.bnd/cache/http3A2F2Frepository.amdatu.org2Frelease2Forg.amdatu.web.rest.jaxrs/org.amdatu.web.rest.jaxrs-1.0.9.jar,/Users/aqute/.bnd/cache/http3A2F2Frepository.amdatu.org2Frelease2Forg.amdatu.web.rest.wink/org.amdatu.web.rest.wink-2.0.4.jar,/Users/aqute/.bnd/cache/http3A2F2Frepository.amdatu.org2Fdependencies2Forg.apache.felix.configadmin/org.apache.felix.configadmin-1.8.6.jar,/Users/aqute/.bnd/cache/http3A2F2Frepository.amdatu.org2Fdependencies2Forg.apache.felix.dependencymanager/org.apache.felix.dependencymanager-4.3.0.jar,/Users/aqute/.bnd/cache/http3A2F2Frepository.amdatu.org2Fdependencies2Forg.apache.felix.http.api/org.apache.felix.http.api-3.0.0.jar,/Users/aqute/.bnd/cache/https3A2F2Fraw.githubusercontent.com2Fosgi2Fosgi.enroute2Fv1.0.02Fcnf2Fdistro2Forg.apache.felix.http.jetty/org.apache.felix.http.jetty-3.1.0.jar,/Users/aqute/.bnd/cache/http3A2F2Frepository.amdatu.org2Fdependencies2Forg.apache.felix.http.servlet-api/org.apache.felix.http.servlet-api-1.1.2.jar,/Users/aqute/.bnd/cache/http3A2F2Frepository.amdatu.org2Fdependencies2Forg.apache.felix.http.whiteboard/org.apache.felix.http.whiteboard-3.0.0.jar,/Users/aqute/.bnd/cache/http3A2F2Frepository.amdatu.org2Fdependencies2Forg.apache.felix.log/org.apache.felix.log-1.0.1.jar,/Users/aqute/.bnd/cache/https3A2F2Fraw.githubusercontent.com2Fosgi2Fosgi.enroute2Fv1.0.02Fcnf2Fdistro2Forg.apache.felix.scr/org.apache.felix.scr-2.0.0.jar,/Users/aqute/.bnd/cache/https3A2F2Fraw.githubusercontent.com2Fosgi2Fosgi.enroute2Fv1.0.02Fcnf2Fdistro2Forg.eclipse.equinox.event/org.eclipse.equinox.event-1.3.100.jar,/Users/aqute/.bnd/cache/https3A2F2Fraw.githubusercontent.com2Fosgi2Fosgi.enroute2Fv1.0.02Fcnf2Fdistro2Forg.eclipse.equinox.metatype/org.eclipse.equinox.metatype-1.4.100.jar,/Users/aqute/.bnd/cache/https3A2F2Fraw.githubusercontent.com2Fosgi2Fosgi.enroute2Fv1.0.02Fcnf2Fdistro2Forg.osgi.service.event/org.osgi.service.event-1.3.1.jar,/Users/aqute/.bnd/cache/https3A2F2Fraw.githubusercontent.com2Fosgi2Fosgi.enroute2Fv1.0.02Fcnf2Fdistro2Forg.osgi.service.metatype/org.osgi.service.metatype-1.3.0.jar,/Users/aqute/.bnd/cache/https3A2F2Fraw.githubusercontent.com2Fosgi2Fosgi.enroute2Fv1.0.02Fcnf2Fdistro2Fosgi.enroute.hamcrest.wrapper/osgi.enroute.hamcrest.wrapper-1.3.0.jar,/Users/aqute/.bnd/cache/https3A2F2Fraw.githubusercontent.com2Fosgi2Fosgi.enroute2Fv1.0.02Fcnf2Fdistro2Fosgi.enroute.junit.wrapper/osgi.enroute.junit.wrapper-4.12.0.jar,/Ws/temp/test_wiring_issue/persistence/generated/persistence.provider.jar,/Ws/temp/test_wiring_issue/persistence/generated/persistence.rest.jar,/Ws/temp/test_wiring_issue/type1/generated/type1.provider.jar,/Ws/temp/test_wiring_issue/type1/generated/type1.rest.jar,/Ws/temp/test_wiring_issue/type1.test/generated/type1.test.jar,/Ws/temp/test_wiring_issue/type2/generated/type2.provider.jar,/Ws/temp/test_wiring_issue/type1.test/generated/type1.test.jar,/Ws/temp/test_wiring_issue/cnf/cache/3.3.0/biz.aQute.tester/biz.aQute.tester-3.3.0.jar, tester.port=50023, tester.dir=/Ws/temp/test_wiring_issue/type1.test/generated/test-reports, tester.names=type1.test.TestRestApiEndpoints, launch.noreferences=false, tester.unresolved=true, org.apache.felix.http.jettyEnabled=true, launch.storage.dir=/Ws/temp/test_wiring_issue/type1.test/generated/fw, tester.trace=true, launch.activators=osgi.enroute.equinox.log.adapter.HideEquinoxLog, launch.timeout=0, org.apache.felix.http.whiteboardEnabled=true, tester.continuous=false, launch.system.capabilities=osgi.native;osgi.native.osname:List<String>="MacOSX,Mac OS X";osgi.native.osversion:Version="10.11.5";osgi.native.processor:List<String>="x86-64,amd64,em64t,x86_64";osgi.native.language=en_US, launch.embedded=false, osgi.console.enable.builtin=false, launch.system.packages=javax.annotation.processing;version=0,javax.crypto;version=0,javax.crypto.interfaces;version=0,javax.crypto.spec;version=0,javax.lang.model;version=0,javax.lang.model.element;version=0,javax.lang.model.type;version=0,javax.lang.model.util;version=0,javax.management;version=0,javax.management.loading;version=0,javax.management.modelmbean;version=0,javax.management.monitor;version=0,javax.management.openmbean;version=0,javax.management.relation;version=0,javax.management.remote;version=0,javax.management.remote.rmi;version=0,javax.management.timer;version=0,javax.naming;version=0,javax.naming.directory;version=0,javax.naming.event;version=0,javax.naming.ldap;version=0,javax.naming.spi;version=0,javax.net;version=0,javax.net.ssl;version=0,javax.rmi.ssl;version=0,javax.script;version=0,javax.security.auth;version=0,javax.security.auth.callback;version=0,javax.security.auth.kerberos;version=0,javax.security.auth.login;version=0,javax.security.auth.spi;version=0,javax.security.auth.x500;version=0,javax.security.cert;version=0,javax.security.sasl;version=0,javax.sql;version=0,javax.sql.rowset;version=0,javax.sql.rowset.serial;version=0,javax.sql.rowset.spi;version=0,javax.tools;version=0,javax.transaction;version=0,javax.transaction.xa;version=0,javax.xml;version=0,javax.xml.bind;version=0,javax.xml.bind.attachment;version=0,javax.xml.bind.annotation;version=0,javax.xml.bind.annotation.adapters;version=0,javax.xml.bind.helpers;version=0,javax.xml.crypto;version=0,javax.xml.crypto.dom;version=0,javax.xml.crypto.dsig;version=0,javax.xml.crypto.dsig.dom;version=0,javax.xml.crypto.dsig.keyinfo;version=0,javax.xml.crypto.dsig.spec;version=0,javax.xml.datatype;version=0,javax.xml.namespace;version=0,javax.xml.parsers;version=0,javax.xml.stream;version=0,javax.xml.stream.events;version=0,javax.xml.stream.util;version=0,javax.xml.transform;version=0,javax.xml.transform.dom;version=0,javax.xml.transform.sax;version=0,javax.xml.transform.stax;version=0,javax.xml.transform.stream;version=0,javax.xml.validation;version=0,javax.xml.ws;version=0,javax.xml.ws.handler;version=0,javax.xml.ws.handler.soap;version=0,javax.xml.ws.http;version=0,javax.xml.ws.soap;version=0,javax.xml.ws.spi;version=0,javax.xml.ws.spi.http;version=0,javax.xml.ws.wsaddressing;version=0,javax.xml.xpath;version=0,org.ietf.jgss;version=0,org.w3c.dom;version=0,org.w3c.dom.bootstrap;version=0,org.w3c.dom.events;version=0,org.w3c.dom.ls;version=0,org.xml.sax;version=0,org.xml.sax.ext;version=0,org.xml.sax.helpers;version=0,javax.script,org.eclipse.core.runtime.adaptor;x-friends:="org.eclipse.core.runtime",org.eclipse.core.runtime.internal.adaptor;x-internal:=true,org.eclipse.equinox.log;version="1.0",org.eclipse.osgi.container;version="1.0",org.eclipse.osgi.container.builders;version="1.0",org.eclipse.osgi.container.namespaces;version="1.0",org.eclipse.osgi.framework.console;version="1.1",org.eclipse.osgi.framework.eventmgr;version="1.2",org.eclipse.osgi.framework.internal.reliablefile;x-internal:=true,org.eclipse.osgi.framework.log;version="1.1",org.eclipse.osgi.framework.util;x-internal:=true,org.eclipse.osgi.internal.debug;x-internal:=true,org.eclipse.osgi.internal.framework;x-internal:=true,org.eclipse.osgi.internal.hookregistry;x-friends:="org.eclipse.osgi.tests",org.eclipse.osgi.internal.loader;x-internal:=true,org.eclipse.osgi.internal.loader.buddy;x-internal:=true,org.eclipse.osgi.internal.loader.classpath;x-internal:=true,org.eclipse.osgi.internal.loader.sources;x-internal:=true,org.eclipse.osgi.internal.location;x-internal:=true,org.eclipse.osgi.internal.messages;x-internal:=true,org.eclipse.osgi.internal.provisional.service.security;version="1.0.0";x-friends:="org.eclipse.equinox.security.ui",org.eclipse.osgi.internal.provisional.verifier;x-friends:="org.eclipse.update.core,org.eclipse.ui.workbench,org.eclipse.equinox.p2.artifact.repository",org.eclipse.osgi.internal.service.security;x-friends:="org.eclipse.equinox.security.ui",org.eclipse.osgi.internal.serviceregistry;x-internal:=true,org.eclipse.osgi.internal.signedcontent;x-internal:=true,org.eclipse.osgi.internal.url;x-internal:=true,org.eclipse.osgi.launch;version="1.0",org.eclipse.osgi.report.resolution;version="1.0",org.eclipse.osgi.service.datalocation;version="1.3",org.eclipse.osgi.service.debug;version="1.2",org.eclipse.osgi.service.environment;version="1.3",org.eclipse.osgi.service.localization;version="1.1",org.eclipse.osgi.service.pluginconversion;version="1.0",org.eclipse.osgi.service.resolver;version="1.6",org.eclipse.osgi.service.runnable;version="1.1",org.eclipse.osgi.service.security;version="1.0",org.eclipse.osgi.service.urlconversion;version="1.0",org.eclipse.osgi.signedcontent;version="1.0",org.eclipse.osgi.storage;x-friends:="org.eclipse.osgi.tests",org.eclipse.osgi.storage.bundlefile;x-internal:=true,org.eclipse.osgi.storage.url.reference;x-internal:=true,org.eclipse.osgi.storagemanager;version="1.0",org.eclipse.osgi.util;version="1.1",org.osgi.dto;version="1.0",org.osgi.framework;version="1.8",org.osgi.framework.dto;version="1.8",org.osgi.framework.hooks.bundle;version="1.1",org.osgi.framework.hooks.resolver;version="1.0",org.osgi.framework.hooks.service;version="1.1",org.osgi.framework.hooks.weaving;version="1.1",org.osgi.framework.launch;version="1.2",org.osgi.framework.namespace;version="1.1",org.osgi.framework.startlevel;version="1.0",org.osgi.framework.startlevel.dto;version="1.0",org.osgi.framework.wiring;version="1.2",org.osgi.framework.wiring.dto;version="1.2",org.osgi.resource;version="1.0",org.osgi.resource.dto;version="1.0",org.osgi.service.condpermadmin;version="1.1.1",org.osgi.service.log;version="1.3",org.osgi.service.packageadmin;version="1.2",org.osgi.service.permissionadmin;version="1.2",org.osgi.service.resolver;version="1.0.1",org.osgi.service.startlevel;version="1.1",org.osgi.service.url;version="1.0",org.osgi.util.tracker;version="1.5.1", launch.keep=false, launch.name=type1.test, launch.trace=true, launch.notificationPort=-1, osgi.console=, launch.services=true}
# inited runbundles=[/Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Fdependencies%2Fcom.fasterxml.jackson.core.jackson-annotations/jackson-annotations-2.6.3.jar, /Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Fdependencies%2Fcom.fasterxml.jackson.core.jackson-core/jackson-core-2.6.3.jar, /Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Fdependencies%2Fcom.fasterxml.jackson.core.jackson-databind/jackson-databind-2.6.3.jar, /Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Fdependencies%2Fcom.fasterxml.jackson.jaxrs.jackson-jaxrs-base/jackson-jaxrs-base-2.6.3.jar, /Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Fdependencies%2Fcom.fasterxml.jackson.jaxrs.jackson-jaxrs-json-provider/jackson-jaxrs-json-provider-2.6.3.jar, /Users/aqute/.bnd/shacache/shas/2DF97EBD4E5C01599584C45CAA3AEB563D268EEF/com.sun.jersey.client-1.19.1.jar, /Users/aqute/.bnd/shacache/shas/04282D106F2ACD5051BD9BC2935ED9A2920C9385/com.sun.jersey.core-1.19.1.jar, /Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Frelease%2Forg.amdatu.testing.configurator/org.amdatu.testing.configurator-3.1.0.jar, /Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Frelease%2Forg.amdatu.testing.configurator/org.amdatu.testing.configurator-4.0.0.jar, /Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Frelease%2Forg.amdatu.testing.http/org.amdatu.testing.http-1.0.0.jar, /Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Frelease%2Forg.amdatu.web.rest.jaxrs/org.amdatu.web.rest.jaxrs-1.0.9.jar, /Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Frelease%2Forg.amdatu.web.rest.wink/org.amdatu.web.rest.wink-2.0.4.jar, /Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Fdependencies%2Forg.apache.felix.configadmin/org.apache.felix.configadmin-1.8.6.jar, /Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Fdependencies%2Forg.apache.felix.dependencymanager/org.apache.felix.dependencymanager-4.3.0.jar, /Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Fdependencies%2Forg.apache.felix.http.api/org.apache.felix.http.api-3.0.0.jar, /Users/aqute/.bnd/cache/https%3A%2F%2Fraw.githubusercontent.com%2Fosgi%2Fosgi.enroute%2Fv1.0.0%2Fcnf%2Fdistro%2Forg.apache.felix.http.jetty/org.apache.felix.http.jetty-3.1.0.jar, /Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Fdependencies%2Forg.apache.felix.http.servlet-api/org.apache.felix.http.servlet-api-1.1.2.jar, /Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Fdependencies%2Forg.apache.felix.http.whiteboard/org.apache.felix.http.whiteboard-3.0.0.jar, /Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Fdependencies%2Forg.apache.felix.log/org.apache.felix.log-1.0.1.jar, /Users/aqute/.bnd/cache/https%3A%2F%2Fraw.githubusercontent.com%2Fosgi%2Fosgi.enroute%2Fv1.0.0%2Fcnf%2Fdistro%2Forg.apache.felix.scr/org.apache.felix.scr-2.0.0.jar, /Users/aqute/.bnd/cache/https%3A%2F%2Fraw.githubusercontent.com%2Fosgi%2Fosgi.enroute%2Fv1.0.0%2Fcnf%2Fdistro%2Forg.eclipse.equinox.event/org.eclipse.equinox.event-1.3.100.jar, /Users/aqute/.bnd/cache/https%3A%2F%2Fraw.githubusercontent.com%2Fosgi%2Fosgi.enroute%2Fv1.0.0%2Fcnf%2Fdistro%2Forg.eclipse.equinox.metatype/org.eclipse.equinox.metatype-1.4.100.jar, /Users/aqute/.bnd/cache/https%3A%2F%2Fraw.githubusercontent.com%2Fosgi%2Fosgi.enroute%2Fv1.0.0%2Fcnf%2Fdistro%2Forg.osgi.service.event/org.osgi.service.event-1.3.1.jar, /Users/aqute/.bnd/cache/https%3A%2F%2Fraw.githubusercontent.com%2Fosgi%2Fosgi.enroute%2Fv1.0.0%2Fcnf%2Fdistro%2Forg.osgi.service.metatype/org.osgi.service.metatype-1.3.0.jar, /Users/aqute/.bnd/cache/https%3A%2F%2Fraw.githubusercontent.com%2Fosgi%2Fosgi.enroute%2Fv1.0.0%2Fcnf%2Fdistro%2Fosgi.enroute.hamcrest.wrapper/osgi.enroute.hamcrest.wrapper-1.3.0.jar, /Users/aqute/.bnd/cache/https%3A%2F%2Fraw.githubusercontent.com%2Fosgi%2Fosgi.enroute%2Fv1.0.0%2Fcnf%2Fdistro%2Fosgi.enroute.junit.wrapper/osgi.enroute.junit.wrapper-4.12.0.jar, /Ws/temp/test_wiring_issue/persistence/generated/persistence.provider.jar, /Ws/temp/test_wiring_issue/persistence/generated/persistence.rest.jar, /Ws/temp/test_wiring_issue/type1/generated/type1.provider.jar, /Ws/temp/test_wiring_issue/type1/generated/type1.rest.jar, /Ws/temp/test_wiring_issue/type1.test/generated/type1.test.jar, /Ws/temp/test_wiring_issue/type2/generated/type2.provider.jar, /Ws/temp/test_wiring_issue/type1.test/generated/type1.test.jar, /Ws/temp/test_wiring_issue/cnf/cache/3.3.0/biz.aQute.tester/biz.aQute.tester-3.3.0.jar] activators=[osgi.enroute.equinox.log.adapter.HideEquinoxLog] timeout=0 properties=<no more arguments>
# version osgi.enroute.equinox.log.adapter;version=1.0.1.201509161450, org.eclipse.osgi; singleton:=true;version=3.10.100.v20150529-1857, biz.aQute.launcher;version=3.3.0.201606300808-SNAPSHOT
# using working dir: /Ws/temp/test_wiring_issue/type1.test/generated/fw with keeping=false
# deleting working dir /Ws/temp/test_wiring_issue/type1.test/generated/fw because not kept
# system packages used: javax.annotation.processing;version=0,javax.crypto;version=0,javax.crypto.interfaces;version=0,javax.crypto.spec;version=0,javax.lang.model;version=0,javax.lang.model.element;version=0,javax.lang.model.type;version=0,javax.lang.model.util;version=0,javax.management;version=0,javax.management.loading;version=0,javax.management.modelmbean;version=0,javax.management.monitor;version=0,javax.management.openmbean;version=0,javax.management.relation;version=0,javax.management.remote;version=0,javax.management.remote.rmi;version=0,javax.management.timer;version=0,javax.naming;version=0,javax.naming.directory;version=0,javax.naming.event;version=0,javax.naming.ldap;version=0,javax.naming.spi;version=0,javax.net;version=0,javax.net.ssl;version=0,javax.rmi.ssl;version=0,javax.script;version=0,javax.security.auth;version=0,javax.security.auth.callback;version=0,javax.security.auth.kerberos;version=0,javax.security.auth.login;version=0,javax.security.auth.spi;version=0,javax.security.auth.x500;version=0,javax.security.cert;version=0,javax.security.sasl;version=0,javax.sql;version=0,javax.sql.rowset;version=0,javax.sql.rowset.serial;version=0,javax.sql.rowset.spi;version=0,javax.tools;version=0,javax.transaction;version=0,javax.transaction.xa;version=0,javax.xml;version=0,javax.xml.bind;version=0,javax.xml.bind.attachment;version=0,javax.xml.bind.annotation;version=0,javax.xml.bind.annotation.adapters;version=0,javax.xml.bind.helpers;version=0,javax.xml.crypto;version=0,javax.xml.crypto.dom;version=0,javax.xml.crypto.dsig;version=0,javax.xml.crypto.dsig.dom;version=0,javax.xml.crypto.dsig.keyinfo;version=0,javax.xml.crypto.dsig.spec;version=0,javax.xml.datatype;version=0,javax.xml.namespace;version=0,javax.xml.parsers;version=0,javax.xml.stream;version=0,javax.xml.stream.events;version=0,javax.xml.stream.util;version=0,javax.xml.transform;version=0,javax.xml.transform.dom;version=0,javax.xml.transform.sax;version=0,javax.xml.transform.stax;version=0,javax.xml.transform.stream;version=0,javax.xml.validation;version=0,javax.xml.ws;version=0,javax.xml.ws.handler;version=0,javax.xml.ws.handler.soap;version=0,javax.xml.ws.http;version=0,javax.xml.ws.soap;version=0,javax.xml.ws.spi;version=0,javax.xml.ws.spi.http;version=0,javax.xml.ws.wsaddressing;version=0,javax.xml.xpath;version=0,org.ietf.jgss;version=0,org.w3c.dom;version=0,org.w3c.dom.bootstrap;version=0,org.w3c.dom.events;version=0,org.w3c.dom.ls;version=0,org.xml.sax;version=0,org.xml.sax.ext;version=0,org.xml.sax.helpers;version=0,javax.script,org.eclipse.core.runtime.adaptor;x-friends:="org.eclipse.core.runtime",org.eclipse.core.runtime.internal.adaptor;x-internal:=true,org.eclipse.equinox.log;version="1.0",org.eclipse.osgi.container;version="1.0",org.eclipse.osgi.container.builders;version="1.0",org.eclipse.osgi.container.namespaces;version="1.0",org.eclipse.osgi.framework.console;version="1.1",org.eclipse.osgi.framework.eventmgr;version="1.2",org.eclipse.osgi.framework.internal.reliablefile;x-internal:=true,org.eclipse.osgi.framework.log;version="1.1",org.eclipse.osgi.framework.util;x-internal:=true,org.eclipse.osgi.internal.debug;x-internal:=true,org.eclipse.osgi.internal.framework;x-internal:=true,org.eclipse.osgi.internal.hookregistry;x-friends:="org.eclipse.osgi.tests",org.eclipse.osgi.internal.loader;x-internal:=true,org.eclipse.osgi.internal.loader.buddy;x-internal:=true,org.eclipse.osgi.internal.loader.classpath;x-internal:=true,org.eclipse.osgi.internal.loader.sources;x-internal:=true,org.eclipse.osgi.internal.location;x-internal:=true,org.eclipse.osgi.internal.messages;x-internal:=true,org.eclipse.osgi.internal.provisional.service.security;version="1.0.0";x-friends:="org.eclipse.equinox.security.ui",org.eclipse.osgi.internal.provisional.verifier;x-friends:="org.eclipse.update.core,org.eclipse.ui.workbench,org.eclipse.equinox.p2.artifact.repository",org.eclipse.osgi.internal.service.security;x-friends:="org.eclipse.equinox.security.ui",org.eclipse.osgi.internal.serviceregistry;x-internal:=true,org.eclipse.osgi.internal.signedcontent;x-internal:=true,org.eclipse.osgi.internal.url;x-internal:=true,org.eclipse.osgi.launch;version="1.0",org.eclipse.osgi.report.resolution;version="1.0",org.eclipse.osgi.service.datalocation;version="1.3",org.eclipse.osgi.service.debug;version="1.2",org.eclipse.osgi.service.environment;version="1.3",org.eclipse.osgi.service.localization;version="1.1",org.eclipse.osgi.service.pluginconversion;version="1.0",org.eclipse.osgi.service.resolver;version="1.6",org.eclipse.osgi.service.runnable;version="1.1",org.eclipse.osgi.service.security;version="1.0",org.eclipse.osgi.service.urlconversion;version="1.0",org.eclipse.osgi.signedcontent;version="1.0",org.eclipse.osgi.storage;x-friends:="org.eclipse.osgi.tests",org.eclipse.osgi.storage.bundlefile;x-internal:=true,org.eclipse.osgi.storage.url.reference;x-internal:=true,org.eclipse.osgi.storagemanager;version="1.0",org.eclipse.osgi.util;version="1.1",org.osgi.dto;version="1.0",org.osgi.framework;version="1.8",org.osgi.framework.dto;version="1.8",org.osgi.framework.hooks.bundle;version="1.1",org.osgi.framework.hooks.resolver;version="1.0",org.osgi.framework.hooks.service;version="1.1",org.osgi.framework.hooks.weaving;version="1.1",org.osgi.framework.launch;version="1.2",org.osgi.framework.namespace;version="1.1",org.osgi.framework.startlevel;version="1.0",org.osgi.framework.startlevel.dto;version="1.0",org.osgi.framework.wiring;version="1.2",org.osgi.framework.wiring.dto;version="1.2",org.osgi.resource;version="1.0",org.osgi.resource.dto;version="1.0",org.osgi.service.condpermadmin;version="1.1.1",org.osgi.service.log;version="1.3",org.osgi.service.packageadmin;version="1.2",org.osgi.service.permissionadmin;version="1.2",org.osgi.service.resolver;version="1.0.1",org.osgi.service.startlevel;version="1.1",org.osgi.service.url;version="1.0",org.osgi.util.tracker;version="1.5.1"
# system capabilities used: osgi.native;osgi.native.osname:List<String>="MacOSX,Mac OS X";osgi.native.osversion:Version="10.11.5";osgi.native.processor:List<String>="x86-64,amd64,em64t,x86_64";osgi.native.language=en_US
# using META-INF/services
# found META-INF/services in jar:file:/Users/aqute/.bnd/cache/https%253A%252F%252Fraw.githubusercontent.com%252Fosgi%252Fosgi.enroute%252Fv1.0.0%252Fcnf%252Fdistro%252Forg.eclipse.osgi/org.eclipse.osgi-3.10.100.jar!/META-INF/services/org.osgi.framework.launch.FrameworkFactory
# org.eclipse.osgi.launch.EquinoxFactory
# Framework factory org.eclipse.osgi.launch.EquinoxFactory@7a79be86
# framework instance org.eclipse.osgi.launch.Equinox@290d210d
# inited system bundle org.eclipse.osgi.launch.Equinox@290d210d
# No default permission resource default.perm
# Using default permissions for System Bundle
# No permissions for System Bundle
# system bundle started ok
# start embedded activators
# starting activator osgi.enroute.equinox.log.adapter.HideEquinoxLog@77847718
# adding activator osgi.enroute.equinox.log.adapter.HideEquinoxLog@77847718
# Updating framework with [/Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Fdependencies%2Fcom.fasterxml.jackson.core.jackson-annotations/jackson-annotations-2.6.3.jar, /Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Fdependencies%2Fcom.fasterxml.jackson.core.jackson-core/jackson-core-2.6.3.jar, /Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Fdependencies%2Fcom.fasterxml.jackson.core.jackson-databind/jackson-databind-2.6.3.jar, /Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Fdependencies%2Fcom.fasterxml.jackson.jaxrs.jackson-jaxrs-base/jackson-jaxrs-base-2.6.3.jar, /Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Fdependencies%2Fcom.fasterxml.jackson.jaxrs.jackson-jaxrs-json-provider/jackson-jaxrs-json-provider-2.6.3.jar, /Users/aqute/.bnd/shacache/shas/2DF97EBD4E5C01599584C45CAA3AEB563D268EEF/com.sun.jersey.client-1.19.1.jar, /Users/aqute/.bnd/shacache/shas/04282D106F2ACD5051BD9BC2935ED9A2920C9385/com.sun.jersey.core-1.19.1.jar, /Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Frelease%2Forg.amdatu.testing.configurator/org.amdatu.testing.configurator-3.1.0.jar, /Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Frelease%2Forg.amdatu.testing.configurator/org.amdatu.testing.configurator-4.0.0.jar, /Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Frelease%2Forg.amdatu.testing.http/org.amdatu.testing.http-1.0.0.jar, /Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Frelease%2Forg.amdatu.web.rest.jaxrs/org.amdatu.web.rest.jaxrs-1.0.9.jar, /Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Frelease%2Forg.amdatu.web.rest.wink/org.amdatu.web.rest.wink-2.0.4.jar, /Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Fdependencies%2Forg.apache.felix.configadmin/org.apache.felix.configadmin-1.8.6.jar, /Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Fdependencies%2Forg.apache.felix.dependencymanager/org.apache.felix.dependencymanager-4.3.0.jar, /Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Fdependencies%2Forg.apache.felix.http.api/org.apache.felix.http.api-3.0.0.jar, /Users/aqute/.bnd/cache/https%3A%2F%2Fraw.githubusercontent.com%2Fosgi%2Fosgi.enroute%2Fv1.0.0%2Fcnf%2Fdistro%2Forg.apache.felix.http.jetty/org.apache.felix.http.jetty-3.1.0.jar, /Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Fdependencies%2Forg.apache.felix.http.servlet-api/org.apache.felix.http.servlet-api-1.1.2.jar, /Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Fdependencies%2Forg.apache.felix.http.whiteboard/org.apache.felix.http.whiteboard-3.0.0.jar, /Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Fdependencies%2Forg.apache.felix.log/org.apache.felix.log-1.0.1.jar, /Users/aqute/.bnd/cache/https%3A%2F%2Fraw.githubusercontent.com%2Fosgi%2Fosgi.enroute%2Fv1.0.0%2Fcnf%2Fdistro%2Forg.apache.felix.scr/org.apache.felix.scr-2.0.0.jar, /Users/aqute/.bnd/cache/https%3A%2F%2Fraw.githubusercontent.com%2Fosgi%2Fosgi.enroute%2Fv1.0.0%2Fcnf%2Fdistro%2Forg.eclipse.equinox.event/org.eclipse.equinox.event-1.3.100.jar, /Users/aqute/.bnd/cache/https%3A%2F%2Fraw.githubusercontent.com%2Fosgi%2Fosgi.enroute%2Fv1.0.0%2Fcnf%2Fdistro%2Forg.eclipse.equinox.metatype/org.eclipse.equinox.metatype-1.4.100.jar, /Users/aqute/.bnd/cache/https%3A%2F%2Fraw.githubusercontent.com%2Fosgi%2Fosgi.enroute%2Fv1.0.0%2Fcnf%2Fdistro%2Forg.osgi.service.event/org.osgi.service.event-1.3.1.jar, /Users/aqute/.bnd/cache/https%3A%2F%2Fraw.githubusercontent.com%2Fosgi%2Fosgi.enroute%2Fv1.0.0%2Fcnf%2Fdistro%2Forg.osgi.service.metatype/org.osgi.service.metatype-1.3.0.jar, /Users/aqute/.bnd/cache/https%3A%2F%2Fraw.githubusercontent.com%2Fosgi%2Fosgi.enroute%2Fv1.0.0%2Fcnf%2Fdistro%2Fosgi.enroute.hamcrest.wrapper/osgi.enroute.hamcrest.wrapper-1.3.0.jar, /Users/aqute/.bnd/cache/https%3A%2F%2Fraw.githubusercontent.com%2Fosgi%2Fosgi.enroute%2Fv1.0.0%2Fcnf%2Fdistro%2Fosgi.enroute.junit.wrapper/osgi.enroute.junit.wrapper-4.12.0.jar, /Ws/temp/test_wiring_issue/persistence/generated/persistence.provider.jar, /Ws/temp/test_wiring_issue/persistence/generated/persistence.rest.jar, /Ws/temp/test_wiring_issue/type1/generated/type1.provider.jar, /Ws/temp/test_wiring_issue/type1/generated/type1.rest.jar, /Ws/temp/test_wiring_issue/type1.test/generated/type1.test.jar, /Ws/temp/test_wiring_issue/type2/generated/type2.provider.jar, /Ws/temp/test_wiring_issue/type1.test/generated/type1.test.jar, /Ws/temp/test_wiring_issue/cnf/cache/3.3.0/biz.aQute.tester/biz.aQute.tester-3.3.0.jar]
# installing /Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Fdependencies%2Fcom.fasterxml.jackson.core.jackson-annotations/jackson-annotations-2.6.3.jar
# Using default permissions for reference:file:/Users/aqute/.bnd/cache/http%253A%252F%252Frepository.amdatu.org%252Fdependencies%252Fcom.fasterxml.jackson.core.jackson-annotations/jackson-annotations-2.6.3.jar
# installing /Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Fdependencies%2Fcom.fasterxml.jackson.core.jackson-core/jackson-core-2.6.3.jar
# Using default permissions for reference:file:/Users/aqute/.bnd/cache/http%253A%252F%252Frepository.amdatu.org%252Fdependencies%252Fcom.fasterxml.jackson.core.jackson-core/jackson-core-2.6.3.jar
# installing /Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Fdependencies%2Fcom.fasterxml.jackson.core.jackson-databind/jackson-databind-2.6.3.jar
# Using default permissions for reference:file:/Users/aqute/.bnd/cache/http%253A%252F%252Frepository.amdatu.org%252Fdependencies%252Fcom.fasterxml.jackson.core.jackson-databind/jackson-databind-2.6.3.jar
# installing /Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Fdependencies%2Fcom.fasterxml.jackson.jaxrs.jackson-jaxrs-base/jackson-jaxrs-base-2.6.3.jar
# Using default permissions for reference:file:/Users/aqute/.bnd/cache/http%253A%252F%252Frepository.amdatu.org%252Fdependencies%252Fcom.fasterxml.jackson.jaxrs.jackson-jaxrs-base/jackson-jaxrs-base-2.6.3.jar
# installing /Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Fdependencies%2Fcom.fasterxml.jackson.jaxrs.jackson-jaxrs-json-provider/jackson-jaxrs-json-provider-2.6.3.jar
# Using default permissions for reference:file:/Users/aqute/.bnd/cache/http%253A%252F%252Frepository.amdatu.org%252Fdependencies%252Fcom.fasterxml.jackson.jaxrs.jackson-jaxrs-json-provider/jackson-jaxrs-json-provider-2.6.3.jar
# installing /Users/aqute/.bnd/shacache/shas/2DF97EBD4E5C01599584C45CAA3AEB563D268EEF/com.sun.jersey.client-1.19.1.jar
# Using default permissions for reference:file:/Users/aqute/.bnd/shacache/shas/2DF97EBD4E5C01599584C45CAA3AEB563D268EEF/com.sun.jersey.client-1.19.1.jar
# installing /Users/aqute/.bnd/shacache/shas/04282D106F2ACD5051BD9BC2935ED9A2920C9385/com.sun.jersey.core-1.19.1.jar
# Using default permissions for reference:file:/Users/aqute/.bnd/shacache/shas/04282D106F2ACD5051BD9BC2935ED9A2920C9385/com.sun.jersey.core-1.19.1.jar
# installing /Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Frelease%2Forg.amdatu.testing.configurator/org.amdatu.testing.configurator-3.1.0.jar
# Using default permissions for reference:file:/Users/aqute/.bnd/cache/http%253A%252F%252Frepository.amdatu.org%252Frelease%252Forg.amdatu.testing.configurator/org.amdatu.testing.configurator-3.1.0.jar
# installing /Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Frelease%2Forg.amdatu.testing.configurator/org.amdatu.testing.configurator-4.0.0.jar
# Using default permissions for reference:file:/Users/aqute/.bnd/cache/http%253A%252F%252Frepository.amdatu.org%252Frelease%252Forg.amdatu.testing.configurator/org.amdatu.testing.configurator-4.0.0.jar
# installing /Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Frelease%2Forg.amdatu.testing.http/org.amdatu.testing.http-1.0.0.jar
# Using default permissions for reference:file:/Users/aqute/.bnd/cache/http%253A%252F%252Frepository.amdatu.org%252Frelease%252Forg.amdatu.testing.http/org.amdatu.testing.http-1.0.0.jar
# installing /Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Frelease%2Forg.amdatu.web.rest.jaxrs/org.amdatu.web.rest.jaxrs-1.0.9.jar
# Using default permissions for reference:file:/Users/aqute/.bnd/cache/http%253A%252F%252Frepository.amdatu.org%252Frelease%252Forg.amdatu.web.rest.jaxrs/org.amdatu.web.rest.jaxrs-1.0.9.jar
# installing /Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Frelease%2Forg.amdatu.web.rest.wink/org.amdatu.web.rest.wink-2.0.4.jar
# Using default permissions for reference:file:/Users/aqute/.bnd/cache/http%253A%252F%252Frepository.amdatu.org%252Frelease%252Forg.amdatu.web.rest.wink/org.amdatu.web.rest.wink-2.0.4.jar
# installing /Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Fdependencies%2Forg.apache.felix.configadmin/org.apache.felix.configadmin-1.8.6.jar
# For permissions inside bundle reference:file:/Users/aqute/.bnd/cache/http%253A%252F%252Frepository.amdatu.org%252Fdependencies%252Forg.apache.felix.configadmin/org.apache.felix.configadmin-1.8.6.jar
# installing /Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Fdependencies%2Forg.apache.felix.dependencymanager/org.apache.felix.dependencymanager-4.3.0.jar
# Using default permissions for reference:file:/Users/aqute/.bnd/cache/http%253A%252F%252Frepository.amdatu.org%252Fdependencies%252Forg.apache.felix.dependencymanager/org.apache.felix.dependencymanager-4.3.0.jar
# installing /Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Fdependencies%2Forg.apache.felix.http.api/org.apache.felix.http.api-3.0.0.jar
# Using default permissions for reference:file:/Users/aqute/.bnd/cache/http%253A%252F%252Frepository.amdatu.org%252Fdependencies%252Forg.apache.felix.http.api/org.apache.felix.http.api-3.0.0.jar
# installing /Users/aqute/.bnd/cache/https%3A%2F%2Fraw.githubusercontent.com%2Fosgi%2Fosgi.enroute%2Fv1.0.0%2Fcnf%2Fdistro%2Forg.apache.felix.http.jetty/org.apache.felix.http.jetty-3.1.0.jar
# Using default permissions for reference:file:/Users/aqute/.bnd/cache/https%253A%252F%252Fraw.githubusercontent.com%252Fosgi%252Fosgi.enroute%252Fv1.0.0%252Fcnf%252Fdistro%252Forg.apache.felix.http.jetty/org.apache.felix.http.jetty-3.1.0.jar
# installing /Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Fdependencies%2Forg.apache.felix.http.servlet-api/org.apache.felix.http.servlet-api-1.1.2.jar
# Using default permissions for reference:file:/Users/aqute/.bnd/cache/http%253A%252F%252Frepository.amdatu.org%252Fdependencies%252Forg.apache.felix.http.servlet-api/org.apache.felix.http.servlet-api-1.1.2.jar
# installing /Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Fdependencies%2Forg.apache.felix.http.whiteboard/org.apache.felix.http.whiteboard-3.0.0.jar
# Using default permissions for reference:file:/Users/aqute/.bnd/cache/http%253A%252F%252Frepository.amdatu.org%252Fdependencies%252Forg.apache.felix.http.whiteboard/org.apache.felix.http.whiteboard-3.0.0.jar
# installing /Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Fdependencies%2Forg.apache.felix.log/org.apache.felix.log-1.0.1.jar
# Using default permissions for reference:file:/Users/aqute/.bnd/cache/http%253A%252F%252Frepository.amdatu.org%252Fdependencies%252Forg.apache.felix.log/org.apache.felix.log-1.0.1.jar
# installing /Users/aqute/.bnd/cache/https%3A%2F%2Fraw.githubusercontent.com%2Fosgi%2Fosgi.enroute%2Fv1.0.0%2Fcnf%2Fdistro%2Forg.apache.felix.scr/org.apache.felix.scr-2.0.0.jar
# Using default permissions for reference:file:/Users/aqute/.bnd/cache/https%253A%252F%252Fraw.githubusercontent.com%252Fosgi%252Fosgi.enroute%252Fv1.0.0%252Fcnf%252Fdistro%252Forg.apache.felix.scr/org.apache.felix.scr-2.0.0.jar
# installing /Users/aqute/.bnd/cache/https%3A%2F%2Fraw.githubusercontent.com%2Fosgi%2Fosgi.enroute%2Fv1.0.0%2Fcnf%2Fdistro%2Forg.eclipse.equinox.event/org.eclipse.equinox.event-1.3.100.jar
# Using default permissions for reference:file:/Users/aqute/.bnd/cache/https%253A%252F%252Fraw.githubusercontent.com%252Fosgi%252Fosgi.enroute%252Fv1.0.0%252Fcnf%252Fdistro%252Forg.eclipse.equinox.event/org.eclipse.equinox.event-1.3.100.jar
# installing /Users/aqute/.bnd/cache/https%3A%2F%2Fraw.githubusercontent.com%2Fosgi%2Fosgi.enroute%2Fv1.0.0%2Fcnf%2Fdistro%2Forg.eclipse.equinox.metatype/org.eclipse.equinox.metatype-1.4.100.jar
# Using default permissions for reference:file:/Users/aqute/.bnd/cache/https%253A%252F%252Fraw.githubusercontent.com%252Fosgi%252Fosgi.enroute%252Fv1.0.0%252Fcnf%252Fdistro%252Forg.eclipse.equinox.metatype/org.eclipse.equinox.metatype-1.4.100.jar
# installing /Users/aqute/.bnd/cache/https%3A%2F%2Fraw.githubusercontent.com%2Fosgi%2Fosgi.enroute%2Fv1.0.0%2Fcnf%2Fdistro%2Forg.osgi.service.event/org.osgi.service.event-1.3.1.jar
# Using default permissions for reference:file:/Users/aqute/.bnd/cache/https%253A%252F%252Fraw.githubusercontent.com%252Fosgi%252Fosgi.enroute%252Fv1.0.0%252Fcnf%252Fdistro%252Forg.osgi.service.event/org.osgi.service.event-1.3.1.jar
# installing /Users/aqute/.bnd/cache/https%3A%2F%2Fraw.githubusercontent.com%2Fosgi%2Fosgi.enroute%2Fv1.0.0%2Fcnf%2Fdistro%2Forg.osgi.service.metatype/org.osgi.service.metatype-1.3.0.jar
# Using default permissions for reference:file:/Users/aqute/.bnd/cache/https%253A%252F%252Fraw.githubusercontent.com%252Fosgi%252Fosgi.enroute%252Fv1.0.0%252Fcnf%252Fdistro%252Forg.osgi.service.metatype/org.osgi.service.metatype-1.3.0.jar
# installing /Users/aqute/.bnd/cache/https%3A%2F%2Fraw.githubusercontent.com%2Fosgi%2Fosgi.enroute%2Fv1.0.0%2Fcnf%2Fdistro%2Fosgi.enroute.hamcrest.wrapper/osgi.enroute.hamcrest.wrapper-1.3.0.jar
# Using default permissions for reference:file:/Users/aqute/.bnd/cache/https%253A%252F%252Fraw.githubusercontent.com%252Fosgi%252Fosgi.enroute%252Fv1.0.0%252Fcnf%252Fdistro%252Fosgi.enroute.hamcrest.wrapper/osgi.enroute.hamcrest.wrapper-1.3.0.jar
# installing /Users/aqute/.bnd/cache/https%3A%2F%2Fraw.githubusercontent.com%2Fosgi%2Fosgi.enroute%2Fv1.0.0%2Fcnf%2Fdistro%2Fosgi.enroute.junit.wrapper/osgi.enroute.junit.wrapper-4.12.0.jar
# Using default permissions for reference:file:/Users/aqute/.bnd/cache/https%253A%252F%252Fraw.githubusercontent.com%252Fosgi%252Fosgi.enroute%252Fv1.0.0%252Fcnf%252Fdistro%252Fosgi.enroute.junit.wrapper/osgi.enroute.junit.wrapper-4.12.0.jar
# installing /Ws/temp/test_wiring_issue/persistence/generated/persistence.provider.jar
# Using default permissions for reference:file:/Ws/temp/test_wiring_issue/persistence/generated/persistence.provider.jar
# installing /Ws/temp/test_wiring_issue/persistence/generated/persistence.rest.jar
# Using default permissions for reference:file:/Ws/temp/test_wiring_issue/persistence/generated/persistence.rest.jar
# installing /Ws/temp/test_wiring_issue/type1/generated/type1.provider.jar
# Using default permissions for reference:file:/Ws/temp/test_wiring_issue/type1/generated/type1.provider.jar
# installing /Ws/temp/test_wiring_issue/type1/generated/type1.rest.jar
# Using default permissions for reference:file:/Ws/temp/test_wiring_issue/type1/generated/type1.rest.jar
# installing /Ws/temp/test_wiring_issue/type1.test/generated/type1.test.jar
# Using default permissions for reference:file:/Ws/temp/test_wiring_issue/type1.test/generated/type1.test.jar
# installing /Ws/temp/test_wiring_issue/type2/generated/type2.provider.jar
# Using default permissions for reference:file:/Ws/temp/test_wiring_issue/type2/generated/type2.provider.jar
# installing /Ws/temp/test_wiring_issue/type1.test/generated/type1.test.jar
# installing /Ws/temp/test_wiring_issue/cnf/cache/3.3.0/biz.aQute.tester/biz.aQute.tester-3.3.0.jar
# Using default permissions for reference:file:/Ws/temp/test_wiring_issue/cnf/cache/3.3.0/biz.aQute.tester/biz.aQute.tester-3.3.0.jar
# Waiting for refresh to finish
# refresh ended
# bundles administered [/Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Fdependencies%2Fcom.fasterxml.jackson.core.jackson-annotations/jackson-annotations-2.6.3.jar, /Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Fdependencies%2Fcom.fasterxml.jackson.core.jackson-core/jackson-core-2.6.3.jar, /Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Fdependencies%2Fcom.fasterxml.jackson.core.jackson-databind/jackson-databind-2.6.3.jar, /Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Fdependencies%2Fcom.fasterxml.jackson.jaxrs.jackson-jaxrs-base/jackson-jaxrs-base-2.6.3.jar, /Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Fdependencies%2Fcom.fasterxml.jackson.jaxrs.jackson-jaxrs-json-provider/jackson-jaxrs-json-provider-2.6.3.jar, /Users/aqute/.bnd/shacache/shas/2DF97EBD4E5C01599584C45CAA3AEB563D268EEF/com.sun.jersey.client-1.19.1.jar, /Users/aqute/.bnd/shacache/shas/04282D106F2ACD5051BD9BC2935ED9A2920C9385/com.sun.jersey.core-1.19.1.jar, /Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Frelease%2Forg.amdatu.testing.configurator/org.amdatu.testing.configurator-3.1.0.jar, /Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Frelease%2Forg.amdatu.testing.configurator/org.amdatu.testing.configurator-4.0.0.jar, /Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Frelease%2Forg.amdatu.testing.http/org.amdatu.testing.http-1.0.0.jar, /Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Frelease%2Forg.amdatu.web.rest.jaxrs/org.amdatu.web.rest.jaxrs-1.0.9.jar, /Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Frelease%2Forg.amdatu.web.rest.wink/org.amdatu.web.rest.wink-2.0.4.jar, /Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Fdependencies%2Forg.apache.felix.configadmin/org.apache.felix.configadmin-1.8.6.jar, /Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Fdependencies%2Forg.apache.felix.dependencymanager/org.apache.felix.dependencymanager-4.3.0.jar, /Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Fdependencies%2Forg.apache.felix.http.api/org.apache.felix.http.api-3.0.0.jar, /Users/aqute/.bnd/cache/https%3A%2F%2Fraw.githubusercontent.com%2Fosgi%2Fosgi.enroute%2Fv1.0.0%2Fcnf%2Fdistro%2Forg.apache.felix.http.jetty/org.apache.felix.http.jetty-3.1.0.jar, /Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Fdependencies%2Forg.apache.felix.http.servlet-api/org.apache.felix.http.servlet-api-1.1.2.jar, /Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Fdependencies%2Forg.apache.felix.http.whiteboard/org.apache.felix.http.whiteboard-3.0.0.jar, /Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Fdependencies%2Forg.apache.felix.log/org.apache.felix.log-1.0.1.jar, /Users/aqute/.bnd/cache/https%3A%2F%2Fraw.githubusercontent.com%2Fosgi%2Fosgi.enroute%2Fv1.0.0%2Fcnf%2Fdistro%2Forg.apache.felix.scr/org.apache.felix.scr-2.0.0.jar, /Users/aqute/.bnd/cache/https%3A%2F%2Fraw.githubusercontent.com%2Fosgi%2Fosgi.enroute%2Fv1.0.0%2Fcnf%2Fdistro%2Forg.eclipse.equinox.event/org.eclipse.equinox.event-1.3.100.jar, /Users/aqute/.bnd/cache/https%3A%2F%2Fraw.githubusercontent.com%2Fosgi%2Fosgi.enroute%2Fv1.0.0%2Fcnf%2Fdistro%2Forg.eclipse.equinox.metatype/org.eclipse.equinox.metatype-1.4.100.jar, /Users/aqute/.bnd/cache/https%3A%2F%2Fraw.githubusercontent.com%2Fosgi%2Fosgi.enroute%2Fv1.0.0%2Fcnf%2Fdistro%2Forg.osgi.service.event/org.osgi.service.event-1.3.1.jar, /Users/aqute/.bnd/cache/https%3A%2F%2Fraw.githubusercontent.com%2Fosgi%2Fosgi.enroute%2Fv1.0.0%2Fcnf%2Fdistro%2Forg.osgi.service.metatype/org.osgi.service.metatype-1.3.0.jar, /Users/aqute/.bnd/cache/https%3A%2F%2Fraw.githubusercontent.com%2Fosgi%2Fosgi.enroute%2Fv1.0.0%2Fcnf%2Fdistro%2Fosgi.enroute.hamcrest.wrapper/osgi.enroute.hamcrest.wrapper-1.3.0.jar, /Users/aqute/.bnd/cache/https%3A%2F%2Fraw.githubusercontent.com%2Fosgi%2Fosgi.enroute%2Fv1.0.0%2Fcnf%2Fdistro%2Fosgi.enroute.junit.wrapper/osgi.enroute.junit.wrapper-4.12.0.jar, /Ws/temp/test_wiring_issue/persistence/generated/persistence.provider.jar, /Ws/temp/test_wiring_issue/persistence/generated/persistence.rest.jar, /Ws/temp/test_wiring_issue/type1/generated/type1.provider.jar, /Ws/temp/test_wiring_issue/type1/generated/type1.rest.jar, /Ws/temp/test_wiring_issue/type1.test/generated/type1.test.jar, /Ws/temp/test_wiring_issue/type2/generated/type2.provider.jar, /Ws/temp/test_wiring_issue/cnf/cache/3.3.0/biz.aQute.tester/biz.aQute.tester-3.3.0.jar]
# Will start bundles: [com.fasterxml.jackson.core.jackson-annotations_2.6.3 [1], com.fasterxml.jackson.core.jackson-core_2.6.3 [2], com.fasterxml.jackson.core.jackson-databind_2.6.3 [3], com.fasterxml.jackson.jaxrs.jackson-jaxrs-base_2.6.3 [4], com.fasterxml.jackson.jaxrs.jackson-jaxrs-json-provider_2.6.3 [5], com.sun.jersey.client_1.19.1 [6], com.sun.jersey.core_1.19.1 [7], org.amdatu.testing.configurator_3.1.0 [8], org.amdatu.testing.configurator_4.0.0 [9], org.amdatu.testing.http_1.0.0 [10], org.amdatu.web.rest.jaxrs_1.0.9 [11], org.amdatu.web.rest.wink_2.0.4 [12], org.apache.felix.configadmin_1.8.6 [13], org.apache.felix.dependencymanager_4.3.0 [14], org.apache.felix.http.api_3.0.0 [15], org.apache.felix.http.jetty_3.1.0 [16], org.apache.felix.http.servlet-api_1.1.2 [17], org.apache.felix.http.whiteboard_3.0.0 [18], org.apache.felix.log_1.0.1 [19], org.apache.felix.scr_2.0.0 [20], org.eclipse.equinox.event_1.3.100.v20140115-1647 [21], org.eclipse.equinox.metatype_1.4.100.v20150408-1437 [22], org.osgi.service.event_1.3.1.201505202024 [23], org.osgi.service.metatype_1.3.0.201505202024 [24], osgi.enroute.hamcrest.wrapper_1.3.0.201509161450 [25], osgi.enroute.junit.wrapper_4.12.0.201509161450 [26], persistence.provider_1.0.0.201606301239 [27], persistence.rest_1.0.0.201606301239 [28], type1.provider_1.0.0.201606301239 [29], type1.rest_1.0.0.201606301239 [30], type1.test_1.0.0.201606301256 [31], type2.provider_1.0.0.201606301240 [32], type1.test_1.0.0.201606301256 [31], biz.aQute.tester_3.3.0.201606300808-SNAPSHOT [33]]
# starting com.fasterxml.jackson.core.jackson-annotations
# started  com.fasterxml.jackson.core.jackson-annotations
# starting com.fasterxml.jackson.core.jackson-core
# started  com.fasterxml.jackson.core.jackson-core
# starting com.fasterxml.jackson.core.jackson-databind
# started  com.fasterxml.jackson.core.jackson-databind
# starting com.fasterxml.jackson.jaxrs.jackson-jaxrs-base
# started  com.fasterxml.jackson.jaxrs.jackson-jaxrs-base
# starting com.fasterxml.jackson.jaxrs.jackson-jaxrs-json-provider
# started  com.fasterxml.jackson.jaxrs.jackson-jaxrs-json-provider
# starting com.sun.jersey.client
# started  com.sun.jersey.client
# starting com.sun.jersey.core
# started  com.sun.jersey.core
# starting org.amdatu.testing.configurator
# started  org.amdatu.testing.configurator
# starting org.amdatu.testing.configurator
# started  org.amdatu.testing.configurator
# starting org.amdatu.testing.http
# started  org.amdatu.testing.http
# starting org.amdatu.web.rest.jaxrs
# started  org.amdatu.web.rest.jaxrs
# starting org.amdatu.web.rest.wink
# started  org.amdatu.web.rest.wink
# starting org.apache.felix.configadmin
# started  org.apache.felix.configadmin
# starting org.apache.felix.dependencymanager
# started  org.apache.felix.dependencymanager
# starting org.apache.felix.http.api
# started  org.apache.felix.http.api
# starting org.apache.felix.http.jetty
2016-06-30 14:56:44.835:INFO::main: Logging initialized @1028ms
2016-06-30 14:56:44.865:INFO:oejs.Server:main: jetty-9.2.12.v20150709
2016-06-30 14:56:44.906:INFO:oejsh.ContextHandler:main: Started o.e.j.s.ServletContextHandler@55493582{/,null,AVAILABLE}
2016-06-30 14:56:44.906:INFO:oejs.Server:main: Started @1100ms
2016-06-30 14:56:44.930:INFO:oejs.ServerConnector:main: Started ServerConnector@73a2e526{HTTP/1.1}{0.0.0.0:8080}
[INFO] Started Jetty 9.2.12.v20150709 at port(s) HTTP:8080 on context path /
# started  org.apache.felix.http.jetty
# starting org.apache.felix.http.servlet-api
# started  org.apache.felix.http.servlet-api
# starting org.apache.felix.http.whiteboard
[WARNING] Deprecation warning: Filter registered through Apache Felix whiteboard service: {javax.servlet.Filter}={service.ranking=-10, pattern=/.*, service.id=29, service.bundleid=12, service.scope=singleton}. Please change your code to the OSGi Http Whiteboard Service.
[DEBUG] Reusing context with id []
[INFO] Detected extended HttpService. Filters enabled.
[INFO] Http service whiteboard started
# started  org.apache.felix.http.whiteboard
# starting org.apache.felix.log
# started  org.apache.felix.log
# starting org.apache.felix.scr
# started  org.apache.felix.scr
# starting org.eclipse.equinox.event
# started  org.eclipse.equinox.event
# starting org.eclipse.equinox.metatype
# started  org.eclipse.equinox.metatype
# starting org.osgi.service.event
# started  org.osgi.service.event
# starting org.osgi.service.metatype
# started  org.osgi.service.metatype
# starting osgi.enroute.hamcrest.wrapper
# started  osgi.enroute.hamcrest.wrapper
# starting osgi.enroute.junit.wrapper
# started  osgi.enroute.junit.wrapper
# starting persistence.provider
# started  persistence.provider
# starting persistence.rest
# started  persistence.rest
# starting type1.provider
addDatabaseInitializer(type1.provider.Type1Impl)
In thread main
# started  type1.provider
# starting type1.rest
# started  type1.rest
# starting type1.test
# started  type1.test
# starting type2.provider
addDatabaseInitializer(type2.provider.Type2Impl)
In thread main
# started  type2.provider
# starting type1.test
# started  type1.test
# starting biz.aQute.tester
# started  biz.aQute.tester
------------------------------- REPORT --------------------------

Framework                               class org.eclipse.osgi.launch.Equinox
Framework type                          META-INF/services
Storage                                 /Ws/temp/test_wiring_issue/type1.test/generated/fw
Keep                                    false
Security                                true
Run bundles                             /Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Fdependencies%2Fcom.fasterxml.jackson.core.jackson-annotations/jackson-annotations-2.6.3.jar
                                        /Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Fdependencies%2Fcom.fasterxml.jackson.core.jackson-core/jackson-core-2.6.3.jar
                                        /Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Fdependencies%2Fcom.fasterxml.jackson.core.jackson-databind/jackson-databind-2.6.3.jar
                                        /Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Fdependencies%2Fcom.fasterxml.jackson.jaxrs.jackson-jaxrs-base/jackson-jaxrs-base-2.6.3.jar
                                        /Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Fdependencies%2Fcom.fasterxml.jackson.jaxrs.jackson-jaxrs-json-provider/jackson-jaxrs-json-provider-2.6.3.jar
                                        /Users/aqute/.bnd/shacache/shas/2DF97EBD4E5C01599584C45CAA3AEB563D268EEF/com.sun.jersey.client-1.19.1.jar
                                        /Users/aqute/.bnd/shacache/shas/04282D106F2ACD5051BD9BC2935ED9A2920C9385/com.sun.jersey.core-1.19.1.jar
                                        /Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Frelease%2Forg.amdatu.testing.configurator/org.amdatu.testing.configurator-3.1.0.jar
                                        /Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Frelease%2Forg.amdatu.testing.configurator/org.amdatu.testing.configurator-4.0.0.jar
                                        /Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Frelease%2Forg.amdatu.testing.http/org.amdatu.testing.http-1.0.0.jar
                                        /Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Frelease%2Forg.amdatu.web.rest.jaxrs/org.amdatu.web.rest.jaxrs-1.0.9.jar
                                        /Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Frelease%2Forg.amdatu.web.rest.wink/org.amdatu.web.rest.wink-2.0.4.jar
                                        /Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Fdependencies%2Forg.apache.felix.configadmin/org.apache.felix.configadmin-1.8.6.jar
                                        /Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Fdependencies%2Forg.apache.felix.dependencymanager/org.apache.felix.dependencymanager-4.3.0.jar
                                        /Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Fdependencies%2Forg.apache.felix.http.api/org.apache.felix.http.api-3.0.0.jar
                                        /Users/aqute/.bnd/cache/https%3A%2F%2Fraw.githubusercontent.com%2Fosgi%2Fosgi.enroute%2Fv1.0.0%2Fcnf%2Fdistro%2Forg.apache.felix.http.jetty/org.apache.felix.http.jetty-3.1.0.jar
                                        /Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Fdependencies%2Forg.apache.felix.http.servlet-api/org.apache.felix.http.servlet-api-1.1.2.jar
                                        /Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Fdependencies%2Forg.apache.felix.http.whiteboard/org.apache.felix.http.whiteboard-3.0.0.jar
                                        /Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Fdependencies%2Forg.apache.felix.log/org.apache.felix.log-1.0.1.jar
                                        /Users/aqute/.bnd/cache/https%3A%2F%2Fraw.githubusercontent.com%2Fosgi%2Fosgi.enroute%2Fv1.0.0%2Fcnf%2Fdistro%2Forg.apache.felix.scr/org.apache.felix.scr-2.0.0.jar
                                        /Users/aqute/.bnd/cache/https%3A%2F%2Fraw.githubusercontent.com%2Fosgi%2Fosgi.enroute%2Fv1.0.0%2Fcnf%2Fdistro%2Forg.eclipse.equinox.event/org.eclipse.equinox.event-1.3.100.jar
                                        /Users/aqute/.bnd/cache/https%3A%2F%2Fraw.githubusercontent.com%2Fosgi%2Fosgi.enroute%2Fv1.0.0%2Fcnf%2Fdistro%2Forg.eclipse.equinox.metatype/org.eclipse.equinox.metatype-1.4.100.jar
                                        /Users/aqute/.bnd/cache/https%3A%2F%2Fraw.githubusercontent.com%2Fosgi%2Fosgi.enroute%2Fv1.0.0%2Fcnf%2Fdistro%2Forg.osgi.service.event/org.osgi.service.event-1.3.1.jar
                                        /Users/aqute/.bnd/cache/https%3A%2F%2Fraw.githubusercontent.com%2Fosgi%2Fosgi.enroute%2Fv1.0.0%2Fcnf%2Fdistro%2Forg.osgi.service.metatype/org.osgi.service.metatype-1.3.0.jar
                                        /Users/aqute/.bnd/cache/https%3A%2F%2Fraw.githubusercontent.com%2Fosgi%2Fosgi.enroute%2Fv1.0.0%2Fcnf%2Fdistro%2Fosgi.enroute.hamcrest.wrapper/osgi.enroute.hamcrest.wrapper-1.3.0.jar
                                        /Users/aqute/.bnd/cache/https%3A%2F%2Fraw.githubusercontent.com%2Fosgi%2Fosgi.enroute%2Fv1.0.0%2Fcnf%2Fdistro%2Fosgi.enroute.junit.wrapper/osgi.enroute.junit.wrapper-4.12.0.jar
                                        /Ws/temp/test_wiring_issue/persistence/generated/persistence.provider.jar
                                        /Ws/temp/test_wiring_issue/persistence/generated/persistence.rest.jar
                                        /Ws/temp/test_wiring_issue/type1/generated/type1.provider.jar
                                        /Ws/temp/test_wiring_issue/type1/generated/type1.rest.jar
                                        /Ws/temp/test_wiring_issue/type1.test/generated/type1.test.jar
                                        /Ws/temp/test_wiring_issue/type2/generated/type2.provider.jar
                                        /Ws/temp/test_wiring_issue/type1.test/generated/type1.test.jar
                                        /Ws/temp/test_wiring_issue/cnf/cache/3.3.0/biz.aQute.tester/biz.aQute.tester-3.3.0.jar
Classpath                               /Users/aqute/.bnd/cache/https%3A%2F%2Fraw.githubusercontent.com%2Fosgi%2Fosgi.enroute%2Fv1.0.0%2Fcnf%2Fdistro%2Fosgi.enroute.equinox.log.adapter/osgi.enroute.equinox.log.adapter-1.0.1.jar
                                        /Users/aqute/.bnd/cache/https%3A%2F%2Fraw.githubusercontent.com%2Fosgi%2Fosgi.enroute%2Fv1.0.0%2Fcnf%2Fdistro%2Forg.eclipse.osgi/org.eclipse.osgi-3.10.100.jar
                                        /Ws/temp/test_wiring_issue/cnf/cache/3.3.0/biz.aQute.launcher/biz.aQute.launcher-3.3.0.jar
System Packages                         javax.annotation.processing;version=0
                                        javax.crypto;version=0
                                        javax.crypto.interfaces;version=0
                                        javax.crypto.spec;version=0
                                        javax.lang.model;version=0
                                        javax.lang.model.element;version=0
                                        javax.lang.model.type;version=0
                                        javax.lang.model.util;version=0
                                        javax.management;version=0
                                        javax.management.loading;version=0
                                        javax.management.modelmbean;version=0
                                        javax.management.monitor;version=0
                                        javax.management.openmbean;version=0
                                        javax.management.relation;version=0
                                        javax.management.remote;version=0
                                        javax.management.remote.rmi;version=0
                                        javax.management.timer;version=0
                                        javax.naming;version=0
                                        javax.naming.directory;version=0
                                        javax.naming.event;version=0
                                        javax.naming.ldap;version=0
                                        javax.naming.spi;version=0
                                        javax.net;version=0
                                        javax.net.ssl;version=0
                                        javax.rmi.ssl;version=0
                                        javax.script;version=0
                                        javax.security.auth;version=0
                                        javax.security.auth.callback;version=0
                                        javax.security.auth.kerberos;version=0
                                        javax.security.auth.login;version=0
                                        javax.security.auth.spi;version=0
                                        javax.security.auth.x500;version=0
                                        javax.security.cert;version=0
                                        javax.security.sasl;version=0
                                        javax.sql;version=0
                                        javax.sql.rowset;version=0
                                        javax.sql.rowset.serial;version=0
                                        javax.sql.rowset.spi;version=0
                                        javax.tools;version=0
                                        javax.transaction;version=0
                                        javax.transaction.xa;version=0
                                        javax.xml;version=0
                                        javax.xml.bind;version=0
                                        javax.xml.bind.attachment;version=0
                                        javax.xml.bind.annotation;version=0
                                        javax.xml.bind.annotation.adapters;version=0
                                        javax.xml.bind.helpers;version=0
                                        javax.xml.crypto;version=0
                                        javax.xml.crypto.dom;version=0
                                        javax.xml.crypto.dsig;version=0
                                        javax.xml.crypto.dsig.dom;version=0
                                        javax.xml.crypto.dsig.keyinfo;version=0
                                        javax.xml.crypto.dsig.spec;version=0
                                        javax.xml.datatype;version=0
                                        javax.xml.namespace;version=0
                                        javax.xml.parsers;version=0
                                        javax.xml.stream;version=0
                                        javax.xml.stream.events;version=0
                                        javax.xml.stream.util;version=0
                                        javax.xml.transform;version=0
                                        javax.xml.transform.dom;version=0
                                        javax.xml.transform.sax;version=0
                                        javax.xml.transform.stax;version=0
                                        javax.xml.transform.stream;version=0
                                        javax.xml.validation;version=0
                                        javax.xml.ws;version=0
                                        javax.xml.ws.handler;version=0
                                        javax.xml.ws.handler.soap;version=0
                                        javax.xml.ws.http;version=0
                                        javax.xml.ws.soap;version=0
                                        javax.xml.ws.spi;version=0
                                        javax.xml.ws.spi.http;version=0
                                        javax.xml.ws.wsaddressing;version=0
                                        javax.xml.xpath;version=0
                                        org.ietf.jgss;version=0
                                        org.w3c.dom;version=0
                                        org.w3c.dom.bootstrap;version=0
                                        org.w3c.dom.events;version=0
                                        org.w3c.dom.ls;version=0
                                        org.xml.sax;version=0
                                        org.xml.sax.ext;version=0
                                        org.xml.sax.helpers;version=0
                                        javax.script
                                        org.eclipse.core.runtime.adaptor;x-friends:="org.eclipse.core.runtime"
                                        org.eclipse.core.runtime.internal.adaptor;x-internal:=true
                                        org.eclipse.equinox.log;version="1.0"
                                        org.eclipse.osgi.container;version="1.0"
                                        org.eclipse.osgi.container.builders;version="1.0"
                                        org.eclipse.osgi.container.namespaces;version="1.0"
                                        org.eclipse.osgi.framework.console;version="1.1"
                                        org.eclipse.osgi.framework.eventmgr;version="1.2"
                                        org.eclipse.osgi.framework.internal.reliablefile;x-internal:=true
                                        org.eclipse.osgi.framework.log;version="1.1"
                                        org.eclipse.osgi.framework.util;x-internal:=true
                                        org.eclipse.osgi.internal.debug;x-internal:=true
                                        org.eclipse.osgi.internal.framework;x-internal:=true
                                        org.eclipse.osgi.internal.hookregistry;x-friends:="org.eclipse.osgi.tests"
                                        org.eclipse.osgi.internal.loader;x-internal:=true
                                        org.eclipse.osgi.internal.loader.buddy;x-internal:=true
                                        org.eclipse.osgi.internal.loader.classpath;x-internal:=true
                                        org.eclipse.osgi.internal.loader.sources;x-internal:=true
                                        org.eclipse.osgi.internal.location;x-internal:=true
                                        org.eclipse.osgi.internal.messages;x-internal:=true
                                        org.eclipse.osgi.internal.provisional.service.security;version="1.0.0";x-friends:="org.eclipse.equinox.security.ui"
                                        org.eclipse.osgi.internal.provisional.verifier;x-friends:="org.eclipse.update.core
                                        org.eclipse.ui.workbench
                                        org.eclipse.equinox.p2.artifact.repository"
                                        org.eclipse.osgi.internal.service.security;x-friends:="org.eclipse.equinox.security.ui"
                                        org.eclipse.osgi.internal.serviceregistry;x-internal:=true
                                        org.eclipse.osgi.internal.signedcontent;x-internal:=true
                                        org.eclipse.osgi.internal.url;x-internal:=true
                                        org.eclipse.osgi.launch;version="1.0"
                                        org.eclipse.osgi.report.resolution;version="1.0"
                                        org.eclipse.osgi.service.datalocation;version="1.3"
                                        org.eclipse.osgi.service.debug;version="1.2"
                                        org.eclipse.osgi.service.environment;version="1.3"
                                        org.eclipse.osgi.service.localization;version="1.1"
                                        org.eclipse.osgi.service.pluginconversion;version="1.0"
                                        org.eclipse.osgi.service.resolver;version="1.6"
                                        org.eclipse.osgi.service.runnable;version="1.1"
                                        org.eclipse.osgi.service.security;version="1.0"
                                        org.eclipse.osgi.service.urlconversion;version="1.0"
                                        org.eclipse.osgi.signedcontent;version="1.0"
                                        org.eclipse.osgi.storage;x-friends:="org.eclipse.osgi.tests"
                                        org.eclipse.osgi.storage.bundlefile;x-internal:=true
                                        org.eclipse.osgi.storage.url.reference;x-internal:=true
                                        org.eclipse.osgi.storagemanager;version="1.0"
                                        org.eclipse.osgi.util;version="1.1"
                                        org.osgi.dto;version="1.0"
                                        org.osgi.framework;version="1.8"
                                        org.osgi.framework.dto;version="1.8"
                                        org.osgi.framework.hooks.bundle;version="1.1"
                                        org.osgi.framework.hooks.resolver;version="1.0"
                                        org.osgi.framework.hooks.service;version="1.1"
                                        org.osgi.framework.hooks.weaving;version="1.1"
                                        org.osgi.framework.launch;version="1.2"
                                        org.osgi.framework.namespace;version="1.1"
                                        org.osgi.framework.startlevel;version="1.0"
                                        org.osgi.framework.startlevel.dto;version="1.0"
                                        org.osgi.framework.wiring;version="1.2"
                                        org.osgi.framework.wiring.dto;version="1.2"
                                        org.osgi.resource;version="1.0"
                                        org.osgi.resource.dto;version="1.0"
                                        org.osgi.service.condpermadmin;version="1.1.1"
                                        org.osgi.service.log;version="1.3"
                                        org.osgi.service.packageadmin;version="1.2"
                                        org.osgi.service.permissionadmin;version="1.2"
                                        org.osgi.service.resolver;version="1.0.1"
                                        org.osgi.service.startlevel;version="1.1"
                                        org.osgi.service.url;version="1.0"
                                        org.osgi.util.tracker;version="1.5.1"
System Capabilities                     osgi.native;osgi.native.osname:List<String>="MacOSX
                                        Mac OS X";osgi.native.osversion:Version="10.11.5";osgi.native.processor:List<String>="x86-64
                                        amd64
                                        em64t
                                        x86_64";osgi.native.language=en_US
Properties                              
launch.bundles                          /Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Fdependencies%2Fcom.fasterxml.jackson.core.jackson-annotations/jackson-annotations-2.6.3.jar,/Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Fdependencies%2Fcom.fasterxml.jackson.core.jackson-core/jackson-core-2.6.3.jar,/Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Fdependencies%2Fcom.fasterxml.jackson.core.jackson-databind/jackson-databind-2.6.3.jar,/Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Fdependencies%2Fcom.fasterxml.jackson.jaxrs.jackson-jaxrs-base/jackson-jaxrs-base-2.6.3.jar,/Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Fdependencies%2Fcom.fasterxml.jackson.jaxrs.jackson-jaxrs-json-provider/jackson-jaxrs-json-provider-2.6.3.jar,/Users/aqute/.bnd/shacache/shas/2DF97EBD4E5C01599584C45CAA3AEB563D268EEF/com.sun.jersey.client-1.19.1.jar,/Users/aqute/.bnd/shacache/shas/04282D106F2ACD5051BD9BC2935ED9A2920C9385/com.sun.jersey.core-1.19.1.jar,/Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Frelease%2Forg.amdatu.testing.configurator/org.amdatu.testing.configurator-3.1.0.jar,/Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Frelease%2Forg.amdatu.testing.configurator/org.amdatu.testing.configurator-4.0.0.jar,/Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Frelease%2Forg.amdatu.testing.http/org.amdatu.testing.http-1.0.0.jar,/Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Frelease%2Forg.amdatu.web.rest.jaxrs/org.amdatu.web.rest.jaxrs-1.0.9.jar,/Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Frelease%2Forg.amdatu.web.rest.wink/org.amdatu.web.rest.wink-2.0.4.jar,/Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Fdependencies%2Forg.apache.felix.configadmin/org.apache.felix.configadmin-1.8.6.jar,/Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Fdependencies%2Forg.apache.felix.dependencymanager/org.apache.felix.dependencymanager-4.3.0.jar,/Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Fdependencies%2Forg.apache.felix.http.api/org.apache.felix.http.api-3.0.0.jar,/Users/aqute/.bnd/cache/https%3A%2F%2Fraw.githubusercontent.com%2Fosgi%2Fosgi.enroute%2Fv1.0.0%2Fcnf%2Fdistro%2Forg.apache.felix.http.jetty/org.apache.felix.http.jetty-3.1.0.jar,/Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Fdependencies%2Forg.apache.felix.http.servlet-api/org.apache.felix.http.servlet-api-1.1.2.jar,/Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Fdependencies%2Forg.apache.felix.http.whiteboard/org.apache.felix.http.whiteboard-3.0.0.jar,/Users/aqute/.bnd/cache/http%3A%2F%2Frepository.amdatu.org%2Fdependencies%2Forg.apache.felix.log/org.apache.felix.log-1.0.1.jar,/Users/aqute/.bnd/cache/https%3A%2F%2Fraw.githubusercontent.com%2Fosgi%2Fosgi.enroute%2Fv1.0.0%2Fcnf%2Fdistro%2Forg.apache.felix.scr/org.apache.felix.scr-2.0.0.jar,/Users/aqute/.bnd/cache/https%3A%2F%2Fraw.githubusercontent.com%2Fosgi%2Fosgi.enroute%2Fv1.0.0%2Fcnf%2Fdistro%2Forg.eclipse.equinox.event/org.eclipse.equinox.event-1.3.100.jar,/Users/aqute/.bnd/cache/https%3A%2F%2Fraw.githubusercontent.com%2Fosgi%2Fosgi.enroute%2Fv1.0.0%2Fcnf%2Fdistro%2Forg.eclipse.equinox.metatype/org.eclipse.equinox.metatype-1.4.100.jar,/Users/aqute/.bnd/cache/https%3A%2F%2Fraw.githubusercontent.com%2Fosgi%2Fosgi.enroute%2Fv1.0.0%2Fcnf%2Fdistro%2Forg.osgi.service.event/org.osgi.service.event-1.3.1.jar,/Users/aqute/.bnd/cache/https%3A%2F%2Fraw.githubusercontent.com%2Fosgi%2Fosgi.enroute%2Fv1.0.0%2Fcnf%2Fdistro%2Forg.osgi.service.metatype/org.osgi.service.metatype-1.3.0.jar,/Users/aqute/.bnd/cache/https%3A%2F%2Fraw.githubusercontent.com%2Fosgi%2Fosgi.enroute%2Fv1.0.0%2Fcnf%2Fdistro%2Fosgi.enroute.hamcrest.wrapper/osgi.enroute.hamcrest.wrapper-1.3.0.jar,/Users/aqute/.bnd/cache/https%3A%2F%2Fraw.githubusercontent.com%2Fosgi%2Fosgi.enroute%2Fv1.0.0%2Fcnf%2Fdistro%2Fosgi.enroute.junit.wrapper/osgi.enroute.junit.wrapper-4.12.0.jar,/Ws/temp/test_wiring_issue/persistence/generated/persistence.provider.jar,/Ws/temp/test_wiring_issue/persistence/generated/persistence.rest.jar,/Ws/temp/test_wiring_issue/type1/generated/type1.provider.jar,/Ws/temp/test_wiring_issue/type1/generated/type1.rest.jar,/Ws/temp/test_wiring_issue/type1.test/generated/type1.test.jar,/Ws/temp/test_wiring_issue/type2/generated/type2.provider.jar,/Ws/temp/test_wiring_issue/type1.test/generated/type1.test.jar,/Ws/temp/test_wiring_issue/cnf/cache/3.3.0/biz.aQute.tester/biz.aQute.tester-3.3.0.jar
tester.port                             50023
tester.dir                              /Ws/temp/test_wiring_issue/type1.test/generated/test-reports
tester.names                            type1.test.TestRestApiEndpoints
launch.noreferences                     false
tester.unresolved                       true
org.apache.felix.http.jettyEnabled      true
launch.storage.dir                      /Ws/temp/test_wiring_issue/type1.test/generated/fw
tester.trace                            true
launch.activators                       osgi.enroute.equinox.log.adapter.HideEquinoxLog
launch.timeout                          0
org.apache.felix.http.whiteboardEnabled true
tester.continuous                       false
launch.system.capabilities              osgi.native;osgi.native.osname:List<String>="MacOSX,Mac OS X";osgi.native.osversion:Version="10.11.5";osgi.native.processor:List<String>="x86-64,amd64,em64t,x86_64";osgi.native.language=en_US
launch.embedded                         false
osgi.console.enable.builtin             false
launch.system.packages                  javax.annotation.processing;version=0,javax.crypto;version=0,javax.crypto.interfaces;version=0,javax.crypto.spec;version=0,javax.lang.model;version=0,javax.lang.model.element;version=0,javax.lang.model.type;version=0,javax.lang.model.util;version=0,javax.management;version=0,javax.management.loading;version=0,javax.management.modelmbean;version=0,javax.management.monitor;version=0,javax.management.openmbean;version=0,javax.management.relation;version=0,javax.management.remote;version=0,javax.management.remote.rmi;version=0,javax.management.timer;version=0,javax.naming;version=0,javax.naming.directory;version=0,javax.naming.event;version=0,javax.naming.ldap;version=0,javax.naming.spi;version=0,javax.net;version=0,javax.net.ssl;version=0,javax.rmi.ssl;version=0,javax.script;version=0,javax.security.auth;version=0,javax.security.auth.callback;version=0,javax.security.auth.kerberos;version=0,javax.security.auth.login;version=0,javax.security.auth.spi;version=0,javax.security.auth.x500;version=0,javax.security.cert;version=0,javax.security.sasl;version=0,javax.sql;version=0,javax.sql.rowset;version=0,javax.sql.rowset.serial;version=0,javax.sql.rowset.spi;version=0,javax.tools;version=0,javax.transaction;version=0,javax.transaction.xa;version=0,javax.xml;version=0,javax.xml.bind;version=0,javax.xml.bind.attachment;version=0,javax.xml.bind.annotation;version=0,javax.xml.bind.annotation.adapters;version=0,javax.xml.bind.helpers;version=0,javax.xml.crypto;version=0,javax.xml.crypto.dom;version=0,javax.xml.crypto.dsig;version=0,javax.xml.crypto.dsig.dom;version=0,javax.xml.crypto.dsig.keyinfo;version=0,javax.xml.crypto.dsig.spec;version=0,javax.xml.datatype;version=0,javax.xml.namespace;version=0,javax.xml.parsers;version=0,javax.xml.stream;version=0,javax.xml.stream.events;version=0,javax.xml.stream.util;version=0,javax.xml.transform;version=0,javax.xml.transform.dom;version=0,javax.xml.transform.sax;version=0,javax.xml.transform.stax;version=0,javax.xml.transform.stream;version=0,javax.xml.validation;version=0,javax.xml.ws;version=0,javax.xml.ws.handler;version=0,javax.xml.ws.handler.soap;version=0,javax.xml.ws.http;version=0,javax.xml.ws.soap;version=0,javax.xml.ws.spi;version=0,javax.xml.ws.spi.http;version=0,javax.xml.ws.wsaddressing;version=0,javax.xml.xpath;version=0,org.ietf.jgss;version=0,org.w3c.dom;version=0,org.w3c.dom.bootstrap;version=0,org.w3c.dom.events;version=0,org.w3c.dom.ls;version=0,org.xml.sax;version=0,org.xml.sax.ext;version=0,org.xml.sax.helpers;version=0,javax.script,org.eclipse.core.runtime.adaptor;x-friends:="org.eclipse.core.runtime",org.eclipse.core.runtime.internal.adaptor;x-internal:=true,org.eclipse.equinox.log;version="1.0",org.eclipse.osgi.container;version="1.0",org.eclipse.osgi.container.builders;version="1.0",org.eclipse.osgi.container.namespaces;version="1.0",org.eclipse.osgi.framework.console;version="1.1",org.eclipse.osgi.framework.eventmgr;version="1.2",org.eclipse.osgi.framework.internal.reliablefile;x-internal:=true,org.eclipse.osgi.framework.log;version="1.1",org.eclipse.osgi.framework.util;x-internal:=true,org.eclipse.osgi.internal.debug;x-internal:=true,org.eclipse.osgi.internal.framework;x-internal:=true,org.eclipse.osgi.internal.hookregistry;x-friends:="org.eclipse.osgi.tests",org.eclipse.osgi.internal.loader;x-internal:=true,org.eclipse.osgi.internal.loader.buddy;x-internal:=true,org.eclipse.osgi.internal.loader.classpath;x-internal:=true,org.eclipse.osgi.internal.loader.sources;x-internal:=true,org.eclipse.osgi.internal.location;x-internal:=true,org.eclipse.osgi.internal.messages;x-internal:=true,org.eclipse.osgi.internal.provisional.service.security;version="1.0.0";x-friends:="org.eclipse.equinox.security.ui",org.eclipse.osgi.internal.provisional.verifier;x-friends:="org.eclipse.update.core,org.eclipse.ui.workbench,org.eclipse.equinox.p2.artifact.repository",org.eclipse.osgi.internal.service.security;x-friends:="org.eclipse.equinox.security.ui",org.eclipse.osgi.internal.serviceregistry;x-internal:=true,org.eclipse.osgi.internal.signedcontent;x-internal:=true,org.eclipse.osgi.internal.url;x-internal:=true,org.eclipse.osgi.launch;version="1.0",org.eclipse.osgi.report.resolution;version="1.0",org.eclipse.osgi.service.datalocation;version="1.3",org.eclipse.osgi.service.debug;version="1.2",org.eclipse.osgi.service.environment;version="1.3",org.eclipse.osgi.service.localization;version="1.1",org.eclipse.osgi.service.pluginconversion;version="1.0",org.eclipse.osgi.service.resolver;version="1.6",org.eclipse.osgi.service.runnable;version="1.1",org.eclipse.osgi.service.security;version="1.0",org.eclipse.osgi.service.urlconversion;version="1.0",org.eclipse.osgi.signedcontent;version="1.0",org.eclipse.osgi.storage;x-friends:="org.eclipse.osgi.tests",org.eclipse.osgi.storage.bundlefile;x-internal:=true,org.eclipse.osgi.storage.url.reference;x-internal:=true,org.eclipse.osgi.storagemanager;version="1.0",org.eclipse.osgi.util;version="1.1",org.osgi.dto;version="1.0",org.osgi.framework;version="1.8",org.osgi.framework.dto;version="1.8",org.osgi.framework.hooks.bundle;version="1.1",org.osgi.framework.hooks.resolver;version="1.0",org.osgi.framework.hooks.service;version="1.1",org.osgi.framework.hooks.weaving;version="1.1",org.osgi.framework.launch;version="1.2",org.osgi.framework.namespace;version="1.1",org.osgi.framework.startlevel;version="1.0",org.osgi.framework.startlevel.dto;version="1.0",org.osgi.framework.wiring;version="1.2",org.osgi.framework.wiring.dto;version="1.2",org.osgi.resource;version="1.0",org.osgi.resource.dto;version="1.0",org.osgi.service.condpermadmin;version="1.1.1",org.osgi.service.log;version="1.3",org.osgi.service.packageadmin;version="1.2",org.osgi.service.permissionadmin;version="1.2",org.osgi.service.resolver;version="1.0.1",org.osgi.service.startlevel;version="1.1",org.osgi.service.url;version="1.0",org.osgi.util.tracker;version="1.5.1"
launch.keep                             false
launch.name                             type1.test
launch.trace                            true
launch.notificationPort                 -1
osgi.console                            
launch.services                         true

Id    State Modified      Location
0     ACTIV <>            System Bundle
1     ACTIV <>            reference:file:/Users/aqute/.bnd/cache/http%253A%252F%252Frepository.amdatu.org%252Fdependencies%252Fcom.fasterxml.jackson.core.jackson-annotations/jackson-annotations-2.6.3.jar
2     ACTIV <>            reference:file:/Users/aqute/.bnd/cache/http%253A%252F%252Frepository.amdatu.org%252Fdependencies%252Fcom.fasterxml.jackson.core.jackson-core/jackson-core-2.6.3.jar
3     ACTIV <>            reference:file:/Users/aqute/.bnd/cache/http%253A%252F%252Frepository.amdatu.org%252Fdependencies%252Fcom.fasterxml.jackson.core.jackson-databind/jackson-databind-2.6.3.jar
4     ACTIV <>            reference:file:/Users/aqute/.bnd/cache/http%253A%252F%252Frepository.amdatu.org%252Fdependencies%252Fcom.fasterxml.jackson.jaxrs.jackson-jaxrs-base/jackson-jaxrs-base-2.6.3.jar
5     ACTIV <>            reference:file:/Users/aqute/.bnd/cache/http%253A%252F%252Frepository.amdatu.org%252Fdependencies%252Fcom.fasterxml.jackson.jaxrs.jackson-jaxrs-json-provider/jackson-jaxrs-json-provider-2.6.3.jar
6     ACTIV 201650301438  reference:file:/Users/aqute/.bnd/shacache/shas/2DF97EBD4E5C01599584C45CAA3AEB563D268EEF/com.sun.jersey.client-1.19.1.jar
7     ACTIV 201650301440  reference:file:/Users/aqute/.bnd/shacache/shas/04282D106F2ACD5051BD9BC2935ED9A2920C9385/com.sun.jersey.core-1.19.1.jar
8     ACTIV <>            reference:file:/Users/aqute/.bnd/cache/http%253A%252F%252Frepository.amdatu.org%252Frelease%252Forg.amdatu.testing.configurator/org.amdatu.testing.configurator-3.1.0.jar
9     ACTIV <>            reference:file:/Users/aqute/.bnd/cache/http%253A%252F%252Frepository.amdatu.org%252Frelease%252Forg.amdatu.testing.configurator/org.amdatu.testing.configurator-4.0.0.jar
10    ACTIV <>            reference:file:/Users/aqute/.bnd/cache/http%253A%252F%252Frepository.amdatu.org%252Frelease%252Forg.amdatu.testing.http/org.amdatu.testing.http-1.0.0.jar
11    ACTIV <>            reference:file:/Users/aqute/.bnd/cache/http%253A%252F%252Frepository.amdatu.org%252Frelease%252Forg.amdatu.web.rest.jaxrs/org.amdatu.web.rest.jaxrs-1.0.9.jar
12    ACTIV <>            reference:file:/Users/aqute/.bnd/cache/http%253A%252F%252Frepository.amdatu.org%252Frelease%252Forg.amdatu.web.rest.wink/org.amdatu.web.rest.wink-2.0.4.jar
13    ACTIV <>            reference:file:/Users/aqute/.bnd/cache/http%253A%252F%252Frepository.amdatu.org%252Fdependencies%252Forg.apache.felix.configadmin/org.apache.felix.configadmin-1.8.6.jar
14    ACTIV <>            reference:file:/Users/aqute/.bnd/cache/http%253A%252F%252Frepository.amdatu.org%252Fdependencies%252Forg.apache.felix.dependencymanager/org.apache.felix.dependencymanager-4.3.0.jar
15    ACTIV <>            reference:file:/Users/aqute/.bnd/cache/http%253A%252F%252Frepository.amdatu.org%252Fdependencies%252Forg.apache.felix.http.api/org.apache.felix.http.api-3.0.0.jar
16    ACTIV <>            reference:file:/Users/aqute/.bnd/cache/https%253A%252F%252Fraw.githubusercontent.com%252Fosgi%252Fosgi.enroute%252Fv1.0.0%252Fcnf%252Fdistro%252Forg.apache.felix.http.jetty/org.apache.felix.http.jetty-3.1.0.jar
17    ACTIV <>            reference:file:/Users/aqute/.bnd/cache/http%253A%252F%252Frepository.amdatu.org%252Fdependencies%252Forg.apache.felix.http.servlet-api/org.apache.felix.http.servlet-api-1.1.2.jar
18    ACTIV <>            reference:file:/Users/aqute/.bnd/cache/http%253A%252F%252Frepository.amdatu.org%252Fdependencies%252Forg.apache.felix.http.whiteboard/org.apache.felix.http.whiteboard-3.0.0.jar
19    ACTIV <>            reference:file:/Users/aqute/.bnd/cache/http%253A%252F%252Frepository.amdatu.org%252Fdependencies%252Forg.apache.felix.log/org.apache.felix.log-1.0.1.jar
20    ACTIV <>            reference:file:/Users/aqute/.bnd/cache/https%253A%252F%252Fraw.githubusercontent.com%252Fosgi%252Fosgi.enroute%252Fv1.0.0%252Fcnf%252Fdistro%252Forg.apache.felix.scr/org.apache.felix.scr-2.0.0.jar
21    ACTIV <>            reference:file:/Users/aqute/.bnd/cache/https%253A%252F%252Fraw.githubusercontent.com%252Fosgi%252Fosgi.enroute%252Fv1.0.0%252Fcnf%252Fdistro%252Forg.eclipse.equinox.event/org.eclipse.equinox.event-1.3.100.jar
22    ACTIV <>            reference:file:/Users/aqute/.bnd/cache/https%253A%252F%252Fraw.githubusercontent.com%252Fosgi%252Fosgi.enroute%252Fv1.0.0%252Fcnf%252Fdistro%252Forg.eclipse.equinox.metatype/org.eclipse.equinox.metatype-1.4.100.jar
23    ACTIV <>            reference:file:/Users/aqute/.bnd/cache/https%253A%252F%252Fraw.githubusercontent.com%252Fosgi%252Fosgi.enroute%252Fv1.0.0%252Fcnf%252Fdistro%252Forg.osgi.service.event/org.osgi.service.event-1.3.1.jar
24    ACTIV <>            reference:file:/Users/aqute/.bnd/cache/https%253A%252F%252Fraw.githubusercontent.com%252Fosgi%252Fosgi.enroute%252Fv1.0.0%252Fcnf%252Fdistro%252Forg.osgi.service.metatype/org.osgi.service.metatype-1.3.0.jar
25    ACTIV <>            reference:file:/Users/aqute/.bnd/cache/https%253A%252F%252Fraw.githubusercontent.com%252Fosgi%252Fosgi.enroute%252Fv1.0.0%252Fcnf%252Fdistro%252Fosgi.enroute.hamcrest.wrapper/osgi.enroute.hamcrest.wrapper-1.3.0.jar
26    ACTIV <>            reference:file:/Users/aqute/.bnd/cache/https%253A%252F%252Fraw.githubusercontent.com%252Fosgi%252Fosgi.enroute%252Fv1.0.0%252Fcnf%252Fdistro%252Fosgi.enroute.junit.wrapper/osgi.enroute.junit.wrapper-4.12.0.jar
27    ACTIV 201650301439  reference:file:/Ws/temp/test_wiring_issue/persistence/generated/persistence.provider.jar
28    ACTIV 201650301439  reference:file:/Ws/temp/test_wiring_issue/persistence/generated/persistence.rest.jar
29    ACTIV 201650301439  reference:file:/Ws/temp/test_wiring_issue/type1/generated/type1.provider.jar
30    ACTIV 201650301439  reference:file:/Ws/temp/test_wiring_issue/type1/generated/type1.rest.jar
31    ACTIV 201650301456  reference:file:/Ws/temp/test_wiring_issue/type1.test/generated/type1.test.jar
32    ACTIV 201650301440  reference:file:/Ws/temp/test_wiring_issue/type2/generated/type2.provider.jar
33    ACTIV 201650301438  reference:file:/Ws/temp/test_wiring_issue/cnf/cache/3.3.0/biz.aQute.tester/biz.aQute.tester-3.3.0.jar
# framework=org.eclipse.osgi.launch.Equinox@290d210d
# registered launcher with arguments for syncing
# will call main
# running in main thread
# test cases type1.test.TestRestApiEndpoints
# using port 50023
# run unresolved true
# receivednames of classes to test type1.test.TestRestApiEndpoints
# testing bundle null with type1.test.TestRestApiEndpoints
# changed streams
# finding type1.test.TestRestApiEndpoints
# found in biz.aQute.tester_3.3.0.201606300808-SNAPSHOT [33]
# not in biz.aQute.tester_3.3.0.201606300808-SNAPSHOT [33]
# found in type2.provider_1.0.0.201606301240 [32]
# not in type2.provider_1.0.0.201606301240 [32]
# found in type1.test_1.0.0.201606301256 [31]
# using JUnit 4
# created suite null #1
# >>>> null, tests [type1.test.TestRestApiEndpoints, test1(type1.test.TestRestApiEndpoints)]
# running suite junit.framework.TestSuite@407cf41
#   >> test1(type1.test.TestRestApiEndpoints)
# got bundle context org.eclipse.osgi.internal.framework.BundleContextImpl@1f130eaf from osgi.enroute.junit.wrapper_4.12.0.201509161450 [26] in state 32
TestRestApiEndpoints.setUp
TestRestApiEndpoints.tearDown
#   add error to test1(type1.test.TestRestApiEndpoints) : 
Expected: <200>
     but: was <404>
java.lang.AssertionError: 
Expected: <200>
     but: was <404>
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:8)
at type1.test.TestRestApiEndpoints.setUp(TestRestApiEndpoints.java:47)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:38)
at junit.framework.TestSuite.runTest(TestSuite.java:252)
at junit.framework.TestSuite.run(TestSuite.java:247)
at aQute.junit.Activator.test(Activator.java:320)
at aQute.junit.Activator.run(Activator.java:150)
at aQute.launcher.Launcher$5.call(Launcher.java:1214)
at aQute.launcher.Launcher$5.call(Launcher.java:1212)
at aQute.launcher.Launcher.run(Launcher.java:316)
at aQute.launcher.Launcher.main(Launcher.java:133)
#   << test1(type1.test.TestRestApiEndpoints), fails=1, errors=1
# out: TestRestApiEndpoints.setUp
TestRestApiEndpoints.tearDown

# <<<<
# unset streams
Tests run  : 1
Passed     : 0
Errors     : 1
Failures   : 0

t...@quarendon.net

unread,
Jun 30, 2016, 9:01:56 AM6/30/16
to bndtools-users
I have put my ACTUAL workspace on a private github repo. Peter, I've added you as a collaborator.

If I run com.wpl.woodpecker.datasets.test bnd.bnd as an osgi junit test I get output such as:
Only 1 out of 2 initialisers so far
  com.wpl.woodpecker.projects.provider.ProjectsImpl
Waiting for:
  com.wpl.woodpecker.datasets.provider.DatasetsImpl

and it never gets satisfied. Run with -runtrace and it DOES work, so it's not like the class names it's looking for are wrong.

Discussion will have to be offline if you want to ask questions further on the code.

Peter Kriens

unread,
Jun 30, 2016, 9:11:42 AM6/30/16
to bndtool...@googlegroups.com
Ok, I am in an OSGi board meeting as we speak. But I will look asap. Let’s discuss on the issues? 

Kind regards,

Peter Kriens

t...@quarendon.net

unread,
Jun 30, 2016, 10:17:54 AM6/30/16
to bndtools-users


On Thursday, 30 June 2016 13:59:38 UTC+1, pkriens wrote:
This is my full trace: (I added to the bnd file:

-runtrace: true
-runproperties: tester.trace=true

)


If I do that, I get nothing like the amount of output you get. -runtrace is having no effect. 
If I click the "Enable launcher tracing" in the run configuration, and set -Dtester.trace=true as a JVM argument, so "-runvm: -Dtester.trace=true", then I DO get voluminous output. So for me, at the moment on thie workspace, -runtrace:true has no effect, but the "enable launcher tracing" does.


Anyway, I get
# test cases null
where you get
# test cases type1.test.TestRestApiEndpoints
which is what I would expect.

You have
tester.names                            type1.test.TestRestApiEndpoints
I don't. I can't see any obvious other places where your trace has type1.test but mine doesn't. I don't know how "tester.names" is set. I'm just right clicking on the bnd.bnd file and selecting "Run as Bnd OSGi Test Launcher".

Why would I see something different, when the workspace is exactly the same? Very odd.

Bram Pouwelse

unread,
Jul 1, 2016, 12:29:08 PM7/1/16
to bndtools-users
Hi Tom, 

Found some time to have a look at your example. IMHO it would be better not to register your services that depend on database initialization before this initialization step is done by not having the service available before the database is ready (this is not only a concern for testing I guess ;) ). 

An easy way to do this could be for example to initialize the database in the components activate method. Once you're sure the database is initialized when the service is registered you could make sure the test doesn't start before the required services are available using the Amdatu Testing TestConfigurator that would be something like: 

configure(this)
       .add(TestConfigurator.createServiceDependency().setService(Type1.class).setRequired(true))
       .add(TestConfigurator.createServiceDependency().setService(Type2.class).setRequired(true))
       .setTimeout(10, TimeUnit.SECONDS)
         .apply();

In the example I had to update the buildpath of the type1.test project for this to: 

-buildpath: \
osgi.enroute.base.api;version=1.0,\
osgi.enroute.junit.wrapper,\
org.amdatu.testing.http,\
org.amdatu.web.rest.jaxrs,\
com.sun.jersey.client,\
osgi.enroute.hamcrest.wrapper,\
org.amdatu.testing.configurator;version='[4,5)',\
org.apache.felix.dependencymanager;version='[4,5)',\
type1.api;version=latest,\
type2.api;version=latest

Regards,
Bram


--

Santiago Ruiz

unread,
Jul 2, 2016, 11:05:59 AM7/2/16
to bndtool...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages