Hi Deven, I have updated http://felix.apache.org/documentation/development/using-the-osgi-compliance-tests.html to describe how to run the Core R5 and Core R6 tests with the Felix framework. I've also added the Core R6 CT to https://svn.apache.org/repos/tck/osgi-cts in case you're looking for it.
I didn't have time to describe running the security tests in detail yet, so that's still a TODO. Hope this helps, David On 11 November 2014 16:28, David Bosschaert <[email protected]> wrote: > Hi Deven, > > I will try to update that page a little bit soon. > > In short, you probably want to run the tests with the latest Felix > 4.4.1, not 2.0.2. This fully passes the Core R5 CT, see here for the > results of the tests that I ran for that release: > http://people.apache.org/~davidb/felix_osgi_r5/ > > There are some extra steps required to run the security tests, I will > dig those up too. > > Cheers, > > David > > On 10 November 2014 21:41, deven you <[email protected]> wrote: >> Hi All, >> >> I am working on testing apache felix with OSGI CT. >> >> >> At present, I find the documentation about how to run felix within OSGI CT >> is not clear. After searched from google I got this link: >> http://felix.apache.org/documentation/development/using-the-osgi-compliance-tests.html >> . >> >> >> In the link, it mentioned to use org.apache.felix.framework-2.0.2.jar to >> test felix framework however. I don't see any doc about the framework jar >> file and I only searched the download place to download the latest >> org.apache.felix.framework-4.4.1.jar. >> >> >> I also find that the link mentioned OSGI CT has separate compendium CT but >> I see it's in the osgi.ct.core in the latest version ( >> https://www.osgi.org/members/Release6/HomePage Final CT >> <https://www.osgi.org/members/hudson/job/build.core/470/artifact/osgi.ct/generated/osgi.ct.core.jar> >> link >> ) there is only osgi.ct.core test so I am wonder if this link is quite old >> to catch the current status of OSGI CT. I also find it's hard to get doc >> about the org.apache.felix.eventadmin-1.0.0.jar and >> org.apache.felix.framework.security-1.0.0.jar for Felix bundle test >> mentioned in the osgi-compliance-test. >> >> Inspite of all questions above, I download the >> org.apache.felix.framework-2.0.2.jar and place it into the >> osgi.ct.core/jar folder >> and lanuch the source runtests . With both Oracle Oracle JDK 7/8, the test >> always hang with below messages: >> >> # automatic testing of all bundles with Test-Cases header >> >> # using >> /home/jenkins/workspace/openjdk.jdk9.jigsaw.osgi-ct.felix.test.linux.x86_64/reports/tmp, >> needed creation false >> >> # adding Bundle Listener for getting test bundle events >> >> # starting queue >> >> Could anyone help me to solve all the questions and the hang problem to run >> apache felix test with OSGI CT? >> >> Thanks a lot!
