You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hari Shreedharan (JIRA)" <ji...@apache.org> on 2015/05/28 01:19:20 UTC

[jira] [Created] (SPARK-7908) PySpark Streaming tests are flaky.

Hari Shreedharan created SPARK-7908:
---------------------------------------

             Summary: PySpark Streaming tests are flaky.
                 Key: SPARK-7908
                 URL: https://issues.apache.org/jira/browse/SPARK-7908
             Project: Spark
          Issue Type: Bug
          Components: PySpark, Streaming
    Affects Versions: 1.4.0
            Reporter: Hari Shreedharan


These tests have been flaky on PR Builder:
{code}
======================================================================
FAIL: test_count_by_value_and_window (__main__.WindowFunctionTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "pyspark/streaming/tests.py", line 418, in test_count_by_value_and_window
    self._test_func(input, func, expected)
  File "pyspark/streaming/tests.py", line 133, in _test_func
    self.assertEqual(expected, result)
AssertionError: Lists differ: [[1], [2], [3], [4], [5], [6], [6], [6], [6], [6]] != [[1], [2], [3], [4]]

First list contains 6 additional elements.
First extra element 4:
[5]

- [[1], [2], [3], [4], [5], [6], [6], [6], [6], [6]]
+ [[1], [2], [3], [4]]

======================================================================
FAIL: test_window (__main__.WindowFunctionTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "pyspark/streaming/tests.py", line 391, in test_window
    self._test_func(input, func, expected)
  File "pyspark/streaming/tests.py", line 133, in _test_func
    self.assertEqual(expected, result)
AssertionError: Lists differ: [[1], [3], [6], [9], [12], [9], [5]] != [[1], [3]]

First list contains 5 additional elements.
First extra element 2:
[6]

- [[1], [3], [6], [9], [12], [9], [5]]
+ [[1], [3]]

----------------------------------------------------------------------
Ran 40 tests in 126.767s

FAILED (failures=2, skipped=3)
timeout after 20
timeout after 20
timeout after 5
timeout after 5
Had test failures; see logs.
{code}
Full jenkins output: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/33596/consoleFull



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

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