{"action":"created","issue":{"url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/issues/9","labels_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/issues/9/comments","events_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/issues/9/events","html_url":"https://github.com/spark-jobserver/spark-jobserver/issues/9","id":42785200,"number":9,"title":"Test are failing on master","user":{"login":"maasg","id":874997,"avatar_url":"https://avatars.githubusercontent.com/u/874997?v=3","gravatar_id":"","url":"https://api.github.com/users/maasg","html_url":"https://github.com/maasg","followers_url":"https://api.github.com/users/maasg/followers","following_url":"https://api.github.com/users/maasg/following{/other_user}","gists_url":"https://api.github.com/users/maasg/gists{/gist_id}","starred_url":"https://api.github.com/users/maasg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maasg/subscriptions","organizations_url":"https://api.github.com/users/maasg/orgs","repos_url":"https://api.github.com/users/maasg/repos","events_url":"https://api.github.com/users/maasg/events{/privacy}","received_events_url":"https://api.github.com/users/maasg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2014-09-15T15:33:41Z","updated_at":"2015-03-15T05:43:02Z","closed_at":null,"body":"Just cloned the repo and tried to build the assembly, resulting in 25 failed test.\r\n\r\n[error] Failed: Total 106, Failed 25, Errors 0, Passed 81\r\n[error] Failed tests:\r\n[error] \tspark.jobserver.JobManagerActorAdHocSpec\r\n[error] \tspark.jobserver.JobManagerActorSpec\r\n[error] \tspark.jobserver.LocalContextSupervisorSpec\r\n[error] (job-server/test:test) sbt.TestsFailedException: Tests unsuccessful\r\n[error] Total time: 202 s, completed Sep 15, 2014 5:29:18 PM\r\n"},"comment":{"url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/issues/comments/80868917","html_url":"https://github.com/spark-jobserver/spark-jobserver/issues/9#issuecomment-80868917","issue_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/issues/9","id":80868917,"user":{"login":"velvia","id":1062875,"avatar_url":"https://avatars.githubusercontent.com/u/1062875?v=3","gravatar_id":"","url":"https://api.github.com/users/velvia","html_url":"https://github.com/velvia","followers_url":"https://api.github.com/users/velvia/followers","following_url":"https://api.github.com/users/velvia/following{/other_user}","gists_url":"https://api.github.com/users/velvia/gists{/gist_id}","starred_url":"https://api.github.com/users/velvia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/velvia/subscriptions","organizations_url":"https://api.github.com/users/velvia/orgs","repos_url":"https://api.github.com/users/velvia/repos","events_url":"https://api.github.com/users/velvia/events{/privacy}","received_events_url":"https://api.github.com/users/velvia/received_events","type":"User","site_admin":false},"created_at":"2015-03-15T05:43:02Z","updated_at":"2015-03-15T05:43:02Z","body":"I know I have this issue if I run my VPN software, or anything else that\nchanges the IP address....  Akka is very finicky about the specific IP to\nbind to.\n\nOn Thu, Mar 12, 2015 at 3:33 PM, Peter Rudenko <notifications@github.com>\nwrote:\n\n> Have the same issue, tests don't work out of box:\n>\n> [info] - should be able to create and cache a table, then query it using separate SQL jobs *** FAILED ***\n> [info]   java.lang.AssertionError: assertion failed: timeout (3 seconds) during expectMsgClass waiting for class spark.jobserver.JobManagerActor$Initialized\n> [info]   at scala.Predef$.assert(Predef.scala:179)\n> [info]   at akka.testkit.TestKitBase$class.expectMsgClass_internal(TestKit.scala:423)\n> [info]   at akka.testkit.TestKitBase$class.expectMsgClass(TestKit.scala:410)\n> [info]   at akka.testkit.TestKit.expectMsgClass(TestKit.scala:718)\n> [info]   at spark.jobserver.SqlJobSpec$$anonfun$2$$anonfun$apply$mcV$sp$3.apply$mcV$sp(SqlJobSpec.scala:35)\n> [info]   at spark.jobserver.SqlJobSpec$$anonfun$2$$anonfun$apply$mcV$sp$3.apply(SqlJobSpec.scala:33)\n> [info]   at spark.jobserver.SqlJobSpec$$anonfun$2$$anonfun$apply$mcV$sp$3.apply(SqlJobSpec.scala:33)\n> [info]   at org.scalatest.Transformer$$anonfun$apply$1.apply$mcV$sp(Transformer.scala:22)\n> [info]   at org.scalatest.OutcomeOf$class.outcomeOf(OutcomeOf.scala:85)\n> [info]   at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)\n>\n> [info] - should return error message if classPath does not match *** FAILED ***\n> [info]   java.lang.AssertionError: assertion failed: timeout (3 seconds) during expectMsgClass waiting for class spark.jobserver.JobManagerActor$Initialized\n> [info]   at scala.Predef$.assert(Predef.scala:179)\n> [info]   at akka.testkit.TestKitBase$class.expectMsgClass_internal(TestKit.scala:423)\n> [info]   at akka.testkit.TestKitBase$class.expectMsgClass(TestKit.scala:410)\n> [info]   at akka.testkit.TestKit.expectMsgClass(TestKit.scala:718)\n> [info]   at spark.jobserver.JobManagerSpec$$anonfun$1$$anonfun$apply$mcV$sp$7.apply$mcV$sp(JobManagerSpec.scala:30)\n> [info]   at spark.jobserver.JobManagerSpec$$anonfun$1$$anonfun$apply$mcV$sp$7.apply(JobManagerSpec.scala:27)\n> [info]   at spark.jobserver.JobManagerSpec$$anonfun$1$$anonfun$apply$mcV$sp$7.apply(JobManagerSpec.scala:27)\n> [info]   at org.scalatest.Transformer$$anonfun$apply$1.apply$mcV$sp(Transformer.scala:22)\n> [info]   at org.scalatest.OutcomeOf$class.outcomeOf(OutcomeOf.scala:85)\n> [info]   at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)\n> [info]   ...\n> [info] - should error out if loading garbage jar *** FAILED ***\n> [info]   java.lang.AssertionError: assertion failed: timeout (3 seconds) during expectMsg while waiting for NoSuchClass\n> [info]   at scala.Predef$.assert(Predef.scala:179)\n> [info]   at akka.testkit.TestKitBase$class.expectMsg_internal(TestKit.scala:338)\n> [info]   at akka.testkit.TestKitBase$class.expectMsg(TestKit.scala:315)\n> [info]   at akka.testkit.TestKit.expectMsg(TestKit.scala:718)\n> [info]   at spark.jobserver.JobManagerSpec$$anonfun$1$$anonfun$apply$mcV$sp$8.apply$mcV$sp(JobManagerSpec.scala:40)\n> [info]   at spark.jobserver.JobManagerSpec$$anonfun$1$$anonfun$apply$mcV$sp$8.apply(JobManagerSpec.scala:35)\n> [info]   at spark.jobserver.JobManagerSpec$$anonfun$1$$anonfun$apply$mcV$sp$8.apply(JobManagerSpec.scala:35)\n> [info]   at org.scalatest.Transformer$$anonfun$apply$1.apply$mcV$sp(Transformer.scala:22)\n> [info]   at org.scalatest.OutcomeOf$class.outcomeOf(OutcomeOf.scala:85)\n> [info]   at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)\n> [info]   ...\n> [info] - should get WrongJobType if loading SQL job in a plain SparkContext context *** FAILED ***\n> [info]   java.lang.AssertionError: assertion failed: expected WrongJobType, found NoSuchClass\n> [info]   at scala.Predef$.assert(Predef.scala:179)\n> [info]   at akka.testkit.TestKitBase$class.expectMsg_internal(TestKit.scala:339)\n> [info]   at akka.testkit.TestKitBase$class.expectMsg(TestKit.scala:315)\n> [info]   at akka.testkit.TestKit.expectMsg(TestKit.scala:718)\n> [info]   at spark.jobserver.JobManagerSpec$$anonfun$1$$anonfun$apply$mcV$sp$9.apply$mcV$sp(JobManagerSpec.scala:48)\n> [info]   at spark.jobserver.JobManagerSpec$$anonfun$1$$anonfun$apply$mcV$sp$9.apply(JobManagerSpec.scala:43)\n> [info]   at spark.jobserver.JobManagerSpec$$anonfun$1$$anonfun$apply$mcV$sp$9.apply(JobManagerSpec.scala:43)\n> [info]   at org.scalatest.Transformer$$anonfun$apply$1.apply$mcV$sp(Transformer.scala:22)\n> [info]   at org.scalatest.OutcomeOf$class.outcomeOf(OutcomeOf.scala:85)\n> [info]   at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)\n> [info]   ...\n> [info] - should error out if job validation fails *** FAILED ***\n> [info]   java.lang.AssertionError: assertion failed: expected class spark.jobserver.CommonMessages$JobValidationFailed, found class spark.jobserver.CommonMessages$WrongJobType$\n> [info]   at scala.Predef$.assert(Predef.scala:179)\n> [info]   at akka.testkit.TestKitBase$class.expectMsgClass_internal(TestKit.scala:424)\n> [info]   at akka.testkit.TestKitBase$class.expectMsgClass(TestKit.scala:410)\n> [info]   at akka.testkit.TestKit.expectMsgClass(TestKit.scala:718)\n> [info]   at spark.jobserver.JobManagerSpec$$anonfun$1$$anonfun$apply$mcV$sp$10.apply$mcV$sp(JobManagerSpec.scala:57)\n> [info]   at spark.jobserver.JobManagerSpec$$anonfun$1$$anonfun$apply$mcV$sp$10.apply(JobManagerSpec.scala:51)\n> [info]   at spark.jobserver.JobManagerSpec$$anonfun$1$$anonfun$apply$mcV$sp$10.apply(JobManagerSpec.scala:51)\n> [info]   at org.scalatest.Transformer$$anonfun$apply$1.apply$mcV$sp(Transformer.scala:22)\n> [info]   at org.scalatest.OutcomeOf$class.outcomeOf(OutcomeOf.scala:85)\n> [info]   at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/spark-jobserver/spark-jobserver/issues/9#issuecomment-78662436>\n> .\n>\n\n\n\n-- \nThe fruit of silence is prayer;\nthe fruit of prayer is faith;\nthe fruit of faith is love;\nthe fruit of love is service;\nthe fruit of service is peace.  -- Mother Teresa\n"}}