I don't understand these jacoco results. I don't understand the jacoco results on my own machine. Furthermore, I can't find any useful information in the coverage report produced on my machine (see the attached index.html). At this time, I am not inclined to put any more effort into the jacoco runs on jenkins.

In case someone else wants to spend some time on jacoco, here are some errors which I found in the jenkins pipeline tab (in addition to the tests errors):

[Derby-JaCoCo] $ /bin/bash -xe /tmp/jenkins6682900521189757649.sh
+ echo 'JAVA_HOME: /home/jenkins/tools/java/latest1.9'
JAVA_HOME: /home/jenkins/tools/java/latest1.9
+ jacoco_version=0.7.9
+ jacoco_zip_sha1=1d56a66be0f4a6b529d8f983ab65cc77a52cccb6
+ jacocoant_sha1=87aa22de3854fd5a43e37a17c4b245b01a46de93
+ jacocoagent_sha1=a6ac9cca89d889222a40dab9dd5039bfd22a4cff
+ cat
+ sha1sum -c sha1sum.txt
sha1sum: trunk/tools/java/jacocoant.jar: No such file or directory
trunk/tools/java/jacocoant.jar: FAILED open or read
sha1sum: trunk/tools/java/jacocoagent.jar: No such file or directory
trunk/tools/java/jacocoagent.jar: FAILED open or read
sha1sum: WARNING: 2 listed files could not be read

----------------------

    [junit] (net)derbynet.Utf8CcsidManagerClientTest.testInvalidCharacters used 3 ms Tests run: 340, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 316.45 sec     [junit] Test org.apache.derbyTesting.functionTests.tests.derbynet._Suite FAILED     [junit] Running org.apache.derbyTesting.functionTests.tests.tools._Suite
    [junit]

----------------------

    [junit]
    [junit] used 4002 ms Tests run: 8015, Failures: 0, Errors: 8, Skipped: 0, Time elapsed: 1,563.687 sec     [junit] Test org.apache.derbyTesting.functionTests.tests.jdbcapi._Suite FAILED     [junit] Running org.apache.derbyTesting.functionTests.tests.store._Suite
    [junit]


----------------------

    [junit]   (subprocess)     at junit.extensions.TestSetup.run(TestSetup.java:25)     [junit]   (subprocess) 2) testModifyThreadGroup(org.apache.derbyTesting.unitTests.junit.MissingPermissionsTest)java.lang.NullPointerException     [junit]   (subprocess)     at org.apache.derby.iapi.jdbc.AutoloadedDriver.connect(AutoloadedDriver.java:136)     [junit]   (subprocess)     at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:678)

----------------------



-------- Forwarded Message --------
Subject:        Jenkins build is still unstable: Derby-JaCoCo #314
Date:   Wed, 11 Jul 2018 21:18:10 +0000 (UTC)
From:   Apache Jenkins Server <jenk...@builds.apache.org>
Reply-To:       derby-dev@db.apache.org
To:     derby-dev@db.apache.org



See 
<https://builds.apache.org/job/Derby-JaCoCo/314/display/redirect?page=changes>


Title: Apache Derby Code Coverage (revision 1835359M, JRE 9)

Apache Derby Code Coverage (revision 1835359M, JRE 9)

ElementMissed InstructionsCov.Missed BranchesCov.
Total0 of 0n/a0 of 0n/a

Reply via email to