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-17769. Upgrade JUnit to 4.13.2. fixes TestBlockRecovery #3131

Merged
merged 1 commit into from
Jun 23, 2021

Conversation

amahussein
Copy link
Contributor

HADOOP-17769 Upgrade JUnit to 4.13.2
JUnit 4.13.1 has a bug that is reported in Junit issue-1652 Timeout ThreadGroups should not be destroyed.

The bug has been fixed in Junit-4.13.2

Backporting PR-3130 to branch-2.10

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 16m 9s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
-1 ❌ 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.
_ branch-2.10 Compile Tests _
+0 🆗 mvndep 2m 19s Maven dependency ordering for branch
+1 💚 mvninstall 13m 15s branch-2.10 passed
+1 💚 compile 14m 2s branch-2.10 passed with JDK Azul Systems, Inc.-1.7.0_262-b10
+1 💚 compile 12m 1s branch-2.10 passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~16.04.1-b10
+1 💚 mvnsite 2m 3s branch-2.10 passed
+1 💚 javadoc 1m 41s branch-2.10 passed with JDK Azul Systems, Inc.-1.7.0_262-b10
+1 💚 javadoc 1m 29s branch-2.10 passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~16.04.1-b10
_ Patch Compile Tests _
+0 🆗 mvndep 0m 20s Maven dependency ordering for patch
+1 💚 mvninstall 1m 19s the patch passed
+1 💚 compile 13m 26s the patch passed with JDK Azul Systems, Inc.-1.7.0_262-b10
+1 💚 javac 13m 26s the patch passed
+1 💚 compile 12m 1s the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~16.04.1-b10
+1 💚 javac 12m 1s the patch passed
+1 💚 mvnsite 2m 1s the patch passed
+1 💚 whitespace 0m 0s The patch has no whitespace issues.
+1 💚 xml 0m 6s The patch has no ill-formed XML file.
+1 💚 javadoc 1m 41s the patch passed with JDK Azul Systems, Inc.-1.7.0_262-b10
+1 💚 javadoc 1m 31s the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~16.04.1-b10
_ Other Tests _
+1 💚 unit 0m 19s hadoop-project in the patch passed.
+1 💚 unit 1m 11s hadoop-yarn-server-timelineservice in the patch passed.
+1 💚 unit 0m 30s hadoop-yarn-server-timelineservice-hbase-client in the patch passed.
+1 💚 unit 7m 32s hadoop-yarn-server-timelineservice-hbase-tests in the patch passed.
+1 💚 asflicense 0m 43s The patch does not generate ASF License warnings.
110m 2s
Subsystem Report/Notes
Docker ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3131/1/artifact/out/Dockerfile
GITHUB PR #3131
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient xml
uname Linux 6b5a3c950908 4.15.0-136-generic #140-Ubuntu SMP Thu Jan 28 05:20:47 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision branch-2.10 / ab6b568
Default Java Private Build-1.8.0_292-8u292-b10-0ubuntu1~16.04.1-b10
Multi-JDK versions /usr/lib/jvm/zulu-7-amd64:Azul Systems, Inc.-1.7.0_262-b10 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_292-8u292-b10-0ubuntu1~16.04.1-b10
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3131/1/testReport/
Max. process+thread count 732 (vs. ulimit of 5500)
modules C: hadoop-project hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice 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 U: .
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3131/1/console
versions git=2.7.4 maven=3.3.9
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

Copy link
Contributor

@jojochuang jojochuang left a comment

Choose a reason for hiding this comment

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

Looks good. You should also update the junit version in the LICENSE-binary file.
(Better to run mvn dependency:tree to also check for the version of transitive dependencies)

Copy link
Member

@aajisaka aajisaka left a comment

Choose a reason for hiding this comment

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

+1, I applied the patch manually and confirmed the test passed.

Copy link
Member

@ayushtkn ayushtkn left a comment

Choose a reason for hiding this comment

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

Tried the mvn dependency tree on trunk, it looks fine.
@jojochuang do you mean this file?
https://github.com/apache/hadoop/blob/trunk/licenses-binary/LICENSE-junit.txt

Couldn't find any version mentioned.

@amahussein
Copy link
Contributor Author

Tried the mvn dependency tree on trunk, it looks fine.
@jojochuang do you mean this file?
https://github.com/apache/hadoop/blob/trunk/licenses-binary/LICENSE-junit.txt

Couldn't find any version mentioned.

+1

@aajisaka
Copy link
Member

I think the file exists in trunk but not in branch-2.10.

junit:junit:4.12

@jojochuang
Copy link
Contributor

Oh yeah sorry I wasn't aware this is for branch-2.10. No issue now. +1

Copy link
Contributor

@ferhui ferhui left a comment

Choose a reason for hiding this comment

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

+1

@amahussein
Copy link
Contributor Author

Thanks @jojochuang , @aajisaka , @ayushtkn and @ferhui for the reviews and feedback.
This PR is ready to be merged.

@ayushtkn ayushtkn merged commit b58be3a into apache:branch-2.10 Jun 23, 2021
@ayushtkn
Copy link
Member

Merged. Thanx Everyone!!!

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