Hello, 

OK I'm going to create a simple example.
Thank you for your help,  and sorry for taking up your time.

Rgds
M.

Le mercredi 3 février 2021 à 22:59:59 UTC+1, Evgeny Mandrikov a écrit :

> On Wednesday, February 3, 2021 at 6:02:43 PM UTC+1 Mike BO wrote: 
>
>>
>>    1. and RestAssured uses a JBoss server (installed in a docker).
>>
>>
> The Jacoco agent is attached on the Jboss JVM.
>> see: ps -aef result:
>>
>> * /opt/java/bin/java -D[Standalone] -XX:+UseCompressedOops -verbose:gc 
>> -Xloggc:/home/jboss/log/gc.log -XX:+PrintGCDetails -XX:+PrintGCDateStamps 
>> -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=5 -XX:GCLogFileSize=3M 
>> -XX:-TraceClassUnloading *
>> * -server -Djava.net.preferIPv4Stack=true -XX:MaxRAMFraction=2 
>> -Djava.awt.headless=true *
>> * -javaagent:./opt/jboss-eap/jacocoagent.jar=destfile=/home/jacoco.exec *
>> * -Dorg.jboss.boot.log.file=/home/jboss/log/server.log 
>> -Dlogging.configuration=file:/opt/jboss-eap/standalone/configuration/logging.properties
>>  
>> -jar /opt/jboss-eap/jboss-modules.jar *
>> * -mp /opt/jboss-eap/modules -jaxpmodule javax.xml.jaxp-provider 
>> org.jboss.as.standalone *
>> * -Djboss.home.dir=/opt/jboss-eap 
>> -Djboss.server.base.dir=/opt/jboss-eap/standalone 
>> -Djboss.server.log.dir=/home/jboss/log/ -Djboss.server.temp.dir=/tmp -b 
>> 0.0.0.0 -bmanagement 0.0.0.0 -Ddocker.jboss.log.level=INFO*
>>
>>
> Here is one more attempt to guess:
> file
> /home/jacoco.exec
> is created inside of Docker container.
> While seems that report is created outside of container.
> So are you sure that creation of report uses correct file??
>
> But in my opinion such attempts to guess are counterproductive waste of 
> time both for you and for others.
> So let me highlight the following one more time:
> *unlikely that someone will be able to blindly guess what is wrong in your 
> case, unless you provide complete example that others can try*
> Partial snippets are definitely not enough to reproduce your complex setup 
> - they are not a complete example that others can try.
>
> So please try to create *simple small example that others can try. And 
> share it completely*, for example in repository on GitHub.
> And BTW maybe by doing this you will be able to find your problem by 
> yourself.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"JaCoCo and EclEmma Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jacoco/fbca9cd6-0ea9-49d5-b3a1-6ce7c62a717en%40googlegroups.com.

Reply via email to