[JIRA] [jacoco] (JENKINS-20754) Jacoco coverage reports built from Jenkins are inconsistent.

2014-01-01 Thread ognjen.bub...@gmail.com (JIRA)














































Ognjen Bubalo
 commented on  JENKINS-20754


Jacoco coverage reports built from Jenkins are inconsistent.















Hi Joel,

Sorry for the delay. Have you noticed this problem again?

What triggered the build if there were no SCM changes?
Are these logs coming when the JaCoCo Maven plugin is running? 
You are using the JaCoCo maven plugin to set the thresholds right? So these logs come from the Maven plugin. The Jenkins JaCoCo plugin runs later.

Thanks,
Ogi



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[JIRA] [jacoco] (JENKINS-20754) Jacoco coverage reports built from Jenkins are inconsistent.

2014-01-01 Thread joel.costigli...@gmail.com (JIRA)














































Joel Costigliola
 commented on  JENKINS-20754


Jacoco coverage reports built from Jenkins are inconsistent.















Yes I have noticed the problem several time, it led me to disable JaCoCo completely in mid December.

I triggered the second build myself because I was surprised if failed the first time (it was ok on my machine) so I triggered it again to see if it continued to fail, I was surprised that it did with different coverage report.

The logs are coming from the build execution on jenkins, and yes I was using JaCoCo maven plugin to set the thresholds.
Again, I did open an issue on the jenkins plugin because I never had any inconsistent coverage report when building locally (at least I never identified one) but I'm not sure at all the problem comes from jenkins plugin.

Note that I don't work anymore in the company where I had the problem, it will be thus difficult for me to reproduce it.

One last thing, I'm using JaCoCo for an open source project of mine (AssertJ) and did not encounter such problems, the difference between AssertJ and my last project was that AssertJ is not a multi module maven project.

And by the way, I wish you and all others jenkins guys an Happy New Year.

Joel




























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[JIRA] [jacoco] (JENKINS-20754) Jacoco coverage reports built from Jenkins are inconsistent.

2014-01-01 Thread joel.costigli...@gmail.com (JIRA)














































Joel Costigliola
 commented on  JENKINS-20754


Jacoco coverage reports built from Jenkins are inconsistent.















I'm ok to close this.

Cheers,

Joel



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[JIRA] [jacoco] (JENKINS-20754) Jacoco coverage reports built from Jenkins are inconsistent.

2014-01-01 Thread ognjen.bub...@gmail.com (JIRA)















































Ognjen Bubalo
 closed  JENKINS-20754 as Cannot Reproduce


Jacoco coverage reports built from Jenkins are inconsistent.
















Change By:


Ognjen Bubalo
(01/Jan/14 10:49 PM)




Status:


Open
Closed





Resolution:


CannotReproduce



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[JIRA] [jacoco] (JENKINS-20754) Jacoco coverage reports built from Jenkins are inconsistent.

2013-11-26 Thread joel.costigli...@gmail.com (JIRA)














































Joel Costigliola
 commented on  JENKINS-20754


Jacoco coverage reports built from Jenkins are inconsistent.















Hi Ogi,

Jenkins JaCoCo plugin version was 1.0.14

Joel



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[JIRA] [jacoco] (JENKINS-20754) Jacoco coverage reports built from Jenkins are inconsistent.

2013-11-25 Thread joel.costigli...@gmail.com (JIRA)














































Joel Costigliola
 created  JENKINS-20754


Jacoco coverage reports built from Jenkins are inconsistent.















Issue Type:


Bug



Assignee:


Ognjen Bubalo



Components:


jacoco



Created:


25/Nov/13 12:29 PM



Description:


I have a maven multi module project and I want my build to fail if code coverage is insufficient.

I'm using jacoco maven plugin for this, I had no problem with local builds but when building my project on Jenkins I have found jacoco reports to be inconsistent.

This is a blocking problem to me because the build fails when coverage expectations are not met. 

Here's two extract of failed build with no SCM changes between them.

build #89


[WARNING] Insufficient code coverage for COMPLEXITY: 60,52%  63,14%
[WARNING] Insufficient code coverage for METHOD: 64,28%  67,84%



build #90


[WARNING] Insufficient code coverage for BRANCH: 70,00%  75,00%
[WARNING] Insufficient code coverage for COMPLEXITY: 57,89%  63,14%
[WARNING] Insufficient code coverage for METHOD: 64,28%  67,84%



Previous build was successful with the same code coverage expectations.

I have tried with different jacoco versions (0.6.2.201302030002 and 0.6.3.201306030806) without luck.

I have reported this problem in jenkins issue tracker since I have only seen it my Jenkins build and not in my local builds but I may be wrong.

I understand this is not easy to fix or investigate, I just thought it was important to report it. 

Kind regards,

Joel




Environment:


Jenkins version: 1.523



Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19 14:51:28+0100)

Maven home: C:\webintlab\apache-maven-3.0.5

Java version: 1.7.0_15, vendor: Oracle Corporation

Java home: C:\Program Files\Java\jdk1.7.0_15\jre

Default locale: fr_FR, platform encoding: Cp1252

OS name: windows server 2008, version: 6.0, arch: amd64, family: windows




Project:


Jenkins



Priority:


Critical



Reporter:


Joel Costigliola

























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[JIRA] [jacoco] (JENKINS-20754) Jacoco coverage reports built from Jenkins are inconsistent.

2013-11-25 Thread ognjen.bub...@gmail.com (JIRA)














































Ognjen Bubalo
 commented on  JENKINS-20754


Jacoco coverage reports built from Jenkins are inconsistent.















Hi,

Which JaCoCo Jenkins plugin version do you use? 

Ogi



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.