[ 
https://issues.apache.org/jira/browse/PHOENIX-2592?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15098134#comment-15098134
 ] 

Karan Singhal commented on PHOENIX-2592:
----------------------------------------

[~giacomotaylor] and [~cody.mar...@gmail.com].The failure which Hadoop QA 
reported is little interesting because this test passes every time on mac 
machine and every time fails on Linux machine.The test failure says that 
"2019-09-22 00:01:00.000" (date) is too short. So when I ran the test in debug 
mode, found that  in mac machine the parser is able to successfully parse the 
date "2019-09-22 00:01:00.000 UTC" (with time zone appended) from xml  and so 
test is success. And in Linux machine the parser just parses the date without 
time zone and the formater function in test throws  the error that date is too 
short. And on another Linux machine test passes successfully without any issue. 
So parser (JAXB) is showing different behaviors in different environments. May 
be its another compatibility kind of  bug which needs to be fixed. 

The reason of test failure which is reported by Hadoop QA is not relevant to my 
changes in the patch. This failure might occur again in the present build too. 

> Pherf RuleGeneratorTest.testDateGenerator() is flapping
> -------------------------------------------------------
>
>                 Key: PHOENIX-2592
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-2592
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.6.0
>            Reporter: James Taylor
>            Assignee: Karan Singhal
>              Labels: Performance
>             Fix For: 4.6.0, 4.7.0
>
>         Attachments: PHOENIX-2592.patch
>
>
> See https://builds.apache.org/job/Phoenix-4.x-HBase-1.0/315/changes
> {code}
> Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.807 sec <<< 
> FAILURE! - in org.apache.phoenix.pherf.RuleGeneratorTest
> testDateGenerator(org.apache.phoenix.pherf.RuleGeneratorTest)  Time elapsed: 
> 0.373 sec  <<< FAILURE!
> java.lang.AssertionError: Value 2019-09-22T00:01:00.000Z is not after minValue
>       at 
> org.apache.phoenix.pherf.RuleGeneratorTest.assertDateBetween(RuleGeneratorTest.java:259)
>       at 
> org.apache.phoenix.pherf.RuleGeneratorTest.assertRandomDateValue(RuleGeneratorTest.java:133)
>       at 
> org.apache.phoenix.pherf.RuleGeneratorTest.testDateGenerator(RuleGeneratorTest.java:57)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to