do not merge - hack to make rawls on azure work #2887
2687 tests run, 2660 passed, 7 skipped, 20 failed.
Annotations
github-actions / Test Report pull_request
AzureBillingProjectLifecycleSpec.postCreationSteps should fail if a landing zone ID is provided and Rawls is not configured to attach to existing landing zones
Expected exception org.broadinstitute.dsde.rawls.billing.LandingZoneCreationException to be thrown, but java.lang.NullPointerException was thrown
Raw output
org.scalatest.exceptions.TestFailedException: Expected exception org.broadinstitute.dsde.rawls.billing.LandingZoneCreationException to be thrown, but java.lang.NullPointerException was thrown
at org.scalatest.Assertions.newAssertionFailedException(Assertions.scala:472)
at org.scalatest.Assertions.newAssertionFailedException$(Assertions.scala:471)
at org.scalatest.flatspec.AnyFlatSpec.newAssertionFailedException(AnyFlatSpec.scala:1686)
at org.scalatest.Assertions.intercept(Assertions.scala:756)
at org.scalatest.Assertions.intercept$(Assertions.scala:746)
at org.scalatest.flatspec.AnyFlatSpec.intercept(AnyFlatSpec.scala:1686)
at org.broadinstitute.dsde.rawls.billing.AzureBillingProjectLifecycleSpec.$anonfun$new$8(AzureBillingProjectLifecycleSpec.scala:195)
at org.scalatest.OutcomeOf.outcomeOf(OutcomeOf.scala:85)
at org.scalatest.OutcomeOf.outcomeOf$(OutcomeOf.scala:83)
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.flatspec.AnyFlatSpecLike$$anon$5.apply(AnyFlatSpecLike.scala:1832)
at org.scalatest.TestSuite.withFixture(TestSuite.scala:196)
at org.scalatest.TestSuite.withFixture$(TestSuite.scala:195)
at org.scalatest.flatspec.AnyFlatSpec.withFixture(AnyFlatSpec.scala:1686)
at org.scalatest.flatspec.AnyFlatSpecLike.invokeWithFixture$1(AnyFlatSpecLike.scala:1830)
at org.scalatest.flatspec.AnyFlatSpecLike.$anonfun$runTest$1(AnyFlatSpecLike.scala:1842)
at org.scalatest.SuperEngine.runTestImpl(Engine.scala:306)
at org.scalatest.flatspec.AnyFlatSpecLike.runTest(AnyFlatSpecLike.scala:1842)
at org.scalatest.flatspec.AnyFlatSpecLike.runTest$(AnyFlatSpecLike.scala:1824)
at org.scalatest.flatspec.AnyFlatSpec.runTest(AnyFlatSpec.scala:1686)
at org.scalatest.flatspec.AnyFlatSpecLike.$anonfun$runTests$1(AnyFlatSpecLike.scala:1900)
at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:413)
at scala.collection.immutable.List.foreach(List.scala:334)
at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:390)
at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:427)
at scala.collection.immutable.List.foreach(List.scala:334)
at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:396)
at org.scalatest.SuperEngine.runTestsImpl(Engine.scala:475)
at org.scalatest.flatspec.AnyFlatSpecLike.runTests(AnyFlatSpecLike.scala:1900)
at org.scalatest.flatspec.AnyFlatSpecLike.runTests$(AnyFlatSpecLike.scala:1899)
at org.scalatest.flatspec.AnyFlatSpec.runTests(AnyFlatSpec.scala:1686)
at org.scalatest.Suite.run(Suite.scala:1114)
at org.scalatest.Suite.run$(Suite.scala:1096)
at org.scalatest.flatspec.AnyFlatSpec.org$scalatest$flatspec$AnyFlatSpecLike$$super$run(AnyFlatSpec.scala:1686)
at org.scalatest.flatspec.AnyFlatSpecLike.$anonfun$run$1(AnyFlatSpecLike.scala:1945)
at org.scalatest.SuperEngine.runImpl(Engine.scala:535)
at org.scalatest.flatspec.AnyFlatSpecLike.run(AnyFlatSpecLike.scala:1945)
at org.scalatest.flatspec.AnyFlatSpecLike.run$(AnyFlatSpecLike.scala:1943)
at org.scalatest.flatspec.AnyFlatSpec.run(AnyFlatSpec.scala:1686)
at org.scalatest.tools.Framework.org$scalatest$tools$Framework$$runSuite(Framework.scala:321)
at org.scalatest.tools.Framework$ScalaTestTask.execute(Framework.scala:517)
at sbt.TestRunner.runTest$1(TestFramework.scala:153)
at sbt.TestRunner.run(TestFramework.scala:168)
at sbt.TestFramework$$anon$3$$anonfun$$lessinit$greater$1.$anonfun$apply$1(TestFramework.scala:336)
at sbt.TestFramework$.sbt$TestFramework$$withContextLoader(TestFramework.scala:296)
at sbt.TestFramework$$anon$3$$anonfun$$lessinit$greater$1.apply(TestFramework.scala:336)
at sbt.TestFramework$$anon$3$$anonfun$$lessinit$greater$1.apply(TestFramework.scala:336)
at sbt.TestFunction.apply(TestFramework.scala:348)
at sbt.Tests$.processRunnable$1(Tests.scala:475)
at sbt.Tests$.$anonfun$makeSerial$1(Tests.scala:481)
at sbt.std.Transform$$anon$3.$anonfun$apply$2(Transform.scala:47)
at sbt.std.Transform$$anon$4.work(Transform.scala:69)
at sbt.Execute.$anonfun$submit$2(Execute.scala:283)
at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:24)
at sbt.Execute.work(Execute.scala:292)
at sbt.Execute.$anonfun$submit$1(Execute.scala:283)
at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:265)
at sbt.CompletionService$$anon$2.call(CompletionService.scala:65)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:840)
Caused by: java.lang.NullPointerException: Cannot invoke "scala.Option.map(scala.Function1)" because the return value of "org.broadinstitute.dsde.rawls.dataaccess.SamDAO.getRawlsIdentityEmail()" is null
at org.broadinstitute.dsde.rawls.billing.BillingProjectLifecycle.addMembersToBillingProfile(BillingProjectLifecycle.scala:67)
at org.broadinstitute.dsde.rawls.billing.BillingProjectLifecycle.addMembersToBillingProfile$(BillingProjectLifecycle.scala:62)
at org.broadinstitute.dsde.rawls.billing.AzureBillingProjectLifecycle.addMembersToBillingProfile(AzureBillingProjectLifecycle.scala:33)
at org.broadinstitute.dsde.rawls.billing.AzureBillingProjectLifecycle.$anonfun$postCreationSteps$3(AzureBillingProjectLifecycle.scala:124)
at scala.concurrent.impl.Promise$Transformation.run(Promise.scala:470)
... 3 more
github-actions / Test Report pull_request
AzureBillingProjectLifecycleSpec.postCreationSteps should attach the provided landing zone ID if configured
Cannot invoke "scala.Option.map(scala.Function1)" because the return value of "org.broadinstitute.dsde.rawls.dataaccess.SamDAO.getRawlsIdentityEmail()" is null
Raw output
java.lang.NullPointerException: Cannot invoke "scala.Option.map(scala.Function1)" because the return value of "org.broadinstitute.dsde.rawls.dataaccess.SamDAO.getRawlsIdentityEmail()" is null
at org.broadinstitute.dsde.rawls.billing.BillingProjectLifecycle.addMembersToBillingProfile(BillingProjectLifecycle.scala:67)
at org.broadinstitute.dsde.rawls.billing.BillingProjectLifecycle.addMembersToBillingProfile$(BillingProjectLifecycle.scala:62)
at org.broadinstitute.dsde.rawls.billing.AzureBillingProjectLifecycle.addMembersToBillingProfile(AzureBillingProjectLifecycle.scala:33)
at org.broadinstitute.dsde.rawls.billing.AzureBillingProjectLifecycle.$anonfun$postCreationSteps$3(AzureBillingProjectLifecycle.scala:124)
at scala.concurrent.impl.Promise$Transformation.run(Promise.scala:470)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:840)
github-actions / Test Report pull_request
AzureBillingProjectLifecycleSpec.postCreationSteps should store the landing zone ID and job creation ID and link the profile ID to the billing project record
Cannot invoke "scala.Option.map(scala.Function1)" because the return value of "org.broadinstitute.dsde.rawls.dataaccess.SamDAO.getRawlsIdentityEmail()" is null
Raw output
java.lang.NullPointerException: Cannot invoke "scala.Option.map(scala.Function1)" because the return value of "org.broadinstitute.dsde.rawls.dataaccess.SamDAO.getRawlsIdentityEmail()" is null
at org.broadinstitute.dsde.rawls.billing.BillingProjectLifecycle.addMembersToBillingProfile(BillingProjectLifecycle.scala:67)
at org.broadinstitute.dsde.rawls.billing.BillingProjectLifecycle.addMembersToBillingProfile$(BillingProjectLifecycle.scala:62)
at org.broadinstitute.dsde.rawls.billing.AzureBillingProjectLifecycle.addMembersToBillingProfile(AzureBillingProjectLifecycle.scala:33)
at org.broadinstitute.dsde.rawls.billing.AzureBillingProjectLifecycle.$anonfun$postCreationSteps$3(AzureBillingProjectLifecycle.scala:124)
at scala.concurrent.impl.Promise$Transformation.run(Promise.scala:470)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:840)
github-actions / Test Report pull_request
AzureBillingProjectLifecycleSpec.postCreationSteps should add additional members to the BPM policy if specified during billing project creation
Cannot invoke "scala.Option.map(scala.Function1)" because the return value of "org.broadinstitute.dsde.rawls.dataaccess.SamDAO.getRawlsIdentityEmail()" is null
Raw output
java.lang.NullPointerException: Cannot invoke "scala.Option.map(scala.Function1)" because the return value of "org.broadinstitute.dsde.rawls.dataaccess.SamDAO.getRawlsIdentityEmail()" is null
at org.broadinstitute.dsde.rawls.billing.BillingProjectLifecycle.addMembersToBillingProfile(BillingProjectLifecycle.scala:67)
at org.broadinstitute.dsde.rawls.billing.BillingProjectLifecycle.addMembersToBillingProfile$(BillingProjectLifecycle.scala:62)
at org.broadinstitute.dsde.rawls.billing.AzureBillingProjectLifecycle.addMembersToBillingProfile(AzureBillingProjectLifecycle.scala:33)
at org.broadinstitute.dsde.rawls.billing.AzureBillingProjectLifecycle.$anonfun$postCreationSteps$3(AzureBillingProjectLifecycle.scala:124)
at scala.concurrent.impl.Promise$Transformation.run(Promise.scala:470)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:840)
github-actions / Test Report pull_request
AzureBillingProjectLifecycleSpec.postCreationSteps should create a protected data landing zone and attach a protected-data policy to the billing profile if requested
Cannot invoke "scala.Option.map(scala.Function1)" because the return value of "org.broadinstitute.dsde.rawls.dataaccess.SamDAO.getRawlsIdentityEmail()" is null
Raw output
java.lang.NullPointerException: Cannot invoke "scala.Option.map(scala.Function1)" because the return value of "org.broadinstitute.dsde.rawls.dataaccess.SamDAO.getRawlsIdentityEmail()" is null
at org.broadinstitute.dsde.rawls.billing.BillingProjectLifecycle.addMembersToBillingProfile(BillingProjectLifecycle.scala:67)
at org.broadinstitute.dsde.rawls.billing.BillingProjectLifecycle.addMembersToBillingProfile$(BillingProjectLifecycle.scala:62)
at org.broadinstitute.dsde.rawls.billing.AzureBillingProjectLifecycle.addMembersToBillingProfile(AzureBillingProjectLifecycle.scala:33)
at org.broadinstitute.dsde.rawls.billing.AzureBillingProjectLifecycle.$anonfun$postCreationSteps$3(AzureBillingProjectLifecycle.scala:124)
at scala.concurrent.impl.Promise$Transformation.run(Promise.scala:470)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:840)
github-actions / Test Report pull_request
AzureBillingProjectLifecycleSpec.postCreationSteps should handle landing zone creation errors and delete the billing profile
java.lang.NullPointerException: Cannot invoke "scala.Option.map(scala.Function1)" because the return value of "org.broadinstitute.dsde.rawls.dataaccess.SamDAO.getRawlsIdentityEmail()" is null was not an instance of org.broadinstitute.dsde.rawls.billing.LandingZoneCreationException, but an instance of java.lang.NullPointerException
Raw output
org.scalatest.exceptions.TestFailedException: java.lang.NullPointerException: Cannot invoke "scala.Option.map(scala.Function1)" because the return value of "org.broadinstitute.dsde.rawls.dataaccess.SamDAO.getRawlsIdentityEmail()" is null was not an instance of org.broadinstitute.dsde.rawls.billing.LandingZoneCreationException, but an instance of java.lang.NullPointerException
at org.scalatest.matchers.MatchersHelper$.newTestFailedException(MatchersHelper.scala:143)
at org.scalatest.matchers.TypeMatcherHelper$.assertAType(TypeMatcherHelper.scala:162)
at org.broadinstitute.dsde.rawls.billing.AzureBillingProjectLifecycleSpec.$anonfun$new$18(AzureBillingProjectLifecycleSpec.scala:590)
at org.broadinstitute.dsde.rawls.billing.AzureBillingProjectLifecycleSpec.$anonfun$new$18$adapted(AzureBillingProjectLifecycleSpec.scala:589)
at org.scalatest.concurrent.Futures$.whenReadyImpl(Futures.scala:621)
at org.scalatest.concurrent.Futures.whenReady(Futures.scala:609)
at org.scalatest.concurrent.Futures.whenReady$(Futures.scala:608)
at org.scalatest.concurrent.ScalaFutures$.whenReady(ScalaFutures.scala:357)
at org.broadinstitute.dsde.rawls.billing.AzureBillingProjectLifecycleSpec.$anonfun$new$17(AzureBillingProjectLifecycleSpec.scala:589)
at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18)
at org.scalatest.OutcomeOf.outcomeOf(OutcomeOf.scala:85)
at org.scalatest.OutcomeOf.outcomeOf$(OutcomeOf.scala:83)
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.flatspec.AnyFlatSpecLike$$anon$5.apply(AnyFlatSpecLike.scala:1832)
at org.scalatest.TestSuite.withFixture(TestSuite.scala:196)
at org.scalatest.TestSuite.withFixture$(TestSuite.scala:195)
at org.scalatest.flatspec.AnyFlatSpec.withFixture(AnyFlatSpec.scala:1686)
at org.scalatest.flatspec.AnyFlatSpecLike.invokeWithFixture$1(AnyFlatSpecLike.scala:1830)
at org.scalatest.flatspec.AnyFlatSpecLike.$anonfun$runTest$1(AnyFlatSpecLike.scala:1842)
at org.scalatest.SuperEngine.runTestImpl(Engine.scala:306)
at org.scalatest.flatspec.AnyFlatSpecLike.runTest(AnyFlatSpecLike.scala:1842)
at org.scalatest.flatspec.AnyFlatSpecLike.runTest$(AnyFlatSpecLike.scala:1824)
at org.scalatest.flatspec.AnyFlatSpec.runTest(AnyFlatSpec.scala:1686)
at org.scalatest.flatspec.AnyFlatSpecLike.$anonfun$runTests$1(AnyFlatSpecLike.scala:1900)
at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:413)
at scala.collection.immutable.List.foreach(List.scala:334)
at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:390)
at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:427)
at scala.collection.immutable.List.foreach(List.scala:334)
at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:396)
at org.scalatest.SuperEngine.runTestsImpl(Engine.scala:475)
at org.scalatest.flatspec.AnyFlatSpecLike.runTests(AnyFlatSpecLike.scala:1900)
at org.scalatest.flatspec.AnyFlatSpecLike.runTests$(AnyFlatSpecLike.scala:1899)
at org.scalatest.flatspec.AnyFlatSpec.runTests(AnyFlatSpec.scala:1686)
at org.scalatest.Suite.run(Suite.scala:1114)
at org.scalatest.Suite.run$(Suite.scala:1096)
at org.scalatest.flatspec.AnyFlatSpec.org$scalatest$flatspec$AnyFlatSpecLike$$super$run(AnyFlatSpec.scala:1686)
at org.scalatest.flatspec.AnyFlatSpecLike.$anonfun$run$1(AnyFlatSpecLike.scala:1945)
at org.scalatest.SuperEngine.runImpl(Engine.scala:535)
at org.scalatest.flatspec.AnyFlatSpecLike.run(AnyFlatSpecLike.scala:1945)
at org.scalatest.flatspec.AnyFlatSpecLike.run$(AnyFlatSpecLike.scala:1943)
at org.scalatest.flatspec.AnyFlatSpec.run(AnyFlatSpec.scala:1686)
at org.scalatest.tools.Framework.org$scalatest$tools$Framework$$runSuite(Framework.scala:321)
at org.scalatest.tools.Framework$ScalaTestTask.execute(Framework.scala:517)
at sbt.TestRunner.runTest$1(TestFramework.scala:153)
at sbt.TestRunner.run(TestFramework.scala:168)
at sbt.TestFramework$$anon$3$$anonfun$$lessinit$greater$1.$anonfun$apply$1(TestFramework.scala:336)
at sbt.TestFramework$.sbt$TestFramework$$withContextLoader(TestFramework.scala:296)
at sbt.TestFramework$$anon$3$$anonfun$$lessinit$greater$1.apply(TestFramework.scala:336)
at sbt.TestFramework$$anon$3$$anonfun$$lessinit$greater$1.apply(TestFramework.scala:336)
at sbt.TestFunction.apply(TestFramework.scala:348)
at sbt.Tests$.processRunnable$1(Tests.scala:475)
at sbt.Tests$.$anonfun$makeSerial$1(Tests.scala:481)
at sbt.std.Transform$$anon$3.$anonfun$apply$2(Transform.scala:47)
at sbt.std.Transform$$anon$4.work(Transform.scala:69)
at sbt.Execute.$anonfun$submit$2(Execute.scala:283)
at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:24)
at sbt.Execute.work(Execute.scala:292)
at sbt.Execute.$anonfun$submit$1(Execute.scala:283)
at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:265)
at sbt.CompletionService$$anon$2.call(CompletionService.scala:65)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:840)
github-actions / Test Report pull_request
AzureBillingProjectLifecycleSpec.postCreationSteps should handle CreateLandingZoneResult missing the job report and delete resources
java.lang.NullPointerException: Cannot invoke "scala.Option.map(scala.Function1)" because the return value of "org.broadinstitute.dsde.rawls.dataaccess.SamDAO.getRawlsIdentityEmail()" is null was not an instance of org.broadinstitute.dsde.rawls.billing.LandingZoneCreationException, but an instance of java.lang.NullPointerException
Raw output
org.scalatest.exceptions.TestFailedException: java.lang.NullPointerException: Cannot invoke "scala.Option.map(scala.Function1)" because the return value of "org.broadinstitute.dsde.rawls.dataaccess.SamDAO.getRawlsIdentityEmail()" is null was not an instance of org.broadinstitute.dsde.rawls.billing.LandingZoneCreationException, but an instance of java.lang.NullPointerException
at org.scalatest.matchers.MatchersHelper$.newTestFailedException(MatchersHelper.scala:143)
at org.scalatest.matchers.TypeMatcherHelper$.assertAType(TypeMatcherHelper.scala:162)
at org.broadinstitute.dsde.rawls.billing.AzureBillingProjectLifecycleSpec.$anonfun$new$20(AzureBillingProjectLifecycleSpec.scala:649)
at org.broadinstitute.dsde.rawls.billing.AzureBillingProjectLifecycleSpec.$anonfun$new$20$adapted(AzureBillingProjectLifecycleSpec.scala:648)
at org.scalatest.concurrent.Futures$.whenReadyImpl(Futures.scala:621)
at org.scalatest.concurrent.Futures.whenReady(Futures.scala:609)
at org.scalatest.concurrent.Futures.whenReady$(Futures.scala:608)
at org.scalatest.concurrent.ScalaFutures$.whenReady(ScalaFutures.scala:357)
at org.broadinstitute.dsde.rawls.billing.AzureBillingProjectLifecycleSpec.$anonfun$new$19(AzureBillingProjectLifecycleSpec.scala:648)
at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18)
at org.scalatest.OutcomeOf.outcomeOf(OutcomeOf.scala:85)
at org.scalatest.OutcomeOf.outcomeOf$(OutcomeOf.scala:83)
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.flatspec.AnyFlatSpecLike$$anon$5.apply(AnyFlatSpecLike.scala:1832)
at org.scalatest.TestSuite.withFixture(TestSuite.scala:196)
at org.scalatest.TestSuite.withFixture$(TestSuite.scala:195)
at org.scalatest.flatspec.AnyFlatSpec.withFixture(AnyFlatSpec.scala:1686)
at org.scalatest.flatspec.AnyFlatSpecLike.invokeWithFixture$1(AnyFlatSpecLike.scala:1830)
at org.scalatest.flatspec.AnyFlatSpecLike.$anonfun$runTest$1(AnyFlatSpecLike.scala:1842)
at org.scalatest.SuperEngine.runTestImpl(Engine.scala:306)
at org.scalatest.flatspec.AnyFlatSpecLike.runTest(AnyFlatSpecLike.scala:1842)
at org.scalatest.flatspec.AnyFlatSpecLike.runTest$(AnyFlatSpecLike.scala:1824)
at org.scalatest.flatspec.AnyFlatSpec.runTest(AnyFlatSpec.scala:1686)
at org.scalatest.flatspec.AnyFlatSpecLike.$anonfun$runTests$1(AnyFlatSpecLike.scala:1900)
at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:413)
at scala.collection.immutable.List.foreach(List.scala:334)
at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:390)
at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:427)
at scala.collection.immutable.List.foreach(List.scala:334)
at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:396)
at org.scalatest.SuperEngine.runTestsImpl(Engine.scala:475)
at org.scalatest.flatspec.AnyFlatSpecLike.runTests(AnyFlatSpecLike.scala:1900)
at org.scalatest.flatspec.AnyFlatSpecLike.runTests$(AnyFlatSpecLike.scala:1899)
at org.scalatest.flatspec.AnyFlatSpec.runTests(AnyFlatSpec.scala:1686)
at org.scalatest.Suite.run(Suite.scala:1114)
at org.scalatest.Suite.run$(Suite.scala:1096)
at org.scalatest.flatspec.AnyFlatSpec.org$scalatest$flatspec$AnyFlatSpecLike$$super$run(AnyFlatSpec.scala:1686)
at org.scalatest.flatspec.AnyFlatSpecLike.$anonfun$run$1(AnyFlatSpecLike.scala:1945)
at org.scalatest.SuperEngine.runImpl(Engine.scala:535)
at org.scalatest.flatspec.AnyFlatSpecLike.run(AnyFlatSpecLike.scala:1945)
at org.scalatest.flatspec.AnyFlatSpecLike.run$(AnyFlatSpecLike.scala:1943)
at org.scalatest.flatspec.AnyFlatSpec.run(AnyFlatSpec.scala:1686)
at org.scalatest.tools.Framework.org$scalatest$tools$Framework$$runSuite(Framework.scala:321)
at org.scalatest.tools.Framework$ScalaTestTask.execute(Framework.scala:517)
at sbt.TestRunner.runTest$1(TestFramework.scala:153)
at sbt.TestRunner.run(TestFramework.scala:168)
at sbt.TestFramework$$anon$3$$anonfun$$lessinit$greater$1.$anonfun$apply$1(TestFramework.scala:336)
at sbt.TestFramework$.sbt$TestFramework$$withContextLoader(TestFramework.scala:296)
at sbt.TestFramework$$anon$3$$anonfun$$lessinit$greater$1.apply(TestFramework.scala:336)
at sbt.TestFramework$$anon$3$$anonfun$$lessinit$greater$1.apply(TestFramework.scala:336)
at sbt.TestFunction.apply(TestFramework.scala:348)
at sbt.Tests$.processRunnable$1(Tests.scala:475)
at sbt.Tests$.$anonfun$makeSerial$1(Tests.scala:481)
at sbt.std.Transform$$anon$3.$anonfun$apply$2(Transform.scala:47)
at sbt.std.Transform$$anon$4.work(Transform.scala:69)
at sbt.Execute.$anonfun$submit$2(Execute.scala:283)
at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:24)
at sbt.Execute.work(Execute.scala:292)
at sbt.Execute.$anonfun$submit$1(Execute.scala:283)
at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:265)
at sbt.CompletionService$$anon$2.call(CompletionService.scala:65)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:840)
github-actions / Test Report pull_request
AzureBillingProjectLifecycleSpec.postCreationSteps should handle landing zone unexpected errors and delete the billing profile
"Cannot invoke "scala.Option.map(scala.Function1)" because the return value of "org.broadinstitute.dsde.rawls.dataaccess.SamDAO.getRawlsIdentityEmail()" is null" did not contain "Error from WSM"
Raw output
org.scalatest.exceptions.TestFailedException: "Cannot invoke "scala.Option.map(scala.Function1)" because the return value of "org.broadinstitute.dsde.rawls.dataaccess.SamDAO.getRawlsIdentityEmail()" is null" did not contain "Error from WSM"
at org.scalatest.Assertions.newAssertionFailedException(Assertions.scala:472)
at org.scalatest.Assertions.newAssertionFailedException$(Assertions.scala:471)
at org.scalatest.Assertions$.newAssertionFailedException(Assertions.scala:1231)
at org.scalatest.Assertions$AssertionsHelper.macroAssert(Assertions.scala:1295)
at org.broadinstitute.dsde.rawls.billing.AzureBillingProjectLifecycleSpec.$anonfun$new$22(AzureBillingProjectLifecycleSpec.scala:704)
at org.broadinstitute.dsde.rawls.billing.AzureBillingProjectLifecycleSpec.$anonfun$new$22$adapted(AzureBillingProjectLifecycleSpec.scala:702)
at org.scalatest.concurrent.Futures$.whenReadyImpl(Futures.scala:621)
at org.scalatest.concurrent.Futures.whenReady(Futures.scala:609)
at org.scalatest.concurrent.Futures.whenReady$(Futures.scala:608)
at org.scalatest.concurrent.ScalaFutures$.whenReady(ScalaFutures.scala:357)
at org.broadinstitute.dsde.rawls.billing.AzureBillingProjectLifecycleSpec.$anonfun$new$21(AzureBillingProjectLifecycleSpec.scala:702)
at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18)
at org.scalatest.OutcomeOf.outcomeOf(OutcomeOf.scala:85)
at org.scalatest.OutcomeOf.outcomeOf$(OutcomeOf.scala:83)
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.flatspec.AnyFlatSpecLike$$anon$5.apply(AnyFlatSpecLike.scala:1832)
at org.scalatest.TestSuite.withFixture(TestSuite.scala:196)
at org.scalatest.TestSuite.withFixture$(TestSuite.scala:195)
at org.scalatest.flatspec.AnyFlatSpec.withFixture(AnyFlatSpec.scala:1686)
at org.scalatest.flatspec.AnyFlatSpecLike.invokeWithFixture$1(AnyFlatSpecLike.scala:1830)
at org.scalatest.flatspec.AnyFlatSpecLike.$anonfun$runTest$1(AnyFlatSpecLike.scala:1842)
at org.scalatest.SuperEngine.runTestImpl(Engine.scala:306)
at org.scalatest.flatspec.AnyFlatSpecLike.runTest(AnyFlatSpecLike.scala:1842)
at org.scalatest.flatspec.AnyFlatSpecLike.runTest$(AnyFlatSpecLike.scala:1824)
at org.scalatest.flatspec.AnyFlatSpec.runTest(AnyFlatSpec.scala:1686)
at org.scalatest.flatspec.AnyFlatSpecLike.$anonfun$runTests$1(AnyFlatSpecLike.scala:1900)
at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:413)
at scala.collection.immutable.List.foreach(List.scala:334)
at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:390)
at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:427)
at scala.collection.immutable.List.foreach(List.scala:334)
at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:396)
at org.scalatest.SuperEngine.runTestsImpl(Engine.scala:475)
at org.scalatest.flatspec.AnyFlatSpecLike.runTests(AnyFlatSpecLike.scala:1900)
at org.scalatest.flatspec.AnyFlatSpecLike.runTests$(AnyFlatSpecLike.scala:1899)
at org.scalatest.flatspec.AnyFlatSpec.runTests(AnyFlatSpec.scala:1686)
at org.scalatest.Suite.run(Suite.scala:1114)
at org.scalatest.Suite.run$(Suite.scala:1096)
at org.scalatest.flatspec.AnyFlatSpec.org$scalatest$flatspec$AnyFlatSpecLike$$super$run(AnyFlatSpec.scala:1686)
at org.scalatest.flatspec.AnyFlatSpecLike.$anonfun$run$1(AnyFlatSpecLike.scala:1945)
at org.scalatest.SuperEngine.runImpl(Engine.scala:535)
at org.scalatest.flatspec.AnyFlatSpecLike.run(AnyFlatSpecLike.scala:1945)
at org.scalatest.flatspec.AnyFlatSpecLike.run$(AnyFlatSpecLike.scala:1943)
at org.scalatest.flatspec.AnyFlatSpec.run(AnyFlatSpec.scala:1686)
at org.scalatest.tools.Framework.org$scalatest$tools$Framework$$runSuite(Framework.scala:321)
at org.scalatest.tools.Framework$ScalaTestTask.execute(Framework.scala:517)
at sbt.TestRunner.runTest$1(TestFramework.scala:153)
at sbt.TestRunner.run(TestFramework.scala:168)
at sbt.TestFramework$$anon$3$$anonfun$$lessinit$greater$1.$anonfun$apply$1(TestFramework.scala:336)
at sbt.TestFramework$.sbt$TestFramework$$withContextLoader(TestFramework.scala:296)
at sbt.TestFramework$$anon$3$$anonfun$$lessinit$greater$1.apply(TestFramework.scala:336)
at sbt.TestFramework$$anon$3$$anonfun$$lessinit$greater$1.apply(TestFramework.scala:336)
at sbt.TestFunction.apply(TestFramework.scala:348)
at sbt.Tests$.processRunnable$1(Tests.scala:475)
at sbt.Tests$.$anonfun$makeSerial$1(Tests.scala:481)
at sbt.std.Transform$$anon$3.$anonfun$apply$2(Transform.scala:47)
at sbt.std.Transform$$anon$4.work(Transform.scala:69)
at sbt.Execute.$anonfun$submit$2(Execute.scala:283)
at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:24)
at sbt.Execute.work(Execute.scala:292)
at sbt.Execute.$anonfun$submit$1(Execute.scala:283)
at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:265)
at sbt.CompletionService$$anon$2.call(CompletionService.scala:65)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:840)
github-actions / Test Report pull_request
AzureBillingProjectLifecycleSpec.postCreationSteps should handle errors after landing zone creation and delete resources
"Cannot invoke "scala.Option.map(scala.Function1)" because the return value of "org.broadinstitute.dsde.rawls.dataaccess.SamDAO.getRawlsIdentityEmail()" is null" did not contain "Error from billing repository"
Raw output
org.scalatest.exceptions.TestFailedException: "Cannot invoke "scala.Option.map(scala.Function1)" because the return value of "org.broadinstitute.dsde.rawls.dataaccess.SamDAO.getRawlsIdentityEmail()" is null" did not contain "Error from billing repository"
at org.scalatest.Assertions.newAssertionFailedException(Assertions.scala:472)
at org.scalatest.Assertions.newAssertionFailedException$(Assertions.scala:471)
at org.scalatest.Assertions$.newAssertionFailedException(Assertions.scala:1231)
at org.scalatest.Assertions$AssertionsHelper.macroAssert(Assertions.scala:1295)
at org.broadinstitute.dsde.rawls.billing.AzureBillingProjectLifecycleSpec.$anonfun$new$24(AzureBillingProjectLifecycleSpec.scala:768)
at org.scalatest.concurrent.Futures$.whenReadyImpl(Futures.scala:621)
at org.scalatest.concurrent.Futures.whenReady(Futures.scala:609)
at org.scalatest.concurrent.Futures.whenReady$(Futures.scala:608)
at org.scalatest.concurrent.ScalaFutures$.whenReady(ScalaFutures.scala:357)
at org.broadinstitute.dsde.rawls.billing.AzureBillingProjectLifecycleSpec.$anonfun$new$23(AzureBillingProjectLifecycleSpec.scala:766)
at org.scalatest.OutcomeOf.outcomeOf(OutcomeOf.scala:85)
at org.scalatest.OutcomeOf.outcomeOf$(OutcomeOf.scala:83)
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.flatspec.AnyFlatSpecLike$$anon$5.apply(AnyFlatSpecLike.scala:1832)
at org.scalatest.TestSuite.withFixture(TestSuite.scala:196)
at org.scalatest.TestSuite.withFixture$(TestSuite.scala:195)
at org.scalatest.flatspec.AnyFlatSpec.withFixture(AnyFlatSpec.scala:1686)
at org.scalatest.flatspec.AnyFlatSpecLike.invokeWithFixture$1(AnyFlatSpecLike.scala:1830)
at org.scalatest.flatspec.AnyFlatSpecLike.$anonfun$runTest$1(AnyFlatSpecLike.scala:1842)
at org.scalatest.SuperEngine.runTestImpl(Engine.scala:306)
at org.scalatest.flatspec.AnyFlatSpecLike.runTest(AnyFlatSpecLike.scala:1842)
at org.scalatest.flatspec.AnyFlatSpecLike.runTest$(AnyFlatSpecLike.scala:1824)
at org.scalatest.flatspec.AnyFlatSpec.runTest(AnyFlatSpec.scala:1686)
at org.scalatest.flatspec.AnyFlatSpecLike.$anonfun$runTests$1(AnyFlatSpecLike.scala:1900)
at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:413)
at scala.collection.immutable.List.foreach(List.scala:334)
at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:390)
at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:427)
at scala.collection.immutable.List.foreach(List.scala:334)
at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:396)
at org.scalatest.SuperEngine.runTestsImpl(Engine.scala:475)
at org.scalatest.flatspec.AnyFlatSpecLike.runTests(AnyFlatSpecLike.scala:1900)
at org.scalatest.flatspec.AnyFlatSpecLike.runTests$(AnyFlatSpecLike.scala:1899)
at org.scalatest.flatspec.AnyFlatSpec.runTests(AnyFlatSpec.scala:1686)
at org.scalatest.Suite.run(Suite.scala:1114)
at org.scalatest.Suite.run$(Suite.scala:1096)
at org.scalatest.flatspec.AnyFlatSpec.org$scalatest$flatspec$AnyFlatSpecLike$$super$run(AnyFlatSpec.scala:1686)
at org.scalatest.flatspec.AnyFlatSpecLike.$anonfun$run$1(AnyFlatSpecLike.scala:1945)
at org.scalatest.SuperEngine.runImpl(Engine.scala:535)
at org.scalatest.flatspec.AnyFlatSpecLike.run(AnyFlatSpecLike.scala:1945)
at org.scalatest.flatspec.AnyFlatSpecLike.run$(AnyFlatSpecLike.scala:1943)
at org.scalatest.flatspec.AnyFlatSpec.run(AnyFlatSpec.scala:1686)
at org.scalatest.tools.Framework.org$scalatest$tools$Framework$$runSuite(Framework.scala:321)
at org.scalatest.tools.Framework$ScalaTestTask.execute(Framework.scala:517)
at sbt.TestRunner.runTest$1(TestFramework.scala:153)
at sbt.TestRunner.run(TestFramework.scala:168)
at sbt.TestFramework$$anon$3$$anonfun$$lessinit$greater$1.$anonfun$apply$1(TestFramework.scala:336)
at sbt.TestFramework$.sbt$TestFramework$$withContextLoader(TestFramework.scala:296)
at sbt.TestFramework$$anon$3$$anonfun$$lessinit$greater$1.apply(TestFramework.scala:336)
at sbt.TestFramework$$anon$3$$anonfun$$lessinit$greater$1.apply(TestFramework.scala:336)
at sbt.TestFunction.apply(TestFramework.scala:348)
at sbt.Tests$.processRunnable$1(Tests.scala:475)
at sbt.Tests$.$anonfun$makeSerial$1(Tests.scala:481)
at sbt.std.Transform$$anon$3.$anonfun$apply$2(Transform.scala:47)
at sbt.std.Transform$$anon$4.work(Transform.scala:69)
at sbt.Execute.$anonfun$submit$2(Execute.scala:283)
at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:24)
at sbt.Execute.work(Execute.scala:292)
at sbt.Execute.$anonfun$submit$1(Execute.scala:283)
at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:265)
at sbt.CompletionService$$anon$2.call(CompletionService.scala:65)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:840)
github-actions / Test Report pull_request
AzureBillingProjectLifecycleSpec.postCreationSteps should return the original error if resource deletion also errors
java.lang.NullPointerException: Cannot invoke "scala.Option.map(scala.Function1)" because the return value of "org.broadinstitute.dsde.rawls.dataaccess.SamDAO.getRawlsIdentityEmail()" is null was not an instance of java.sql.SQLException, but an instance of java.lang.NullPointerException
Raw output
org.scalatest.exceptions.TestFailedException: java.lang.NullPointerException: Cannot invoke "scala.Option.map(scala.Function1)" because the return value of "org.broadinstitute.dsde.rawls.dataaccess.SamDAO.getRawlsIdentityEmail()" is null was not an instance of java.sql.SQLException, but an instance of java.lang.NullPointerException
at org.scalatest.matchers.MatchersHelper$.newTestFailedException(MatchersHelper.scala:143)
at org.scalatest.matchers.TypeMatcherHelper$.assertAType(TypeMatcherHelper.scala:162)
at org.broadinstitute.dsde.rawls.billing.AzureBillingProjectLifecycleSpec.$anonfun$new$26(AzureBillingProjectLifecycleSpec.scala:837)
at org.scalatest.concurrent.Futures$.whenReadyImpl(Futures.scala:621)
at org.scalatest.concurrent.Futures.whenReady(Futures.scala:609)
at org.scalatest.concurrent.Futures.whenReady$(Futures.scala:608)
at org.scalatest.concurrent.ScalaFutures$.whenReady(ScalaFutures.scala:357)
at org.broadinstitute.dsde.rawls.billing.AzureBillingProjectLifecycleSpec.$anonfun$new$25(AzureBillingProjectLifecycleSpec.scala:836)
at org.scalatest.OutcomeOf.outcomeOf(OutcomeOf.scala:85)
at org.scalatest.OutcomeOf.outcomeOf$(OutcomeOf.scala:83)
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.flatspec.AnyFlatSpecLike$$anon$5.apply(AnyFlatSpecLike.scala:1832)
at org.scalatest.TestSuite.withFixture(TestSuite.scala:196)
at org.scalatest.TestSuite.withFixture$(TestSuite.scala:195)
at org.scalatest.flatspec.AnyFlatSpec.withFixture(AnyFlatSpec.scala:1686)
at org.scalatest.flatspec.AnyFlatSpecLike.invokeWithFixture$1(AnyFlatSpecLike.scala:1830)
at org.scalatest.flatspec.AnyFlatSpecLike.$anonfun$runTest$1(AnyFlatSpecLike.scala:1842)
at org.scalatest.SuperEngine.runTestImpl(Engine.scala:306)
at org.scalatest.flatspec.AnyFlatSpecLike.runTest(AnyFlatSpecLike.scala:1842)
at org.scalatest.flatspec.AnyFlatSpecLike.runTest$(AnyFlatSpecLike.scala:1824)
at org.scalatest.flatspec.AnyFlatSpec.runTest(AnyFlatSpec.scala:1686)
at org.scalatest.flatspec.AnyFlatSpecLike.$anonfun$runTests$1(AnyFlatSpecLike.scala:1900)
at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:413)
at scala.collection.immutable.List.foreach(List.scala:334)
at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:390)
at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:427)
at scala.collection.immutable.List.foreach(List.scala:334)
at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:396)
at org.scalatest.SuperEngine.runTestsImpl(Engine.scala:475)
at org.scalatest.flatspec.AnyFlatSpecLike.runTests(AnyFlatSpecLike.scala:1900)
at org.scalatest.flatspec.AnyFlatSpecLike.runTests$(AnyFlatSpecLike.scala:1899)
at org.scalatest.flatspec.AnyFlatSpec.runTests(AnyFlatSpec.scala:1686)
at org.scalatest.Suite.run(Suite.scala:1114)
at org.scalatest.Suite.run$(Suite.scala:1096)
at org.scalatest.flatspec.AnyFlatSpec.org$scalatest$flatspec$AnyFlatSpecLike$$super$run(AnyFlatSpec.scala:1686)
at org.scalatest.flatspec.AnyFlatSpecLike.$anonfun$run$1(AnyFlatSpecLike.scala:1945)
at org.scalatest.SuperEngine.runImpl(Engine.scala:535)
at org.scalatest.flatspec.AnyFlatSpecLike.run(AnyFlatSpecLike.scala:1945)
at org.scalatest.flatspec.AnyFlatSpecLike.run$(AnyFlatSpecLike.scala:1943)
at org.scalatest.flatspec.AnyFlatSpec.run(AnyFlatSpec.scala:1686)
at org.scalatest.tools.Framework.org$scalatest$tools$Framework$$runSuite(Framework.scala:321)
at org.scalatest.tools.Framework$ScalaTestTask.execute(Framework.scala:517)
at sbt.TestRunner.runTest$1(TestFramework.scala:153)
at sbt.TestRunner.run(TestFramework.scala:168)
at sbt.TestFramework$$anon$3$$anonfun$$lessinit$greater$1.$anonfun$apply$1(TestFramework.scala:336)
at sbt.TestFramework$.sbt$TestFramework$$withContextLoader(TestFramework.scala:296)
at sbt.TestFramework$$anon$3$$anonfun$$lessinit$greater$1.apply(TestFramework.scala:336)
at sbt.TestFramework$$anon$3$$anonfun$$lessinit$greater$1.apply(TestFramework.scala:336)
at sbt.TestFunction.apply(TestFramework.scala:348)
at sbt.Tests$.processRunnable$1(Tests.scala:475)
at sbt.Tests$.$anonfun$makeSerial$1(Tests.scala:481)
at sbt.std.Transform$$anon$3.$anonfun$apply$2(Transform.scala:47)
at sbt.std.Transform$$anon$4.work(Transform.scala:69)
at sbt.Execute.$anonfun$submit$2(Execute.scala:283)
at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:24)
at sbt.Execute.work(Execute.scala:292)
at sbt.Execute.$anonfun$submit$1(Execute.scala:283)
at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:265)
at sbt.CompletionService$$anon$2.call(CompletionService.scala:65)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:840)
github-actions / Test Report pull_request
BillingProjectOrchestratorSpec.billing project creation should create a billing project record when provided a valid request and set the correct creation status
Cannot invoke "scala.Option.map(scala.Function1)" because the return value of "org.broadinstitute.dsde.rawls.dataaccess.SamDAO.getRawlsIdentityEmail()" is null
Raw output
java.lang.NullPointerException: Cannot invoke "scala.Option.map(scala.Function1)" because the return value of "org.broadinstitute.dsde.rawls.dataaccess.SamDAO.getRawlsIdentityEmail()" is null
at org.broadinstitute.dsde.rawls.billing.BillingProjectOrchestrator.createV2BillingProjectInternal(BillingProjectOrchestrator.scala:120)
at org.broadinstitute.dsde.rawls.billing.BillingProjectOrchestrator.$anonfun$createBillingProjectV2$2(BillingProjectOrchestrator.scala:88)
at scala.concurrent.impl.Promise$Transformation.run(Promise.scala:470)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:840)
github-actions / Test Report pull_request
BillingProjectOrchestratorSpec.billing project creation should fail when a duplicate project already exists
Expected exception org.broadinstitute.dsde.rawls.billing.DuplicateBillingProjectException to be thrown, but java.lang.NullPointerException was thrown
Raw output
org.scalatest.exceptions.TestFailedException: Expected exception org.broadinstitute.dsde.rawls.billing.DuplicateBillingProjectException to be thrown, but java.lang.NullPointerException was thrown
at org.scalatest.Assertions.newAssertionFailedException(Assertions.scala:472)
at org.scalatest.Assertions.newAssertionFailedException$(Assertions.scala:471)
at org.scalatest.flatspec.AnyFlatSpec.newAssertionFailedException(AnyFlatSpec.scala:1686)
at org.scalatest.Assertions.intercept(Assertions.scala:756)
at org.scalatest.Assertions.intercept$(Assertions.scala:746)
at org.scalatest.flatspec.AnyFlatSpec.intercept(AnyFlatSpec.scala:1686)
at org.broadinstitute.dsde.rawls.billing.BillingProjectOrchestratorSpec.$anonfun$new$4(BillingProjectOrchestratorSpec.scala:218)
at org.scalatest.OutcomeOf.outcomeOf(OutcomeOf.scala:85)
at org.scalatest.OutcomeOf.outcomeOf$(OutcomeOf.scala:83)
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.flatspec.AnyFlatSpecLike$$anon$5.apply(AnyFlatSpecLike.scala:1832)
at org.scalatest.TestSuite.withFixture(TestSuite.scala:196)
at org.scalatest.TestSuite.withFixture$(TestSuite.scala:195)
at org.scalatest.flatspec.AnyFlatSpec.withFixture(AnyFlatSpec.scala:1686)
at org.scalatest.flatspec.AnyFlatSpecLike.invokeWithFixture$1(AnyFlatSpecLike.scala:1830)
at org.scalatest.flatspec.AnyFlatSpecLike.$anonfun$runTest$1(AnyFlatSpecLike.scala:1842)
at org.scalatest.SuperEngine.runTestImpl(Engine.scala:306)
at org.scalatest.flatspec.AnyFlatSpecLike.runTest(AnyFlatSpecLike.scala:1842)
at org.scalatest.flatspec.AnyFlatSpecLike.runTest$(AnyFlatSpecLike.scala:1824)
at org.scalatest.flatspec.AnyFlatSpec.runTest(AnyFlatSpec.scala:1686)
at org.scalatest.flatspec.AnyFlatSpecLike.$anonfun$runTests$1(AnyFlatSpecLike.scala:1900)
at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:413)
at scala.collection.immutable.List.foreach(List.scala:334)
at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:390)
at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:427)
at scala.collection.immutable.List.foreach(List.scala:334)
at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:396)
at org.scalatest.SuperEngine.runTestsImpl(Engine.scala:475)
at org.scalatest.flatspec.AnyFlatSpecLike.runTests(AnyFlatSpecLike.scala:1900)
at org.scalatest.flatspec.AnyFlatSpecLike.runTests$(AnyFlatSpecLike.scala:1899)
at org.scalatest.flatspec.AnyFlatSpec.runTests(AnyFlatSpec.scala:1686)
at org.scalatest.Suite.run(Suite.scala:1114)
at org.scalatest.Suite.run$(Suite.scala:1096)
at org.scalatest.flatspec.AnyFlatSpec.org$scalatest$flatspec$AnyFlatSpecLike$$super$run(AnyFlatSpec.scala:1686)
at org.scalatest.flatspec.AnyFlatSpecLike.$anonfun$run$1(AnyFlatSpecLike.scala:1945)
at org.scalatest.SuperEngine.runImpl(Engine.scala:535)
at org.scalatest.flatspec.AnyFlatSpecLike.run(AnyFlatSpecLike.scala:1945)
at org.scalatest.flatspec.AnyFlatSpecLike.run$(AnyFlatSpecLike.scala:1943)
at org.scalatest.flatspec.AnyFlatSpec.run(AnyFlatSpec.scala:1686)
at org.scalatest.tools.Framework.org$scalatest$tools$Framework$$runSuite(Framework.scala:321)
at org.scalatest.tools.Framework$ScalaTestTask.execute(Framework.scala:517)
at sbt.TestRunner.runTest$1(TestFramework.scala:153)
at sbt.TestRunner.run(TestFramework.scala:168)
at sbt.TestFramework$$anon$3$$anonfun$$lessinit$greater$1.$anonfun$apply$1(TestFramework.scala:336)
at sbt.TestFramework$.sbt$TestFramework$$withContextLoader(TestFramework.scala:296)
at sbt.TestFramework$$anon$3$$anonfun$$lessinit$greater$1.apply(TestFramework.scala:336)
at sbt.TestFramework$$anon$3$$anonfun$$lessinit$greater$1.apply(TestFramework.scala:336)
at sbt.TestFunction.apply(TestFramework.scala:348)
at sbt.Tests$.processRunnable$1(Tests.scala:475)
at sbt.Tests$.$anonfun$makeSerial$1(Tests.scala:481)
at sbt.std.Transform$$anon$3.$anonfun$apply$2(Transform.scala:47)
at sbt.std.Transform$$anon$4.work(Transform.scala:69)
at sbt.Execute.$anonfun$submit$2(Execute.scala:283)
at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:24)
at sbt.Execute.work(Execute.scala:292)
at sbt.Execute.$anonfun$submit$1(Execute.scala:283)
at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:265)
at sbt.CompletionService$$anon$2.call(CompletionService.scala:65)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:840)
Caused by: java.lang.NullPointerException: Cannot invoke "scala.Option.map(scala.Function1)" because the return value of "org.broadinstitute.dsde.rawls.dataaccess.SamDAO.getRawlsIdentityEmail()" is null
at org.broadinstitute.dsde.rawls.billing.BillingProjectOrchestrator.createV2BillingProjectInternal(Unknown Source)
at org.broadinstitute.dsde.rawls.billing.BillingProjectOrchestrator.$anonfun$createBillingProjectV2$2(Unknown Source)
at scala.concurrent.impl.Promise$Transformation.run(Promise.scala:470)
... 3 more
github-actions / Test Report pull_request
BillingProjectOrchestratorSpec.billing project creation should delete the billing project and throw an exception if post creation steps fail
Expected exception org.broadinstitute.dsde.rawls.RawlsExceptionWithErrorReport to be thrown, but org.mockito.exceptions.verification.SmartNullPointerException was thrown
Raw output
org.scalatest.exceptions.TestFailedException: Expected exception org.broadinstitute.dsde.rawls.RawlsExceptionWithErrorReport to be thrown, but org.mockito.exceptions.verification.SmartNullPointerException was thrown
at org.scalatest.Assertions.newAssertionFailedException(Assertions.scala:472)
at org.scalatest.Assertions.newAssertionFailedException$(Assertions.scala:471)
at org.scalatest.flatspec.AnyFlatSpec.newAssertionFailedException(AnyFlatSpec.scala:1686)
at org.scalatest.Assertions.intercept(Assertions.scala:756)
at org.scalatest.Assertions.intercept$(Assertions.scala:746)
at org.scalatest.flatspec.AnyFlatSpec.intercept(AnyFlatSpec.scala:1686)
at org.broadinstitute.dsde.rawls.billing.BillingProjectOrchestratorSpec.$anonfun$new$8(BillingProjectOrchestratorSpec.scala:322)
at org.scalatest.OutcomeOf.outcomeOf(OutcomeOf.scala:85)
at org.scalatest.OutcomeOf.outcomeOf$(OutcomeOf.scala:83)
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.flatspec.AnyFlatSpecLike$$anon$5.apply(AnyFlatSpecLike.scala:1832)
at org.scalatest.TestSuite.withFixture(TestSuite.scala:196)
at org.scalatest.TestSuite.withFixture$(TestSuite.scala:195)
at org.scalatest.flatspec.AnyFlatSpec.withFixture(AnyFlatSpec.scala:1686)
at org.scalatest.flatspec.AnyFlatSpecLike.invokeWithFixture$1(AnyFlatSpecLike.scala:1830)
at org.scalatest.flatspec.AnyFlatSpecLike.$anonfun$runTest$1(AnyFlatSpecLike.scala:1842)
at org.scalatest.SuperEngine.runTestImpl(Engine.scala:306)
at org.scalatest.flatspec.AnyFlatSpecLike.runTest(AnyFlatSpecLike.scala:1842)
at org.scalatest.flatspec.AnyFlatSpecLike.runTest$(AnyFlatSpecLike.scala:1824)
at org.scalatest.flatspec.AnyFlatSpec.runTest(AnyFlatSpec.scala:1686)
at org.scalatest.flatspec.AnyFlatSpecLike.$anonfun$runTests$1(AnyFlatSpecLike.scala:1900)
at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:413)
at scala.collection.immutable.List.foreach(List.scala:334)
at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:390)
at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:427)
at scala.collection.immutable.List.foreach(List.scala:334)
at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:396)
at org.scalatest.SuperEngine.runTestsImpl(Engine.scala:475)
at org.scalatest.flatspec.AnyFlatSpecLike.runTests(AnyFlatSpecLike.scala:1900)
at org.scalatest.flatspec.AnyFlatSpecLike.runTests$(AnyFlatSpecLike.scala:1899)
at org.scalatest.flatspec.AnyFlatSpec.runTests(AnyFlatSpec.scala:1686)
at org.scalatest.Suite.run(Suite.scala:1114)
at org.scalatest.Suite.run$(Suite.scala:1096)
at org.scalatest.flatspec.AnyFlatSpec.org$scalatest$flatspec$AnyFlatSpecLike$$super$run(AnyFlatSpec.scala:1686)
at org.scalatest.flatspec.AnyFlatSpecLike.$anonfun$run$1(AnyFlatSpecLike.scala:1945)
at org.scalatest.SuperEngine.runImpl(Engine.scala:535)
at org.scalatest.flatspec.AnyFlatSpecLike.run(AnyFlatSpecLike.scala:1945)
at org.scalatest.flatspec.AnyFlatSpecLike.run$(AnyFlatSpecLike.scala:1943)
at org.scalatest.flatspec.AnyFlatSpec.run(AnyFlatSpec.scala:1686)
at org.scalatest.tools.Framework.org$scalatest$tools$Framework$$runSuite(Framework.scala:321)
at org.scalatest.tools.Framework$ScalaTestTask.execute(Framework.scala:517)
at sbt.TestRunner.runTest$1(TestFramework.scala:153)
at sbt.TestRunner.run(TestFramework.scala:168)
at sbt.TestFramework$$anon$3$$anonfun$$lessinit$greater$1.$anonfun$apply$1(TestFramework.scala:336)
at sbt.TestFramework$.sbt$TestFramework$$withContextLoader(TestFramework.scala:296)
at sbt.TestFramework$$anon$3$$anonfun$$lessinit$greater$1.apply(TestFramework.scala:336)
at sbt.TestFramework$$anon$3$$anonfun$$lessinit$greater$1.apply(TestFramework.scala:336)
at sbt.TestFunction.apply(TestFramework.scala:348)
at sbt.Tests$.processRunnable$1(Tests.scala:475)
at sbt.Tests$.$anonfun$makeSerial$1(Tests.scala:481)
at sbt.std.Transform$$anon$3.$anonfun$apply$2(Transform.scala:47)
at sbt.std.Transform$$anon$4.work(Transform.scala:69)
at sbt.Execute.$anonfun$submit$2(Execute.scala:283)
at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:24)
at sbt.Execute.work(Execute.scala:292)
at sbt.Execute.$anonfun$submit$1(Execute.scala:283)
at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:265)
at sbt.CompletionService$$anon$2.call(CompletionService.scala:65)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:840)
Caused by: org.mockito.exceptions.verification.SmartNullPointerException:
You have a NullPointerException here:
-> at scala.Option.map(Option.scala:242)
because this method call was *not* stubbed correctly:
-> at org.broadinstitute.dsde.rawls.dataaccess.SamDAO.getRawlsIdentityEmail(SamDAO.scala:158)
samDAO.getRawlsIdentityEmail();
at scala.Option.map(Option.scala:242)
at org.broadinstitute.dsde.rawls.billing.BillingProjectOrchestrator.createV2BillingProjectInternal(BillingProjectOrchestrator.scala:120)
at org.broadinstitute.dsde.rawls.billing.BillingProjectOrchestrator.$anonfun$createBillingProjectV2$2(BillingProjectOrchestrator.scala:88)
at scala.concurrent.impl.Promise$Transformation.run(Promise.scala:470)
... 3 more
github-actions / Test Report pull_request
GoogleBillingProjectLifecycleSpec.postCreationSteps should sync the policy to google and return creation status Ready
Cannot invoke "scala.Option.map(scala.Function1)" because the return value of "org.broadinstitute.dsde.rawls.dataaccess.SamDAO.getRawlsIdentityEmail()" is null
Raw output
java.lang.NullPointerException: Cannot invoke "scala.Option.map(scala.Function1)" because the return value of "org.broadinstitute.dsde.rawls.dataaccess.SamDAO.getRawlsIdentityEmail()" is null
at org.broadinstitute.dsde.rawls.billing.BillingProjectLifecycle.addMembersToBillingProfile(BillingProjectLifecycle.scala:67)
at org.broadinstitute.dsde.rawls.billing.BillingProjectLifecycle.addMembersToBillingProfile$(BillingProjectLifecycle.scala:62)
at org.broadinstitute.dsde.rawls.billing.GoogleBillingProjectLifecycle.addMembersToBillingProfile(GoogleBillingProjectLifecycle.scala:23)
at org.broadinstitute.dsde.rawls.billing.GoogleBillingProjectLifecycle.$anonfun$postCreationSteps$1(GoogleBillingProjectLifecycle.scala:63)
at scala.concurrent.impl.Promise$Transformation.run(Promise.scala:470)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:840)
github-actions / Test Report pull_request
GoogleBillingProjectLifecycleSpec.postCreationSteps should store the billing profile ID during billing project creation
Cannot invoke "scala.Option.map(scala.Function1)" because the return value of "org.broadinstitute.dsde.rawls.dataaccess.SamDAO.getRawlsIdentityEmail()" is null
Raw output
java.lang.NullPointerException: Cannot invoke "scala.Option.map(scala.Function1)" because the return value of "org.broadinstitute.dsde.rawls.dataaccess.SamDAO.getRawlsIdentityEmail()" is null
at org.broadinstitute.dsde.rawls.billing.BillingProjectLifecycle.addMembersToBillingProfile(BillingProjectLifecycle.scala:67)
at org.broadinstitute.dsde.rawls.billing.BillingProjectLifecycle.addMembersToBillingProfile$(BillingProjectLifecycle.scala:62)
at org.broadinstitute.dsde.rawls.billing.GoogleBillingProjectLifecycle.addMembersToBillingProfile(GoogleBillingProjectLifecycle.scala:23)
at org.broadinstitute.dsde.rawls.billing.GoogleBillingProjectLifecycle.$anonfun$postCreationSteps$1(GoogleBillingProjectLifecycle.scala:63)
at scala.concurrent.impl.Promise$Transformation.run(Promise.scala:470)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:840)
github-actions / Test Report pull_request
GoogleBillingProjectLifecycleSpec.postCreationSteps should add additional members to the BPM policy during billing project creation if specified
Cannot invoke "scala.Option.map(scala.Function1)" because the return value of "org.broadinstitute.dsde.rawls.dataaccess.SamDAO.getRawlsIdentityEmail()" is null
Raw output
java.lang.NullPointerException: Cannot invoke "scala.Option.map(scala.Function1)" because the return value of "org.broadinstitute.dsde.rawls.dataaccess.SamDAO.getRawlsIdentityEmail()" is null
at org.broadinstitute.dsde.rawls.billing.BillingProjectLifecycle.addMembersToBillingProfile(BillingProjectLifecycle.scala:67)
at org.broadinstitute.dsde.rawls.billing.BillingProjectLifecycle.addMembersToBillingProfile$(BillingProjectLifecycle.scala:62)
at org.broadinstitute.dsde.rawls.billing.GoogleBillingProjectLifecycle.addMembersToBillingProfile(GoogleBillingProjectLifecycle.scala:23)
at org.broadinstitute.dsde.rawls.billing.GoogleBillingProjectLifecycle.$anonfun$postCreationSteps$1(GoogleBillingProjectLifecycle.scala:63)
at scala.concurrent.impl.Promise$Transformation.run(Promise.scala:470)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:840)
github-actions / Test Report pull_request
WorkspaceCloningRunnerSpec.getStep should return Incomplete when the if the user context cannot be created
The future returned an exception of type: java.lang.IllegalArgumentException, with message: WorkspaceCloningRunner called with invalid job type: CloneWorkspaceContainerResult.
Raw output
org.scalatest.exceptions.TestFailedException: The future returned an exception of type: java.lang.IllegalArgumentException, with message: WorkspaceCloningRunner called with invalid job type: CloneWorkspaceContainerResult.
at org.scalatest.concurrent.ScalaFutures$$anon$1.futureValueImpl(ScalaFutures.scala:333)
at org.scalatest.concurrent.Futures$.whenReadyImpl(Futures.scala:620)
at org.scalatest.concurrent.Futures.whenReady(Futures.scala:609)
at org.scalatest.concurrent.Futures.whenReady$(Futures.scala:608)
at org.broadinstitute.dsde.rawls.monitor.workspace.runners.clone.WorkspaceCloningRunnerSpec.$anonfun$new$11(WorkspaceCloningRunnerSpec.scala:28)
at org.scalatest.OutcomeOf.outcomeOf(OutcomeOf.scala:85)
at org.scalatest.OutcomeOf.outcomeOf$(OutcomeOf.scala:83)
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.flatspec.AnyFlatSpecLike$$anon$5.apply(AnyFlatSpecLike.scala:1832)
at org.scalatest.TestSuite.withFixture(TestSuite.scala:196)
at org.scalatest.TestSuite.withFixture$(TestSuite.scala:195)
at org.broadinstitute.dsde.rawls.monitor.workspace.runners.clone.WorkspaceCloningRunnerSpec.withFixture(WorkspaceCloningRunnerSpec.scala:28)
at org.scalatest.flatspec.AnyFlatSpecLike.invokeWithFixture$1(AnyFlatSpecLike.scala:1830)
at org.scalatest.flatspec.AnyFlatSpecLike.$anonfun$runTest$1(AnyFlatSpecLike.scala:1842)
at org.scalatest.SuperEngine.runTestImpl(Engine.scala:306)
at org.scalatest.flatspec.AnyFlatSpecLike.runTest(AnyFlatSpecLike.scala:1842)
at org.scalatest.flatspec.AnyFlatSpecLike.runTest$(AnyFlatSpecLike.scala:1824)
at org.broadinstitute.dsde.rawls.monitor.workspace.runners.clone.WorkspaceCloningRunnerSpec.runTest(WorkspaceCloningRunnerSpec.scala:28)
at org.scalatest.flatspec.AnyFlatSpecLike.$anonfun$runTests$1(AnyFlatSpecLike.scala:1900)
at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:413)
at scala.collection.immutable.List.foreach(List.scala:334)
at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:390)
at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:427)
at scala.collection.immutable.List.foreach(List.scala:334)
at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:396)
at org.scalatest.SuperEngine.runTestsImpl(Engine.scala:475)
at org.scalatest.flatspec.AnyFlatSpecLike.runTests(AnyFlatSpecLike.scala:1900)
at org.scalatest.flatspec.AnyFlatSpecLike.runTests$(AnyFlatSpecLike.scala:1899)
at org.broadinstitute.dsde.rawls.monitor.workspace.runners.clone.WorkspaceCloningRunnerSpec.runTests(WorkspaceCloningRunnerSpec.scala:28)
at org.scalatest.Suite.run(Suite.scala:1114)
at org.scalatest.Suite.run$(Suite.scala:1096)
at org.broadinstitute.dsde.rawls.monitor.workspace.runners.clone.WorkspaceCloningRunnerSpec.org$scalatest$flatspec$AnyFlatSpecLike$$super$run(WorkspaceCloningRunnerSpec.scala:28)
at org.scalatest.flatspec.AnyFlatSpecLike.$anonfun$run$1(AnyFlatSpecLike.scala:1945)
at org.scalatest.SuperEngine.runImpl(Engine.scala:535)
at org.scalatest.flatspec.AnyFlatSpecLike.run(AnyFlatSpecLike.scala:1945)
at org.scalatest.flatspec.AnyFlatSpecLike.run$(AnyFlatSpecLike.scala:1943)
at org.broadinstitute.dsde.rawls.monitor.workspace.runners.clone.WorkspaceCloningRunnerSpec.run(WorkspaceCloningRunnerSpec.scala:28)
at org.scalatest.tools.Framework.org$scalatest$tools$Framework$$runSuite(Framework.scala:321)
at org.scalatest.tools.Framework$ScalaTestTask.execute(Framework.scala:517)
at sbt.TestRunner.runTest$1(TestFramework.scala:153)
at sbt.TestRunner.run(TestFramework.scala:168)
at sbt.TestFramework$$anon$3$$anonfun$$lessinit$greater$1.$anonfun$apply$1(TestFramework.scala:336)
at sbt.TestFramework$.sbt$TestFramework$$withContextLoader(TestFramework.scala:296)
at sbt.TestFramework$$anon$3$$anonfun$$lessinit$greater$1.apply(TestFramework.scala:336)
at sbt.TestFramework$$anon$3$$anonfun$$lessinit$greater$1.apply(TestFramework.scala:336)
at sbt.TestFunction.apply(TestFramework.scala:348)
at sbt.Tests$.processRunnable$1(Tests.scala:475)
at sbt.Tests$.$anonfun$makeSerial$1(Tests.scala:481)
at sbt.std.Transform$$anon$3.$anonfun$apply$2(Transform.scala:47)
at sbt.std.Transform$$anon$4.work(Transform.scala:69)
at sbt.Execute.$anonfun$submit$2(Execute.scala:283)
at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:24)
at sbt.Execute.work(Execute.scala:292)
at sbt.Execute.$anonfun$submit$1(Execute.scala:283)
at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:265)
at sbt.CompletionService$$anon$2.call(CompletionService.scala:65)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:840)
Caused by: java.lang.IllegalArgumentException: WorkspaceCloningRunner called with invalid job type: CloneWorkspaceContainerResult
at org.broadinstitute.dsde.rawls.monitor.workspace.runners.clone.WorkspaceCloningRunner.getStep(WorkspaceCloningRunner.scala:157)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.broadinstitute.dsde.rawls.monitor.workspace.runners.clone.WorkspaceCloningRunner.getStep(WorkspaceCloningRunner.scala:137)
... 1 more
github-actions / Test Report pull_request
BillingApiServiceV2Spec.POST /billing/v2 should return 204 when creating a project with accessible billing account
Expected 201 Created, but got 500 Internal Server Error {"causes":[],"exceptionClass":"org.mockito.exceptions.verification.SmartNullPointerException","message":"\nYou have a NullPointerException here:\n-> at scala.Option.map(Option.scala:242)\nbecause this method call was *not* stubbed correctly:\n-> at org.broadinstitute.dsde.rawls.dataaccess.SamDAO.getRawlsIdentityEmail(SamDAO.scala:158)\nsamDAO.getRawlsIdentityEmail();\n","source":"rawls","stackTrace":[{"className":"scala.Option","fileName":"Option.scala","lineNumber":242,"methodName":"map"},{"className":"org.broadinstitute.dsde.rawls.billing.BillingProjectOrchestrator","fileName":"BillingProjectOrchestrator.scala","lineNumber":120,"methodName":"createV2BillingProjectInternal"},{"className":"org.broadinstitute.dsde.rawls.billing.BillingProjectOrchestrator","fileName":"BillingProjectOrchestrator.scala","lineNumber":88,"methodName":"$anonfun$createBillingProjectV2$2"},{"className":"scala.concurrent.impl.Promise$Transformation","fileName":"Promise.scala","lineNumber":470,"methodName":"run"},{"className":"java.util.concurrent.ThreadPoolExecutor","fileName":"ThreadPoolExecutor.java","lineNumber":1136,"methodName":"runWorker"},{"className":"java.util.concurrent.ThreadPoolExecutor$Worker","fileName":"ThreadPoolExecutor.java","lineNumber":635,"methodName":"run"},{"className":"java.lang.Thread","fileName":"Thread.java","lineNumber":840,"methodName":"run"}]}
Raw output
org.scalatest.exceptions.TestFailedException: Expected 201 Created, but got 500 Internal Server Error {"causes":[],"exceptionClass":"org.mockito.exceptions.verification.SmartNullPointerException","message":"\nYou have a NullPointerException here:\n-> at scala.Option.map(Option.scala:242)\nbecause this method call was *not* stubbed correctly:\n-> at org.broadinstitute.dsde.rawls.dataaccess.SamDAO.getRawlsIdentityEmail(SamDAO.scala:158)\nsamDAO.getRawlsIdentityEmail();\n","source":"rawls","stackTrace":[{"className":"scala.Option","fileName":"Option.scala","lineNumber":242,"methodName":"map"},{"className":"org.broadinstitute.dsde.rawls.billing.BillingProjectOrchestrator","fileName":"BillingProjectOrchestrator.scala","lineNumber":120,"methodName":"createV2BillingProjectInternal"},{"className":"org.broadinstitute.dsde.rawls.billing.BillingProjectOrchestrator","fileName":"BillingProjectOrchestrator.scala","lineNumber":88,"methodName":"$anonfun$createBillingProjectV2$2"},{"className":"scala.concurrent.impl.Promise$Transformation","fileName":"Promise.scala","lineNumber":470,"methodName":"run"},{"className":"java.util.concurrent.ThreadPoolExecutor","fileName":"ThreadPoolExecutor.java","lineNumber":1136,"methodName":"runWorker"},{"className":"java.util.concurrent.ThreadPoolExecutor$Worker","fileName":"ThreadPoolExecutor.java","lineNumber":635,"methodName":"run"},{"className":"java.lang.Thread","fileName":"Thread.java","lineNumber":840,"methodName":"run"}]}
at org.scalatest.Assertions.newAssertionFailedException(Assertions.scala:472)
at org.scalatest.Assertions.newAssertionFailedException$(Assertions.scala:471)
at org.scalatest.flatspec.AnyFlatSpec.newAssertionFailedException(AnyFlatSpec.scala:1686)
at org.scalatest.Assertions.assertResult(Assertions.scala:847)
at org.scalatest.Assertions.assertResult$(Assertions.scala:842)
at org.scalatest.flatspec.AnyFlatSpec.assertResult(AnyFlatSpec.scala:1686)
at org.broadinstitute.dsde.rawls.webservice.BillingApiServiceV2Spec.$anonfun$new$29(BillingApiServiceV2Spec.scala:318)
at scala.util.DynamicVariable.withValue(DynamicVariable.scala:59)
at akka.http.scaladsl.testkit.RouteTest.$anonfun$check$1(RouteTest.scala:61)
at akka.http.scaladsl.testkit.RouteTestResultComponent$RouteTestResult.$tilde$greater(RouteTestResultComponent.scala:56)
at org.broadinstitute.dsde.rawls.webservice.BillingApiServiceV2Spec.$anonfun$new$28(BillingApiServiceV2Spec.scala:317)
at org.broadinstitute.dsde.rawls.webservice.BillingApiServiceV2Spec.withApiServices(BillingApiServiceV2Spec.scala:103)
at org.broadinstitute.dsde.rawls.webservice.BillingApiServiceV2Spec.$anonfun$withEmptyDatabaseAndApiServices$1(BillingApiServiceV2Spec.scala:124)
at org.broadinstitute.dsde.rawls.dataaccess.slick.TestDriverComponent.$anonfun$withEmptyTestDatabase$1(TestDriverComponent.scala:2538)
at org.broadinstitute.dsde.rawls.dataaccess.slick.TestDriverComponent.withCustomTestDatabaseInternal(TestDriverComponent.scala:2577)
at org.broadinstitute.dsde.rawls.dataaccess.slick.TestDriverComponent.withCustomTestDatabaseInternal$(TestDriverComponent.scala:2573)
at org.broadinstitute.dsde.rawls.webservice.BillingApiServiceV2Spec.withCustomTestDatabaseInternal(BillingApiServiceV2Spec.scala:32)
at org.broadinstitute.dsde.rawls.dataaccess.slick.TestDriverComponent.withCustomTestDatabaseInternal(TestDriverComponent.scala:2571)
at org.broadinstitute.dsde.rawls.dataaccess.slick.TestDriverComponent.withCustomTestDatabaseInternal$(TestDriverComponent.scala:2570)
at org.broadinstitute.dsde.rawls.webservice.BillingApiServiceV2Spec.withCustomTestDatabaseInternal(BillingApiServiceV2Spec.scala:32)
at org.broadinstitute.dsde.rawls.dataaccess.slick.TestDriverComponent.withEmptyTestDatabase(TestDriverComponent.scala:2538)
at org.broadinstitute.dsde.rawls.dataaccess.slick.TestDriverComponent.withEmptyTestDatabase$(TestDriverComponent.scala:2537)
at org.broadinstitute.dsde.rawls.webservice.BillingApiServiceV2Spec.withEmptyTestDatabase(BillingApiServiceV2Spec.scala:32)
at org.broadinstitute.dsde.rawls.webservice.BillingApiServiceV2Spec.withEmptyDatabaseAndApiServices(BillingApiServiceV2Spec.scala:123)
at org.broadinstitute.dsde.rawls.webservice.BillingApiServiceV2Spec.$anonfun$new$27(BillingApiServiceV2Spec.scala:302)
at org.scalatest.OutcomeOf.outcomeOf(OutcomeOf.scala:85)
at org.scalatest.OutcomeOf.outcomeOf$(OutcomeOf.scala:83)
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.flatspec.AnyFlatSpecLike$$anon$5.apply(AnyFlatSpecLike.scala:1832)
at org.scalatest.TestSuite.withFixture(TestSuite.scala:196)
at org.scalatest.TestSuite.withFixture$(TestSuite.scala:195)
at org.scalatest.flatspec.AnyFlatSpec.withFixture(AnyFlatSpec.scala:1686)
at org.scalatest.flatspec.AnyFlatSpecLike.invokeWithFixture$1(AnyFlatSpecLike.scala:1830)
at org.scalatest.flatspec.AnyFlatSpecLike.$anonfun$runTest$1(AnyFlatSpecLike.scala:1842)
at org.scalatest.SuperEngine.runTestImpl(Engine.scala:306)
at org.scalatest.flatspec.AnyFlatSpecLike.runTest(AnyFlatSpecLike.scala:1842)
at org.scalatest.flatspec.AnyFlatSpecLike.runTest$(AnyFlatSpecLike.scala:1824)
at org.scalatest.flatspec.AnyFlatSpec.runTest(AnyFlatSpec.scala:1686)
at org.scalatest.flatspec.AnyFlatSpecLike.$anonfun$runTests$1(AnyFlatSpecLike.scala:1900)
at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:413)
at scala.collection.immutable.List.foreach(List.scala:334)
at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:390)
at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:427)
at scala.collection.immutable.List.foreach(List.scala:334)
at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:396)
at org.scalatest.SuperEngine.runTestsImpl(Engine.scala:475)
at org.scalatest.flatspec.AnyFlatSpecLike.runTests(AnyFlatSpecLike.scala:1900)
at org.scalatest.flatspec.AnyFlatSpecLike.runTests$(AnyFlatSpecLike.scala:1899)
at org.scalatest.flatspec.AnyFlatSpec.runTests(AnyFlatSpec.scala:1686)
at org.scalatest.Suite.run(Suite.scala:1114)
at org.scalatest.Suite.run$(Suite.scala:1096)
at org.scalatest.flatspec.AnyFlatSpec.org$scalatest$flatspec$AnyFlatSpecLike$$super$run(AnyFlatSpec.scala:1686)
at org.scalatest.flatspec.AnyFlatSpecLike.$anonfun$run$1(AnyFlatSpecLike.scala:1945)
at org.scalatest.SuperEngine.runImpl(Engine.scala:535)
at org.scalatest.flatspec.AnyFlatSpecLike.run(AnyFlatSpecLike.scala:1945)
at org.scalatest.flatspec.AnyFlatSpecLike.run$(AnyFlatSpecLike.scala:1943)
at org.broadinstitute.dsde.rawls.webservice.BillingApiServiceV2Spec.org$scalatest$BeforeAndAfterAll$$super$run(BillingApiServiceV2Spec.scala:32)
at org.scalatest.BeforeAndAfterAll.liftedTree1$1(BeforeAndAfterAll.scala:213)
at org.scalatest.BeforeAndAfterAll.run(BeforeAndAfterAll.scala:210)
at org.scalatest.BeforeAndAfterAll.run$(BeforeAndAfterAll.scala:208)
at org.broadinstitute.dsde.rawls.webservice.BillingApiServiceV2Spec.run(BillingApiServiceV2Spec.scala:32)
at org.scalatest.tools.Framework.org$scalatest$tools$Framework$$runSuite(Framework.scala:321)
at org.scalatest.tools.Framework$ScalaTestTask.execute(Framework.scala:517)
at sbt.TestRunner.runTest$1(TestFramework.scala:153)
at sbt.TestRunner.run(TestFramework.scala:168)
at sbt.TestFramework$$anon$3$$anonfun$$lessinit$greater$1.$anonfun$apply$1(TestFramework.scala:336)
at sbt.TestFramework$.sbt$TestFramework$$withContextLoader(TestFramework.scala:296)
at sbt.TestFramework$$anon$3$$anonfun$$lessinit$greater$1.apply(TestFramework.scala:336)
at sbt.TestFramework$$anon$3$$anonfun$$lessinit$greater$1.apply(TestFramework.scala:336)
at sbt.TestFunction.apply(TestFramework.scala:348)
at sbt.Tests$.processRunnable$1(Tests.scala:475)
at sbt.Tests$.$anonfun$makeSerial$1(Tests.scala:481)
at sbt.std.Transform$$anon$3.$anonfun$apply$2(Transform.scala:47)
at sbt.std.Transform$$anon$4.work(Transform.scala:69)
at sbt.Execute.$anonfun$submit$2(Execute.scala:283)
at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:24)
at sbt.Execute.work(Execute.scala:292)
at sbt.Execute.$anonfun$submit$1(Execute.scala:283)
at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:265)
at sbt.CompletionService$$anon$2.call(CompletionService.scala:65)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:840)
github-actions / Test Report pull_request
BillingApiServiceV2Spec.POST /billing/v2 should return 409 if adding an unregistered member during creation if inviteUsersNotFound is not true
Expected 409 Conflict, but got 500 Internal Server Error {"causes":[],"exceptionClass":"org.mockito.exceptions.verification.SmartNullPointerException","message":"\nYou have a NullPointerException here:\n-> at scala.Option.map(Option.scala:242)\nbecause this method call was *not* stubbed correctly:\n-> at org.broadinstitute.dsde.rawls.dataaccess.SamDAO.getRawlsIdentityEmail(SamDAO.scala:158)\nsamDAO.getRawlsIdentityEmail();\n","source":"rawls","stackTrace":[{"className":"scala.Option","fileName":"Option.scala","lineNumber":242,"methodName":"map"},{"className":"org.broadinstitute.dsde.rawls.billing.BillingProjectOrchestrator","fileName":"BillingProjectOrchestrator.scala","lineNumber":120,"methodName":"createV2BillingProjectInternal"},{"className":"org.broadinstitute.dsde.rawls.billing.BillingProjectOrchestrator","fileName":"BillingProjectOrchestrator.scala","lineNumber":88,"methodName":"$anonfun$createBillingProjectV2$2"},{"className":"scala.concurrent.impl.Promise$Transformation","fileName":"Promise.scala","lineNumber":470,"methodName":"run"},{"className":"java.util.concurrent.ThreadPoolExecutor","fileName":"ThreadPoolExecutor.java","lineNumber":1136,"methodName":"runWorker"},{"className":"java.util.concurrent.ThreadPoolExecutor$Worker","fileName":"ThreadPoolExecutor.java","lineNumber":635,"methodName":"run"},{"className":"java.lang.Thread","fileName":"Thread.java","lineNumber":840,"methodName":"run"}]}
Raw output
org.scalatest.exceptions.TestFailedException: Expected 409 Conflict, but got 500 Internal Server Error {"causes":[],"exceptionClass":"org.mockito.exceptions.verification.SmartNullPointerException","message":"\nYou have a NullPointerException here:\n-> at scala.Option.map(Option.scala:242)\nbecause this method call was *not* stubbed correctly:\n-> at org.broadinstitute.dsde.rawls.dataaccess.SamDAO.getRawlsIdentityEmail(SamDAO.scala:158)\nsamDAO.getRawlsIdentityEmail();\n","source":"rawls","stackTrace":[{"className":"scala.Option","fileName":"Option.scala","lineNumber":242,"methodName":"map"},{"className":"org.broadinstitute.dsde.rawls.billing.BillingProjectOrchestrator","fileName":"BillingProjectOrchestrator.scala","lineNumber":120,"methodName":"createV2BillingProjectInternal"},{"className":"org.broadinstitute.dsde.rawls.billing.BillingProjectOrchestrator","fileName":"BillingProjectOrchestrator.scala","lineNumber":88,"methodName":"$anonfun$createBillingProjectV2$2"},{"className":"scala.concurrent.impl.Promise$Transformation","fileName":"Promise.scala","lineNumber":470,"methodName":"run"},{"className":"java.util.concurrent.ThreadPoolExecutor","fileName":"ThreadPoolExecutor.java","lineNumber":1136,"methodName":"runWorker"},{"className":"java.util.concurrent.ThreadPoolExecutor$Worker","fileName":"ThreadPoolExecutor.java","lineNumber":635,"methodName":"run"},{"className":"java.lang.Thread","fileName":"Thread.java","lineNumber":840,"methodName":"run"}]}
at org.scalatest.Assertions.newAssertionFailedException(Assertions.scala:472)
at org.scalatest.Assertions.newAssertionFailedException$(Assertions.scala:471)
at org.scalatest.flatspec.AnyFlatSpec.newAssertionFailedException(AnyFlatSpec.scala:1686)
at org.scalatest.Assertions.assertResult(Assertions.scala:847)
at org.scalatest.Assertions.assertResult$(Assertions.scala:842)
at org.scalatest.flatspec.AnyFlatSpec.assertResult(AnyFlatSpec.scala:1686)
at org.broadinstitute.dsde.rawls.webservice.BillingApiServiceV2Spec.$anonfun$new$33(BillingApiServiceV2Spec.scala:357)
at scala.util.DynamicVariable.withValue(DynamicVariable.scala:59)
at akka.http.scaladsl.testkit.RouteTest.$anonfun$check$1(RouteTest.scala:61)
at akka.http.scaladsl.testkit.RouteTestResultComponent$RouteTestResult.$tilde$greater(RouteTestResultComponent.scala:56)
at org.broadinstitute.dsde.rawls.webservice.BillingApiServiceV2Spec.$anonfun$new$32(BillingApiServiceV2Spec.scala:356)
at org.broadinstitute.dsde.rawls.webservice.BillingApiServiceV2Spec.withApiServices(BillingApiServiceV2Spec.scala:103)
at org.broadinstitute.dsde.rawls.webservice.BillingApiServiceV2Spec.$anonfun$withEmptyDatabaseAndApiServices$1(BillingApiServiceV2Spec.scala:124)
at org.broadinstitute.dsde.rawls.dataaccess.slick.TestDriverComponent.$anonfun$withEmptyTestDatabase$1(TestDriverComponent.scala:2538)
at org.broadinstitute.dsde.rawls.dataaccess.slick.TestDriverComponent.withCustomTestDatabaseInternal(TestDriverComponent.scala:2577)
at org.broadinstitute.dsde.rawls.dataaccess.slick.TestDriverComponent.withCustomTestDatabaseInternal$(TestDriverComponent.scala:2573)
at org.broadinstitute.dsde.rawls.webservice.BillingApiServiceV2Spec.withCustomTestDatabaseInternal(BillingApiServiceV2Spec.scala:32)
at org.broadinstitute.dsde.rawls.dataaccess.slick.TestDriverComponent.withCustomTestDatabaseInternal(TestDriverComponent.scala:2571)
at org.broadinstitute.dsde.rawls.dataaccess.slick.TestDriverComponent.withCustomTestDatabaseInternal$(TestDriverComponent.scala:2570)
at org.broadinstitute.dsde.rawls.webservice.BillingApiServiceV2Spec.withCustomTestDatabaseInternal(BillingApiServiceV2Spec.scala:32)
at org.broadinstitute.dsde.rawls.dataaccess.slick.TestDriverComponent.withEmptyTestDatabase(TestDriverComponent.scala:2538)
at org.broadinstitute.dsde.rawls.dataaccess.slick.TestDriverComponent.withEmptyTestDatabase$(TestDriverComponent.scala:2537)
at org.broadinstitute.dsde.rawls.webservice.BillingApiServiceV2Spec.withEmptyTestDatabase(BillingApiServiceV2Spec.scala:32)
at org.broadinstitute.dsde.rawls.webservice.BillingApiServiceV2Spec.withEmptyDatabaseAndApiServices(BillingApiServiceV2Spec.scala:123)
at org.broadinstitute.dsde.rawls.webservice.BillingApiServiceV2Spec.$anonfun$new$31(BillingApiServiceV2Spec.scala:335)
at org.scalatest.OutcomeOf.outcomeOf(OutcomeOf.scala:85)
at org.scalatest.OutcomeOf.outcomeOf$(OutcomeOf.scala:83)
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.flatspec.AnyFlatSpecLike$$anon$5.apply(AnyFlatSpecLike.scala:1832)
at org.scalatest.TestSuite.withFixture(TestSuite.scala:196)
at org.scalatest.TestSuite.withFixture$(TestSuite.scala:195)
at org.scalatest.flatspec.AnyFlatSpec.withFixture(AnyFlatSpec.scala:1686)
at org.scalatest.flatspec.AnyFlatSpecLike.invokeWithFixture$1(AnyFlatSpecLike.scala:1830)
at org.scalatest.flatspec.AnyFlatSpecLike.$anonfun$runTest$1(AnyFlatSpecLike.scala:1842)
at org.scalatest.SuperEngine.runTestImpl(Engine.scala:306)
at org.scalatest.flatspec.AnyFlatSpecLike.runTest(AnyFlatSpecLike.scala:1842)
at org.scalatest.flatspec.AnyFlatSpecLike.runTest$(AnyFlatSpecLike.scala:1824)
at org.scalatest.flatspec.AnyFlatSpec.runTest(AnyFlatSpec.scala:1686)
at org.scalatest.flatspec.AnyFlatSpecLike.$anonfun$runTests$1(AnyFlatSpecLike.scala:1900)
at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:413)
at scala.collection.immutable.List.foreach(List.scala:334)
at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:390)
at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:427)
at scala.collection.immutable.List.foreach(List.scala:334)
at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:396)
at org.scalatest.SuperEngine.runTestsImpl(Engine.scala:475)
at org.scalatest.flatspec.AnyFlatSpecLike.runTests(AnyFlatSpecLike.scala:1900)
at org.scalatest.flatspec.AnyFlatSpecLike.runTests$(AnyFlatSpecLike.scala:1899)
at org.scalatest.flatspec.AnyFlatSpec.runTests(AnyFlatSpec.scala:1686)
at org.scalatest.Suite.run(Suite.scala:1114)
at org.scalatest.Suite.run$(Suite.scala:1096)
at org.scalatest.flatspec.AnyFlatSpec.org$scalatest$flatspec$AnyFlatSpecLike$$super$run(AnyFlatSpec.scala:1686)
at org.scalatest.flatspec.AnyFlatSpecLike.$anonfun$run$1(AnyFlatSpecLike.scala:1945)
at org.scalatest.SuperEngine.runImpl(Engine.scala:535)
at org.scalatest.flatspec.AnyFlatSpecLike.run(AnyFlatSpecLike.scala:1945)
at org.scalatest.flatspec.AnyFlatSpecLike.run$(AnyFlatSpecLike.scala:1943)
at org.broadinstitute.dsde.rawls.webservice.BillingApiServiceV2Spec.org$scalatest$BeforeAndAfterAll$$super$run(BillingApiServiceV2Spec.scala:32)
at org.scalatest.BeforeAndAfterAll.liftedTree1$1(BeforeAndAfterAll.scala:213)
at org.scalatest.BeforeAndAfterAll.run(BeforeAndAfterAll.scala:210)
at org.scalatest.BeforeAndAfterAll.run$(BeforeAndAfterAll.scala:208)
at org.broadinstitute.dsde.rawls.webservice.BillingApiServiceV2Spec.run(BillingApiServiceV2Spec.scala:32)
at org.scalatest.tools.Framework.org$scalatest$tools$Framework$$runSuite(Framework.scala:321)
at org.scalatest.tools.Framework$ScalaTestTask.execute(Framework.scala:517)
at sbt.TestRunner.runTest$1(TestFramework.scala:153)
at sbt.TestRunner.run(TestFramework.scala:168)
at sbt.TestFramework$$anon$3$$anonfun$$lessinit$greater$1.$anonfun$apply$1(TestFramework.scala:336)
at sbt.TestFramework$.sbt$TestFramework$$withContextLoader(TestFramework.scala:296)
at sbt.TestFramework$$anon$3$$anonfun$$lessinit$greater$1.apply(TestFramework.scala:336)
at sbt.TestFramework$$anon$3$$anonfun$$lessinit$greater$1.apply(TestFramework.scala:336)
at sbt.TestFunction.apply(TestFramework.scala:348)
at sbt.Tests$.processRunnable$1(Tests.scala:475)
at sbt.Tests$.$anonfun$makeSerial$1(Tests.scala:481)
at sbt.std.Transform$$anon$3.$anonfun$apply$2(Transform.scala:47)
at sbt.std.Transform$$anon$4.work(Transform.scala:69)
at sbt.Execute.$anonfun$submit$2(Execute.scala:283)
at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:24)
at sbt.Execute.work(Execute.scala:292)
at sbt.Execute.$anonfun$submit$1(Execute.scala:283)
at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:265)
at sbt.CompletionService$$anon$2.call(CompletionService.scala:65)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:840)
github-actions / Test Report pull_request
BillingApiServiceV2Spec.POST /billing/v2 should return 204 when inviting an unregistered member during creation
Expected 201 Created, but got 500 Internal Server Error {"causes":[],"exceptionClass":"org.mockito.exceptions.verification.SmartNullPointerException","message":"\nYou have a NullPointerException here:\n-> at scala.Option.map(Option.scala:242)\nbecause this method call was *not* stubbed correctly:\n-> at org.broadinstitute.dsde.rawls.dataaccess.SamDAO.getRawlsIdentityEmail(SamDAO.scala:158)\nsamDAO.getRawlsIdentityEmail();\n","source":"rawls","stackTrace":[{"className":"scala.Option","fileName":"Option.scala","lineNumber":242,"methodName":"map"},{"className":"org.broadinstitute.dsde.rawls.billing.BillingProjectOrchestrator","fileName":"BillingProjectOrchestrator.scala","lineNumber":120,"methodName":"createV2BillingProjectInternal"},{"className":"org.broadinstitute.dsde.rawls.billing.BillingProjectOrchestrator","fileName":"BillingProjectOrchestrator.scala","lineNumber":88,"methodName":"$anonfun$createBillingProjectV2$2"},{"className":"scala.concurrent.impl.Promise$Transformation","fileName":"Promise.scala","lineNumber":470,"methodName":"run"},{"className":"java.util.concurrent.ThreadPoolExecutor","fileName":"ThreadPoolExecutor.java","lineNumber":1136,"methodName":"runWorker"},{"className":"java.util.concurrent.ThreadPoolExecutor$Worker","fileName":"ThreadPoolExecutor.java","lineNumber":635,"methodName":"run"},{"className":"java.lang.Thread","fileName":"Thread.java","lineNumber":840,"methodName":"run"}]}
Raw output
org.scalatest.exceptions.TestFailedException: Expected 201 Created, but got 500 Internal Server Error {"causes":[],"exceptionClass":"org.mockito.exceptions.verification.SmartNullPointerException","message":"\nYou have a NullPointerException here:\n-> at scala.Option.map(Option.scala:242)\nbecause this method call was *not* stubbed correctly:\n-> at org.broadinstitute.dsde.rawls.dataaccess.SamDAO.getRawlsIdentityEmail(SamDAO.scala:158)\nsamDAO.getRawlsIdentityEmail();\n","source":"rawls","stackTrace":[{"className":"scala.Option","fileName":"Option.scala","lineNumber":242,"methodName":"map"},{"className":"org.broadinstitute.dsde.rawls.billing.BillingProjectOrchestrator","fileName":"BillingProjectOrchestrator.scala","lineNumber":120,"methodName":"createV2BillingProjectInternal"},{"className":"org.broadinstitute.dsde.rawls.billing.BillingProjectOrchestrator","fileName":"BillingProjectOrchestrator.scala","lineNumber":88,"methodName":"$anonfun$createBillingProjectV2$2"},{"className":"scala.concurrent.impl.Promise$Transformation","fileName":"Promise.scala","lineNumber":470,"methodName":"run"},{"className":"java.util.concurrent.ThreadPoolExecutor","fileName":"ThreadPoolExecutor.java","lineNumber":1136,"methodName":"runWorker"},{"className":"java.util.concurrent.ThreadPoolExecutor$Worker","fileName":"ThreadPoolExecutor.java","lineNumber":635,"methodName":"run"},{"className":"java.lang.Thread","fileName":"Thread.java","lineNumber":840,"methodName":"run"}]}
at org.scalatest.Assertions.newAssertionFailedException(Assertions.scala:472)
at org.scalatest.Assertions.newAssertionFailedException$(Assertions.scala:471)
at org.scalatest.flatspec.AnyFlatSpec.newAssertionFailedException(AnyFlatSpec.scala:1686)
at org.scalatest.Assertions.assertResult(Assertions.scala:847)
at org.scalatest.Assertions.assertResult$(Assertions.scala:842)
at org.scalatest.flatspec.AnyFlatSpec.assertResult(AnyFlatSpec.scala:1686)
at org.broadinstitute.dsde.rawls.webservice.BillingApiServiceV2Spec.$anonfun$new$36(BillingApiServiceV2Spec.scala:387)
at scala.util.DynamicVariable.withValue(DynamicVariable.scala:59)
at akka.http.scaladsl.testkit.RouteTest.$anonfun$check$1(RouteTest.scala:61)
at akka.http.scaladsl.testkit.RouteTestResultComponent$RouteTestResult.$tilde$greater(RouteTestResultComponent.scala:56)
at org.broadinstitute.dsde.rawls.webservice.BillingApiServiceV2Spec.$anonfun$new$35(BillingApiServiceV2Spec.scala:387)
at org.broadinstitute.dsde.rawls.webservice.BillingApiServiceV2Spec.withApiServices(BillingApiServiceV2Spec.scala:103)
at org.broadinstitute.dsde.rawls.webservice.BillingApiServiceV2Spec.$anonfun$withEmptyDatabaseAndApiServices$1(BillingApiServiceV2Spec.scala:124)
at org.broadinstitute.dsde.rawls.dataaccess.slick.TestDriverComponent.$anonfun$withEmptyTestDatabase$1(TestDriverComponent.scala:2538)
at org.broadinstitute.dsde.rawls.dataaccess.slick.TestDriverComponent.withCustomTestDatabaseInternal(TestDriverComponent.scala:2577)
at org.broadinstitute.dsde.rawls.dataaccess.slick.TestDriverComponent.withCustomTestDatabaseInternal$(TestDriverComponent.scala:2573)
at org.broadinstitute.dsde.rawls.webservice.BillingApiServiceV2Spec.withCustomTestDatabaseInternal(BillingApiServiceV2Spec.scala:32)
at org.broadinstitute.dsde.rawls.dataaccess.slick.TestDriverComponent.withCustomTestDatabaseInternal(TestDriverComponent.scala:2571)
at org.broadinstitute.dsde.rawls.dataaccess.slick.TestDriverComponent.withCustomTestDatabaseInternal$(TestDriverComponent.scala:2570)
at org.broadinstitute.dsde.rawls.webservice.BillingApiServiceV2Spec.withCustomTestDatabaseInternal(BillingApiServiceV2Spec.scala:32)
at org.broadinstitute.dsde.rawls.dataaccess.slick.TestDriverComponent.withEmptyTestDatabase(TestDriverComponent.scala:2538)
at org.broadinstitute.dsde.rawls.dataaccess.slick.TestDriverComponent.withEmptyTestDatabase$(TestDriverComponent.scala:2537)
at org.broadinstitute.dsde.rawls.webservice.BillingApiServiceV2Spec.withEmptyTestDatabase(BillingApiServiceV2Spec.scala:32)
at org.broadinstitute.dsde.rawls.webservice.BillingApiServiceV2Spec.withEmptyDatabaseAndApiServices(BillingApiServiceV2Spec.scala:123)
at org.broadinstitute.dsde.rawls.webservice.BillingApiServiceV2Spec.$anonfun$new$34(BillingApiServiceV2Spec.scala:365)
at org.scalatest.OutcomeOf.outcomeOf(OutcomeOf.scala:85)
at org.scalatest.OutcomeOf.outcomeOf$(OutcomeOf.scala:83)
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.flatspec.AnyFlatSpecLike$$anon$5.apply(AnyFlatSpecLike.scala:1832)
at org.scalatest.TestSuite.withFixture(TestSuite.scala:196)
at org.scalatest.TestSuite.withFixture$(TestSuite.scala:195)
at org.scalatest.flatspec.AnyFlatSpec.withFixture(AnyFlatSpec.scala:1686)
at org.scalatest.flatspec.AnyFlatSpecLike.invokeWithFixture$1(AnyFlatSpecLike.scala:1830)
at org.scalatest.flatspec.AnyFlatSpecLike.$anonfun$runTest$1(AnyFlatSpecLike.scala:1842)
at org.scalatest.SuperEngine.runTestImpl(Engine.scala:306)
at org.scalatest.flatspec.AnyFlatSpecLike.runTest(AnyFlatSpecLike.scala:1842)
at org.scalatest.flatspec.AnyFlatSpecLike.runTest$(AnyFlatSpecLike.scala:1824)
at org.scalatest.flatspec.AnyFlatSpec.runTest(AnyFlatSpec.scala:1686)
at org.scalatest.flatspec.AnyFlatSpecLike.$anonfun$runTests$1(AnyFlatSpecLike.scala:1900)
at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:413)
at scala.collection.immutable.List.foreach(List.scala:334)
at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:390)
at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:427)
at scala.collection.immutable.List.foreach(List.scala:334)
at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:396)
at org.scalatest.SuperEngine.runTestsImpl(Engine.scala:475)
at org.scalatest.flatspec.AnyFlatSpecLike.runTests(AnyFlatSpecLike.scala:1900)
at org.scalatest.flatspec.AnyFlatSpecLike.runTests$(AnyFlatSpecLike.scala:1899)
at org.scalatest.flatspec.AnyFlatSpec.runTests(AnyFlatSpec.scala:1686)
at org.scalatest.Suite.run(Suite.scala:1114)
at org.scalatest.Suite.run$(Suite.scala:1096)
at org.scalatest.flatspec.AnyFlatSpec.org$scalatest$flatspec$AnyFlatSpecLike$$super$run(AnyFlatSpec.scala:1686)
at org.scalatest.flatspec.AnyFlatSpecLike.$anonfun$run$1(AnyFlatSpecLike.scala:1945)
at org.scalatest.SuperEngine.runImpl(Engine.scala:535)
at org.scalatest.flatspec.AnyFlatSpecLike.run(AnyFlatSpecLike.scala:1945)
at org.scalatest.flatspec.AnyFlatSpecLike.run$(AnyFlatSpecLike.scala:1943)
at org.broadinstitute.dsde.rawls.webservice.BillingApiServiceV2Spec.org$scalatest$BeforeAndAfterAll$$super$run(BillingApiServiceV2Spec.scala:32)
at org.scalatest.BeforeAndAfterAll.liftedTree1$1(BeforeAndAfterAll.scala:213)
at org.scalatest.BeforeAndAfterAll.run(BeforeAndAfterAll.scala:210)
at org.scalatest.BeforeAndAfterAll.run$(BeforeAndAfterAll.scala:208)
at org.broadinstitute.dsde.rawls.webservice.BillingApiServiceV2Spec.run(BillingApiServiceV2Spec.scala:32)
at org.scalatest.tools.Framework.org$scalatest$tools$Framework$$runSuite(Framework.scala:321)
at org.scalatest.tools.Framework$ScalaTestTask.execute(Framework.scala:517)
at sbt.TestRunner.runTest$1(TestFramework.scala:153)
at sbt.TestRunner.run(TestFramework.scala:168)
at sbt.TestFramework$$anon$3$$anonfun$$lessinit$greater$1.$anonfun$apply$1(TestFramework.scala:336)
at sbt.TestFramework$.sbt$TestFramework$$withContextLoader(TestFramework.scala:296)
at sbt.TestFramework$$anon$3$$anonfun$$lessinit$greater$1.apply(TestFramework.scala:336)
at sbt.TestFramework$$anon$3$$anonfun$$lessinit$greater$1.apply(TestFramework.scala:336)
at sbt.TestFunction.apply(TestFramework.scala:348)
at sbt.Tests$.processRunnable$1(Tests.scala:475)
at sbt.Tests$.$anonfun$makeSerial$1(Tests.scala:481)
at sbt.std.Transform$$anon$3.$anonfun$apply$2(Transform.scala:47)
at sbt.std.Transform$$anon$4.work(Transform.scala:69)
at sbt.Execute.$anonfun$submit$2(Execute.scala:283)
at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:24)
at sbt.Execute.work(Execute.scala:292)
at sbt.Execute.$anonfun$submit$1(Execute.scala:283)
at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:265)
at sbt.CompletionService$$anon$2.call(CompletionService.scala:65)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:840)