Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-23345

Flaky test: FileBasedDataSourceSuite

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4.0
    • Fix Version/s: 2.3.0
    • Component/s: SQL, Tests
    • Labels:
      None

      Description

      See at least once:
      https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/87114/testReport/junit/org.apache.spark.sql/FileBasedDataSourceSuite/_It_is_not_a_test_it_is_a_sbt_testing_SuiteSelector_/

      Error Message
      org.scalatest.exceptions.TestFailedDueToTimeoutException: The code passed to eventually never returned normally. Attempted 650 times over 10.011358752 seconds. Last failure message: There are 1 possibly leaked file streams..
      
      Stacktrace
      sbt.ForkMain$ForkError: org.scalatest.exceptions.TestFailedDueToTimeoutException: The code passed to eventually never returned normally. Attempted 650 times over 10.011358752 seconds. Last failure message: There are 1 possibly leaked file streams..
      	at org.scalatest.concurrent.Eventually$class.tryTryAgain$1(Eventually.scala:421)
      	at org.scalatest.concurrent.Eventually$class.eventually(Eventually.scala:439)
      	at org.apache.spark.sql.FileBasedDataSourceSuite.eventually(FileBasedDataSourceSuite.scala:26)
      	at org.scalatest.concurrent.Eventually$class.eventually(Eventually.scala:337)
      	at org.apache.spark.sql.FileBasedDataSourceSuite.eventually(FileBasedDataSourceSuite.scala:26)
      	at org.apache.spark.sql.test.SharedSparkSession$class.afterEach(SharedSparkSession.scala:114)
      	at org.apache.spark.sql.FileBasedDataSourceSuite.afterEach(FileBasedDataSourceSuite.scala:26)
      	at org.scalatest.BeforeAndAfterEach$$anonfun$1.apply$mcV$sp(BeforeAndAfterEach.scala:234)
      

      Log file is too large to attach here, though.

        Attachments

          Activity

            People

            • Assignee:
              viirya Liang-Chi Hsieh
              Reporter:
              vanzin Marcelo Vanzin
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: