Skip to content

Conversation

steveloughran
Copy link
Contributor

Update maven-enforcer-plugin.version to 3.5.0

Update maven-enforcer-plugin.version to 3.5.0

Change-Id: If78029630876b94b8ab40d8b1d92f84cf0f17991
@pan3793
Copy link
Member

pan3793 commented Sep 30, 2024

this may not be arm-mac specific issue, I face the same issue on an x86 linux machine with JDK 17

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:3.0.0:enforce (enforce-os) on project hadoop-common: Execution enforce-os of goal org.apache.maven.plugins:maven-enforcer-plugin:3.0.0:enforce failed: Cannot invoke "org.apache.maven.model.profile.ProfileActivationContext.getSystemProperties()" because "context" is null -> [Help 1]

BTW, this upgrade fixes the above issue.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 12m 17s 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 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.
_ trunk Compile Tests _
+1 💚 mvninstall 47m 27s trunk passed
+1 💚 compile 17m 40s trunk passed with JDK Ubuntu-11.0.24+8-post-Ubuntu-1ubuntu320.04
+1 💚 compile 16m 15s trunk passed with JDK Private Build-1.8.0_422-8u422-b05-1~20.04-b05
+1 💚 mvnsite 25m 36s trunk passed
+1 💚 javadoc 9m 59s trunk passed with JDK Ubuntu-11.0.24+8-post-Ubuntu-1ubuntu320.04
+1 💚 javadoc 8m 13s trunk passed with JDK Private Build-1.8.0_422-8u422-b05-1~20.04-b05
+1 💚 shadedclient 160m 15s branch has no errors when building and testing our client artifacts.
_ Patch Compile Tests _
+1 💚 mvninstall 30m 22s the patch passed
+1 💚 compile 17m 22s the patch passed with JDK Ubuntu-11.0.24+8-post-Ubuntu-1ubuntu320.04
+1 💚 javac 17m 22s the patch passed
+1 💚 compile 16m 24s the patch passed with JDK Private Build-1.8.0_422-8u422-b05-1~20.04-b05
+1 💚 javac 16m 24s the patch passed
+1 💚 blanks 0m 0s The patch has no blanks issues.
+1 💚 mvnsite 20m 2s the patch passed
+1 💚 javadoc 9m 55s the patch passed with JDK Ubuntu-11.0.24+8-post-Ubuntu-1ubuntu320.04
+1 💚 javadoc 8m 12s the patch passed with JDK Private Build-1.8.0_422-8u422-b05-1~20.04-b05
+1 💚 shadedclient 73m 59s patch has no errors when building and testing our client artifacts.
_ Other Tests _
-1 ❌ unit 754m 59s /patch-unit-root.txt root in the patch passed.
+1 💚 asflicense 1m 44s The patch does not generate ASF License warnings.
1069m 26s
Reason Tests
Failed junit tests hadoop.yarn.server.timelineservice.security.TestTimelineAuthFilterForV2
hadoop.hdfs.server.federation.router.TestRouterClientRejectOverload
Subsystem Report/Notes
Docker ClientAPI=1.47 ServerAPI=1.47 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7082/1/artifact/out/Dockerfile
GITHUB PR #7082
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient codespell detsecrets xmllint
uname Linux e4e978c28e12 5.15.0-119-generic #129-Ubuntu SMP Fri Aug 2 19:25:20 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision trunk / 01db25a
Default Java Private Build-1.8.0_422-8u422-b05-1~20.04-b05
Multi-JDK versions /usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.24+8-post-Ubuntu-1ubuntu320.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_422-8u422-b05-1~20.04-b05
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7082/1/testReport/
Max. process+thread count 4048 (vs. ulimit of 5500)
modules C: . U: .
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7082/1/console
versions git=2.25.1 maven=3.6.3
Powered by Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

@steveloughran steveloughran changed the title HADOOP-19294. NPE on maven enforcer with -Pnative on arm mac HADOOP-19294. NPE on maven enforcer with -Pnative on ARM Oct 1, 2024
@steveloughran steveloughran changed the title HADOOP-19294. NPE on maven enforcer with -Pnative on ARM HADOOP-19294. NPE on maven enforcer with -Pnative on ARM: upgrade enforcer Oct 1, 2024
@steveloughran steveloughran merged commit 45b1c86 into apache:trunk Oct 1, 2024
1 of 4 checks passed
asfgit pushed a commit that referenced this pull request Oct 1, 2024
Update maven-enforcer-plugin.version to 3.5.0

Contributed by Steve Loughran
asfgit pushed a commit that referenced this pull request Oct 1, 2024
Update maven-enforcer-plugin.version to 3.5.0

Contributed by Steve Loughran
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.

5 participants