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

PHOENIX-6178 Consider adopting the create-release scripts and process… #918

Closed
wants to merge 1 commit into from

Conversation

stoty
Copy link
Contributor

@stoty stoty commented Oct 13, 2020

… from HBase

  • copy and adapt dev/create-release from HBase
  • remove source assembly
  • add binary lincenses to binary assembly

@stoty
Copy link
Contributor Author

stoty commented Oct 13, 2020

💔 -1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 36m 9s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 1s 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.
_ master Compile Tests _
+0 🆗 mvndep 3m 19s Maven dependency ordering for branch
+1 💚 mvninstall 39m 52s master passed
+1 💚 compile 1m 45s master passed
+1 💚 javadoc 1m 30s master passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 18s Maven dependency ordering for patch
+1 💚 mvninstall 46m 34s the patch passed
+1 💚 compile 1m 36s the patch passed
+1 💚 javac 1m 36s the patch passed
+1 💚 hadolint 0m 2s There were no new hadolint issues.
-1 ❌ shellcheck 0m 10s The patch generated 7 new + 0 unchanged - 0 fixed = 7 total (was 0)
-1 ❌ shelldocs 0m 2s The patch generated 76 new + 0 unchanged - 0 fixed = 76 total (was 0)
-1 ❌ whitespace 0m 1s The patch has 1 line(s) that end in whitespace. Use git apply --whitespace=fix <<patch_file>>. Refer https://git-scm.com/docs/git-apply
+1 💚 xml 0m 5s The patch has no ill-formed XML file.
+1 💚 javadoc 1m 31s the patch passed
_ Other Tests _
-1 ❌ unit 109m 31s root in the patch failed.
+1 💚 asflicense 0m 50s The patch does not generate ASF License warnings.
245m 46s
Reason Tests
Failed junit tests phoenix.end2end.OrphanViewToolIT
phoenix.end2end.UpsertSelectIT
Subsystem Report/Notes
Docker ClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-918/1/artifact/yetus-general-check/output/Dockerfile
GITHUB PR #918
Optional Tests dupname asflicense shellcheck shelldocs hadolint javac javadoc unit xml compile
uname Linux 9d4846a0e3d3 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev/phoenix-personality.sh
git revision master / 4b2ff49
Default Java Private Build-1.8.0_242-8u242-b08-0ubuntu3~16.04-b08
shellcheck https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-918/1/artifact/yetus-general-check/output/diff-patch-shellcheck.txt
shelldocs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-918/1/artifact/yetus-general-check/output/diff-patch-shelldocs.txt
whitespace https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-918/1/artifact/yetus-general-check/output/whitespace-eol.txt
unit https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-918/1/artifact/yetus-general-check/output/patch-unit-root.txt
Test Results https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-918/1/testReport/
Max. process+thread count 6704 (vs. ulimit of 30000)
modules C: phoenix-assembly . U: .
Console output https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-918/1/console
versions git=2.7.4 maven=3.3.9 shellcheck=0.7.0 hadolint=1.17.5-0-g443423c
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

Copy link
Member

@joshelser joshelser left a comment

Choose a reason for hiding this comment

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

I assume you've been trying this out locally? Do you have a staged released that I could take a look at (just to make sure it's generating something "sane" looking?

Otherwise, just nitpicking on docs and copy-paste stuff.

dev/create-release/do-release-docker.sh Show resolved Hide resolved
dev/create-release/do-release-docker.sh Show resolved Hide resolved
dev/create-release/vote.tmpl Outdated Show resolved Hide resolved
dev/create-release/vote.tmpl Outdated Show resolved Hide resolved
dev/create-release/vote.tmpl Outdated Show resolved Hide resolved
dev/create-release/vote.tmpl Outdated Show resolved Hide resolved
@stoty
Copy link
Contributor Author

stoty commented Oct 14, 2020

Extended the docs, improved version detection heuristics, and fixed references in email template.

@stoty
Copy link
Contributor Author

stoty commented Oct 14, 2020

I will soon release rc0 for thirdparty with the script.

… from HBase

* copy and adapt dev/create-release from HBase
* remove source assembly
* add binary lincenses to binary assembly
* use assembly as binary distribution
@stoty
Copy link
Contributor Author

stoty commented Oct 26, 2020

💔 -1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 1m 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.
_ master Compile Tests _
+0 🆗 mvndep 3m 23s Maven dependency ordering for branch
+1 💚 mvninstall 11m 26s master passed
+1 💚 compile 1m 22s master passed
-1 ❌ javadoc 0m 9s phoenix-assembly in master failed.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 15s Maven dependency ordering for patch
+1 💚 mvninstall 8m 59s the patch passed
+1 💚 compile 1m 23s the patch passed
+1 💚 javac 1m 23s the patch passed
+1 💚 hadolint 0m 2s There were no new hadolint issues.
-1 ❌ shellcheck 0m 9s The patch generated 7 new + 0 unchanged - 0 fixed = 7 total (was 0)
-1 ❌ shelldocs 0m 2s The patch generated 76 new + 0 unchanged - 0 fixed = 76 total (was 0)
+1 💚 whitespace 0m 0s The patch has no whitespace issues.
+1 💚 xml 0m 4s The patch has no ill-formed XML file.
-1 ❌ javadoc 0m 7s phoenix-assembly in the patch failed.
_ Other Tests _
-1 ❌ unit 157m 52s root in the patch failed.
+1 💚 asflicense 0m 40s The patch does not generate ASF License warnings.
191m 32s
Subsystem Report/Notes
Docker ClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-918/2/artifact/yetus-general-check/output/Dockerfile
GITHUB PR #918
Optional Tests dupname asflicense shellcheck shelldocs hadolint javac javadoc unit xml compile
uname Linux 97732382b2cd 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev/phoenix-personality.sh
git revision master / 46779eb
Default Java Private Build-1.8.0_242-8u242-b08-0ubuntu3~16.04-b08
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-918/2/artifact/yetus-general-check/output/branch-javadoc-phoenix-assembly.txt
shellcheck https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-918/2/artifact/yetus-general-check/output/diff-patch-shellcheck.txt
shelldocs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-918/2/artifact/yetus-general-check/output/diff-patch-shelldocs.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-918/2/artifact/yetus-general-check/output/patch-javadoc-phoenix-assembly.txt
unit https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-918/2/artifact/yetus-general-check/output/patch-unit-root.txt
Test Results https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-918/2/testReport/
Max. process+thread count 6043 (vs. ulimit of 30000)
modules C: phoenix-assembly . U: .
Console output https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-918/2/console
versions git=2.7.4 maven=3.3.9 shellcheck=0.7.0 hadolint=1.17.5-0-g443423c
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@stoty
Copy link
Contributor Author

stoty commented Oct 26, 2020

💔 -1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 5m 36s 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.
_ master Compile Tests _
+0 🆗 mvndep 3m 21s Maven dependency ordering for branch
+1 💚 mvninstall 10m 4s master passed
+1 💚 compile 1m 21s master passed
-1 ❌ javadoc 0m 10s phoenix-assembly in master failed.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 16s Maven dependency ordering for patch
+1 💚 mvninstall 7m 55s the patch passed
+1 💚 compile 1m 20s the patch passed
+1 💚 javac 1m 20s the patch passed
+1 💚 hadolint 0m 1s There were no new hadolint issues.
-1 ❌ shellcheck 0m 9s The patch generated 7 new + 0 unchanged - 0 fixed = 7 total (was 0)
-1 ❌ shelldocs 0m 1s The patch generated 76 new + 0 unchanged - 0 fixed = 76 total (was 0)
+1 💚 whitespace 0m 0s The patch has no whitespace issues.
+1 💚 xml 0m 4s The patch has no ill-formed XML file.
-1 ❌ javadoc 0m 7s phoenix-assembly in the patch failed.
_ Other Tests _
-1 ❌ unit 102m 46s root in the patch failed.
+1 💚 asflicense 0m 49s The patch does not generate ASF License warnings.
138m 43s
Reason Tests
Failed junit tests phoenix.end2end.TableSnapshotReadsMapReduceIT
phoenix.end2end.OrphanViewToolIT
Subsystem Report/Notes
Docker ClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-918/3/artifact/yetus-general-check/output/Dockerfile
GITHUB PR #918
Optional Tests dupname asflicense shellcheck shelldocs hadolint javac javadoc unit xml compile
uname Linux 0c8f02e41520 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev/phoenix-personality.sh
git revision master / 46779eb
Default Java Private Build-1.8.0_242-8u242-b08-0ubuntu3~16.04-b08
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-918/3/artifact/yetus-general-check/output/branch-javadoc-phoenix-assembly.txt
shellcheck https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-918/3/artifact/yetus-general-check/output/diff-patch-shellcheck.txt
shelldocs https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-918/3/artifact/yetus-general-check/output/diff-patch-shelldocs.txt
javadoc https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-918/3/artifact/yetus-general-check/output/patch-javadoc-phoenix-assembly.txt
unit https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-918/3/artifact/yetus-general-check/output/patch-unit-root.txt
Test Results https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-918/3/testReport/
Max. process+thread count 6783 (vs. ulimit of 30000)
modules C: phoenix-assembly . U: .
Console output https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-918/3/console
versions git=2.7.4 maven=3.3.9 shellcheck=0.7.0 hadolint=1.17.5-0-g443423c
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

Copy link
Member

@joshelser joshelser left a comment

Choose a reason for hiding this comment

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

Let's try it out!

Good catch on the RAT exclusions (thought I caught something you missed, but then I saw the exclusions at the very bottom!)

@stoty stoty closed this Oct 27, 2020
@stoty stoty deleted the PHOENIX-6178 branch July 29, 2021 12:39
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.

2 participants