[jira] [Commented] (FLINK-2832) Failing test: RandomSamplerTest.testReservoirSamplerWithReplacement
[ https://issues.apache.org/jira/browse/FLINK-2832?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15320529#comment-15320529 ] ASF GitHub Bot commented on FLINK-2832: --- Github user asfgit closed the pull request at: https://github.com/apache/flink/pull/2076 > Failing test: RandomSamplerTest.testReservoirSamplerWithReplacement > --- > > Key: FLINK-2832 > URL: https://issues.apache.org/jira/browse/FLINK-2832 > Project: Flink > Issue Type: Bug > Components: Tests >Affects Versions: 0.10.0 >Reporter: Vasia Kalavri >Assignee: Till Rohrmann >Priority: Critical > Labels: test-stability > Fix For: 1.0.0 > > > Tests run: 17, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 19.133 sec > <<< FAILURE! - in org.apache.flink.api.java.sampling.RandomSamplerTest > testReservoirSamplerWithReplacement(org.apache.flink.api.java.sampling.RandomSamplerTest) > Time elapsed: 2.534 sec <<< FAILURE! > java.lang.AssertionError: KS test result with p value(0.11), d > value(0.103090) > at org.junit.Assert.fail(Assert.java:88) > at org.junit.Assert.assertTrue(Assert.java:41) > at > org.apache.flink.api.java.sampling.RandomSamplerTest.verifyKSTest(RandomSamplerTest.java:342) > at > org.apache.flink.api.java.sampling.RandomSamplerTest.verifyRandomSamplerWithSampleSize(RandomSamplerTest.java:330) > at > org.apache.flink.api.java.sampling.RandomSamplerTest.verifyReservoirSamplerWithReplacement(RandomSamplerTest.java:289) > at > org.apache.flink.api.java.sampling.RandomSamplerTest.testReservoirSamplerWithReplacement(RandomSamplerTest.java:192) > Results : > Failed tests: > > RandomSamplerTest.testReservoirSamplerWithReplacement:192->verifyReservoirSamplerWithReplacement:289->verifyRandomSamplerWithSampleSize:330->verifyKSTest:342 > KS test result with p value(0.11), d value(0.103090) > Full log [here|https://travis-ci.org/apache/flink/jobs/84120131]. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (FLINK-2832) Failing test: RandomSamplerTest.testReservoirSamplerWithReplacement
[ https://issues.apache.org/jira/browse/FLINK-2832?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15319071#comment-15319071 ] ASF GitHub Bot commented on FLINK-2832: --- Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/2076 Merging this, addressing @chiwanpark 's comments... > Failing test: RandomSamplerTest.testReservoirSamplerWithReplacement > --- > > Key: FLINK-2832 > URL: https://issues.apache.org/jira/browse/FLINK-2832 > Project: Flink > Issue Type: Bug > Components: Tests >Affects Versions: 0.10.0 >Reporter: Vasia Kalavri >Assignee: Till Rohrmann >Priority: Critical > Labels: test-stability > Fix For: 1.0.0 > > > Tests run: 17, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 19.133 sec > <<< FAILURE! - in org.apache.flink.api.java.sampling.RandomSamplerTest > testReservoirSamplerWithReplacement(org.apache.flink.api.java.sampling.RandomSamplerTest) > Time elapsed: 2.534 sec <<< FAILURE! > java.lang.AssertionError: KS test result with p value(0.11), d > value(0.103090) > at org.junit.Assert.fail(Assert.java:88) > at org.junit.Assert.assertTrue(Assert.java:41) > at > org.apache.flink.api.java.sampling.RandomSamplerTest.verifyKSTest(RandomSamplerTest.java:342) > at > org.apache.flink.api.java.sampling.RandomSamplerTest.verifyRandomSamplerWithSampleSize(RandomSamplerTest.java:330) > at > org.apache.flink.api.java.sampling.RandomSamplerTest.verifyReservoirSamplerWithReplacement(RandomSamplerTest.java:289) > at > org.apache.flink.api.java.sampling.RandomSamplerTest.testReservoirSamplerWithReplacement(RandomSamplerTest.java:192) > Results : > Failed tests: > > RandomSamplerTest.testReservoirSamplerWithReplacement:192->verifyReservoirSamplerWithReplacement:289->verifyRandomSamplerWithSampleSize:330->verifyKSTest:342 > KS test result with p value(0.11), d value(0.103090) > Full log [here|https://travis-ci.org/apache/flink/jobs/84120131]. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (FLINK-2832) Failing test: RandomSamplerTest.testReservoirSamplerWithReplacement
[ https://issues.apache.org/jira/browse/FLINK-2832?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15317663#comment-15317663 ] ASF GitHub Bot commented on FLINK-2832: --- Github user chiwanpark commented on the issue: https://github.com/apache/flink/pull/2076 Failing Travis is not related to this PR. Looks good to me! > Failing test: RandomSamplerTest.testReservoirSamplerWithReplacement > --- > > Key: FLINK-2832 > URL: https://issues.apache.org/jira/browse/FLINK-2832 > Project: Flink > Issue Type: Bug > Components: Tests >Affects Versions: 0.10.0 >Reporter: Vasia Kalavri >Assignee: Till Rohrmann >Priority: Critical > Labels: test-stability > Fix For: 1.0.0 > > > Tests run: 17, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 19.133 sec > <<< FAILURE! - in org.apache.flink.api.java.sampling.RandomSamplerTest > testReservoirSamplerWithReplacement(org.apache.flink.api.java.sampling.RandomSamplerTest) > Time elapsed: 2.534 sec <<< FAILURE! > java.lang.AssertionError: KS test result with p value(0.11), d > value(0.103090) > at org.junit.Assert.fail(Assert.java:88) > at org.junit.Assert.assertTrue(Assert.java:41) > at > org.apache.flink.api.java.sampling.RandomSamplerTest.verifyKSTest(RandomSamplerTest.java:342) > at > org.apache.flink.api.java.sampling.RandomSamplerTest.verifyRandomSamplerWithSampleSize(RandomSamplerTest.java:330) > at > org.apache.flink.api.java.sampling.RandomSamplerTest.verifyReservoirSamplerWithReplacement(RandomSamplerTest.java:289) > at > org.apache.flink.api.java.sampling.RandomSamplerTest.testReservoirSamplerWithReplacement(RandomSamplerTest.java:192) > Results : > Failed tests: > > RandomSamplerTest.testReservoirSamplerWithReplacement:192->verifyReservoirSamplerWithReplacement:289->verifyRandomSamplerWithSampleSize:330->verifyKSTest:342 > KS test result with p value(0.11), d value(0.103090) > Full log [here|https://travis-ci.org/apache/flink/jobs/84120131]. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (FLINK-2832) Failing test: RandomSamplerTest.testReservoirSamplerWithReplacement
[ https://issues.apache.org/jira/browse/FLINK-2832?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15317661#comment-15317661 ] ASF GitHub Bot commented on FLINK-2832: --- Github user chiwanpark commented on a diff in the pull request: https://github.com/apache/flink/pull/2076#discussion_r6573 --- Diff: flink-java/src/test/resources/log4j-test.properties --- @@ -0,0 +1,27 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +# Set root logger level to OFF to not flood build logs +# set manually to INFO for debugging purposes +log4j.rootLogger=OFF, testlogger + +# A1 is set to be a ConsoleAppender. +log4j.appender.testlogger=org.apache.log4j.ConsoleAppender +log4j.appender.testlogger.target = System.err --- End diff -- Spaces around `=` > Failing test: RandomSamplerTest.testReservoirSamplerWithReplacement > --- > > Key: FLINK-2832 > URL: https://issues.apache.org/jira/browse/FLINK-2832 > Project: Flink > Issue Type: Bug > Components: Tests >Affects Versions: 0.10.0 >Reporter: Vasia Kalavri >Assignee: Till Rohrmann >Priority: Critical > Labels: test-stability > Fix For: 1.0.0 > > > Tests run: 17, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 19.133 sec > <<< FAILURE! - in org.apache.flink.api.java.sampling.RandomSamplerTest > testReservoirSamplerWithReplacement(org.apache.flink.api.java.sampling.RandomSamplerTest) > Time elapsed: 2.534 sec <<< FAILURE! > java.lang.AssertionError: KS test result with p value(0.11), d > value(0.103090) > at org.junit.Assert.fail(Assert.java:88) > at org.junit.Assert.assertTrue(Assert.java:41) > at > org.apache.flink.api.java.sampling.RandomSamplerTest.verifyKSTest(RandomSamplerTest.java:342) > at > org.apache.flink.api.java.sampling.RandomSamplerTest.verifyRandomSamplerWithSampleSize(RandomSamplerTest.java:330) > at > org.apache.flink.api.java.sampling.RandomSamplerTest.verifyReservoirSamplerWithReplacement(RandomSamplerTest.java:289) > at > org.apache.flink.api.java.sampling.RandomSamplerTest.testReservoirSamplerWithReplacement(RandomSamplerTest.java:192) > Results : > Failed tests: > > RandomSamplerTest.testReservoirSamplerWithReplacement:192->verifyReservoirSamplerWithReplacement:289->verifyRandomSamplerWithSampleSize:330->verifyKSTest:342 > KS test result with p value(0.11), d value(0.103090) > Full log [here|https://travis-ci.org/apache/flink/jobs/84120131]. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (FLINK-2832) Failing test: RandomSamplerTest.testReservoirSamplerWithReplacement
[ https://issues.apache.org/jira/browse/FLINK-2832?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15317662#comment-15317662 ] ASF GitHub Bot commented on FLINK-2832: --- Github user chiwanpark commented on a diff in the pull request: https://github.com/apache/flink/pull/2076#discussion_r6588 --- Diff: flink-java/src/test/resources/logback-test.xml --- @@ -0,0 +1,34 @@ + + + + + +%d{HH:mm:ss.SSS} [%thread] %-5level %logger{60} %X{sourceThread} - %msg%n + + + + + + + + + + + + --- End diff -- we need to add new line > Failing test: RandomSamplerTest.testReservoirSamplerWithReplacement > --- > > Key: FLINK-2832 > URL: https://issues.apache.org/jira/browse/FLINK-2832 > Project: Flink > Issue Type: Bug > Components: Tests >Affects Versions: 0.10.0 >Reporter: Vasia Kalavri >Assignee: Till Rohrmann >Priority: Critical > Labels: test-stability > Fix For: 1.0.0 > > > Tests run: 17, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 19.133 sec > <<< FAILURE! - in org.apache.flink.api.java.sampling.RandomSamplerTest > testReservoirSamplerWithReplacement(org.apache.flink.api.java.sampling.RandomSamplerTest) > Time elapsed: 2.534 sec <<< FAILURE! > java.lang.AssertionError: KS test result with p value(0.11), d > value(0.103090) > at org.junit.Assert.fail(Assert.java:88) > at org.junit.Assert.assertTrue(Assert.java:41) > at > org.apache.flink.api.java.sampling.RandomSamplerTest.verifyKSTest(RandomSamplerTest.java:342) > at > org.apache.flink.api.java.sampling.RandomSamplerTest.verifyRandomSamplerWithSampleSize(RandomSamplerTest.java:330) > at > org.apache.flink.api.java.sampling.RandomSamplerTest.verifyReservoirSamplerWithReplacement(RandomSamplerTest.java:289) > at > org.apache.flink.api.java.sampling.RandomSamplerTest.testReservoirSamplerWithReplacement(RandomSamplerTest.java:192) > Results : > Failed tests: > > RandomSamplerTest.testReservoirSamplerWithReplacement:192->verifyReservoirSamplerWithReplacement:289->verifyRandomSamplerWithSampleSize:330->verifyKSTest:342 > KS test result with p value(0.11), d value(0.103090) > Full log [here|https://travis-ci.org/apache/flink/jobs/84120131]. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (FLINK-2832) Failing test: RandomSamplerTest.testReservoirSamplerWithReplacement
[ https://issues.apache.org/jira/browse/FLINK-2832?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15316541#comment-15316541 ] ASF GitHub Bot commented on FLINK-2832: --- GitHub user tillrohrmann opened a pull request: https://github.com/apache/flink/pull/2076 [FLINK-2832] [tests] Hardens RandomSamplerTest Increase the level of significance from p=0.01 to p=0.001 and add retry annotations to random sampler tests. This should decrease the probability of failing random sampler tests. You can merge this pull request into a Git repository by running: $ git pull https://github.com/tillrohrmann/flink fixRandomSamplerTest Alternatively you can review and apply these changes as the patch at: https://github.com/apache/flink/pull/2076.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #2076 commit 3bf500eccd41e4094cd7951954bf44de845cb3ce Author: Till RohrmannDate: 2016-06-06T14:19:30Z [FLINK-2832] [tests] Hardens RandomSamplerTest Increase the level of significance from p=0.01 to p=0.001 and add retry annotations to random sampler tests. This should decrease the probability of failing random sampler tests. > Failing test: RandomSamplerTest.testReservoirSamplerWithReplacement > --- > > Key: FLINK-2832 > URL: https://issues.apache.org/jira/browse/FLINK-2832 > Project: Flink > Issue Type: Bug > Components: Tests >Affects Versions: 0.10.0 >Reporter: Vasia Kalavri >Assignee: Till Rohrmann >Priority: Critical > Labels: test-stability > Fix For: 1.0.0 > > > Tests run: 17, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 19.133 sec > <<< FAILURE! - in org.apache.flink.api.java.sampling.RandomSamplerTest > testReservoirSamplerWithReplacement(org.apache.flink.api.java.sampling.RandomSamplerTest) > Time elapsed: 2.534 sec <<< FAILURE! > java.lang.AssertionError: KS test result with p value(0.11), d > value(0.103090) > at org.junit.Assert.fail(Assert.java:88) > at org.junit.Assert.assertTrue(Assert.java:41) > at > org.apache.flink.api.java.sampling.RandomSamplerTest.verifyKSTest(RandomSamplerTest.java:342) > at > org.apache.flink.api.java.sampling.RandomSamplerTest.verifyRandomSamplerWithSampleSize(RandomSamplerTest.java:330) > at > org.apache.flink.api.java.sampling.RandomSamplerTest.verifyReservoirSamplerWithReplacement(RandomSamplerTest.java:289) > at > org.apache.flink.api.java.sampling.RandomSamplerTest.testReservoirSamplerWithReplacement(RandomSamplerTest.java:192) > Results : > Failed tests: > > RandomSamplerTest.testReservoirSamplerWithReplacement:192->verifyReservoirSamplerWithReplacement:289->verifyRandomSamplerWithSampleSize:330->verifyKSTest:342 > KS test result with p value(0.11), d value(0.103090) > Full log [here|https://travis-ci.org/apache/flink/jobs/84120131]. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (FLINK-2832) Failing test: RandomSamplerTest.testReservoirSamplerWithReplacement
[ https://issues.apache.org/jira/browse/FLINK-2832?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15316536#comment-15316536 ] Till Rohrmann commented on FLINK-2832: -- Here is another instance of the failure (this time the {{testReservoirSamplerWithMultiSourcePartitions1}} test failed): https://s3.amazonaws.com/archive.travis-ci.org/jobs/134215943/log.txt The problem seems to be that the testing condition is not deterministic. Every so and so many test runs the Kolmogorow-Smirnow test simply fails because the level of significance is not zero. I would propose to set the level of significance to {{0.001}} instead of {{0.01}} and to add a retry annotation to the sampler tests. This should harden the test stability. > Failing test: RandomSamplerTest.testReservoirSamplerWithReplacement > --- > > Key: FLINK-2832 > URL: https://issues.apache.org/jira/browse/FLINK-2832 > Project: Flink > Issue Type: Bug > Components: Tests >Affects Versions: 0.10.0 >Reporter: Vasia Kalavri >Priority: Critical > Labels: test-stability > Fix For: 1.0.0 > > > Tests run: 17, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 19.133 sec > <<< FAILURE! - in org.apache.flink.api.java.sampling.RandomSamplerTest > testReservoirSamplerWithReplacement(org.apache.flink.api.java.sampling.RandomSamplerTest) > Time elapsed: 2.534 sec <<< FAILURE! > java.lang.AssertionError: KS test result with p value(0.11), d > value(0.103090) > at org.junit.Assert.fail(Assert.java:88) > at org.junit.Assert.assertTrue(Assert.java:41) > at > org.apache.flink.api.java.sampling.RandomSamplerTest.verifyKSTest(RandomSamplerTest.java:342) > at > org.apache.flink.api.java.sampling.RandomSamplerTest.verifyRandomSamplerWithSampleSize(RandomSamplerTest.java:330) > at > org.apache.flink.api.java.sampling.RandomSamplerTest.verifyReservoirSamplerWithReplacement(RandomSamplerTest.java:289) > at > org.apache.flink.api.java.sampling.RandomSamplerTest.testReservoirSamplerWithReplacement(RandomSamplerTest.java:192) > Results : > Failed tests: > > RandomSamplerTest.testReservoirSamplerWithReplacement:192->verifyReservoirSamplerWithReplacement:289->verifyRandomSamplerWithSampleSize:330->verifyKSTest:342 > KS test result with p value(0.11), d value(0.103090) > Full log [here|https://travis-ci.org/apache/flink/jobs/84120131]. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (FLINK-2832) Failing test: RandomSamplerTest.testReservoirSamplerWithReplacement
[ https://issues.apache.org/jira/browse/FLINK-2832?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15245967#comment-15245967 ] Chenguang He commented on FLINK-2832: - d value(0.032600) is correct for a sampling with size of 5000. but p value should be around of 0.5. btw: the expected fail test with getWrongSampler generates p value around of 0.03, which is close to yours > Failing test: RandomSamplerTest.testReservoirSamplerWithReplacement > --- > > Key: FLINK-2832 > URL: https://issues.apache.org/jira/browse/FLINK-2832 > Project: Flink > Issue Type: Bug > Components: Tests >Affects Versions: 0.10.0 >Reporter: Vasia Kalavri >Priority: Critical > Labels: test-stability > Fix For: 1.0.0 > > > Tests run: 17, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 19.133 sec > <<< FAILURE! - in org.apache.flink.api.java.sampling.RandomSamplerTest > testReservoirSamplerWithReplacement(org.apache.flink.api.java.sampling.RandomSamplerTest) > Time elapsed: 2.534 sec <<< FAILURE! > java.lang.AssertionError: KS test result with p value(0.11), d > value(0.103090) > at org.junit.Assert.fail(Assert.java:88) > at org.junit.Assert.assertTrue(Assert.java:41) > at > org.apache.flink.api.java.sampling.RandomSamplerTest.verifyKSTest(RandomSamplerTest.java:342) > at > org.apache.flink.api.java.sampling.RandomSamplerTest.verifyRandomSamplerWithSampleSize(RandomSamplerTest.java:330) > at > org.apache.flink.api.java.sampling.RandomSamplerTest.verifyReservoirSamplerWithReplacement(RandomSamplerTest.java:289) > at > org.apache.flink.api.java.sampling.RandomSamplerTest.testReservoirSamplerWithReplacement(RandomSamplerTest.java:192) > Results : > Failed tests: > > RandomSamplerTest.testReservoirSamplerWithReplacement:192->verifyReservoirSamplerWithReplacement:289->verifyRandomSamplerWithSampleSize:330->verifyKSTest:342 > KS test result with p value(0.11), d value(0.103090) > Full log [here|https://travis-ci.org/apache/flink/jobs/84120131]. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (FLINK-2832) Failing test: RandomSamplerTest.testReservoirSamplerWithReplacement
[ https://issues.apache.org/jira/browse/FLINK-2832?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15138691#comment-15138691 ] Robert Metzger commented on FLINK-2832: --- Another instance: https://s3.amazonaws.com/archive.travis-ci.org/jobs/107973266/log.txt {code} Tests run: 17, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 4.914 sec <<< FAILURE! - in org.apache.flink.api.java.sampling.RandomSamplerTest testReservoirSamplerWithReplacement(org.apache.flink.api.java.sampling.RandomSamplerTest) Time elapsed: 1.282 sec <<< FAILURE! java.lang.AssertionError: KS test result with p value(0.034000), d value(0.032600) at org.junit.Assert.fail(Assert.java:88) at org.junit.Assert.assertTrue(Assert.java:41) at org.apache.flink.api.java.sampling.RandomSamplerTest.verifyKSTest(RandomSamplerTest.java:342) at org.apache.flink.api.java.sampling.RandomSamplerTest.verifyRandomSamplerWithSampleSize(RandomSamplerTest.java:330) at org.apache.flink.api.java.sampling.RandomSamplerTest.verifyReservoirSamplerWithReplacement(RandomSamplerTest.java:289) at org.apache.flink.api.java.sampling.RandomSamplerTest.testReservoirSamplerWithReplacement(RandomSamplerTest.java:194) {code} > Failing test: RandomSamplerTest.testReservoirSamplerWithReplacement > --- > > Key: FLINK-2832 > URL: https://issues.apache.org/jira/browse/FLINK-2832 > Project: Flink > Issue Type: Bug > Components: Tests >Affects Versions: 0.10.0 >Reporter: Vasia Kalavri >Priority: Critical > Labels: test-stability > Fix For: 1.0.0 > > > Tests run: 17, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 19.133 sec > <<< FAILURE! - in org.apache.flink.api.java.sampling.RandomSamplerTest > testReservoirSamplerWithReplacement(org.apache.flink.api.java.sampling.RandomSamplerTest) > Time elapsed: 2.534 sec <<< FAILURE! > java.lang.AssertionError: KS test result with p value(0.11), d > value(0.103090) > at org.junit.Assert.fail(Assert.java:88) > at org.junit.Assert.assertTrue(Assert.java:41) > at > org.apache.flink.api.java.sampling.RandomSamplerTest.verifyKSTest(RandomSamplerTest.java:342) > at > org.apache.flink.api.java.sampling.RandomSamplerTest.verifyRandomSamplerWithSampleSize(RandomSamplerTest.java:330) > at > org.apache.flink.api.java.sampling.RandomSamplerTest.verifyReservoirSamplerWithReplacement(RandomSamplerTest.java:289) > at > org.apache.flink.api.java.sampling.RandomSamplerTest.testReservoirSamplerWithReplacement(RandomSamplerTest.java:192) > Results : > Failed tests: > > RandomSamplerTest.testReservoirSamplerWithReplacement:192->verifyReservoirSamplerWithReplacement:289->verifyRandomSamplerWithSampleSize:330->verifyKSTest:342 > KS test result with p value(0.11), d value(0.103090) > Full log [here|https://travis-ci.org/apache/flink/jobs/84120131]. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (FLINK-2832) Failing test: RandomSamplerTest.testReservoirSamplerWithReplacement
[ https://issues.apache.org/jira/browse/FLINK-2832?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14989704#comment-14989704 ] Suneel Marthi commented on FLINK-2832: -- Have not seen this happen for me locally (from both IDE and CLI). > Failing test: RandomSamplerTest.testReservoirSamplerWithReplacement > --- > > Key: FLINK-2832 > URL: https://issues.apache.org/jira/browse/FLINK-2832 > Project: Flink > Issue Type: Bug > Components: Tests >Affects Versions: 0.10 >Reporter: Vasia Kalavri >Priority: Critical > Labels: test-stability > Fix For: 0.10 > > > Tests run: 17, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 19.133 sec > <<< FAILURE! - in org.apache.flink.api.java.sampling.RandomSamplerTest > testReservoirSamplerWithReplacement(org.apache.flink.api.java.sampling.RandomSamplerTest) > Time elapsed: 2.534 sec <<< FAILURE! > java.lang.AssertionError: KS test result with p value(0.11), d > value(0.103090) > at org.junit.Assert.fail(Assert.java:88) > at org.junit.Assert.assertTrue(Assert.java:41) > at > org.apache.flink.api.java.sampling.RandomSamplerTest.verifyKSTest(RandomSamplerTest.java:342) > at > org.apache.flink.api.java.sampling.RandomSamplerTest.verifyRandomSamplerWithSampleSize(RandomSamplerTest.java:330) > at > org.apache.flink.api.java.sampling.RandomSamplerTest.verifyReservoirSamplerWithReplacement(RandomSamplerTest.java:289) > at > org.apache.flink.api.java.sampling.RandomSamplerTest.testReservoirSamplerWithReplacement(RandomSamplerTest.java:192) > Results : > Failed tests: > > RandomSamplerTest.testReservoirSamplerWithReplacement:192->verifyReservoirSamplerWithReplacement:289->verifyRandomSamplerWithSampleSize:330->verifyKSTest:342 > KS test result with p value(0.11), d value(0.103090) > Full log [here|https://travis-ci.org/apache/flink/jobs/84120131]. -- This message was sent by Atlassian JIRA (v6.3.4#6332)