You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2018/12/05 12:24:00 UTC

[jira] [Updated] (SPARK-26275) Flaky test: pyspark.mllib.tests.test_streaming_algorithms StreamingLogisticRegressionWithSGDTests.test_training_and_prediction

     [ https://issues.apache.org/jira/browse/SPARK-26275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hyukjin Kwon updated SPARK-26275:
---------------------------------
    Priority: Minor  (was: Major)

> Flaky test: pyspark.mllib.tests.test_streaming_algorithms StreamingLogisticRegressionWithSGDTests.test_training_and_prediction
> ------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SPARK-26275
>                 URL: https://issues.apache.org/jira/browse/SPARK-26275
>             Project: Spark
>          Issue Type: Test
>          Components: MLlib, PySpark
>    Affects Versions: 3.0.0
>            Reporter: Hyukjin Kwon
>            Priority: Minor
>
> Looks this test is flaky
> https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/99704/console
> https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/99569/console
> https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/99644/console
> https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/99548/console
> https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/99454/console
> https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/99609/console
> {code}
> ======================================================================
> FAIL: test_training_and_prediction (pyspark.mllib.tests.test_streaming_algorithms.StreamingLogisticRegressionWithSGDTests)
> Test that the model improves on toy data with no. of batches
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/jenkins/workspace/SparkPullRequestBuilder/python/pyspark/mllib/tests/test_streaming_algorithms.py", line 367, in test_training_and_prediction
>     self._eventually(condition)
>   File "/home/jenkins/workspace/SparkPullRequestBuilder/python/pyspark/mllib/tests/test_streaming_algorithms.py", line 78, in _eventually
>     % (timeout, lastValue))
> AssertionError: Test failed due to timeout after 30 sec, with last condition returning: Latest errors: 0.67, 0.71, 0.78, 0.7, 0.75, 0.74, 0.73, 0.69, 0.62, 0.71, 0.69, 0.75, 0.72, 0.77, 0.71, 0.74
> ----------------------------------------------------------------------
> Ran 13 tests in 185.051s
> FAILED (failures=1, skipped=1)
> {code}
> This looks happening after increasing the parallelism in Jenkins to speed up. I am able to reproduce this manually when the resource usage is heavy with manual decrease of timeout.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org