Skip to content

HBASE-29475 [hbase-thirdparty] Add spotless in pre commit check - #145

Open
NihalJain wants to merge 4 commits into
apache:masterfrom
NihalJain:HBASE-29475
Open

HBASE-29475 [hbase-thirdparty] Add spotless in pre commit check#145
NihalJain wants to merge 4 commits into
apache:masterfrom
NihalJain:HBASE-29475

Conversation

@NihalJain

Copy link
Copy Markdown
Contributor

No description provided.

@Apache-HBase

This comment was marked as outdated.

@Apache-HBase

This comment was marked as outdated.

@Apache-HBase

This comment was marked as outdated.

@NihalJain
NihalJainforce-pushed the HBASE-29475 branch 2 times, most recently from 84c6867 to 028b3dbCompareJuly 28, 2025 05:57
@NihalJain
NihalJain marked this pull request as draft July 28, 2025 06:02
@Apache-HBase

This comment was marked as outdated.

@NihalJain

Copy link
Copy Markdown
ContributorAuthor

Need to see what's going on here, will check back later

@Apache-HBase

This comment was marked as outdated.

@NihalJain
NihalJain marked this pull request as ready for review August 4, 2025 13:20
@NihalJain

NihalJain commented Aug 4, 2025

Copy link
Copy Markdown
ContributorAuthor

Ah this works w/o any change, maybe build failed due to transient error.

@NihalJain

This comment was marked as outdated.

@NihalJain
NihalJain requested a review from Apache9August 4, 2025 13:30
@NihalJain

Copy link
Copy Markdown
ContributorAuthor

Spotless is not triggered, let me check

@Apache-HBase

This comment was marked as outdated.

@Apache-HBase

Copy link
Copy Markdown

(!) A patch to the testing environment has been detected.
Re-executing against the patched versions to perform further tests.
The console is at https://ci-hbase.apache.org/job/HBase-Thirdparty-PreCommit/job/PR-145/10/console in case of problems.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeLogfileComment
+0 🆗reexec0m 25sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+0 🆗codespell0m 0scodespell was not available.
+0 🆗detsecrets0m 0sdetect-secrets was not available.
+0 🆗shelldocs0m 0sShelldocs was not available.
+1 💚@author0m 0sThe patch does not contain any @author tags.
_ master Compile Tests _
+0 🆗mvndep0m 3sMaven dependency ordering for branch
+1 💚spotless0m 5sbranch has no errors when running spotless:check.
_ Patch Compile Tests _
+0 🆗mvndep0m 3sMaven dependency ordering for patch
+1 💚blanks0m 0sThe patch has no blanks issues.
+1 💚shellcheck0m 0sNo new issues.
+1 💚spotless0m 4spatch has no errors when running spotless:check.
_ Other Tests _
+0 🆗asflicense0m 0sASF License check generated no output?
0m 45s
SubsystemReport/Notes
DockerClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-Thirdparty-PreCommit/job/PR-145/10/artifact/yetus-precommit-check/output/Dockerfile
GITHUB PR#145
Optional Testsdupname asflicense codespell detsecrets shellcheck shelldocs spotless
unameLinux decc83d7ed8d 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/jenkins/hbase-personality.sh
git revisionmaster / 1316b7f
Max. process+thread count48 (vs. ulimit of 2000)
modulesC: U:
Console outputhttps://ci-hbase.apache.org/job/HBase-Thirdparty-PreCommit/job/PR-145/10/console
versionsgit=2.34.1 maven=called shellcheck=0.8.0
Powered byApache Yetus 0.15.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

This comment was marked as outdated.

@NihalJain

NihalJain commented Aug 4, 2025

Copy link
Copy Markdown
ContributorAuthor

Cool spotless is integrated now; let me add a dummy spotless issue to trigger build failure path

@Apache-HBase

This comment was marked as outdated.

@NihalJain

Copy link
Copy Markdown
ContributorAuthor

Added dummy spotless issue for test. Build should fail now!

@Apache-HBase

Copy link
Copy Markdown

(!) A patch to the testing environment has been detected.
Re-executing against the patched versions to perform further tests.
The console is at https://ci-hbase.apache.org/job/HBase-Thirdparty-PreCommit/job/PR-145/12/console in case of problems.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeLogfileComment
+0 🆗reexec0m 25sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+0 🆗codespell0m 0scodespell was not available.
+0 🆗detsecrets0m 0sdetect-secrets was not available.
+0 🆗shelldocs0m 0sShelldocs was not available.
+0 🆗spotbugs0m 0sspotbugs executables are not available.
+1 💚@author0m 0sThe patch does not contain any @author tags.
+1 💚test4tests0m 0sThe patch appears to include 1 new or modified test files.
_ master Compile Tests _
+1 💚mvninstall0m 41smaster passed
+1 💚compile0m 7smaster passed
+1 💚checkstyle0m 4smaster passed
+1 💚javadoc0m 5smaster passed
-1 ❌spotless0m 3sbranch has 16 errors when running spotless:check, run spotless:apply to fix.
_ Patch Compile Tests _
+1 💚mvninstall0m 8sthe patch passed
+1 💚compile0m 6sthe patch passed
+1 💚javac0m 6sthe patch passed
+1 💚blanks0m 0sThe patch has no blanks issues.
-1 ❌checkstyle0m 3s/results-checkstyle-hbase-noop-htrace.txthbase-noop-htrace: The patch generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)
+1 💚shellcheck0m 0sNo new issues.
+1 💚javadoc0m 5sthe patch passed
-1 ❌spotless0m 2spatch has 31 errors when running spotless:check, run spotless:apply to fix.
_ Other Tests _
+1 💚unit0m 36shbase-noop-htrace in the patch passed.
-1 ❌asflicense0m 4s/results-asflicense.txtThe patch generated 1 ASF License warnings.
2m 44s
SubsystemReport/Notes
DockerClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-Thirdparty-PreCommit/job/PR-145/12/artifact/yetus-precommit-check/output/Dockerfile
GITHUB PR#145
Optional Testsdupname asflicense codespell detsecrets shellcheck shelldocs spotless javac javadoc unit spotbugs checkstyle compile
unameLinux 840406ead2a4 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/jenkins/hbase-personality.sh
git revisionmaster / 66f48b4
Default JavaEclipse Adoptium-17.0.11+9
spotlesshttps://ci-hbase.apache.org/job/HBase-Thirdparty-PreCommit/job/PR-145/12/artifact/yetus-precommit-check/output/branch-spotless.txt
spotlesshttps://ci-hbase.apache.org/job/HBase-Thirdparty-PreCommit/job/PR-145/12/artifact/yetus-precommit-check/output/patch-spotless.txt
Test Resultshttps://ci-hbase.apache.org/job/HBase-Thirdparty-PreCommit/job/PR-145/12/testReport/
Max. process+thread count418 (vs. ulimit of 2000)
modulesC: hbase-noop-htrace U: hbase-noop-htrace
Console outputhttps://ci-hbase.apache.org/job/HBase-Thirdparty-PreCommit/job/PR-145/12/console
versionsgit=2.34.1 maven=called shellcheck=0.8.0
Powered byApache Yetus 0.15.0 https://yetus.apache.org

This message was automatically generated.

@NihalJain

Copy link
Copy Markdown
ContributorAuthor

Great build failed as expected. Reverting dummy change 66f48b4

@NihalJain

Copy link
Copy Markdown
ContributorAuthor

@Apache9 are we good to take this?

@Apache-HBase

This comment was marked as outdated.

@Apache-HBase

This comment was marked as outdated.

@Apache-HBase

Copy link
Copy Markdown

(!) A patch to the testing environment has been detected.
Re-executing against the patched versions to perform further tests.
The console is at https://ci-hbase.apache.org/job/HBase-Thirdparty-PreCommit/job/PR-145/14/console in case of problems.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeLogfileComment
+0 🆗reexec0m 26sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+0 🆗codespell0m 0scodespell was not available.
+0 🆗detsecrets0m 0sdetect-secrets was not available.
+0 🆗shelldocs0m 0sShelldocs was not available.
+1 💚@author0m 0sThe patch does not contain any @author tags.
_ master Compile Tests _
+0 🆗mvndep0m 3sMaven dependency ordering for branch
+1 💚spotless0m 4sbranch has no errors when running spotless:check.
_ Patch Compile Tests _
+0 🆗mvndep0m 3sMaven dependency ordering for patch
+1 💚blanks0m 0sThe patch has no blanks issues.
+1 💚shellcheck0m 0sNo new issues.
+1 💚spotless0m 4spatch has no errors when running spotless:check.
_ Other Tests _
+0 🆗asflicense0m 0sASF License check generated no output?
0m 45s
SubsystemReport/Notes
DockerClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-Thirdparty-PreCommit/job/PR-145/14/artifact/yetus-precommit-check/output/Dockerfile
GITHUB PR#145
Optional Testsdupname asflicense codespell detsecrets shellcheck shelldocs spotless
unameLinux 2c7957019cf7 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/jenkins/hbase-personality.sh
git revisionmaster / 1316b7f
Max. process+thread count49 (vs. ulimit of 2000)
modulesC: U:
Console outputhttps://ci-hbase.apache.org/job/HBase-Thirdparty-PreCommit/job/PR-145/14/console
versionsgit=2.34.1 maven=called shellcheck=0.8.0
Powered byApache Yetus 0.15.0 https://yetus.apache.org

This message was automatically generated.

@Apache9

Copy link
Copy Markdown
Contributor

I think we can move the pre commit check to github actions too.

But anyway, we still need to the personality changes in this PR.

Will keep this open till we finish the migration work.

Thanks @NihalJain !

@NihalJain

Copy link
Copy Markdown
ContributorAuthor

Sure @Apache9, thank you!

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@NihalJain@Apache-HBase@Apache9