You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tez.apache.org by "Aggarwal-Raghav (via GitHub)" <gi...@apache.org> on 2026/03/16 17:20:57 UTC
[PR] TEZ-4693: Migrate from proprietary atlassian clover code coverage plugin to JaCoCo [tez]
Aggarwal-Raghav opened a new pull request, #465:
URL: https://github.com/apache/tez/pull/465
(no comment)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@tez.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] TEZ-4693: Migrate from proprietary atlassian clover code coverage plugin to JaCoCo [tez]
Posted by "Aggarwal-Raghav (via GitHub)" <gi...@apache.org>.
Aggarwal-Raghav commented on code in PR #465:
URL: https://github.com/apache/tez/pull/465#discussion_r2941848477
##########
pom.xml:
##########
@@ -1244,54 +1243,58 @@
</build>
</profile>
<profile>
- <id>clover</id>
+ <id>jacoco</id>
<activation>
<activeByDefault>false</activeByDefault>
- <property>
- <name>clover</name>
- </property>
</activation>
<properties>
- <maven.clover.licenseLocation>${clover.license}</maven.clover.licenseLocation>
- <clover.version>3.1.11</clover.version>
+ <jacoco.version>0.8.14</jacoco.version>
</properties>
<build>
<plugins>
<plugin>
- <groupId>com.atlassian.maven.plugins</groupId>
- <artifactId>maven-clover2-plugin</artifactId>
- <version>${clover.version}</version>
+ <groupId>org.jacoco</groupId>
+ <artifactId>jacoco-maven-plugin</artifactId>
+ <version>${jacoco.version}</version>
<configuration>
- <includesAllSourceRoots>true</includesAllSourceRoots>
- <includesTestSourceRoots>true</includesTestSourceRoots>
- <targetPercentage>50%</targetPercentage>
- <generateHtml>true</generateHtml>
- <generateXml>true</generateXml>
<excludes>
<exclude>**/generated/**</exclude>
</excludes>
</configuration>
<executions>
<execution>
- <id>clover-setup</id>
- <phase>process-sources</phase>
+ <id>jacoco-prepare-agent</id>
<goals>
- <goal>setup</goal>
+ <goal>prepare-agent</goal>
</goals>
</execution>
<execution>
- <id>clover</id>
+ <id>jacoco-report</id>
<phase>test</phase>
<goals>
- <goal>clover</goal>
+ <goal>report</goal>
</goals>
</execution>
<execution>
- <id>site</id>
- <phase>pre-site</phase>
+ <id>jacoco-check</id>
+ <phase>verify</phase>
<goals>
- <goal>aggregate</goal>
+ <goal>check</goal>
</goals>
+ <configuration>
+ <rules>
+ <rule>
+ <element>BUNDLE</element>
Review Comment:
Inspired from: https://github.com/dnsbtchr/jacoco-maven-plugin-example/blob/master/pom.xml
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@tez.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] TEZ-4693: Migrate from proprietary atlassian clover code coverage plugin to JaCoCo [tez]
Posted by "tez-yetus (via GitHub)" <gi...@apache.org>.
tez-yetus commented on PR #465:
URL: https://github.com/apache/tez/pull/465#issuecomment-4069530275
:broken_heart: **-1 overall**
| Vote | Subsystem | Runtime | Logfile | Comment |
|:----:|----------:|--------:|:--------:|:-------:|
| +0 :ok: | reexec | 0m 11s | | Docker mode activated. |
|||| _ Prechecks _ |
| +1 :green_heart: | dupname | 0m 0s | | No case conflicting files found. |
| +0 :ok: | detsecrets | 0m 0s | | detect-secrets was not available. |
| +0 :ok: | xmllint | 0m 0s | | xmllint was not available. |
| +1 :green_heart: | @author | 0m 0s | | The patch does not contain any @author tags. |
| -1 :x: | test4tests | 0m 0s | | The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. |
|||| _ master Compile Tests _ |
| +0 :ok: | mvndep | 2m 17s | | Maven dependency ordering for branch |
| +1 :green_heart: | mvninstall | 7m 40s | | master passed |
| +1 :green_heart: | compile | 2m 34s | | master passed |
| +1 :green_heart: | javadoc | 1m 50s | | master passed |
|||| _ Patch Compile Tests _ |
| +0 :ok: | mvndep | 0m 10s | | Maven dependency ordering for patch |
| +1 :green_heart: | mvninstall | 3m 56s | | the patch passed |
| +1 :green_heart: | codespell | 0m 51s | | No new issues. |
| +1 :green_heart: | compile | 2m 36s | | the patch passed |
| +1 :green_heart: | javac | 2m 36s | | the patch passed |
| +1 :green_heart: | blanks | 0m 0s | | The patch has no blanks issues. |
| +1 :green_heart: | javadoc | 1m 41s | | the patch passed |
|||| _ Other Tests _ |
| +1 :green_heart: | unit | 0m 30s | | tez-dag in the patch passed. |
| +1 :green_heart: | unit | 0m 24s | | tez-tests in the patch passed. |
| +1 :green_heart: | unit | 0m 19s | | tez-ext-service-tests in the patch passed. |
| +1 :green_heart: | unit | 2m 4s | | root in the patch passed. |
| +1 :green_heart: | asflicense | 1m 5s | | The patch does not generate ASF License warnings. |
| | | 29m 19s | | |
| Subsystem | Report/Notes |
|----------:|:-------------|
| Docker | ClientAPI=1.54 ServerAPI=1.54 base: https://ci-hadoop.apache.org/job/tez-multibranch/job/PR-465/1/artifact/out/Dockerfile |
| GITHUB PR | https://github.com/apache/tez/pull/465 |
| Optional Tests | dupname asflicense javac javadoc unit codespell detsecrets xmllint compile |
| uname | Linux 7ef166f4d872 5.15.0-173-generic #183-Ubuntu SMP Fri Mar 6 13:29:34 UTC 2026 x86_64 x86_64 x86_64 GNU/Linux |
| Build tool | maven |
| Personality | /home/jenkins/jenkins-home/workspace/tez-multibranch_PR-465/src/.yetus/personality.sh |
| git revision | master / b57f87e86fd0a1346482a7a0e791b88343955546 |
| Default Java | Ubuntu-21.0.10+7-Ubuntu-124.04 |
| Test Results | https://ci-hadoop.apache.org/job/tez-multibranch/job/PR-465/1/testReport/ |
| Max. process+thread count | 117 (vs. ulimit of 5500) |
| modules | C: tez-dag tez-tests tez-ext-service-tests . U: . |
| Console output | https://ci-hadoop.apache.org/job/tez-multibranch/job/PR-465/1/console |
| versions | git=2.43.0 maven=3.8.7 codespell=2.4.1 |
| Powered by | Apache Yetus 0.15.1 https://yetus.apache.org |
This message was automatically generated.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@tez.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] TEZ-4693: Migrate from proprietary atlassian clover code coverage plugin to JaCoCo [tez]
Posted by "abstractdog (via GitHub)" <gi...@apache.org>.
abstractdog merged PR #465:
URL: https://github.com/apache/tez/pull/465
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@tez.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] TEZ-4693: Migrate from proprietary atlassian clover code coverage plugin to JaCoCo [tez]
Posted by "Aggarwal-Raghav (via GitHub)" <gi...@apache.org>.
Aggarwal-Raghav commented on code in PR #465:
URL: https://github.com/apache/tez/pull/465#discussion_r2941824290
##########
tez-dag/pom.xml:
##########
@@ -209,9 +209,7 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
- <argLine>${test.jvm.args}</argLine>
- <environmentVariables>
- <LOG_DIRS>${test.log.dir}</LOG_DIRS>
Review Comment:
There is no need to explicit surefire plugins in child pom. Moved LOG_DIRS to parent pom and used `<environmentVariables combine.children="append">` to ensure the argline and other env variables defined in parent pom under surefire plugins are available to child pom.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@tez.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] TEZ-4693: Migrate from proprietary atlassian clover code coverage plugin to JaCoCo [tez]
Posted by "tez-yetus (via GitHub)" <gi...@apache.org>.
tez-yetus commented on PR #465:
URL: https://github.com/apache/tez/pull/465#issuecomment-4088754721
:broken_heart: **-1 overall**
| Vote | Subsystem | Runtime | Logfile | Comment |
|:----:|----------:|--------:|:--------:|:-------:|
| +0 :ok: | reexec | 0m 11s | | Docker mode activated. |
|||| _ Prechecks _ |
| +1 :green_heart: | dupname | 0m 0s | | No case conflicting files found. |
| +0 :ok: | detsecrets | 0m 0s | | detect-secrets was not available. |
| +0 :ok: | xmllint | 0m 0s | | xmllint was not available. |
| +1 :green_heart: | @author | 0m 0s | | The patch does not contain any @author tags. |
| -1 :x: | test4tests | 0m 0s | | The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. |
|||| _ master Compile Tests _ |
| +1 :green_heart: | mvninstall | 9m 51s | | master passed |
| +1 :green_heart: | compile | 1m 45s | | master passed |
| +1 :green_heart: | javadoc | 1m 29s | | master passed |
|||| _ Patch Compile Tests _ |
| +1 :green_heart: | mvninstall | 3m 9s | | the patch passed |
| +1 :green_heart: | codespell | 1m 14s | | No new issues. |
| +1 :green_heart: | compile | 1m 41s | | the patch passed |
| +1 :green_heart: | javac | 1m 42s | | the patch passed |
| +1 :green_heart: | blanks | 0m 0s | | The patch has no blanks issues. |
| +1 :green_heart: | javadoc | 0m 48s | | the patch passed |
|||| _ Other Tests _ |
| +1 :green_heart: | unit | 2m 17s | | root in the patch passed. |
| +1 :green_heart: | asflicense | 0m 17s | | The patch does not generate ASF License warnings. |
| | | 23m 40s | | |
| Subsystem | Report/Notes |
|----------:|:-------------|
| Docker | ClientAPI=1.54 ServerAPI=1.54 base: https://ci-hadoop.apache.org/job/tez-multibranch/job/PR-465/2/artifact/out/Dockerfile |
| GITHUB PR | https://github.com/apache/tez/pull/465 |
| Optional Tests | dupname asflicense codespell detsecrets javac javadoc unit xmllint compile |
| uname | Linux e2357d259e1c 5.15.0-173-generic #183-Ubuntu SMP Fri Mar 6 13:29:34 UTC 2026 x86_64 x86_64 x86_64 GNU/Linux |
| Build tool | maven |
| Personality | /home/jenkins/jenkins-home/workspace/tez-multibranch_PR-465/src/.yetus/personality.sh |
| git revision | master / 68e3457a50d21d2cca6174e5b5fb52bddc3d1fee |
| Default Java | Ubuntu-21.0.10+7-Ubuntu-124.04 |
| Test Results | https://ci-hadoop.apache.org/job/tez-multibranch/job/PR-465/2/testReport/ |
| Max. process+thread count | 104 (vs. ulimit of 5500) |
| modules | C: . U: . |
| Console output | https://ci-hadoop.apache.org/job/tez-multibranch/job/PR-465/2/console |
| versions | git=2.43.0 maven=3.8.7 codespell=2.4.1 |
| Powered by | Apache Yetus 0.15.1 https://yetus.apache.org |
This message was automatically generated.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@tez.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] TEZ-4693: Migrate from proprietary atlassian clover code coverage plugin to JaCoCo [tez]
Posted by "abstractdog (via GitHub)" <gi...@apache.org>.
abstractdog commented on code in PR #465:
URL: https://github.com/apache/tez/pull/465#discussion_r2958638972
##########
BUILDING.txt:
##########
@@ -40,7 +40,7 @@ Maven build goals:
* Run checkstyle : mvn compile checkstyle:checkstyle
* Install JAR in M2 cache : mvn install
* Deploy JAR to Maven repo : mvn deploy
- * Run clover : mvn test -Pclover [-Dclover.license=${user.home}/clover.license]
+ * Run jacoco : mvn test -Pjacoco
Review Comment:
I would appreciate a quick help here about where to find the jacoco report, othen than that, this looks good
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@tez.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] TEZ-4693: Migrate from proprietary atlassian clover code coverage plugin to JaCoCo [tez]
Posted by "abstractdog (via GitHub)" <gi...@apache.org>.
abstractdog commented on PR #465:
URL: https://github.com/apache/tez/pull/465#issuecomment-4088713213
looks good to me, tried it in tez-api, +1, pending tests
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@tez.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] TEZ-4693: Migrate from proprietary atlassian clover code coverage plugin to JaCoCo [tez]
Posted by "Aggarwal-Raghav (via GitHub)" <gi...@apache.org>.
Aggarwal-Raghav commented on code in PR #465:
URL: https://github.com/apache/tez/pull/465#discussion_r2941835602
##########
pom.xml:
##########
@@ -959,11 +958,11 @@
<reuseForks>false</reuseForks>
<forkedProcessTimeoutInSeconds>900</forkedProcessTimeoutInSeconds>
<testFailureIgnore>true</testFailureIgnore>
- <argLine>-Xmx1024m -XX:+HeapDumpOnOutOfMemoryError</argLine>
- <argLine>${test.jvm.args}</argLine>
Review Comment:
**Having 2 argline is a BUG**. The test.jvm.args is overwriting the above argLine i.e. Xmx one
Screenshots:
**Before:**
<img width="1512" height="251" alt="Image" src="https://github.com/user-attachments/assets/abe79676-6479-486d-a968-7aa1dd325913" />
**After:**
<img width="1512" height="204" alt="Image" src="https://github.com/user-attachments/assets/e2b7d56b-b9e9-4069-983a-d1a06f09530a" />
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@tez.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] TEZ-4693: Migrate from proprietary atlassian clover code coverage plugin to JaCoCo [tez]
Posted by "abstractdog (via GitHub)" <gi...@apache.org>.
abstractdog commented on code in PR #465:
URL: https://github.com/apache/tez/pull/465#discussion_r2958683386
##########
BUILDING.txt:
##########
@@ -40,7 +40,7 @@ Maven build goals:
* Run checkstyle : mvn compile checkstyle:checkstyle
* Install JAR in M2 cache : mvn install
* Deploy JAR to Maven repo : mvn deploy
- * Run clover : mvn test -Pclover [-Dclover.license=${user.home}/clover.license]
+ * Run jacoco : mvn test -Pjacoco
Review Comment:
ah nevermind, it would break this list, it's fine this way
we can still add info later to a the apache webpage if we want to advertise this in Tez project
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@tez.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] TEZ-4693: Migrate from proprietary atlassian clover code coverage plugin to JaCoCo [tez]
Posted by "Aggarwal-Raghav (via GitHub)" <gi...@apache.org>.
Aggarwal-Raghav commented on code in PR #465:
URL: https://github.com/apache/tez/pull/465#discussion_r2958650104
##########
BUILDING.txt:
##########
@@ -40,7 +40,7 @@ Maven build goals:
* Run checkstyle : mvn compile checkstyle:checkstyle
* Install JAR in M2 cache : mvn install
* Deploy JAR to Maven repo : mvn deploy
- * Run clover : mvn test -Pclover [-Dclover.license=${user.home}/clover.license]
+ * Run jacoco : mvn test -Pjacoco
Review Comment:
you mean add that info in `BUILDING.txt` that it's present in `target/site/jacoco/` and to render run
`python3 -m http.server 8080`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@tez.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] TEZ-4693: Migrate from proprietary atlassian clover code coverage plugin to JaCoCo [tez]
Posted by "Aggarwal-Raghav (via GitHub)" <gi...@apache.org>.
Aggarwal-Raghav commented on code in PR #465:
URL: https://github.com/apache/tez/pull/465#discussion_r2941843659
##########
pom.xml:
##########
@@ -959,11 +958,11 @@
<reuseForks>false</reuseForks>
<forkedProcessTimeoutInSeconds>900</forkedProcessTimeoutInSeconds>
<testFailureIgnore>true</testFailureIgnore>
- <argLine>-Xmx1024m -XX:+HeapDumpOnOutOfMemoryError</argLine>
- <argLine>${test.jvm.args}</argLine>
+ <argLine>@{argLine} -Xmx1024m -XX:+HeapDumpOnOutOfMemoryError -XX:+EnableDynamicAgentLoading ${test.jvm.args}</argLine>
Review Comment:
Added `@{argLine}` because of https://www.jacoco.org/jacoco/trunk/doc/prepare-agent-mojo.html
and `-XX:+EnableDynamicAgentLoading` because of jdk 21 + mockito (even though I have not seen the warning in tez) but adding it is shouldn't be a problem.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@tez.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org