Skip to content

PHOENIX-6091 Calling MetaDataProtocol.getVersion() on a 4.16 timestam… - #953

Closed
richardantal wants to merge 1 commit into
apache:4.xfrom
richardantal:PHOENIX-6091
Closed

PHOENIX-6091 Calling MetaDataProtocol.getVersion() on a 4.16 timestam…#953
richardantal wants to merge 1 commit into
apache:4.xfrom
richardantal:PHOENIX-6091

Conversation

@richardantal

Copy link
Copy Markdown
Contributor

…p gives version as 4.15.x

@stoty

stoty commented Nov 2, 2020

Copy link
Copy Markdown
Contributor

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec1m 3sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
+1 💚@author0m 0sThe patch does not contain any @author tags.
-1 ❌test4tests0m 0sThe 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.
_ 4.x Compile Tests _
+1 💚mvninstall11m 59s4.x passed
+1 💚compile1m 0s4.x passed
+1 💚checkstyle0m 36s4.x passed
+1 💚javadoc0m 47s4.x passed
+0 🆗spotbugs3m 8sphoenix-core in 4.x has 953 extant spotbugs warnings.
_ Patch Compile Tests _
+1 💚mvninstall6m 11sthe patch passed
+1 💚compile1m 0sthe patch passed
+1 💚javac1m 0sthe patch passed
+1 💚checkstyle0m 37sthe patch passed
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚javadoc0m 47sthe patch passed
+1 💚spotbugs3m 18sthe patch passed
_ Other Tests _
-1 ❌unit198m 32sphoenix-core in the patch failed.
+1 💚asflicense0m 35sThe patch does not generate ASF License warnings.
232m 12s
ReasonTests
Failed junit testsphoenix.end2end.FlappingLocalIndexIT
phoenix.end2end.IndexExtendedIT
phoenix.end2end.salted.SaltedTableIT
phoenix.end2end.DerivedTableIT
SubsystemReport/Notes
DockerClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-953/1/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#953
Optional Testsdupname asflicense javac javadoc unit spotbugs hbaseanti checkstyle compile
unameLinux 16f7a7438785 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 toolmaven
Personalitydev/phoenix-personality.sh
git revision4.x / a8a9699
Default JavaPrivate Build-1.8.0_242-8u242-b08-0ubuntu3~16.04-b08
unithttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-953/1/artifact/yetus-general-check/output/patch-unit-phoenix-core.txt
Test Resultshttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-953/1/testReport/
Max. process+thread count3468 (vs. ulimit of 30000)
modulesC: phoenix-core U: phoenix-core
Console outputhttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-953/1/console
versionsgit=2.7.4 maven=3.3.9 spotbugs=4.1.3
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@gjacoby126

Copy link
Copy Markdown
Contributor

Change itself looks good, @richardantal , but could we please have a simple test?

@richardantal

Copy link
Copy Markdown
ContributorAuthor

Thanks @gjacoby126 for the review.
I wrote a test but we will have to update this version after releases.
I also checked the failing tests and the were successful locally.

@virajjasanivirajjasani left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Left one minor comment, looks good otherwise

long serversTimstamp = System.currentTimeMillis();
String version = MetaDataProtocol.getVersion(serversTimstamp);
assertEquals("4.16.x", version); // We have to update it after every release
assertEquals(String.format("%d.%d.%s", PHOENIX_MAJOR_VERSION, PHOENIX_MINOR_VERSION, "x"),

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I believe this assert might be better fit for all branches and the one above assertEquals("4.16.x", version); might not be needed. Thought?

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

Yeah, that is right!

@stoty

stoty commented Nov 3, 2020

Copy link
Copy Markdown
Contributor

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 32sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
+1 💚@author0m 0sThe patch does not contain any @author tags.
+1 💚test4tests0m 0sThe patch appears to include 1 new or modified test files.
_ 4.x Compile Tests _
+1 💚mvninstall11m 3s4.x passed
+1 💚compile0m 53s4.x passed
+1 💚checkstyle0m 39s4.x passed
+1 💚javadoc0m 45s4.x passed
+0 🆗spotbugs2m 55sphoenix-core in 4.x has 953 extant spotbugs warnings.
_ Patch Compile Tests _
+1 💚mvninstall5m 17sthe patch passed
+1 💚compile0m 55sthe patch passed
+1 💚javac0m 55sthe patch passed
+1 💚checkstyle0m 38sthe patch passed
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚javadoc0m 44sthe patch passed
+1 💚spotbugs3m 3sthe patch passed
_ Other Tests _
-1 ❌unit127m 22sphoenix-core in the patch failed.
+1 💚asflicense0m 37sThe patch does not generate ASF License warnings.
158m 1s
ReasonTests
Failed junit testsphoenix.end2end.ViewIT
phoenix.end2end.index.GlobalMutableNonTxIndexIT
SubsystemReport/Notes
DockerClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-953/3/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#953
Optional Testsdupname asflicense javac javadoc unit spotbugs hbaseanti checkstyle compile
unameLinux 26c002ff65c2 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev/phoenix-personality.sh
git revision4.x / 8aa243d
Default JavaPrivate Build-1.8.0_242-8u242-b08-0ubuntu3~16.04-b08
unithttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-953/3/artifact/yetus-general-check/output/patch-unit-phoenix-core.txt
Test Resultshttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-953/3/testReport/
Max. process+thread count6949 (vs. ulimit of 30000)
modulesC: phoenix-core U: phoenix-core
Console outputhttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-953/3/console
versionsgit=2.7.4 maven=3.3.9 spotbugs=4.1.3
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@stotystoty closed this Nov 9, 2020
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.

4 participants

@richardantal@stoty@gjacoby126@virajjasani