flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthias J. Sax (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (FLINK-2596) Failing Test: RandomSamplerTest
Date Sat, 29 Aug 2015 07:16:45 GMT

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

Matthias J. Sax edited comment on FLINK-2596 at 8/29/15 7:16 AM:
-----------------------------------------------------------------

Of course I did rebase. Furthermore, in https://issues.apache.org/jira/browse/FLINK-2564 it
is reported that "testPoissonSamplerFraction" fails. Here it is "testReservoirSamplerWithMultiSourcePartitions2",
ie, a different test method.


was (Author: mjsax):
Of course I did rebase. Furthermore in https://issues.apache.org/jira/browse/FLINK-2564 it
is reported that "testPoissonSamplerFraction" fails. In this issues, it is "testReservoirSamplerWithMultiSourcePartitions2",
ie, a different test method.

> Failing Test: RandomSamplerTest
> -------------------------------
>
>                 Key: FLINK-2596
>                 URL: https://issues.apache.org/jira/browse/FLINK-2596
>             Project: Flink
>          Issue Type: Bug
>          Components: Tests
>            Reporter: Matthias J. Sax
>            Priority: Critical
>              Labels: test-stability
>
> {noformat}
> Tests run: 17, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 14.925 sec <<<
FAILURE! - in org.apache.flink.api.java.sampling.RandomSamplerTest
> testReservoirSamplerWithMultiSourcePartitions2(org.apache.flink.api.java.sampling.RandomSamplerTest)
Time elapsed: 0.444 sec <<< ERROR!
> java.lang.IllegalArgumentException: Comparison method violates its general contract!
> at java.util.TimSort.mergeLo(TimSort.java:747)
> at java.util.TimSort.mergeAt(TimSort.java:483)
> at java.util.TimSort.mergeCollapse(TimSort.java:410)
> at java.util.TimSort.sort(TimSort.java:214)
> at java.util.TimSort.sort(TimSort.java:173)
> at java.util.Arrays.sort(Arrays.java:659)
> at java.util.Collections.sort(Collections.java:217)
> at org.apache.flink.api.java.sampling.RandomSamplerTest.transferFromListToArrayWithOrder(RandomSamplerTest.java:375)
> at org.apache.flink.api.java.sampling.RandomSamplerTest.getSampledOutput(RandomSamplerTest.java:367)
> at org.apache.flink.api.java.sampling.RandomSamplerTest.verifyKSTest(RandomSamplerTest.java:338)
> at org.apache.flink.api.java.sampling.RandomSamplerTest.verifyRandomSamplerWithSampleSize(RandomSamplerTest.java:330)
> at org.apache.flink.api.java.sampling.RandomSamplerTest.verifyReservoirSamplerWithReplacement(RandomSamplerTest.java:290)
> at org.apache.flink.api.java.sampling.RandomSamplerTest.testReservoirSamplerWithMultiSourcePartitions2(RandomSamplerTest.java:212)
> Results :
> Tests in error:
> RandomSamplerTest.testReservoirSamplerWithMultiSourcePartitions2:212->verifyReservoirSamplerWithReplacement:290->verifyRandomSamplerWithSampleSize:330->verifyKSTest:338->getSampledOutput:367->transferFromListToArrayWithOrder:375
ยป IllegalArgument
> {noformat}
> https://travis-ci.org/apache/flink/jobs/77750329



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

Mime
View raw message