You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@livy.apache.org by "Marcelo Vanzin (JIRA)" <ji...@apache.org> on 2018/09/26 18:23:00 UTC
[jira] [Created] (LIVY-519) Flaky test: SparkYarnApp "should kill
yarn app "
Marcelo Vanzin created LIVY-519:
-----------------------------------
Summary: Flaky test: SparkYarnApp "should kill yarn app "
Key: LIVY-519
URL: https://issues.apache.org/jira/browse/LIVY-519
Project: Livy
Issue Type: Bug
Components: Tests
Affects Versions: 0.6.0
Reporter: Marcelo Vanzin
From a travis run:
{noformat}
[32mSparkYarnApp[0m
[32m- should poll YARN state and terminate (116 milliseconds)[0m
[31m- should kill yarn app *** FAILED *** (83 milliseconds)[0m
[31m org.mockito.exceptions.verification.WantedButNotInvoked: Wanted but not invoked:[0m
[31myarnClient.killApplication([0m
[31m application_1467912463905_0021[0m
[31m);[0m
[31m-> at org.apache.livy.utils.SparkYarnAppSpec$$anonfun$1$$anonfun$apply$mcV$sp$5$$anonfun$apply$mcV$sp$7$$anonfun$apply$mcV$sp$8.apply$mcV$sp(SparkYarnAppSpec.scala:156)[0m
[31m[0m
[31mHowever, there were other interactions with this mock:[0m
[31m-> at org.apache.livy.utils.SparkYarnApp$$anonfun$1.apply$mcV$sp(SparkYarnApp.scala:261)[0m
[31m-> at org.apache.livy.utils.SparkYarnApp$$anonfun$1.apply$mcV$sp(SparkYarnApp.scala:270)[0m
[31m at org.apache.livy.utils.SparkYarnAppSpec$$anonfun$1$$anonfun$apply$mcV$sp$5$$anonfun$apply$mcV$sp$7$$anonfun$apply$mcV$sp$8.apply$mcV$sp(SparkYarnAppSpec.scala:156)[0m
[31m at org.apache.livy.utils.SparkYarnAppSpec.org$apache$livy$utils$SparkYarnAppSpec$$cleanupThread(SparkYarnAppSpec.scala:43)[0m
[31m at org.apache.livy.utils.SparkYarnAppSpec$$anonfun$1$$anonfun$apply$mcV$sp$5$$anonfun$apply$mcV$sp$7.apply$mcV$sp(SparkYarnAppSpec.scala:148)[0m
[31m at org.apache.livy.utils.Clock$.withSleepMethod(Clock.scala:31)[0m
[31m at org.apache.livy.utils.SparkYarnAppSpec$$anonfun$1$$anonfun$apply$mcV$sp$5.apply$mcV$sp(SparkYarnAppSpec.scala:126)[0m
[31m at org.apache.livy.utils.SparkYarnAppSpec$$anonfun$1$$anonfun$apply$mcV$sp$5.apply(SparkYarnAppSpec.scala:126)[0m
[31m at org.apache.livy.utils.SparkYarnAppSpec$$anonfun$1$$anonfun$apply$mcV$sp$5.apply(SparkYarnAppSpec.scala:126)[0m
[31m at org.scalatest.Transformer$$anonfun$apply$1.apply$mcV$sp(Transformer.scala:22)[0m
[31m at org.scalatest.OutcomeOf$class.outcomeOf(OutcomeOf.scala:85)[0m
[31m at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)[0m
[31m ...[0m
{noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)