Hi J.B., Seems really related to Jenkins (CI) as I succeed to compile the project on the same Machine (the CI server) but in a standalone way.
Regards, 2014-02-09 15:32 GMT+01:00 Jean-Baptiste Onofré <[email protected]>: > OK, let me have a look, I remember that I did something for the Apache > Jenkins. > > Regards > JB > > > On 02/09/2014 03:28 PM, Charlie Mordant wrote: > >> Hi J.B., >> >> Yes! >> https://github.com/Tcharl/pax-web-covered/blob/master/pax- >> web-itest/pom.xml >> >> Reggaerds, >> >> >> 2014-02-09 15:18 GMT+01:00 Jean-Baptiste Onofré <[email protected] >> <mailto:[email protected]>>: >> >> >> Hi Charlie, >> >> what's your Pax Exam version ? 3.4.0 ? >> >> Regards >> JB >> >> >> On 02/09/2014 03:05 PM, Charlie Mordant wrote: >> >> Hi Karaf Team, >> >> I'm trying to integrate Jacoco it coverage in pax-web (and >> Osgiliath >> framework). >> >> >> >> >> On my CI server, Karaf tests are failing because apparently >> karaf tests >> (via the karaf container) interprets vmOption converting slashes >> to dots: >> >> [INFO]*--- >> jacoco-maven-plugin:0.6.5-__SNAPSHOT:prepare-agent-__integration >> >> (prepare-agent-integration) @ pax-web-itest-karaf --- >> **[INFO] jcoverage.command set to >> "-javaagent:/var/lib/jenkins/.__m2/repository/org/jacoco/ >> org.__jacoco.agent/0.6.5-SNAPSHOT/__org.jacoco.agent-0. >> 6.5-__SNAPSHOT-runtime.jar=destfile=__/var/lib/jenkins/jobs/Pax-Web >> IT >> covered/workspace/target/__jacoco-it.exec,append=true,__ >> includes=org.ops4j.pax.web.*,__excludes=org.apache.jasper:__ >> org.apache.jasper.compiler:__org.apache.jasper.servlet:org. >> __apache.myfaces.test:org.ops4j.__pax.web.extender. >> samples.*:__org.ops4j.pax.web.itest.*:org.__ops4j.pax.web.samples.*"* >> >> >> * >> * >> >> * >> * >> >> >> *** The KarafVersion is 3.0.0 *** >> *** The ProjectVersion is 4.0.0-SNAPSHOT *** >> 14:55:40.656 [main] INFO o.o.pax.exam.junit.impl.__ProbeRunner >> - running test class >> org.ops4j.pax.web.itest.karaf.__FeaturesTCKarafTest >> >> 14:55:41.901 [main] INFO o.o.p.e.k.c.i.__KarafTestContainer - >> >> Wait for test container to finish its initialization [ >> RelativeTimeout value = 180000 ] >> 14:55:41.902 [main] INFO >> o.o.p.e.r.c.__RemoteBundleContextClient - Waiting for remote >> >> bundle context.. on 21414 name: >> 05c1c5bc-308b-4a07-b719-__819760ae54fa timout: [ RelativeTimeout >> >> value = 180000 ] >> *Error: Could not find or load main class >> "-javaagent:.var.lib.jenkins..__m2.repository.org.jacoco.org >> <http://m2.repository.org.jacoco.org>.__jacoco.agent.0. >> 6.5-SNAPSHOT.__org.jacoco.agent-0.6.5-__SNAPSHOT- >> runtime.jar=destfile=__.var.lib.jenkins.jobs.Pax-Web >> IT >> covered.workspace.target.__jacoco-it.exec,append=true,__ >> includes=org.ops4j.pax.web.*,__excludes=org.apache.jasper:__ >> org.apache.jasper.compiler:__org.apache.jasper.servlet:org. >> __apache.myfaces.test:org.ops4j.__pax.web.extender. >> samples.*:__org.ops4j.pax.web.itest.*:org.__ops4j.pax.web.samples.*"* >> >> >> >> >> >> Its not happening while testing from my workspace (and IT >> coverage is ok), neither for other ITest (those which are based >> on equinox or Felix). >> >> >> Can you confirm this? >> >> >> >> Best regards, >> >> >> >> -- >> Jean-Baptiste Onofré >> [email protected] <mailto:[email protected]> >> >> http://blog.nanthrax.net >> Talend - http://www.talend.com >> >> >> >> > -- > Jean-Baptiste Onofré > [email protected] > http://blog.nanthrax.net > Talend - http://www.talend.com > -- Cordialement, Charlie Mordant
