You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@livy.apache.org by "Saisai Shao (Jira)" <ji...@apache.org> on 2019/09/03 05:01:00 UTC
[jira] [Resolved] (LIVY-519) Flaky test: SparkYarnApp "should kill
yarn app "
[ https://issues.apache.org/jira/browse/LIVY-519?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Saisai Shao resolved LIVY-519.
------------------------------
Fix Version/s: 0.7.0
Assignee: runzhiwang
Resolution: Fixed
Issue resolved by pull request 221
https://github.com/apache/incubator-livy/pull/221
> 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
> Assignee: runzhiwang
> Priority: Major
> Fix For: 0.7.0
>
> Time Spent: 1h
> Remaining Estimate: 0h
>
> 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
(v8.3.2#803003)