Jonathan Tinkham created ZEPPELIN-2809:
------------------------------------------

             Summary: Unable to generate code coverage numbers
                 Key: ZEPPELIN-2809
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-2809
             Project: Zeppelin
          Issue Type: Bug
          Components: build
    Affects Versions: 0.7.2, 0.8.0
         Environment: MacOS Sierra, Java 1.8.0_121-b13. Chromedriver installed. 
            Reporter: Jonathan Tinkham
            Priority: Minor


Attempting to generate code coverage reports via cobertura is generating a 
majority of reports that have "0%" coverage for all classes in a submodule 
(with the exception of zeppelin-display). All unit tests pass. Running unit 
tests in Intellij will generate coverage numbers from those unit tests.

{code}
mvn clean
mvn install -DskipTests -DskipRat
mvn install -DskipRat -pl 
"zeppelin-interpreter,zeppelin-zengine,zeppelin-server,zeppelin-display,spark-dependencies,spark"
 -Dtest="org.apache.zeppelin.AbstractFunctionalSuite" -DfailIfNoTests=false
{code}

I've also tried many other build and test configurations taken from the 
.travis.yml file and documentation, and they all yield the same results.

I have read this case is likely from the serialize cobertura file not matching 
up with the instrumented classes 
(https://github.com/cobertura/cobertura/wiki/FAQ#when-i-generate-coverage-reports-why-do-they-always-show-0-coverage-everywhere).
 Is it possible the instrumented classes are being ignored/overwritten?



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to