Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hadoop 18860: Upgrade mockito version to 4.11.0 #6275

Open
wants to merge 18 commits into
base: trunk
Choose a base branch
from

Conversation

anmolanmol1234
Copy link
Contributor

@anmolanmol1234 anmolanmol1234 commented Nov 16, 2023

HADOOP-18860: Upgrade mockito version to 4.11.0

Changes made :

  1. The hadoop-client-check-invariants and hadoop-client-check-test-invariants modules include a check-jar-contents module, which encountered failures related to win32-x86 and DLL files. To resolve this, we added these files as allowed modifiers in the shell script.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 17m 55s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+0 🆗 codespell 0m 1s codespell was not available.
+0 🆗 detsecrets 0m 1s detect-secrets was not available.
+0 🆗 xmllint 0m 1s xmllint was not available.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 test4tests 0m 0s The patch appears to include 15 new or modified test files.
_ trunk Compile Tests _
+0 🆗 mvndep 13m 59s Maven dependency ordering for branch
+1 💚 mvninstall 30m 26s trunk passed
+1 💚 compile 16m 16s trunk passed with JDK Ubuntu-11.0.20.1+1-post-Ubuntu-0ubuntu120.04
+1 💚 compile 14m 46s trunk passed with JDK Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05
+1 💚 checkstyle 4m 14s trunk passed
+1 💚 mvnsite 10m 49s trunk passed
+1 💚 javadoc 8m 20s trunk passed with JDK Ubuntu-11.0.20.1+1-post-Ubuntu-0ubuntu120.04
+1 💚 javadoc 7m 54s trunk passed with JDK Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05
+0 🆗 spotbugs 0m 22s branch/hadoop-project no spotbugs output file (spotbugsXml.xml)
+1 💚 shadedclient 41m 49s branch has no errors when building and testing our client artifacts.
-0 ⚠️ patch 42m 11s Used diff version of patch file. Binary files and potentially other changes not applied. Please rebase and squash commits if necessary.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 36s Maven dependency ordering for patch
+1 💚 mvninstall 7m 18s the patch passed
+1 💚 compile 15m 29s the patch passed with JDK Ubuntu-11.0.20.1+1-post-Ubuntu-0ubuntu120.04
+1 💚 javac 15m 29s the patch passed
+1 💚 compile 14m 38s the patch passed with JDK Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05
+1 💚 javac 14m 38s the patch passed
+1 💚 blanks 0m 0s The patch has no blanks issues.
+1 💚 checkstyle 4m 4s the patch passed
+1 💚 mvnsite 10m 36s the patch passed
+1 💚 javadoc 8m 14s the patch passed with JDK Ubuntu-11.0.20.1+1-post-Ubuntu-0ubuntu120.04
+1 💚 javadoc 7m 57s the patch passed with JDK Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05
+0 🆗 spotbugs 0m 21s hadoop-project has no data from spotbugs
-1 ❌ shadedclient 41m 11s patch has errors when building and testing our client artifacts.
_ Other Tests _
+1 💚 unit 0m 24s hadoop-project in the patch passed.
+1 💚 unit 19m 14s hadoop-common in the patch passed.
-1 ❌ unit 263m 50s /patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt hadoop-hdfs in the patch passed.
+1 💚 unit 105m 20s hadoop-yarn-server-resourcemanager in the patch passed.
+1 💚 unit 24m 37s hadoop-yarn-server-nodemanager in the patch passed.
+1 💚 unit 23m 27s hadoop-hdfs-rbf in the patch passed.
+1 💚 unit 22m 17s hadoop-yarn-services-core in the patch passed.
-1 ❌ unit 247m 2s /patch-unit-hadoop-yarn-project.txt hadoop-yarn-project in the patch passed.
+1 💚 asflicense 1m 15s The patch does not generate ASF License warnings.
1015m 27s
Reason Tests
Failed junit tests hadoop.hdfs.TestRollingUpgrade
hadoop.yarn.server.timelineservice.security.TestTimelineAuthFilterForV2
Subsystem Report/Notes
Docker ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6275/1/artifact/out/Dockerfile
GITHUB PR #6275
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets xmllint
uname Linux 076f47a290a8 5.15.0-88-generic #98-Ubuntu SMP Mon Oct 2 15:18:56 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision trunk / abd3e36
Default Java Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05
Multi-JDK versions /usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.20.1+1-post-Ubuntu-0ubuntu120.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6275/1/testReport/
Max. process+thread count 3588 (vs. ulimit of 5500)
modules C: hadoop-project hadoop-common-project/hadoop-common hadoop-hdfs-project/hadoop-hdfs hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager hadoop-hdfs-project/hadoop-hdfs-rbf hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-services/hadoop-yarn-services-core hadoop-yarn-project U: .
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6275/1/console
versions git=2.25.1 maven=3.6.3 spotbugs=4.2.2
Powered by Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 0m 54s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 1s No case conflicting files found.
+0 🆗 codespell 0m 0s codespell was not available.
+0 🆗 detsecrets 0m 0s detect-secrets was not available.
+0 🆗 xmllint 0m 0s xmllint was not available.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 test4tests 0m 0s The patch appears to include 15 new or modified test files.
_ trunk Compile Tests _
+0 🆗 mvndep 14m 1s Maven dependency ordering for branch
+1 💚 mvninstall 30m 33s trunk passed
+1 💚 compile 16m 2s trunk passed with JDK Ubuntu-11.0.20.1+1-post-Ubuntu-0ubuntu120.04
+1 💚 compile 14m 42s trunk passed with JDK Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05
+1 💚 checkstyle 4m 15s trunk passed
+1 💚 mvnsite 11m 20s trunk passed
+1 💚 javadoc 8m 40s trunk passed with JDK Ubuntu-11.0.20.1+1-post-Ubuntu-0ubuntu120.04
+1 💚 javadoc 8m 15s trunk passed with JDK Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05
+0 🆗 spotbugs 0m 21s branch/hadoop-project no spotbugs output file (spotbugsXml.xml)
+0 🆗 spotbugs 0m 25s branch/hadoop-client-modules/hadoop-client-runtime no spotbugs output file (spotbugsXml.xml)
+1 💚 shadedclient 31m 44s branch has no errors when building and testing our client artifacts.
-0 ⚠️ patch 32m 7s Used diff version of patch file. Binary files and potentially other changes not applied. Please rebase and squash commits if necessary.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 36s Maven dependency ordering for patch
+1 💚 mvninstall 13m 17s the patch passed
+1 💚 compile 15m 36s the patch passed with JDK Ubuntu-11.0.20.1+1-post-Ubuntu-0ubuntu120.04
+1 💚 javac 15m 36s the patch passed
+1 💚 compile 14m 55s the patch passed with JDK Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05
+1 💚 javac 14m 55s the patch passed
+1 💚 blanks 0m 0s The patch has no blanks issues.
+1 💚 checkstyle 4m 5s the patch passed
+1 💚 mvnsite 11m 8s the patch passed
+1 💚 javadoc 8m 36s the patch passed with JDK Ubuntu-11.0.20.1+1-post-Ubuntu-0ubuntu120.04
+1 💚 javadoc 8m 18s the patch passed with JDK Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05
+0 🆗 spotbugs 0m 20s hadoop-project has no data from spotbugs
+0 🆗 spotbugs 0m 26s hadoop-client-modules/hadoop-client-runtime has no data from spotbugs
-1 ❌ shadedclient 30m 34s patch has errors when building and testing our client artifacts.
_ Other Tests _
+1 💚 unit 0m 24s hadoop-project in the patch passed.
+1 💚 unit 19m 16s hadoop-common in the patch passed.
+1 💚 unit 264m 42s hadoop-hdfs in the patch passed.
-1 ❌ unit 105m 53s /patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-resourcemanager.txt hadoop-yarn-server-resourcemanager in the patch passed.
+1 💚 unit 24m 39s hadoop-yarn-server-nodemanager in the patch passed.
+1 💚 unit 24m 16s hadoop-hdfs-rbf in the patch passed.
+1 💚 unit 21m 33s hadoop-yarn-services-core in the patch passed.
-1 ❌ unit 246m 38s /patch-unit-hadoop-yarn-project.txt hadoop-yarn-project in the patch passed.
+1 💚 unit 1m 4s hadoop-client-runtime in the patch passed.
+1 💚 asflicense 1m 15s The patch does not generate ASF License warnings.
1010m 40s
Reason Tests
Failed junit tests hadoop.yarn.server.resourcemanager.reservation.TestCapacityOverTimePolicy
hadoop.yarn.server.resourcemanager.reservation.TestCapacityOverTimePolicy
hadoop.yarn.server.timelineservice.security.TestTimelineAuthFilterForV2
Subsystem Report/Notes
Docker ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6275/2/artifact/out/Dockerfile
GITHUB PR #6275
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient codespell detsecrets xmllint spotbugs checkstyle
uname Linux e3006dea6b9a 5.15.0-88-generic #98-Ubuntu SMP Mon Oct 2 15:18:56 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision trunk / 646ab77
Default Java Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05
Multi-JDK versions /usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.20.1+1-post-Ubuntu-0ubuntu120.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6275/2/testReport/
Max. process+thread count 3201 (vs. ulimit of 5500)
modules C: hadoop-project hadoop-common-project/hadoop-common hadoop-hdfs-project/hadoop-hdfs hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager hadoop-hdfs-project/hadoop-hdfs-rbf hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-services/hadoop-yarn-services-core hadoop-yarn-project hadoop-client-modules/hadoop-client-runtime U: .
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6275/2/console
versions git=2.25.1 maven=3.6.3 spotbugs=4.2.2
Powered by Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

@anmolanmol1234 anmolanmol1234 changed the title Hadoop 18860 Hadoop 18860: Upgrade mockito version to 4.11.0 Nov 20, 2023
@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 0m 56s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 2s No case conflicting files found.
+0 🆗 codespell 0m 0s codespell was not available.
+0 🆗 detsecrets 0m 0s detect-secrets was not available.
+0 🆗 xmllint 0m 0s xmllint was not available.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 test4tests 0m 0s The patch appears to include 15 new or modified test files.
_ trunk Compile Tests _
+0 🆗 mvndep 14m 9s Maven dependency ordering for branch
+1 💚 mvninstall 30m 30s trunk passed
+1 💚 compile 16m 7s trunk passed with JDK Ubuntu-11.0.20.1+1-post-Ubuntu-0ubuntu120.04
+1 💚 compile 14m 38s trunk passed with JDK Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05
+1 💚 checkstyle 4m 18s trunk passed
+1 💚 mvnsite 40m 9s trunk passed
+1 💚 javadoc 28m 55s trunk passed with JDK Ubuntu-11.0.20.1+1-post-Ubuntu-0ubuntu120.04
+1 💚 javadoc 26m 34s trunk passed with JDK Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05
+0 🆗 spotbugs 0m 19s branch/hadoop-project no spotbugs output file (spotbugsXml.xml)
+0 🆗 spotbugs 0m 21s branch/hadoop-hdfs-project/hadoop-hdfs-native-client no spotbugs output file (spotbugsXml.xml)
+0 🆗 spotbugs 0m 27s branch/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-tests no spotbugs output file (spotbugsXml.xml)
+0 🆗 spotbugs 0m 24s branch/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui no spotbugs output file (spotbugsXml.xml)
+0 🆗 spotbugs 0m 26s branch/hadoop-client-modules/hadoop-client-api no spotbugs output file (spotbugsXml.xml)
+0 🆗 spotbugs 0m 26s branch/hadoop-client-modules/hadoop-client-runtime no spotbugs output file (spotbugsXml.xml)
+0 🆗 spotbugs 0m 26s branch/hadoop-client-modules/hadoop-client-minicluster no spotbugs output file (spotbugsXml.xml)
+1 💚 shadedclient 31m 51s branch has no errors when building and testing our client artifacts.
-0 ⚠️ patch 32m 12s Used diff version of patch file. Binary files and potentially other changes not applied. Please rebase and squash commits if necessary.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 37s Maven dependency ordering for patch
+1 💚 mvninstall 47m 39s the patch passed
+1 💚 compile 15m 31s the patch passed with JDK Ubuntu-11.0.20.1+1-post-Ubuntu-0ubuntu120.04
+1 💚 javac 15m 31s the patch passed
+1 💚 compile 14m 49s the patch passed with JDK Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05
+1 💚 javac 14m 49s the patch passed
+1 💚 blanks 0m 0s The patch has no blanks issues.
+1 💚 checkstyle 4m 4s the patch passed
+1 💚 mvnsite 39m 47s the patch passed
+1 💚 javadoc 28m 50s the patch passed with JDK Ubuntu-11.0.20.1+1-post-Ubuntu-0ubuntu120.04
+1 💚 javadoc 26m 24s the patch passed with JDK Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05
+0 🆗 spotbugs 0m 20s hadoop-project has no data from spotbugs
+0 🆗 spotbugs 0m 22s hadoop-hdfs-project/hadoop-hdfs-native-client has no data from spotbugs
+0 🆗 spotbugs 0m 27s hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-tests has no data from spotbugs
+0 🆗 spotbugs 0m 24s hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui has no data from spotbugs
+0 🆗 spotbugs 0m 25s hadoop-client-modules/hadoop-client-api has no data from spotbugs
+0 🆗 spotbugs 0m 28s hadoop-client-modules/hadoop-client-runtime has no data from spotbugs
+0 🆗 spotbugs 0m 27s hadoop-client-modules/hadoop-client-minicluster has no data from spotbugs
-1 ❌ shadedclient 30m 20s patch has errors when building and testing our client artifacts.
_ Other Tests _
+1 💚 unit 0m 23s hadoop-project in the patch passed.
+1 💚 unit 3m 17s hadoop-auth in the patch passed.
+1 💚 unit 19m 21s hadoop-common in the patch passed.
+1 💚 unit 0m 49s hadoop-nfs in the patch passed.
+1 💚 unit 3m 39s hadoop-kms in the patch passed.
+1 💚 unit 2m 31s hadoop-hdfs-client in the patch passed.
+1 💚 unit 260m 42s hadoop-hdfs in the patch passed.
+1 💚 unit 9m 43s hadoop-hdfs-native-client in the patch passed.
+1 💚 unit 6m 10s hadoop-hdfs-httpfs in the patch passed.
+1 💚 unit 3m 15s hadoop-hdfs-nfs in the patch passed.
+1 💚 unit 1m 9s hadoop-yarn-api in the patch passed.
+1 💚 unit 5m 49s hadoop-yarn-common in the patch passed.
+1 💚 unit 4m 13s hadoop-yarn-server-common in the patch passed.
+1 💚 unit 4m 52s hadoop-yarn-server-applicationhistoryservice in the patch passed.
+1 💚 unit 1m 53s hadoop-yarn-server-timelineservice in the patch passed.
+1 💚 unit 1m 24s hadoop-yarn-server-web-proxy in the patch passed.
+1 💚 unit 106m 6s hadoop-yarn-server-resourcemanager in the patch passed.
+1 💚 unit 24m 48s hadoop-yarn-server-nodemanager in the patch passed.
+1 💚 unit 3m 40s hadoop-yarn-server-tests in the patch passed.
+1 💚 unit 28m 12s hadoop-yarn-client in the patch passed.
+1 💚 unit 159m 7s hadoop-mapreduce-client in the patch passed.
+1 💚 unit 18m 3s hadoop-distcp in the patch passed.
+1 💚 unit 2m 48s hadoop-federation-balance in the patch passed.
+1 💚 unit 24m 21s hadoop-hdfs-rbf in the patch passed.
+1 💚 unit 1m 9s hadoop-yarn-server-sharedcachemanager in the patch passed.
+1 💚 unit 4m 32s hadoop-yarn-server-timeline-pluginstorage in the patch passed.
+1 💚 unit 1m 0s hadoop-yarn-server-timelineservice-hbase-client in the patch passed.
+1 💚 unit 17m 8s hadoop-yarn-server-timelineservice-hbase-tests in the patch passed.
+1 💚 unit 0m 50s hadoop-yarn-server-router in the patch passed.
-1 ❌ unit 1m 18s /patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-timelineservice-documentstore.txt hadoop-yarn-server-timelineservice-documentstore in the patch passed.
+1 💚 unit 22m 56s hadoop-yarn-applications-distributedshell in the patch passed.
+1 💚 unit 21m 56s hadoop-yarn-services-core in the patch passed.
+1 💚 unit 2m 33s hadoop-yarn-services-api in the patch passed.
+1 💚 unit 3m 49s hadoop-yarn-ui in the patch passed.
-1 ❌ unit 247m 49s /patch-unit-hadoop-yarn-project.txt hadoop-yarn-project in the patch passed.
+1 💚 unit 7m 24s hadoop-streaming in the patch passed.
+1 💚 unit 1m 37s hadoop-dynamometer-workload in the patch passed.
+1 💚 unit 1m 7s hadoop-dynamometer-infra in the patch passed.
+1 💚 unit 1m 28s hadoop-dynamometer-blockgen in the patch passed.
+1 💚 unit 1m 54s hadoop-archives in the patch passed.
+1 💚 unit 1m 39s hadoop-archive-logs in the patch passed.
+1 💚 unit 17m 3s hadoop-gridmix in the patch passed.
+1 💚 unit 1m 16s hadoop-datajoin in the patch passed.
+1 💚 unit 1m 39s hadoop-extras in the patch passed.
+1 💚 unit 3m 30s hadoop-aws in the patch passed.
+1 💚 unit 1m 5s hadoop-kafka in the patch passed.
+1 💚 unit 2m 49s hadoop-azure in the patch passed.
+1 💚 unit 12m 54s hadoop-sls in the patch passed.
+1 💚 unit 1m 10s hadoop-fs2img in the patch passed.
+1 💚 unit 0m 57s hadoop-client-api in the patch passed.
+1 💚 unit 1m 0s hadoop-client-runtime in the patch passed.
+1 💚 unit 1m 6s hadoop-client-minicluster in the patch passed.
+1 💚 asflicense 1m 24s The patch does not generate ASF License warnings.
1639m 18s
Reason Tests
Failed junit tests hadoop.yarn.server.timelineservice.documentstore.writer.cosmosdb.TestCosmosDBDocumentStoreWriter
hadoop.yarn.server.timelineservice.documentstore.TestDocumentStoreCollectionCreator
hadoop.yarn.server.timelineservice.documentstore.TestDocumentStoreTimelineReaderImpl
hadoop.yarn.server.timelineservice.documentstore.reader.cosmosdb.TestCosmosDBDocumentStoreReader
hadoop.yarn.server.timelineservice.documentstore.TestDocumentStoreTimelineWriterImpl
hadoop.yarn.server.timelineservice.documentstore.writer.cosmosdb.TestCosmosDBDocumentStoreWriter
hadoop.yarn.server.timelineservice.documentstore.TestDocumentStoreCollectionCreator
hadoop.yarn.server.timelineservice.documentstore.TestDocumentStoreTimelineReaderImpl
hadoop.yarn.server.timelineservice.documentstore.reader.cosmosdb.TestCosmosDBDocumentStoreReader
hadoop.yarn.server.timelineservice.documentstore.TestDocumentStoreTimelineWriterImpl
Subsystem Report/Notes
Docker ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6275/3/artifact/out/Dockerfile
GITHUB PR #6275
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient codespell detsecrets xmllint spotbugs checkstyle
uname Linux f29725a2854d 5.15.0-88-generic #98-Ubuntu SMP Mon Oct 2 15:18:56 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision trunk / ca3d392
Default Java Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05
Multi-JDK versions /usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.20.1+1-post-Ubuntu-0ubuntu120.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6275/3/testReport/
Max. process+thread count 3191 (vs. ulimit of 5500)
modules C: hadoop-project hadoop-common-project/hadoop-auth hadoop-common-project/hadoop-common hadoop-common-project/hadoop-nfs hadoop-common-project/hadoop-kms hadoop-hdfs-project/hadoop-hdfs-client hadoop-hdfs-project/hadoop-hdfs hadoop-hdfs-project/hadoop-hdfs-native-client hadoop-hdfs-project/hadoop-hdfs-httpfs hadoop-hdfs-project/hadoop-hdfs-nfs hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-common hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-applicationhistoryservice hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-web-proxy hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-tests hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client hadoop-mapreduce-project/hadoop-mapreduce-client hadoop-tools/hadoop-distcp hadoop-tools/hadoop-federation-balance hadoop-hdfs-project/hadoop-hdfs-rbf hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-sharedcachemanager hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timeline-pluginstorage hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice-hbase/hadoop-yarn-server-timelineservice-hbase-client hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice-hbase-tests hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-router hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice-documentstore hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-services/hadoop-yarn-services-core hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-services/hadoop-yarn-services-api hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui hadoop-yarn-project hadoop-tools/hadoop-streaming hadoop-tools/hadoop-dynamometer/hadoop-dynamometer-workload hadoop-tools/hadoop-dynamometer/hadoop-dynamometer-infra hadoop-tools/hadoop-dynamometer/hadoop-dynamometer-blockgen hadoop-tools/hadoop-archives hadoop-tools/hadoop-archive-logs hadoop-tools/hadoop-gridmix hadoop-tools/hadoop-datajoin hadoop-tools/hadoop-extras hadoop-tools/hadoop-aws hadoop-tools/hadoop-kafka hadoop-tools/hadoop-azure hadoop-tools/hadoop-sls hadoop-tools/hadoop-fs2img hadoop-client-modules/hadoop-client-api hadoop-client-modules/hadoop-client-runtime hadoop-client-modules/hadoop-client-minicluster U: .
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6275/3/console
versions git=2.25.1 maven=3.6.3 spotbugs=4.2.2
Powered by Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 0m 55s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+0 🆗 codespell 0m 0s codespell was not available.
+0 🆗 detsecrets 0m 0s detect-secrets was not available.
+0 🆗 xmllint 0m 0s xmllint was not available.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 test4tests 0m 0s The patch appears to include 15 new or modified test files.
_ trunk Compile Tests _
+0 🆗 mvndep 14m 40s Maven dependency ordering for branch
+1 💚 mvninstall 30m 59s trunk passed
+1 💚 compile 16m 9s trunk passed with JDK Ubuntu-11.0.20.1+1-post-Ubuntu-0ubuntu120.04
+1 💚 compile 14m 57s trunk passed with JDK Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05
+1 💚 checkstyle 4m 14s trunk passed
+1 💚 mvnsite 9m 27s trunk passed
+1 💚 javadoc 8m 9s trunk passed with JDK Ubuntu-11.0.20.1+1-post-Ubuntu-0ubuntu120.04
+1 💚 javadoc 8m 9s trunk passed with JDK Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05
+0 🆗 spotbugs 0m 41s branch/hadoop-project no spotbugs output file (spotbugsXml.xml)
+0 🆗 spotbugs 0m 37s branch/hadoop-client-modules/hadoop-client-api no spotbugs output file (spotbugsXml.xml)
+0 🆗 spotbugs 0m 38s branch/hadoop-client-modules/hadoop-client-runtime no spotbugs output file (spotbugsXml.xml)
+0 🆗 spotbugs 0m 37s branch/hadoop-client-modules/hadoop-client-minicluster no spotbugs output file (spotbugsXml.xml)
+1 💚 shadedclient 32m 27s branch has no errors when building and testing our client artifacts.
-0 ⚠️ patch 32m 51s Used diff version of patch file. Binary files and potentially other changes not applied. Please rebase and squash commits if necessary.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 36s Maven dependency ordering for patch
+1 💚 mvninstall 27m 46s the patch passed
+1 💚 compile 15m 37s the patch passed with JDK Ubuntu-11.0.20.1+1-post-Ubuntu-0ubuntu120.04
+1 💚 javac 15m 37s the patch passed
+1 💚 compile 14m 49s the patch passed with JDK Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05
+1 💚 javac 14m 49s the patch passed
+1 💚 blanks 0m 0s The patch has no blanks issues.
+1 💚 checkstyle 4m 2s the patch passed
+1 💚 mvnsite 9m 21s the patch passed
+1 💚 javadoc 8m 3s the patch passed with JDK Ubuntu-11.0.20.1+1-post-Ubuntu-0ubuntu120.04
+1 💚 javadoc 8m 10s the patch passed with JDK Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05
+0 🆗 spotbugs 0m 35s hadoop-project has no data from spotbugs
+0 🆗 spotbugs 0m 37s hadoop-client-modules/hadoop-client-api has no data from spotbugs
+0 🆗 spotbugs 0m 37s hadoop-client-modules/hadoop-client-runtime has no data from spotbugs
+0 🆗 spotbugs 0m 39s hadoop-client-modules/hadoop-client-minicluster has no data from spotbugs
-1 ❌ shadedclient 32m 43s patch has errors when building and testing our client artifacts.
_ Other Tests _
+1 💚 unit 0m 35s hadoop-project in the patch passed.
+1 💚 unit 19m 25s hadoop-common in the patch passed.
-1 ❌ unit 260m 57s /patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt hadoop-hdfs in the patch passed.
+1 💚 unit 105m 54s hadoop-yarn-server-resourcemanager in the patch passed.
+1 💚 unit 24m 50s hadoop-yarn-server-nodemanager in the patch passed.
+1 💚 unit 24m 20s hadoop-hdfs-rbf in the patch passed.
+1 💚 unit 21m 59s hadoop-yarn-services-core in the patch passed.
+1 💚 unit 0m 46s hadoop-client-api in the patch passed.
+1 💚 unit 0m 46s hadoop-client-runtime in the patch passed.
+1 💚 unit 0m 48s hadoop-client-minicluster in the patch passed.
+1 💚 asflicense 1m 9s The patch does not generate ASF License warnings.
761m 12s
Reason Tests
Failed junit tests hadoop.hdfs.TestRollingUpgrade
Subsystem Report/Notes
Docker ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6275/4/artifact/out/Dockerfile
GITHUB PR #6275
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient codespell detsecrets xmllint spotbugs checkstyle
uname Linux 688ed38ba3f7 5.15.0-88-generic #98-Ubuntu SMP Mon Oct 2 15:18:56 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision trunk / 399142b
Default Java Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05
Multi-JDK versions /usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.20.1+1-post-Ubuntu-0ubuntu120.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6275/4/testReport/
Max. process+thread count 3326 (vs. ulimit of 5500)
modules C: hadoop-project hadoop-common-project/hadoop-common hadoop-hdfs-project/hadoop-hdfs hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager hadoop-hdfs-project/hadoop-hdfs-rbf hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-services/hadoop-yarn-services-core hadoop-client-modules/hadoop-client-api hadoop-client-modules/hadoop-client-runtime hadoop-client-modules/hadoop-client-minicluster U: .
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6275/4/console
versions git=2.25.1 maven=3.6.3 spotbugs=4.2.2
Powered by Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

@hadoop-yetus
Copy link

🎊 +1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 0m 55s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+0 🆗 codespell 0m 0s codespell was not available.
+0 🆗 detsecrets 0m 0s detect-secrets was not available.
+0 🆗 xmllint 0m 0s xmllint was not available.
+0 🆗 shelldocs 0m 0s Shelldocs was not available.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 test4tests 0m 0s The patch appears to include 17 new or modified test files.
_ trunk Compile Tests _
+0 🆗 mvndep 14m 26s Maven dependency ordering for branch
+1 💚 mvninstall 30m 56s trunk passed
+1 💚 compile 16m 16s trunk passed with JDK Ubuntu-11.0.20.1+1-post-Ubuntu-0ubuntu120.04
+1 💚 compile 14m 50s trunk passed with JDK Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05
+1 💚 checkstyle 4m 14s trunk passed
+1 💚 mvnsite 11m 16s trunk passed
+1 💚 javadoc 9m 56s trunk passed with JDK Ubuntu-11.0.20.1+1-post-Ubuntu-0ubuntu120.04
+1 💚 javadoc 9m 53s trunk passed with JDK Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05
+0 🆗 spotbugs 0m 41s branch/hadoop-project no spotbugs output file (spotbugsXml.xml)
+0 🆗 spotbugs 0m 36s branch/hadoop-client-modules/hadoop-client-api no spotbugs output file (spotbugsXml.xml)
+0 🆗 spotbugs 0m 38s branch/hadoop-client-modules/hadoop-client-runtime no spotbugs output file (spotbugsXml.xml)
+0 🆗 spotbugs 0m 38s branch/hadoop-client-modules/hadoop-client-check-invariants no spotbugs output file (spotbugsXml.xml)
+0 🆗 spotbugs 0m 37s branch/hadoop-client-modules/hadoop-client-minicluster no spotbugs output file (spotbugsXml.xml)
+0 🆗 spotbugs 0m 37s branch/hadoop-client-modules/hadoop-client-check-test-invariants no spotbugs output file (spotbugsXml.xml)
+0 🆗 spotbugs 0m 37s branch/hadoop-client-modules/hadoop-client-integration-tests no spotbugs output file (spotbugsXml.xml)
+1 💚 shadedclient 32m 39s branch has no errors when building and testing our client artifacts.
-0 ⚠️ patch 33m 3s Used diff version of patch file. Binary files and potentially other changes not applied. Please rebase and squash commits if necessary.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 37s Maven dependency ordering for patch
+1 💚 mvninstall 29m 4s the patch passed
+1 💚 compile 15m 37s the patch passed with JDK Ubuntu-11.0.20.1+1-post-Ubuntu-0ubuntu120.04
+1 💚 javac 15m 37s the patch passed
+1 💚 compile 14m 52s the patch passed with JDK Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05
+1 💚 javac 14m 52s the patch passed
+1 💚 blanks 0m 0s The patch has no blanks issues.
+1 💚 checkstyle 4m 8s the patch passed
+1 💚 mvnsite 11m 24s the patch passed
+1 💚 shellcheck 0m 1s No new issues.
+1 💚 javadoc 9m 47s the patch passed with JDK Ubuntu-11.0.20.1+1-post-Ubuntu-0ubuntu120.04
+1 💚 javadoc 9m 54s the patch passed with JDK Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05
+0 🆗 spotbugs 0m 34s hadoop-project has no data from spotbugs
+0 🆗 spotbugs 0m 38s hadoop-client-modules/hadoop-client-api has no data from spotbugs
+0 🆗 spotbugs 0m 37s hadoop-client-modules/hadoop-client-runtime has no data from spotbugs
+0 🆗 spotbugs 0m 37s hadoop-client-modules/hadoop-client-check-invariants has no data from spotbugs
+0 🆗 spotbugs 0m 38s hadoop-client-modules/hadoop-client-minicluster has no data from spotbugs
+0 🆗 spotbugs 0m 37s hadoop-client-modules/hadoop-client-check-test-invariants has no data from spotbugs
+0 🆗 spotbugs 0m 38s hadoop-client-modules/hadoop-client-integration-tests has no data from spotbugs
+1 💚 shadedclient 32m 39s patch has no errors when building and testing our client artifacts.
_ Other Tests _
+1 💚 unit 0m 35s hadoop-project in the patch passed.
+1 💚 unit 19m 57s hadoop-common in the patch passed.
+1 💚 unit 261m 4s hadoop-hdfs in the patch passed.
+1 💚 unit 106m 7s hadoop-yarn-server-resourcemanager in the patch passed.
+1 💚 unit 24m 53s hadoop-yarn-server-nodemanager in the patch passed.
+1 💚 unit 24m 31s hadoop-hdfs-rbf in the patch passed.
+1 💚 unit 21m 52s hadoop-yarn-services-core in the patch passed.
+1 💚 unit 0m 46s hadoop-client-api in the patch passed.
+1 💚 unit 0m 48s hadoop-client-runtime in the patch passed.
+1 💚 unit 0m 45s hadoop-client-check-invariants in the patch passed.
+1 💚 unit 0m 45s hadoop-client-minicluster in the patch passed.
+1 💚 unit 0m 47s hadoop-client-check-test-invariants in the patch passed.
+1 💚 unit 0m 45s hadoop-client-integration-tests in the patch passed.
+1 💚 asflicense 1m 9s The patch does not generate ASF License warnings.
779m 58s
Subsystem Report/Notes
Docker ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6275/5/artifact/out/Dockerfile
GITHUB PR #6275
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient codespell detsecrets xmllint shellcheck shelldocs spotbugs checkstyle
uname Linux 8e07db646e76 5.15.0-88-generic #98-Ubuntu SMP Mon Oct 2 15:18:56 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision trunk / 19f1a76
Default Java Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05
Multi-JDK versions /usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.20.1+1-post-Ubuntu-0ubuntu120.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6275/5/testReport/
Max. process+thread count 3231 (vs. ulimit of 5500)
modules C: hadoop-project hadoop-common-project/hadoop-common hadoop-hdfs-project/hadoop-hdfs hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager hadoop-hdfs-project/hadoop-hdfs-rbf hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-services/hadoop-yarn-services-core hadoop-client-modules/hadoop-client-api hadoop-client-modules/hadoop-client-runtime hadoop-client-modules/hadoop-client-check-invariants hadoop-client-modules/hadoop-client-minicluster hadoop-client-modules/hadoop-client-check-test-invariants hadoop-client-modules/hadoop-client-integration-tests U: .
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6275/5/console
versions git=2.25.1 maven=3.6.3 spotbugs=4.2.2 shellcheck=0.7.0
Powered by Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

@anmolanmol1234
Copy link
Contributor Author

anmolanmol1234 commented Nov 23, 2023

Hi @steveloughran, I have made changes for shaded client checks that were failing on mockito upgrade. Requesting your review for the same.

@hadoop-yetus
Copy link

🎊 +1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 0m 53s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 1s No case conflicting files found.
+0 🆗 codespell 0m 1s codespell was not available.
+0 🆗 detsecrets 0m 1s detect-secrets was not available.
+0 🆗 shelldocs 0m 1s Shelldocs was not available.
+0 🆗 xmllint 0m 0s xmllint was not available.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 test4tests 0m 0s The patch appears to include 17 new or modified test files.
_ trunk Compile Tests _
+0 🆗 mvndep 14m 36s Maven dependency ordering for branch
+1 💚 mvninstall 31m 12s trunk passed
+1 💚 compile 16m 10s trunk passed with JDK Ubuntu-11.0.20.1+1-post-Ubuntu-0ubuntu120.04
+1 💚 compile 14m 58s trunk passed with JDK Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05
+1 💚 checkstyle 4m 16s trunk passed
+1 💚 mvnsite 9m 33s trunk passed
+1 💚 javadoc 8m 40s trunk passed with JDK Ubuntu-11.0.20.1+1-post-Ubuntu-0ubuntu120.04
+1 💚 javadoc 8m 46s trunk passed with JDK Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05
+0 🆗 spotbugs 0m 41s branch/hadoop-project no spotbugs output file (spotbugsXml.xml)
+0 🆗 spotbugs 0m 37s branch/hadoop-client-modules/hadoop-client-check-invariants no spotbugs output file (spotbugsXml.xml)
+0 🆗 spotbugs 0m 37s branch/hadoop-client-modules/hadoop-client-minicluster no spotbugs output file (spotbugsXml.xml)
+0 🆗 spotbugs 0m 36s branch/hadoop-client-modules/hadoop-client-check-test-invariants no spotbugs output file (spotbugsXml.xml)
+0 🆗 spotbugs 0m 37s branch/hadoop-client-modules/hadoop-client-integration-tests no spotbugs output file (spotbugsXml.xml)
+1 💚 shadedclient 32m 19s branch has no errors when building and testing our client artifacts.
-0 ⚠️ patch 32m 44s Used diff version of patch file. Binary files and potentially other changes not applied. Please rebase and squash commits if necessary.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 37s Maven dependency ordering for patch
+1 💚 mvninstall 16m 37s the patch passed
+1 💚 compile 15m 38s the patch passed with JDK Ubuntu-11.0.20.1+1-post-Ubuntu-0ubuntu120.04
+1 💚 javac 15m 38s the patch passed
+1 💚 compile 14m 53s the patch passed with JDK Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05
+1 💚 javac 14m 53s the patch passed
+1 💚 blanks 0m 0s The patch has no blanks issues.
+1 💚 checkstyle 4m 8s the patch passed
+1 💚 mvnsite 10m 2s the patch passed
+1 💚 shellcheck 0m 0s No new issues.
+1 💚 javadoc 8m 40s the patch passed with JDK Ubuntu-11.0.20.1+1-post-Ubuntu-0ubuntu120.04
+1 💚 javadoc 8m 39s the patch passed with JDK Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05
+0 🆗 spotbugs 0m 35s hadoop-project has no data from spotbugs
+0 🆗 spotbugs 0m 37s hadoop-client-modules/hadoop-client-check-invariants has no data from spotbugs
+0 🆗 spotbugs 0m 38s hadoop-client-modules/hadoop-client-minicluster has no data from spotbugs
+0 🆗 spotbugs 0m 39s hadoop-client-modules/hadoop-client-check-test-invariants has no data from spotbugs
+0 🆗 spotbugs 0m 37s hadoop-client-modules/hadoop-client-integration-tests has no data from spotbugs
+1 💚 shadedclient 32m 49s patch has no errors when building and testing our client artifacts.
_ Other Tests _
+1 💚 unit 0m 35s hadoop-project in the patch passed.
+1 💚 unit 19m 55s hadoop-common in the patch passed.
+1 💚 unit 261m 54s hadoop-hdfs in the patch passed.
+1 💚 unit 105m 46s hadoop-yarn-server-resourcemanager in the patch passed.
+1 💚 unit 24m 53s hadoop-yarn-server-nodemanager in the patch passed.
+1 💚 unit 24m 28s hadoop-hdfs-rbf in the patch passed.
+1 💚 unit 21m 51s hadoop-yarn-services-core in the patch passed.
+1 💚 unit 0m 44s hadoop-client-check-invariants in the patch passed.
+1 💚 unit 0m 45s hadoop-client-minicluster in the patch passed.
+1 💚 unit 0m 44s hadoop-client-check-test-invariants in the patch passed.
+1 💚 unit 0m 45s hadoop-client-integration-tests in the patch passed.
+1 💚 asflicense 1m 8s The patch does not generate ASF License warnings.
756m 28s
Subsystem Report/Notes
Docker ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6275/6/artifact/out/Dockerfile
GITHUB PR #6275
Optional Tests dupname asflicense mvnsite unit shadedclient codespell detsecrets shellcheck shelldocs compile javac javadoc mvninstall xmllint spotbugs checkstyle
uname Linux 5dca0c32b124 5.15.0-88-generic #98-Ubuntu SMP Mon Oct 2 15:18:56 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision trunk / 935782e
Default Java Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05
Multi-JDK versions /usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.20.1+1-post-Ubuntu-0ubuntu120.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6275/6/testReport/
Max. process+thread count 3232 (vs. ulimit of 5500)
modules C: hadoop-project hadoop-common-project/hadoop-common hadoop-hdfs-project/hadoop-hdfs hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager hadoop-hdfs-project/hadoop-hdfs-rbf hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-services/hadoop-yarn-services-core hadoop-client-modules/hadoop-client-check-invariants hadoop-client-modules/hadoop-client-minicluster hadoop-client-modules/hadoop-client-check-test-invariants hadoop-client-modules/hadoop-client-integration-tests U: .
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6275/6/console
versions git=2.25.1 maven=3.6.3 spotbugs=4.2.2 shellcheck=0.7.0
Powered by Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

Copy link
Contributor

@steveloughran steveloughran left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lets try again. looking at this PR and how you've had to change all uses of verifyZeroInteractions() reminds me how easy it is in the name of "making things clearer" you end "making upgrades and cherrypicking worse". We should aim to avoid doing the same to others

Copy link
Contributor

@steveloughran steveloughran left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

actually, I'm trying to understand this.

we changed the scope of the mockito-core dependency to compile.

why do we need this? and why can't it just be marked as "provided" so it doesn't get picked up by everything downstream on what is meant to be a low-dependency component

@anmolanmol1234
Copy link
Contributor Author

anmolanmol1234 commented Nov 29, 2023

actually, I'm trying to understand this.

we changed the scope of the mockito-core dependency to compile.

why do we need this? and why can't it just be marked as "provided" so it doesn't get picked up by everything downstream on what is meant to be a low-dependency component

Have changed the explicit mention of scope as a part of new iteration. Removed the test scope in hadoop-project, so mockito-core artifact now gets recognised in the hadoop-minicluster module

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 0m 53s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+0 🆗 codespell 0m 0s codespell was not available.
+0 🆗 detsecrets 0m 0s detect-secrets was not available.
+0 🆗 shelldocs 0m 0s Shelldocs was not available.
+0 🆗 xmllint 0m 0s xmllint was not available.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 test4tests 0m 0s The patch appears to include 17 new or modified test files.
_ trunk Compile Tests _
+0 🆗 mvndep 14m 12s Maven dependency ordering for branch
+1 💚 mvninstall 30m 29s trunk passed
+1 💚 compile 16m 24s trunk passed with JDK Ubuntu-11.0.20.1+1-post-Ubuntu-0ubuntu120.04
+1 💚 compile 14m 57s trunk passed with JDK Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05
+1 💚 checkstyle 4m 15s trunk passed
+1 💚 mvnsite 9m 27s trunk passed
+1 💚 javadoc 8m 8s trunk passed with JDK Ubuntu-11.0.20.1+1-post-Ubuntu-0ubuntu120.04
+1 💚 javadoc 8m 10s trunk passed with JDK Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05
+0 🆗 spotbugs 0m 41s branch/hadoop-project no spotbugs output file (spotbugsXml.xml)
+0 🆗 spotbugs 0m 37s branch/hadoop-client-modules/hadoop-client-check-invariants no spotbugs output file (spotbugsXml.xml)
+0 🆗 spotbugs 0m 37s branch/hadoop-client-modules/hadoop-client-minicluster no spotbugs output file (spotbugsXml.xml)
+0 🆗 spotbugs 0m 37s branch/hadoop-client-modules/hadoop-client-check-test-invariants no spotbugs output file (spotbugsXml.xml)
+1 💚 shadedclient 32m 44s branch has no errors when building and testing our client artifacts.
-0 ⚠️ patch 33m 9s Used diff version of patch file. Binary files and potentially other changes not applied. Please rebase and squash commits if necessary.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 37s Maven dependency ordering for patch
+1 💚 mvninstall 16m 21s the patch passed
+1 💚 compile 15m 35s the patch passed with JDK Ubuntu-11.0.20.1+1-post-Ubuntu-0ubuntu120.04
+1 💚 javac 15m 35s the patch passed
+1 💚 compile 15m 7s the patch passed with JDK Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05
+1 💚 javac 15m 7s the patch passed
+1 💚 blanks 0m 0s The patch has no blanks issues.
+1 💚 checkstyle 4m 8s the patch passed
+1 💚 mvnsite 9m 27s the patch passed
+1 💚 shellcheck 0m 1s No new issues.
+1 💚 javadoc 8m 4s the patch passed with JDK Ubuntu-11.0.20.1+1-post-Ubuntu-0ubuntu120.04
+1 💚 javadoc 8m 7s the patch passed with JDK Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05
+0 🆗 spotbugs 0m 36s hadoop-project has no data from spotbugs
+0 🆗 spotbugs 0m 37s hadoop-client-modules/hadoop-client-check-invariants has no data from spotbugs
+0 🆗 spotbugs 0m 38s hadoop-client-modules/hadoop-client-minicluster has no data from spotbugs
+0 🆗 spotbugs 0m 37s hadoop-client-modules/hadoop-client-check-test-invariants has no data from spotbugs
+1 💚 shadedclient 32m 43s patch has no errors when building and testing our client artifacts.
_ Other Tests _
+1 💚 unit 0m 36s hadoop-project in the patch passed.
+1 💚 unit 20m 2s hadoop-common in the patch passed.
-1 ❌ unit 258m 36s /patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt hadoop-hdfs in the patch passed.
+1 💚 unit 106m 50s hadoop-yarn-server-resourcemanager in the patch passed.
+1 💚 unit 25m 6s hadoop-yarn-server-nodemanager in the patch passed.
+1 💚 unit 24m 16s hadoop-hdfs-rbf in the patch passed.
+1 💚 unit 21m 48s hadoop-yarn-services-core in the patch passed.
+1 💚 unit 0m 39s hadoop-client-check-invariants in the patch passed.
+1 💚 unit 0m 38s hadoop-client-minicluster in the patch passed.
+1 💚 unit 0m 35s hadoop-client-check-test-invariants in the patch passed.
+1 💚 asflicense 1m 5s The patch does not generate ASF License warnings.
748m 11s
Reason Tests
Failed junit tests hadoop.hdfs.server.datanode.fsdataset.impl.TestFsDatasetImpl
hadoop.hdfs.TestRollingUpgrade
Subsystem Report/Notes
Docker ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6275/7/artifact/out/Dockerfile
GITHUB PR #6275
Optional Tests dupname asflicense mvnsite unit shadedclient codespell detsecrets shellcheck shelldocs compile javac javadoc mvninstall xmllint spotbugs checkstyle
uname Linux af18e5b916d5 5.15.0-88-generic #98-Ubuntu SMP Mon Oct 2 15:18:56 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision trunk / 4c1b1b3
Default Java Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05
Multi-JDK versions /usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.20.1+1-post-Ubuntu-0ubuntu120.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6275/7/testReport/
Max. process+thread count 3263 (vs. ulimit of 5500)
modules C: hadoop-project hadoop-common-project/hadoop-common hadoop-hdfs-project/hadoop-hdfs hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager hadoop-hdfs-project/hadoop-hdfs-rbf hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-services/hadoop-yarn-services-core hadoop-client-modules/hadoop-client-check-invariants hadoop-client-modules/hadoop-client-minicluster hadoop-client-modules/hadoop-client-check-test-invariants U: .
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6275/7/console
versions git=2.25.1 maven=3.6.3 spotbugs=4.2.2 shellcheck=0.7.0
Powered by Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

@@ -400,6 +400,7 @@
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>${mockito.version}</version>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can remove it. Since, hadoop-project is parent of this pom, and in that, there is dependency-management which has this dependency with a version. This would pick that version, if we remove version here.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, it must be removed to stop inconsistencies ever surfacing

@@ -58,6 +58,10 @@ allowed_expr+="|^org.apache.hadoop.application-classloader.properties$"
allowed_expr+="|^java.policy$"
# * Used by javax.annotation
allowed_expr+="|^jndi.properties$"
allowed_expr+="|^win32-x86/$"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mockito-core is an optional dependency in minicluster -> it should not be transitive and also would not be coming into classpath of this project (ref: https://maven.apache.org/guides/introduction/introduction-to-optional-and-excludes-dependencies.html#how-do-optional-dependencies-work). Was curious, what is the reason for these dll coming here.
Would be awesome, if you can add comment for the reasoning.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same for the other shell file.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

<groupId>org.mockito</groupId>
<artifactId>mockito-bom</artifactId>
<version>${mockito.version}</version>
<type>pom</type>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This would import the dependency-management of mockito-bom. From, https://central.sonatype.com/artifact/org.mockito/mockito-bom, looks like it also has mockito-android. Was curious that if the dll files are coming because of this. Also, do we need the bom, since we are adding dependencies for both mockito-core and mockito-inline (because we would be importing many other dependencies which might not be of use).

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

be safer to just pull in the ones we know we need

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree with the decision to remove the 'mockito-bom' dependency. However, I've encountered an issue where the DLL files are not being included due to the removal of this dependency. The DLL files are originally included as part of the 'byte-buddy-agent' POM, and 'mockito-core' has a dependency on this module. Despite setting the value of 'mockito-core' as optional in 'hadoop-minicluster,' the transitive dependency is still affecting 'hadoop-client-check-test-invariants,' resulting in an error during the check for jar contents due to disallowed DLL values. Consequently, I've addressed this by adding the necessary expressions to allow these DLL files

Copy link
Contributor

@steveloughran steveloughran left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm with @saxenapranav: we don't want those android dependencies on the classpath

@@ -69,6 +69,10 @@ allowed_expr+="|^krb5_udp-template.conf$"
allowed_expr+="|^jetty-dir.css$"
# Snappy java is native library. We cannot relocate it to under org/apache/hadoop.
allowed_expr+="|^org/xerial/"
allowed_expr+="|^win32-x86/$"
allowed_expr+="|^win32-x86/attach_hotspot_windows.dll$"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, these seem android related. if we keep the android dependencies out, we don't need these

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are coming from byte-buddy-agent module and not the mockito-bom one.

Copy link
Contributor

@saxenapranav saxenapranav Dec 8, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like its dlls will come in the minicluster jar. Reason being, mockito-core has a compile-dependency on byte-buddy-agent (so creating jar of minicluster bring in mockito-core, but also byte-buddy-agent by transitivity). The use of mockito-core as compile in minicluster looks like its there to help hadoop-hdfs test-jar run in integeration-test.

Now, mockito-core may need these dlls in the flow defined by -> https://github.com/mockito/mockito/blob/d86bca62a4e9500567ffe97826865460a9c30f18/src/main/java/org/mockito/internal/creation/bytebuddy/InlineDelegateByteBuddyMockMaker.java#L133 -> which creates an object of VirtualMachine. These dlls would be used here: https://github.com/raphw/byte-buddy/blob/master/byte-buddy-agent/src/main/java/net/bytebuddy/agent/VirtualMachine.java#L1269.

These dlls come on the root of the minicluster jar, and the VirtualMachine will be in org.apache.hadoop.shaded.net.bytebuddy.agent.VirtualMachine. The only concern is if the VirtualMachine triggering NativeLibrary API from shaded path can take up the dll on the root or if it has to be relocated to shaded path.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have no idea what happens with DLLs and shaded libs. probably messy.

Does byte buddy ever get used? if not, can we exclude it from the base import and so no problems downstream.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

...given what bytebuddy does, I suspect its used a lot...

@@ -58,6 +58,10 @@ allowed_expr+="|^org.apache.hadoop.application-classloader.properties$"
allowed_expr+="|^java.policy$"
# * Used by javax.annotation
allowed_expr+="|^jndi.properties$"
allowed_expr+="|^win32-x86/$"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@hadoop-yetus
Copy link

🎊 +1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 1m 21s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+0 🆗 codespell 0m 0s codespell was not available.
+0 🆗 detsecrets 0m 0s detect-secrets was not available.
+0 🆗 shelldocs 0m 0s Shelldocs was not available.
+0 🆗 xmllint 0m 1s xmllint was not available.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 test4tests 0m 0s The patch appears to include 17 new or modified test files.
_ trunk Compile Tests _
+0 🆗 mvndep 14m 18s Maven dependency ordering for branch
+1 💚 mvninstall 37m 39s trunk passed
+1 💚 compile 19m 44s trunk passed with JDK Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04
+1 💚 compile 17m 26s trunk passed with JDK Private Build-1.8.0_392-8u392-ga-1~20.04-b08
+1 💚 checkstyle 4m 53s trunk passed
+1 💚 mvnsite 9m 37s trunk passed
+1 💚 javadoc 8m 4s trunk passed with JDK Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04
+1 💚 javadoc 7m 48s trunk passed with JDK Private Build-1.8.0_392-8u392-ga-1~20.04-b08
+0 🆗 spotbugs 0m 38s branch/hadoop-project no spotbugs output file (spotbugsXml.xml)
+0 🆗 spotbugs 0m 33s branch/hadoop-client-modules/hadoop-client-check-invariants no spotbugs output file (spotbugsXml.xml)
+0 🆗 spotbugs 0m 33s branch/hadoop-client-modules/hadoop-client-minicluster no spotbugs output file (spotbugsXml.xml)
+0 🆗 spotbugs 0m 35s branch/hadoop-client-modules/hadoop-client-check-test-invariants no spotbugs output file (spotbugsXml.xml)
+1 💚 shadedclient 36m 24s branch has no errors when building and testing our client artifacts.
-0 ⚠️ patch 36m 50s Used diff version of patch file. Binary files and potentially other changes not applied. Please rebase and squash commits if necessary.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 35s Maven dependency ordering for patch
+1 💚 mvninstall 19m 10s the patch passed
+1 💚 compile 17m 28s the patch passed with JDK Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04
+1 💚 javac 17m 28s the patch passed
+1 💚 compile 14m 59s the patch passed with JDK Private Build-1.8.0_392-8u392-ga-1~20.04-b08
+1 💚 javac 14m 59s the patch passed
+1 💚 blanks 0m 0s The patch has no blanks issues.
+1 💚 checkstyle 4m 5s the patch passed
+1 💚 mvnsite 9m 30s the patch passed
+1 💚 shellcheck 0m 1s No new issues.
+1 💚 javadoc 8m 3s the patch passed with JDK Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04
+1 💚 javadoc 8m 11s the patch passed with JDK Private Build-1.8.0_392-8u392-ga-1~20.04-b08
+0 🆗 spotbugs 0m 36s hadoop-project has no data from spotbugs
+0 🆗 spotbugs 0m 37s hadoop-client-modules/hadoop-client-check-invariants has no data from spotbugs
+0 🆗 spotbugs 0m 37s hadoop-client-modules/hadoop-client-minicluster has no data from spotbugs
+0 🆗 spotbugs 0m 37s hadoop-client-modules/hadoop-client-check-test-invariants has no data from spotbugs
+1 💚 shadedclient 32m 22s patch has no errors when building and testing our client artifacts.
_ Other Tests _
+1 💚 unit 0m 36s hadoop-project in the patch passed.
+1 💚 unit 19m 56s hadoop-common in the patch passed.
+1 💚 unit 264m 50s hadoop-hdfs in the patch passed.
+1 💚 unit 105m 57s hadoop-yarn-server-resourcemanager in the patch passed.
+1 💚 unit 24m 51s hadoop-yarn-server-nodemanager in the patch passed.
+1 💚 unit 24m 32s hadoop-hdfs-rbf in the patch passed.
+1 💚 unit 21m 54s hadoop-yarn-services-core in the patch passed.
+1 💚 unit 0m 44s hadoop-client-check-invariants in the patch passed.
+1 💚 unit 0m 45s hadoop-client-minicluster in the patch passed.
+1 💚 unit 0m 45s hadoop-client-check-test-invariants in the patch passed.
+1 💚 asflicense 1m 9s The patch does not generate ASF License warnings.
777m 24s
Subsystem Report/Notes
Docker ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6275/8/artifact/out/Dockerfile
GITHUB PR #6275
Optional Tests dupname asflicense mvnsite unit shadedclient codespell detsecrets shellcheck shelldocs compile javac javadoc mvninstall xmllint spotbugs checkstyle
uname Linux fdba49d32827 5.15.0-88-generic #98-Ubuntu SMP Mon Oct 2 15:18:56 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision trunk / 2257c1d
Default Java Private Build-1.8.0_392-8u392-ga-1~20.04-b08
Multi-JDK versions /usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_392-8u392-ga-1~20.04-b08
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6275/8/testReport/
Max. process+thread count 3370 (vs. ulimit of 5500)
modules C: hadoop-project hadoop-common-project/hadoop-common hadoop-hdfs-project/hadoop-hdfs hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager hadoop-hdfs-project/hadoop-hdfs-rbf hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-services/hadoop-yarn-services-core hadoop-client-modules/hadoop-client-check-invariants hadoop-client-modules/hadoop-client-minicluster hadoop-client-modules/hadoop-client-check-test-invariants U: .
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6275/8/console
versions git=2.25.1 maven=3.6.3 spotbugs=4.2.2 shellcheck=0.7.0
Powered by Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

Copy link
Contributor

@steveloughran steveloughran left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right, I'm going to propose something radical here to try and get our mockito upgrades under control.

Add a new method to org.apache.hadoop.test.MockitoUtil, verifyZeroInteractions() which forwards to Mockito.verifyNoInteractions(); test cases which get broken by the upgrade change their import and the code in the test cases doesn't need to change.

This should reduce the cost not just of migrating, but of backporting, because a backported version of the new method could call the older mockito method.

We can do the same in future the next time mockito does another incompatible change

@@ -400,6 +400,7 @@
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>${mockito.version}</version>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, it must be removed to stop inconsistencies ever surfacing

@hadoop-yetus
Copy link

🎊 +1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 0m 53s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+0 🆗 codespell 0m 0s codespell was not available.
+0 🆗 detsecrets 0m 0s detect-secrets was not available.
+0 🆗 shelldocs 0m 0s Shelldocs was not available.
+0 🆗 xmllint 0m 1s xmllint was not available.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 test4tests 0m 0s The patch appears to include 17 new or modified test files.
_ trunk Compile Tests _
+0 🆗 mvndep 14m 51s Maven dependency ordering for branch
+1 💚 mvninstall 30m 58s trunk passed
+1 💚 compile 16m 10s trunk passed with JDK Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04
+1 💚 compile 15m 0s trunk passed with JDK Private Build-1.8.0_392-8u392-ga-1~20.04-b08
+1 💚 checkstyle 4m 16s trunk passed
+1 💚 mvnsite 8m 47s trunk passed
+1 💚 javadoc 7m 30s trunk passed with JDK Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04
+1 💚 javadoc 7m 39s trunk passed with JDK Private Build-1.8.0_392-8u392-ga-1~20.04-b08
+0 🆗 spotbugs 0m 41s branch/hadoop-project no spotbugs output file (spotbugsXml.xml)
+0 🆗 spotbugs 0m 37s branch/hadoop-client-modules/hadoop-client-check-invariants no spotbugs output file (spotbugsXml.xml)
+0 🆗 spotbugs 0m 36s branch/hadoop-client-modules/hadoop-client-check-test-invariants no spotbugs output file (spotbugsXml.xml)
+1 💚 shadedclient 32m 40s branch has no errors when building and testing our client artifacts.
-0 ⚠️ patch 33m 5s Used diff version of patch file. Binary files and potentially other changes not applied. Please rebase and squash commits if necessary.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 38s Maven dependency ordering for patch
+1 💚 mvninstall 5m 15s the patch passed
+1 💚 compile 15m 35s the patch passed with JDK Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04
+1 💚 javac 15m 35s the patch passed
+1 💚 compile 15m 2s the patch passed with JDK Private Build-1.8.0_392-8u392-ga-1~20.04-b08
+1 💚 javac 15m 2s the patch passed
+1 💚 blanks 0m 0s The patch has no blanks issues.
+1 💚 checkstyle 4m 5s the patch passed
+1 💚 mvnsite 8m 55s the patch passed
+1 💚 shellcheck 0m 0s No new issues.
+1 💚 javadoc 7m 35s the patch passed with JDK Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04
+1 💚 javadoc 7m 38s the patch passed with JDK Private Build-1.8.0_392-8u392-ga-1~20.04-b08
+0 🆗 spotbugs 0m 35s hadoop-project has no data from spotbugs
+0 🆗 spotbugs 0m 36s hadoop-client-modules/hadoop-client-check-invariants has no data from spotbugs
+0 🆗 spotbugs 0m 37s hadoop-client-modules/hadoop-client-check-test-invariants has no data from spotbugs
+1 💚 shadedclient 32m 31s patch has no errors when building and testing our client artifacts.
_ Other Tests _
+1 💚 unit 0m 37s hadoop-project in the patch passed.
+1 💚 unit 20m 2s hadoop-common in the patch passed.
+1 💚 unit 259m 25s hadoop-hdfs in the patch passed.
+1 💚 unit 105m 52s hadoop-yarn-server-resourcemanager in the patch passed.
+1 💚 unit 24m 51s hadoop-yarn-server-nodemanager in the patch passed.
+1 💚 unit 24m 39s hadoop-hdfs-rbf in the patch passed.
+1 💚 unit 22m 3s hadoop-yarn-services-core in the patch passed.
+1 💚 unit 0m 46s hadoop-client-check-invariants in the patch passed.
+1 💚 unit 0m 44s hadoop-client-check-test-invariants in the patch passed.
+1 💚 asflicense 1m 7s The patch does not generate ASF License warnings.
733m 20s
Subsystem Report/Notes
Docker ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6275/9/artifact/out/Dockerfile
GITHUB PR #6275
Optional Tests dupname asflicense mvnsite unit shadedclient codespell detsecrets shellcheck shelldocs compile javac javadoc mvninstall spotbugs checkstyle xmllint
uname Linux df3eba5b8553 5.15.0-88-generic #98-Ubuntu SMP Mon Oct 2 15:18:56 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision trunk / a5597f9
Default Java Private Build-1.8.0_392-8u392-ga-1~20.04-b08
Multi-JDK versions /usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_392-8u392-ga-1~20.04-b08
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6275/9/testReport/
Max. process+thread count 3127 (vs. ulimit of 5500)
modules C: hadoop-project hadoop-common-project/hadoop-common hadoop-hdfs-project/hadoop-hdfs hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager hadoop-hdfs-project/hadoop-hdfs-rbf hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-services/hadoop-yarn-services-core hadoop-client-modules/hadoop-client-check-invariants hadoop-client-modules/hadoop-client-check-test-invariants U: .
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6275/9/console
versions git=2.25.1 maven=3.6.3 spotbugs=4.2.2 shellcheck=0.7.0
Powered by Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants