Let me take a look on our Jenkins configuration. Regards JB
On 02/09/2014 09:01 PM, Charlie Mordant wrote:
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] <mailto:[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 <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]> <mailto:[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> <http://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]> <mailto:[email protected] <mailto:[email protected]>> http://blog.nanthrax.net Talend - http://www.talend.com -- Jean-Baptiste Onofré [email protected] <mailto:[email protected]> http://blog.nanthrax.net Talend - http://www.talend.com -- Cordialement, Charlie Mordant
-- Jean-Baptiste Onofré [email protected] http://blog.nanthrax.net Talend - http://www.talend.com
