Hi Marc,

Thanks , the session page indeed does not list the Class ID's when the 
report is generated on RHEL 8 . I can see the class ID's on RHEL 7. Even 
though all the java , jacoco versions being used are the same on both the 
servers . Even the class dump directory for jacoco ( classDumpDir) remains 
empty after execution , when it ideally has to contain information 
regarding the classes. 

Thanks,
Monisha

On Wednesday, 19 April 2023 at 15:50:41 UTC+5:30 Marc R. Hoffmann wrote:

> Hi,
>
> please check the “Session” page on the top right corner of the reports.
>
> Are your classes under test listed? If not, for whatever reason execution 
> data has not been properly collected or dumped.
>
> Regards,
> -marc 
>
> On 19. Apr 2023, at 12:13, Monisha G <[email protected]> wrote:
>
> Basically , when jacoco report is generated on a server with RHEL  7.7 
> (Maipo) , the jacoco report shows accurate coverage . When this same code 
> is compiled and executed on a server with RHEL 8.7 , the code coverage 
> report shows 0% .
>
> The report also shows "No execution data available" instead of displaying 
> the class ID's.
>
> 1. We've verified that the same java (*java8*) and jacoco( 
> *org.jacoco.agent-0.8.2.jar* & *org.jacoco.cli-0.8.4-nodeps.jar*) version 
> is being used on both the servers. Basically , the same version and file 
> system exists on both servers.
>
> 2.  Setting arguments for Jacoco :
>
> JAVA_OPTS="-javaagent:/prd/im/bin/IMGUI/CodeCoverage/org.jacoco.agent-0.8.2.jar=destfile=/prd/im/bin/IMGUI/CodeCoverage/IMGUI_Code_Coverage/gui.exec,append=true,includes=*.class
>  
> -Djacoco.dump.on.exit=true -Djacoco.debug=true 
> -Djacoco.classDumpDir=/prd/im/bin/IMGUI/CodeCoverage/Testdump/ 
>
> 3. In order to ensure graceful JVM shutdown , "kill -15" was used in the 
> application stop script .
>
> Any inputs/help from the Team will be appreciated. Thanks!
>
>
>
> -- 
> 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/88e1b9ed-3f49-4dce-98d3-b7a674a51548n%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/jacoco/88e1b9ed-3f49-4dce-98d3-b7a674a51548n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
>
>

-- 
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/23efbcd4-acee-4abd-a831-7418ea9291adn%40googlegroups.com.

Reply via email to