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}
SparkYarnApp
- should poll YARN state and terminate (116 milliseconds)
- should kill yarn app *** FAILED *** (83 milliseconds)
  org.mockito.exceptions.verification.WantedButNotInvoked: Wanted but not invoked:
yarnClient.killApplication(
    application_1467912463905_0021
);
-> 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)

However, there were other interactions with this mock:
-> at org.apache.livy.utils.SparkYarnApp$$anonfun$1.apply$mcV$sp(SparkYarnApp.scala:261)
-> at org.apache.livy.utils.SparkYarnApp$$anonfun$1.apply$mcV$sp(SparkYarnApp.scala:270)
  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)
  at org.apache.livy.utils.SparkYarnAppSpec.org$apache$livy$utils$SparkYarnAppSpec$$cleanupThread(SparkYarnAppSpec.scala:43)
  at org.apache.livy.utils.SparkYarnAppSpec$$anonfun$1$$anonfun$apply$mcV$sp$5$$anonfun$apply$mcV$sp$7.apply$mcV$sp(SparkYarnAppSpec.scala:148)
  at org.apache.livy.utils.Clock$.withSleepMethod(Clock.scala:31)
  at org.apache.livy.utils.SparkYarnAppSpec$$anonfun$1$$anonfun$apply$mcV$sp$5.apply$mcV$sp(SparkYarnAppSpec.scala:126)
  at org.apache.livy.utils.SparkYarnAppSpec$$anonfun$1$$anonfun$apply$mcV$sp$5.apply(SparkYarnAppSpec.scala:126)
  at org.apache.livy.utils.SparkYarnAppSpec$$anonfun$1$$anonfun$apply$mcV$sp$5.apply(SparkYarnAppSpec.scala:126)
  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)
  ...
{noformat}




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)