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

HBASE-28618: Fixed hadolint check in nightly build. #5957

Merged
merged 1 commit into from
Jun 6, 2024

Conversation

subrat-mishra
Copy link
Contributor

Tested hadolint and verified that it doesn't throw any error.

@Apache-HBase
Copy link

🎊 +1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 25s Docker mode activated.
-0 ⚠️ yetus 0m 2s Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗 mvndep 0m 12s Maven dependency ordering for branch
_ Patch Compile Tests _
+0 🆗 mvndep 0m 4s Maven dependency ordering for patch
_ Other Tests _
1m 26s
Subsystem Report/Notes
Docker ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5957/1/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile
GITHUB PR #5957
JIRA Issue HBASE-28618
Optional Tests
uname Linux ad3bdc5b754d 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 tool maven
Personality dev-support/hbase-personality.sh
git revision master / a16f458
Max. process+thread count 39 (vs. ulimit of 30000)
modules C: U:
Console output https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5957/1/console
versions git=2.34.1 maven=3.8.6
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

🎊 +1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 30s Docker mode activated.
-0 ⚠️ yetus 0m 3s Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗 mvndep 0m 12s Maven dependency ordering for branch
_ Patch Compile Tests _
+0 🆗 mvndep 0m 4s Maven dependency ordering for patch
_ Other Tests _
1m 30s
Subsystem Report/Notes
Docker ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5957/1/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile
GITHUB PR #5957
JIRA Issue HBASE-28618
Optional Tests
uname Linux 0e838ab07403 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 tool maven
Personality dev-support/hbase-personality.sh
git revision master / a16f458
Max. process+thread count 29 (vs. ulimit of 30000)
modules C: U:
Console output https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5957/1/console
versions git=2.34.1 maven=3.8.6
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

🎊 +1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 1m 4s Docker mode activated.
-0 ⚠️ yetus 0m 3s Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗 mvndep 0m 19s Maven dependency ordering for branch
_ Patch Compile Tests _
+0 🆗 mvndep 0m 6s Maven dependency ordering for patch
_ Other Tests _
2m 14s
Subsystem Report/Notes
Docker ClientAPI=1.45 ServerAPI=1.45 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5957/1/artifact/yetus-jdk17-hadoop3-check/output/Dockerfile
GITHUB PR #5957
JIRA Issue HBASE-28618
Optional Tests
uname Linux e25bb538cc36 5.4.0-174-generic #193-Ubuntu SMP Thu Mar 7 14:29:28 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/hbase-personality.sh
git revision master / a16f458
Max. process+thread count 43 (vs. ulimit of 30000)
modules C: U:
Console output https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5957/1/console
versions git=2.34.1 maven=3.8.6
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

🎊 +1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 36s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+0 🆗 shelldocs 0m 0s Shelldocs was not available.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
_ master Compile Tests _
+0 🆗 mvndep 0m 12s Maven dependency ordering for branch
+1 💚 spotless 0m 42s branch has no errors when running spotless:check.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 5s Maven dependency ordering for patch
+1 💚 hadolint 0m 0s The patch generated 0 new + 0 unchanged - 1 fixed = 0 total (was 1)
+1 💚 shellcheck 0m 0s There were no new shellcheck issues.
+1 💚 whitespace 0m 0s The patch has no whitespace issues.
+1 💚 spotless 0m 39s patch has no errors when running spotless:check.
_ Other Tests _
+0 🆗 asflicense 0m 0s ASF License check generated no output?
3m 6s
Subsystem Report/Notes
Docker ClientAPI=1.45 ServerAPI=1.45 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5957/1/artifact/yetus-general-check/output/Dockerfile
GITHUB PR #5957
JIRA Issue HBASE-28618
Optional Tests dupname asflicense spotless hadolint shellcheck shelldocs
uname Linux f3f52d0ce22e 5.4.0-174-generic #193-Ubuntu SMP Thu Mar 7 14:29:28 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/hbase-personality.sh
git revision master / a16f458
Max. process+thread count 43 (vs. ulimit of 30000)
modules C: U:
Console output https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5957/1/console
versions git=2.34.1 maven=3.8.6 shellcheck=0.8.0 hadolint=Haskell Dockerfile Linter 2.10.0
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache9
Copy link
Contributor

Apache9 commented Jun 1, 2024

Does this work for normal x86 platforms?

@subrat-mishra
Copy link
Contributor Author

Does this work for normal x86 platforms?

I believe you mean the 'hadolint' command on the x86 platform. It should work, although I haven't tested it since my laptop uses an M3 processor.

@Apache9
Copy link
Contributor

Apache9 commented Jun 1, 2024

I mean if we could merge the two Dockerfile... We introduce a new Dockerfile for m1 since we use a different from I believe, could we just merge it back after this change?

@subrat-mishra
Copy link
Contributor Author

I mean if we could merge the two Dockerfile... We introduce a new Dockerfile for m1 since we use a different from I believe, could we just merge it back after this change?

This change is a minor one for fixing the 'hadolint' command. We may need to support multi-platform docker images, as mentioned by @ndimiduk in HBASE-27915 comments

@Apache9
Copy link
Contributor

Apache9 commented Jun 3, 2024

@wchevreuil @taklwu Please verify this on M1 mac?

Thanks.

@wchevreuil
Copy link
Contributor

@wchevreuil @taklwu Please verify this on M1 mac?

Thanks.

Yes, it does work for me. However, since @ndimiduk pointed out in HBASE-27915, shouldn't we revert this extra Dockerfile and do a single file for multiple platforms?

@Apache9
Copy link
Contributor

Apache9 commented Jun 4, 2024

@wchevreuil @taklwu Please verify this on M1 mac?
Thanks.

Yes, it does work for me. However, since @ndimiduk pointed out in HBASE-27915, shouldn't we revert this extra Dockerfile and do a single file for multiple platforms?

I'm OK with merging this first to fix the nightly failures, and then open a new issue to merge these two dockerfiles.

Or if it is trivial to merge these two dockerfiles, we can do it in this PR too.

@wchevreuil
Copy link
Contributor

@wchevreuil @taklwu Please verify this on M1 mac?
Thanks.

Yes, it does work for me. However, since @ndimiduk pointed out in HBASE-27915, shouldn't we revert this extra Dockerfile and do a single file for multiple platforms?

I'm OK with merging this first to fix the nightly failures, and then open a new issue to merge these two dockerfiles.

Or if it is trivial to merge these two dockerfiles, we can do it in this PR too.

Ok, let me merge this to fix the hadolint check, @subrat-mishra will open a new PR with the single docker file solution.

@wchevreuil wchevreuil merged commit c865570 into apache:master Jun 6, 2024
1 check passed
wchevreuil pushed a commit that referenced this pull request Jun 6, 2024
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
Reviewed-by: Duo Zhang <zhangduo@apache.org>
wchevreuil pushed a commit that referenced this pull request Jun 6, 2024
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
Reviewed-by: Duo Zhang <zhangduo@apache.org>
wchevreuil pushed a commit that referenced this pull request Jun 6, 2024
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
Reviewed-by: Duo Zhang <zhangduo@apache.org>
wchevreuil pushed a commit that referenced this pull request Jun 6, 2024
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
Reviewed-by: Duo Zhang <zhangduo@apache.org>
wchevreuil pushed a commit that referenced this pull request Jun 6, 2024
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
Reviewed-by: Duo Zhang <zhangduo@apache.org>
Sign up for free to 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.

4 participants