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

Hari Shreedharan commented on SPARK-4905:
-----------------------------------------

I am not sure. It might have something to do with the encoding/decoding. The 
events even have the headers, but the body is empty (there is comparison of the 
headers for each event)

> Flaky FlumeStreamSuite test: 
> org.apache.spark.streaming.flume.FlumeStreamSuite.flume input stream
> -------------------------------------------------------------------------------------------------
>
>                 Key: SPARK-4905
>                 URL: https://issues.apache.org/jira/browse/SPARK-4905
>             Project: Spark
>          Issue Type: Bug
>          Components: Streaming
>    Affects Versions: 1.3.0
>            Reporter: Josh Rosen
>              Labels: flaky-test
>
> It looks like the "org.apache.spark.streaming.flume.FlumeStreamSuite.flume 
> input stream" test might be flaky 
> ([link|https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/24647/testReport/junit/org.apache.spark.streaming.flume/FlumeStreamSuite/flume_input_stream/]):
> {code}
> Error Message
> The code passed to eventually never returned normally. Attempted 106 times 
> over 10.045097243 seconds. Last failure message: ArrayBuffer("", "", "", "", 
> "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", 
> "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", 
> "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", 
> "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", 
> "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", 
> "") was not equal to Vector("1", "2", "3", "4", "5", "6", "7", "8", "9", 
> "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", 
> "23", "24", "25", "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", 
> "36", "37", "38", "39", "40", "41", "42", "43", "44", "45", "46", "47", "48", 
> "49", "50", "51", "52", "53", "54", "55", "56", "57", "58", "59", "60", "61", 
> "62", "63", "64", "65", "66", "67", "68", "69", "70", "71", "72", "73", "74", 
> "75", "76", "77", "78", "79", "80", "81", "82", "83", "84", "85", "86", "87", 
> "88", "89", "90", "91", "92", "93", "94", "95", "96", "97", "98", "99", 
> "100").
> Stacktrace
> sbt.ForkMain$ForkError: The code passed to eventually never returned 
> normally. Attempted 106 times over 10.045097243 seconds. Last failure 
> message: ArrayBuffer("", "", "", "", "", "", "", "", "", "", "", "", "", "", 
> "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", 
> "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", 
> "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", 
> "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", 
> "", "", "", "", "", "", "", "", "", "") was not equal to Vector("1", "2", 
> "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", 
> "17", "18", "19", "20", "21", "22", "23", "24", "25", "26", "27", "28", "29", 
> "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "42", 
> "43", "44", "45", "46", "47", "48", "49", "50", "51", "52", "53", "54", "55", 
> "56", "57", "58", "59", "60", "61", "62", "63", "64", "65", "66", "67", "68", 
> "69", "70", "71", "72", "73", "74", "75", "76", "77", "78", "79", "80", "81", 
> "82", "83", "84", "85", "86", "87", "88", "89", "90", "91", "92", "93", "94", 
> "95", "96", "97", "98", "99", "100").
>       at 
> org.scalatest.concurrent.Eventually$class.tryTryAgain$1(Eventually.scala:420)
>       at 
> org.scalatest.concurrent.Eventually$class.eventually(Eventually.scala:438)
>       at org.scalatest.concurrent.Eventually$.eventually(Eventually.scala:478)
>       at 
> org.scalatest.concurrent.Eventually$class.eventually(Eventually.scala:307)
>       at org.scalatest.concurrent.Eventually$.eventually(Eventually.scala:478)
>       at 
> org.apache.spark.streaming.flume.FlumeStreamSuite.writeAndVerify(FlumeStreamSuite.scala:142)
>       at 
> org.apache.spark.streaming.flume.FlumeStreamSuite.org$apache$spark$streaming$flume$FlumeStreamSuite$$testFlumeStream(FlumeStreamSuite.scala:74)
>       at 
> org.apache.spark.streaming.flume.FlumeStreamSuite$$anonfun$2.apply$mcV$sp(FlumeStreamSuite.scala:62)
>       at 
> org.apache.spark.streaming.flume.FlumeStreamSuite$$anonfun$2.apply(FlumeStreamSuite.scala:62)
>       at 
> org.apache.spark.streaming.flume.FlumeStreamSuite$$anonfun$2.apply(FlumeStreamSuite.scala:62)
>       at 
> org.scalatest.Transformer$$anonfun$apply$1.apply$mcV$sp(Transformer.scala:22)
>       at org.scalatest.OutcomeOf$class.outcomeOf(OutcomeOf.scala:85)
>       at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
>       at org.scalatest.Transformer.apply(Transformer.scala:22)
>       at org.scalatest.Transformer.apply(Transformer.scala:20)
>       at org.scalatest.FunSuiteLike$$anon$1.apply(FunSuiteLike.scala:166)
>       at org.scalatest.Suite$class.withFixture(Suite.scala:1122)
>       at org.scalatest.FunSuite.withFixture(FunSuite.scala:1555)
>       at 
> org.scalatest.FunSuiteLike$class.invokeWithFixture$1(FunSuiteLike.scala:163)
>       at 
> org.scalatest.FunSuiteLike$$anonfun$runTest$1.apply(FunSuiteLike.scala:175)
>       at 
> org.scalatest.FunSuiteLike$$anonfun$runTest$1.apply(FunSuiteLike.scala:175)
>       at org.scalatest.SuperEngine.runTestImpl(Engine.scala:306)
>       at org.scalatest.FunSuiteLike$class.runTest(FunSuiteLike.scala:175)
>       at 
> org.apache.spark.streaming.flume.FlumeStreamSuite.org$scalatest$BeforeAndAfter$$super$runTest(FlumeStreamSuite.scala:46)
>       at org.scalatest.BeforeAndAfter$class.runTest(BeforeAndAfter.scala:200)
>       at 
> org.apache.spark.streaming.flume.FlumeStreamSuite.runTest(FlumeStreamSuite.scala:46)
>       at 
> org.scalatest.FunSuiteLike$$anonfun$runTests$1.apply(FunSuiteLike.scala:208)
>       at 
> org.scalatest.FunSuiteLike$$anonfun$runTests$1.apply(FunSuiteLike.scala:208)
>       at 
> org.scalatest.SuperEngine$$anonfun$traverseSubNodes$1$1.apply(Engine.scala:413)
>       at 
> org.scalatest.SuperEngine$$anonfun$traverseSubNodes$1$1.apply(Engine.scala:401)
>       at scala.collection.immutable.List.foreach(List.scala:318)
>       at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
>       at 
> org.scalatest.SuperEngine.org$scalatest$SuperEngine$$runTestsInBranch(Engine.scala:396)
>       at org.scalatest.SuperEngine.runTestsImpl(Engine.scala:483)
>       at org.scalatest.FunSuiteLike$class.runTests(FunSuiteLike.scala:208)
>       at org.scalatest.FunSuite.runTests(FunSuite.scala:1555)
>       at org.scalatest.Suite$class.run(Suite.scala:1424)
>       at 
> org.scalatest.FunSuite.org$scalatest$FunSuiteLike$$super$run(FunSuite.scala:1555)
>       at 
> org.scalatest.FunSuiteLike$$anonfun$run$1.apply(FunSuiteLike.scala:212)
>       at 
> org.scalatest.FunSuiteLike$$anonfun$run$1.apply(FunSuiteLike.scala:212)
>       at org.scalatest.SuperEngine.runImpl(Engine.scala:545)
>       at org.scalatest.FunSuiteLike$class.run(FunSuiteLike.scala:212)
>       at 
> org.apache.spark.streaming.flume.FlumeStreamSuite.org$scalatest$BeforeAndAfter$$super$run(FlumeStreamSuite.scala:46)
>       at org.scalatest.BeforeAndAfter$class.run(BeforeAndAfter.scala:241)
>       at 
> org.apache.spark.streaming.flume.FlumeStreamSuite.run(FlumeStreamSuite.scala:46)
>       at 
> org.scalatest.tools.Framework.org$scalatest$tools$Framework$$runSuite(Framework.scala:462)
>       at 
> org.scalatest.tools.Framework$ScalaTestTask.execute(Framework.scala:671)
>       at sbt.ForkMain$Run$2.call(ForkMain.java:294)
>       at sbt.ForkMain$Run$2.call(ForkMain.java:284)
>       at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>       at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>       at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>       at java.lang.Thread.run(Thread.java:745)
> Caused by: sbt.ForkMain$ForkError: ArrayBuffer("", "", "", "", "", "", "", 
> "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", 
> "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", 
> "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", 
> "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", 
> "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "") was not 
> equal to Vector("1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", 
> "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", 
> "25", "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", 
> "38", "39", "40", "41", "42", "43", "44", "45", "46", "47", "48", "49", "50", 
> "51", "52", "53", "54", "55", "56", "57", "58", "59", "60", "61", "62", "63", 
> "64", "65", "66", "67", "68", "69", "70", "71", "72", "73", "74", "75", "76", 
> "77", "78", "79", "80", "81", "82", "83", "84", "85", "86", "87", "88", "89", 
> "90", "91", "92", "93", "94", "95", "96", "97", "98", "99", "100")
>       at 
> org.scalatest.MatchersHelper$.newTestFailedException(MatchersHelper.scala:160)
>       at 
> org.scalatest.Matchers$ShouldMethodHelper$.shouldMatcher(Matchers.scala:6231)
>       at org.scalatest.Matchers$AnyShouldWrapper.should(Matchers.scala:6265)
>       at 
> org.apache.spark.streaming.flume.FlumeStreamSuite$$anonfun$writeAndVerify$2.apply$mcV$sp(FlumeStreamSuite.scala:149)
>       at 
> org.apache.spark.streaming.flume.FlumeStreamSuite$$anonfun$writeAndVerify$2.apply(FlumeStreamSuite.scala:142)
>       at 
> org.apache.spark.streaming.flume.FlumeStreamSuite$$anonfun$writeAndVerify$2.apply(FlumeStreamSuite.scala:142)
>       at 
> org.scalatest.concurrent.Eventually$class.makeAValiantAttempt$1(Eventually.scala:394)
>       at 
> org.scalatest.concurrent.Eventually$class.tryTryAgain$1(Eventually.scala:408)
>       ... 52 more
> {code}



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

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

Reply via email to