You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Several of the last master Travis builds have failed due to CosmosDBArtifactStoreTests tests. Below is the output of the failing tests.
org.apache.openwhisk.core.database.cosmosdb.CosmosDBArtifactStoreTests > CosmosDBArtifactStore attachments should fail on reading with old non inlined attachment STANDARD_OUT
[2019-02-13T14:57:38.632Z] [ERROR] unexpected failure invalid resource type
java.lang.IllegalStateException: invalid resource type
at com.microsoft.azure.cosmosdb.internal.PathsHelper.generatePath(PathsHelper.java:315)
at com.microsoft.azure.cosmosdb.internal.PathsHelper.generatePath(PathsHelper.java:62)
at com.microsoft.azure.cosmosdb.rx.internal.RxGatewayStoreModel.getUri(RxGatewayStoreModel.java:240)
at com.microsoft.azure.cosmosdb.rx.internal.RxGatewayStoreModel.performRequest(RxGatewayStoreModel.java:178)
at com.microsoft.azure.cosmosdb.rx.internal.RxGatewayStoreModel.read(RxGatewayStoreModel.java:131)
at com.microsoft.azure.cosmosdb.rx.internal.RxGatewayStoreModel.invokeAsyncInternal(RxGatewayStoreModel.java:446)
at com.microsoft.azure.cosmosdb.rx.internal.RxGatewayStoreModel.lambda$invokeAsync$11(RxGatewayStoreModel.java:460)
at com.microsoft.azure.cosmosdb.rx.internal.BackoffRetryUtility.lambda$executeRetry$2(BackoffRetryUtility.java:102)
at rx.Single$18.call(Single.java:2511)
at rx.Single$18.call(Single.java:2505)
at rx.internal.operators.SingleToObservable.call(SingleToObservable.java:39)
at rx.internal.operators.SingleToObservable.call(SingleToObservable.java:27)
at rx.Observable.unsafeSubscribe(Observable.java:10327)
at rx.internal.operators.OnSubscribeRedo$2.call(OnSubscribeRedo.java:273)
at rx.internal.schedulers.TrampolineScheduler$InnerCurrentThreadScheduler.enqueue(TrampolineScheduler.java:73)
at rx.internal.schedulers.TrampolineScheduler$InnerCurrentThreadScheduler.schedule(TrampolineScheduler.java:52)
at rx.internal.operators.OnSubscribeRedo$5.request(OnSubscribeRedo.java:361)
at rx.Subscriber.setProducer(Subscriber.java:211)
at rx.internal.operators.OnSubscribeRedo.call(OnSubscribeRedo.java:353)
at rx.internal.operators.OnSubscribeRedo.call(OnSubscribeRedo.java:47)
at rx.Observable.unsafeSubscribe(Observable.java:10327)
at rx.internal.operators.OnSubscribeSingle.call(OnSubscribeSingle.java:81)
at rx.internal.operators.OnSubscribeSingle.call(OnSubscribeSingle.java:27)
at rx.internal.operators.SingleToObservable.call(SingleToObservable.java:39)
at rx.internal.operators.SingleToObservable.call(SingleToObservable.java:27)
at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:48)
at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
at rx.Observable.unsafeSubscribe(Observable.java:10327)
at rx.internal.operators.OnSubscribeMap.call(OnSubscribeMap.java:48)
at rx.internal.operators.OnSubscribeMap.call(OnSubscribeMap.java:33)
at rx.Observable.unsafeSubscribe(Observable.java:10327)
at rx.internal.operators.OnSubscribeMap.call(OnSubscribeMap.java:48)
at rx.internal.operators.OnSubscribeMap.call(OnSubscribeMap.java:33)
at rx.Observable.unsafeSubscribe(Observable.java:10327)
at rx.internal.operators.OnSubscribeSingle.call(OnSubscribeSingle.java:81)
at rx.internal.operators.OnSubscribeSingle.call(OnSubscribeSingle.java:27)
at rx.Single.subscribe(Single.java:1979)
at rx.Single$18.call(Single.java:2518)
at rx.Single$18.call(Single.java:2505)
at rx.internal.operators.SingleToObservable.call(SingleToObservable.java:39)
at rx.internal.operators.SingleToObservable.call(SingleToObservable.java:27)
at rx.Observable.unsafeSubscribe(Observable.java:10327)
at rx.internal.operators.OnSubscribeRedo$2.call(OnSubscribeRedo.java:273)
at rx.internal.schedulers.TrampolineScheduler$InnerCurrentThreadScheduler.enqueue(TrampolineScheduler.java:73)
at rx.internal.schedulers.TrampolineScheduler$InnerCurrentThreadScheduler.schedule(TrampolineScheduler.java:52)
at rx.internal.operators.OnSubscribeRedo$5.request(OnSubscribeRedo.java:361)
at rx.Subscriber.setProducer(Subscriber.java:211)
at rx.internal.operators.OnSubscribeRedo.call(OnSubscribeRedo.java:353)
at rx.internal.operators.OnSubscribeRedo.call(OnSubscribeRedo.java:47)
at rx.Observable.unsafeSubscribe(Observable.java:10327)
at rx.internal.operators.OnSubscribeSingle.call(OnSubscribeSingle.java:81)
at rx.internal.operators.OnSubscribeSingle.call(OnSubscribeSingle.java:27)
at rx.internal.operators.SingleToObservable.call(SingleToObservable.java:39)
at rx.internal.operators.SingleToObservable.call(SingleToObservable.java:27)
at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:48)
at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
at rx.Observable.subscribe(Observable.java:10423)
at rx.Observable.subscribe(Observable.java:10390)
at rx.Observable.subscribe(Observable.java:10230)
at rx.lang.scala.Observable.subscribe(Observable.scala:242)
at rx.lang.scala.Observable.subscribe$(Observable.scala:239)
at rx.lang.scala.JavaConversions$$anon$2.subscribe(JavaConversions.scala:53)
at org.apache.openwhisk.core.database.cosmosdb.RxObservableImplicits$RxScalaObservable.head(RxObservableImplicits.scala:38)
at org.apache.openwhisk.core.database.cosmosdb.CosmosDBArtifactStore.$anonfun$readAttachmentFromCosmos$2(CosmosDBArtifactStore.scala:400)
at scala.concurrent.Future.$anonfun$flatMap$1(Future.scala:303)
at scala.concurrent.impl.Promise.$anonfun$transformWith$1(Promise.scala:37)
at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:60)
at akka.dispatch.BatchingExecutor$AbstractBatch.processBatch(BatchingExecutor.scala:55)
at akka.dispatch.BatchingExecutor$BlockableBatch.$anonfun$run$1(BatchingExecutor.scala:91)
at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:12)
at scala.concurrent.BlockContext$.withBlockContext(BlockContext.scala:81)
at akka.dispatch.BatchingExecutor$BlockableBatch.run(BatchingExecutor.scala:91)
at akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:40)
at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(ForkJoinExecutorConfigurator.scala:44)
at akka.dispatch.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
at akka.dispatch.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
at akka.dispatch.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
at akka.dispatch.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
[2019-02-13T14:57:37.924Z] [INFO] [#tid_37] [WhiskAction] write initiated on new cache entry
[2019-02-13T14:57:37.937Z] [INFO] [#tid_37] [CosmosDBArtifactStore] [PUT] 'whisks' saving document: 'id: artifactTCK_3lB7_ns_KzfLm|attachment_update_2, rev: null' [marker:database_saveDocument_start:15]
[2019-02-13T14:57:37.973Z] [INFO] [#tid_37] [CosmosDBArtifactStore] [marker:database_saveDocument_finish:52:36]
[2019-02-13T14:57:37.974Z] [INFO] [#tid_37] [CosmosDBArtifactStore] [ATT_PUT] 'whisks' uploading attachment 'e0750b78-ad72-4921-b50b-78ad72b921d3' of document 'id: artifactTCK_3lB7_ns_KzfLm/attachment_update_2, rev: "08007812-0000-0000-0000-5c6430620000"' [marker:database_saveDocumentAttachment_start:52]
[2019-02-13T14:57:38.116Z] [INFO] [#tid_37] [CosmosDBArtifactStore] [marker:database_saveDocumentAttachment_finish:194:142]
[2019-02-13T14:57:38.116Z] [DEBUG] [#tid_37] [WhiskAction] write backend part done, now marking cache entry as done
[2019-02-13T14:57:38.116Z] [DEBUG] [#tid_37] [Entry] write finished
[2019-02-13T14:57:38.116Z] [INFO] [#tid_37] [WhiskAction] write all done, caching CacheKey(artifactTCK_3lB7_ns_KzfLm/attachment_update_2) Cached
[2019-02-13T14:57:38.121Z] [INFO] [#tid_37] [CosmosDBArtifactStore] [GET] 'whisks' finding document: 'id: artifactTCK_3lB7_ns_KzfLm/attachment_update_2, rev: "08007812-0000-0000-0000-5c6430620000"' [marker:database_getDocument_start:199]
[2019-02-13T14:57:38.166Z] [INFO] [#tid_37] [CosmosDBArtifactStore] [marker:database_getDocument_finish:244:45]
[2019-02-13T14:57:38.169Z] [INFO] [#tid_37] [WhiskAction] write initiated on existing cache entry, invalidating CacheKey(artifactTCK_3lB7_ns_KzfLm/attachment_update_2), tid 37, state WriteInProgress
[2019-02-13T14:57:38.173Z] [INFO] [#tid_37] [CosmosDBArtifactStore] [PUT] 'whisks' saving document: 'id: artifactTCK_3lB7_ns_KzfLm|attachment_update_2, rev: "08007812-0000-0000-0000-5c6430620000"' [marker:database_saveDocument_start:251]
[2019-02-13T14:57:38.211Z] [INFO] [#tid_37] [CosmosDBArtifactStore] [marker:database_saveDocument_finish:289:38]
[2019-02-13T14:57:38.212Z] [INFO] [#tid_37] [CosmosDBArtifactStore] [ATT_PUT] 'whisks' uploading attachment '26fc830a-2935-42dd-bc83-0a2935d2ddc4' of document 'id: artifactTCK_3lB7_ns_KzfLm/attachment_update_2, rev: "08008312-0000-0000-0000-5c6430620000"' [marker:database_saveDocumentAttachment_start:290]
[2019-02-13T14:57:38.504Z] [INFO] [#tid_37] [CosmosDBArtifactStore] [marker:database_saveDocumentAttachment_finish:582:292]
[2019-02-13T14:57:38.547Z] [DEBUG] [#tid_37] [WhiskAction] write backend part done, now marking cache entry as done
[2019-02-13T14:57:38.547Z] [DEBUG] [#tid_37] [Entry] write finished
[2019-02-13T14:57:38.547Z] [INFO] [#tid_37] [WhiskAction] write all done, caching CacheKey(artifactTCK_3lB7_ns_KzfLm/attachment_update_2) Cached
[2019-02-13T14:57:38.548Z] [INFO] [#tid_37] [CosmosDBArtifactStore] [GET] 'whisks' finding document: 'id: artifactTCK_3lB7_ns_KzfLm/attachment_update_2, rev: "08008312-0000-0000-0000-5c6430620000"' [marker:database_getDocument_start:626]
[2019-02-13T14:57:38.583Z] [INFO] [#tid_37] [CosmosDBArtifactStore] [marker:database_getDocument_finish:661:35]
[2019-02-13T14:57:38.594Z] [INFO] [#tid_38] [CosmosDBArtifactStore] [ATT_GET] 'whisks' finding attachment '26fc830a-2935-42dd-bc83-0a2935d2ddc4' of document 'id: artifactTCK_3lB7_ns_KzfLm/attachment_update_2, rev: "08008312-0000-0000-0000-5c6430620000"' [marker:database_getDocumentAttachment_start:0]
[2019-02-13T14:57:38.635Z] [ERROR] [#tid_38] [StoreUtils] [ATT_GET] 'whisks' internal error, name: '26fc830a-2935-42dd-bc83-0a2935d2ddc4', doc: 'id: artifactTCK_3lB7_ns_KzfLm/attachment_update_2, rev: "08008312-0000-0000-0000-5c6430620000"', failure: 'invalid resource type' [IllegalStateException] [marker:database_getDocumentAttachment_error:41:41]
org.apache.openwhisk.core.database.cosmosdb.CosmosDBArtifactStoreTests > CosmosDBArtifactStore attachments should fail on reading with old non inlined attachment FAILED
org.scalatest.exceptions.TestFailedException: The future returned an exception of type: java.lang.IllegalStateException, with message: invalid resource type.
at org.scalatest.concurrent.Futures$FutureConcept.tryTryAgain$1(Futures.scala:531)
at org.scalatest.concurrent.Futures$FutureConcept.futureValueImpl(Futures.scala:550)
at org.scalatest.concurrent.Futures$FutureConcept.futureValueImpl$(Futures.scala:479)
at org.scalatest.concurrent.ScalaFutures$$anon$1.futureValueImpl(ScalaFutures.scala:275)
at org.scalatest.concurrent.Futures$FutureConcept.futureValue(Futures.scala:476)
at org.scalatest.concurrent.Futures$FutureConcept.futureValue$(Futures.scala:475)
at org.scalatest.concurrent.ScalaFutures$$anon$1.futureValue(ScalaFutures.scala:275)
at org.apache.openwhisk.core.database.test.behavior.ArtifactStoreAttachmentBehaviors.$anonfun$$init$$2(ArtifactStoreAttachmentBehaviors.scala:86)
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.FlatSpecLike$$anon$1.apply(FlatSpecLike.scala:1682)
at org.scalatest.TestSuite.withFixture(TestSuite.scala:196)
at org.scalatest.TestSuite.withFixture$(TestSuite.scala:195)
at org.apache.openwhisk.core.database.cosmosdb.CosmosDBArtifactStoreTests.org$apache$openwhisk$core$database$test$behavior$ArtifactStoreBehaviorBase$$super$withFixture(CosmosDBArtifactStoreTests.scala:29)
at org.apache.openwhisk.core.database.test.behavior.ArtifactStoreBehaviorBase.withFixture(ArtifactStoreBehaviorBase.scala:79)
at org.apache.openwhisk.core.database.test.behavior.ArtifactStoreBehaviorBase.withFixture$(ArtifactStoreBehaviorBase.scala:77)
at org.apache.openwhisk.core.database.cosmosdb.CosmosDBArtifactStoreTests.org$apache$openwhisk$core$database$cosmosdb$CosmosDBTestSupport$$super$withFixture(CosmosDBArtifactStoreTests.scala:29)
at org.apache.openwhisk.core.database.cosmosdb.CosmosDBTestSupport.withFixture(CosmosDBTestSupport.scala:40)
at org.apache.openwhisk.core.database.cosmosdb.CosmosDBTestSupport.withFixture$(CosmosDBTestSupport.scala:38)
at org.apache.openwhisk.core.database.cosmosdb.CosmosDBArtifactStoreTests.withFixture(CosmosDBArtifactStoreTests.scala:29)
at org.scalatest.FlatSpecLike.invokeWithFixture$1(FlatSpecLike.scala:1680)
at org.scalatest.FlatSpecLike.$anonfun$runTest$1(FlatSpecLike.scala:1692)
at org.scalatest.SuperEngine.runTestImpl(Engine.scala:289)
at org.scalatest.FlatSpecLike.runTest(FlatSpecLike.scala:1692)
at org.scalatest.FlatSpecLike.runTest$(FlatSpecLike.scala:1674)
at org.apache.openwhisk.core.database.cosmosdb.CosmosDBArtifactStoreTests.org$scalatest$BeforeAndAfterEach$$super$runTest(CosmosDBArtifactStoreTests.scala:29)
at org.scalatest.BeforeAndAfterEach.runTest(BeforeAndAfterEach.scala:221)
at org.scalatest.BeforeAndAfterEach.runTest$(BeforeAndAfterEach.scala:214)
at org.apache.openwhisk.core.database.cosmosdb.CosmosDBArtifactStoreTests.runTest(CosmosDBArtifactStoreTests.scala:29)
at org.scalatest.FlatSpecLike.$anonfun$runTests$1(FlatSpecLike.scala:1750)
at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:396)
at scala.collection.immutable.List.foreach(List.scala:388)
at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:384)
at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:373)
at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:410)
at scala.collection.immutable.List.foreach(List.scala:388)
at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:384)
at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:379)
at org.scalatest.SuperEngine.runTestsImpl(Engine.scala:461)
at org.scalatest.FlatSpecLike.runTests(FlatSpecLike.scala:1750)
at org.scalatest.FlatSpecLike.runTests$(FlatSpecLike.scala:1749)
at org.scalatest.FlatSpec.runTests(FlatSpec.scala:1685)
at org.scalatest.Suite.run(Suite.scala:1147)
at org.scalatest.Suite.run$(Suite.scala:1129)
at org.scalatest.FlatSpec.org$scalatest$FlatSpecLike$$super$run(FlatSpec.scala:1685)
at org.scalatest.FlatSpecLike.$anonfun$run$1(FlatSpecLike.scala:1795)
at org.scalatest.SuperEngine.runImpl(Engine.scala:521)
at org.scalatest.FlatSpecLike.run(FlatSpecLike.scala:1795)
at org.scalatest.FlatSpecLike.run$(FlatSpecLike.scala:1793)
at org.apache.openwhisk.core.database.cosmosdb.CosmosDBArtifactStoreTests.org$scalatest$BeforeAndAfterAll$$super$run(CosmosDBArtifactStoreTests.scala:29)
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.apache.openwhisk.core.database.cosmosdb.CosmosDBArtifactStoreTests.run(CosmosDBArtifactStoreTests.scala:29)
Caused by:
java.lang.IllegalStateException: invalid resource type
org.apache.openwhisk.core.database.cosmosdb.CosmosDBArtifactStoreTests > CosmosDBArtifactStore attachments should work on reading with old inlined attachment STANDARD_OUT
[2019-02-13T14:57:39.138Z] [ERROR] unexpected failure invalid resource type
java.lang.IllegalStateException: invalid resource type
at com.microsoft.azure.cosmosdb.internal.PathsHelper.generatePath(PathsHelper.java:315)
at com.microsoft.azure.cosmosdb.internal.PathsHelper.generatePath(PathsHelper.java:62)
at com.microsoft.azure.cosmosdb.rx.internal.RxGatewayStoreModel.getUri(RxGatewayStoreModel.java:240)
at com.microsoft.azure.cosmosdb.rx.internal.RxGatewayStoreModel.performRequest(RxGatewayStoreModel.java:178)
at com.microsoft.azure.cosmosdb.rx.internal.RxGatewayStoreModel.read(RxGatewayStoreModel.java:131)
at com.microsoft.azure.cosmosdb.rx.internal.RxGatewayStoreModel.invokeAsyncInternal(RxGatewayStoreModel.java:446)
at com.microsoft.azure.cosmosdb.rx.internal.RxGatewayStoreModel.lambda$invokeAsync$11(RxGatewayStoreModel.java:460)
at com.microsoft.azure.cosmosdb.rx.internal.BackoffRetryUtility.lambda$executeRetry$2(BackoffRetryUtility.java:102)
at rx.Single$18.call(Single.java:2511)
at rx.Single$18.call(Single.java:2505)
at rx.internal.operators.SingleToObservable.call(SingleToObservable.java:39)
at rx.internal.operators.SingleToObservable.call(SingleToObservable.java:27)
at rx.Observable.unsafeSubscribe(Observable.java:10327)
at rx.internal.operators.OnSubscribeRedo$2.call(OnSubscribeRedo.java:273)
at rx.internal.schedulers.TrampolineScheduler$InnerCurrentThreadScheduler.enqueue(TrampolineScheduler.java:73)
at rx.internal.schedulers.TrampolineScheduler$InnerCurrentThreadScheduler.schedule(TrampolineScheduler.java:52)
at rx.internal.operators.OnSubscribeRedo$5.request(OnSubscribeRedo.java:361)
at rx.Subscriber.setProducer(Subscriber.java:211)
at rx.internal.operators.OnSubscribeRedo.call(OnSubscribeRedo.java:353)
at rx.internal.operators.OnSubscribeRedo.call(OnSubscribeRedo.java:47)
at rx.Observable.unsafeSubscribe(Observable.java:10327)
at rx.internal.operators.OnSubscribeSingle.call(OnSubscribeSingle.java:81)
at rx.internal.operators.OnSubscribeSingle.call(OnSubscribeSingle.java:27)
at rx.internal.operators.SingleToObservable.call(SingleToObservable.java:39)
at rx.internal.operators.SingleToObservable.call(SingleToObservable.java:27)
at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:48)
at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
at rx.Observable.unsafeSubscribe(Observable.java:10327)
at rx.internal.operators.OnSubscribeMap.call(OnSubscribeMap.java:48)
at rx.internal.operators.OnSubscribeMap.call(OnSubscribeMap.java:33)
at rx.Observable.unsafeSubscribe(Observable.java:10327)
at rx.internal.operators.OnSubscribeMap.call(OnSubscribeMap.java:48)
at rx.internal.operators.OnSubscribeMap.call(OnSubscribeMap.java:33)
at rx.Observable.unsafeSubscribe(Observable.java:10327)
at rx.internal.operators.OnSubscribeSingle.call(OnSubscribeSingle.java:81)
at rx.internal.operators.OnSubscribeSingle.call(OnSubscribeSingle.java:27)
at rx.Single.subscribe(Single.java:1979)
at rx.Single$18.call(Single.java:2518)
at rx.Single$18.call(Single.java:2505)
at rx.internal.operators.SingleToObservable.call(SingleToObservable.java:39)
at rx.internal.operators.SingleToObservable.call(SingleToObservable.java:27)
at rx.Observable.unsafeSubscribe(Observable.java:10327)
at rx.internal.operators.OnSubscribeRedo$2.call(OnSubscribeRedo.java:273)
at rx.internal.schedulers.TrampolineScheduler$InnerCurrentThreadScheduler.enqueue(TrampolineScheduler.java:73)
at rx.internal.schedulers.TrampolineScheduler$InnerCurrentThreadScheduler.schedule(TrampolineScheduler.java:52)
at rx.internal.operators.OnSubscribeRedo$5.request(OnSubscribeRedo.java:361)
at rx.Subscriber.setProducer(Subscriber.java:211)
at rx.internal.operators.OnSubscribeRedo.call(OnSubscribeRedo.java:353)
at rx.internal.operators.OnSubscribeRedo.call(OnSubscribeRedo.java:47)
at rx.Observable.unsafeSubscribe(Observable.java:10327)
at rx.internal.operators.OnSubscribeSingle.call(OnSubscribeSingle.java:81)
at rx.internal.operators.OnSubscribeSingle.call(OnSubscribeSingle.java:27)
at rx.internal.operators.SingleToObservable.call(SingleToObservable.java:39)
at rx.internal.operators.SingleToObservable.call(SingleToObservable.java:27)
at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:48)
at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
at rx.Observable.subscribe(Observable.java:10423)
at rx.Observable.subscribe(Observable.java:10390)
at rx.Observable.subscribe(Observable.java:10230)
at rx.lang.scala.Observable.subscribe(Observable.scala:242)
at rx.lang.scala.Observable.subscribe$(Observable.scala:239)
at rx.lang.scala.JavaConversions$$anon$2.subscribe(JavaConversions.scala:53)
at org.apache.openwhisk.core.database.cosmosdb.RxObservableImplicits$RxScalaObservable.head(RxObservableImplicits.scala:38)
at org.apache.openwhisk.core.database.cosmosdb.CosmosDBArtifactStore.$anonfun$readAttachmentFromCosmos$2(CosmosDBArtifactStore.scala:400)
at scala.concurrent.Future.$anonfun$flatMap$1(Future.scala:303)
at scala.concurrent.impl.Promise.$anonfun$transformWith$1(Promise.scala:37)
at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:60)
at akka.dispatch.BatchingExecutor$AbstractBatch.processBatch(BatchingExecutor.scala:55)
at akka.dispatch.BatchingExecutor$BlockableBatch.$anonfun$run$1(BatchingExecutor.scala:91)
at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:12)
at scala.concurrent.BlockContext$.withBlockContext(BlockContext.scala:81)
at akka.dispatch.BatchingExecutor$BlockableBatch.run(BatchingExecutor.scala:91)
at akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:40)
at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(ForkJoinExecutorConfigurator.scala:44)
at akka.dispatch.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
at akka.dispatch.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
at akka.dispatch.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
at akka.dispatch.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
[2019-02-13T14:57:38.707Z] [INFO] [#tid_39] [WhiskAction] write initiated on existing cache entry, invalidating CacheKey(artifactTCK_3lB7_ns_KzfLm/attachment_update_2), tid 39, state WriteInProgress
[2019-02-13T14:57:38.713Z] [INFO] [#tid_39] [CosmosDBArtifactStore] [PUT] 'whisks' saving document: 'id: artifactTCK_3lB7_ns_KzfLm|attachment_update_2, rev: null' [marker:database_saveDocument_start:7]
[2019-02-13T14:57:38.789Z] [INFO] [#tid_39] [CosmosDBArtifactStore] [marker:database_saveDocument_finish:83:76]
[2019-02-13T14:57:38.790Z] [DEBUG] [#tid_39] [WhiskAction] write backend part done, now marking cache entry as done
[2019-02-13T14:57:38.790Z] [DEBUG] [#tid_39] [Entry] write finished
[2019-02-13T14:57:38.790Z] [INFO] [#tid_39] [WhiskAction] write all done, caching CacheKey(artifactTCK_3lB7_ns_KzfLm/attachment_update_2) Cached
[2019-02-13T14:57:38.802Z] [INFO] [#tid_39] [CosmosDBArtifactStore] [GET] 'whisks' finding document: 'id: artifactTCK_3lB7_ns_KzfLm/attachment_update_2, rev: "08008812-0000-0000-0000-5c6430620000"' [marker:database_getDocument_start:96]
[2019-02-13T14:57:38.866Z] [INFO] [#tid_39] [CosmosDBArtifactStore] [marker:database_getDocument_finish:160:63]
[2019-02-13T14:57:38.874Z] [INFO] [#tid_39] [WhiskAction] write initiated on existing cache entry, invalidating CacheKey(artifactTCK_3lB7_ns_KzfLm/attachment_update_2), tid 39, state WriteInProgress
[2019-02-13T14:57:38.894Z] [INFO] [#tid_39] [CosmosDBArtifactStore] [PUT] 'whisks' saving document: 'id: artifactTCK_3lB7_ns_KzfLm|attachment_update_2, rev: "08008812-0000-0000-0000-5c6430620000"' [marker:database_saveDocument_start:188]
[2019-02-13T14:57:38.933Z] [INFO] [#tid_39] [CosmosDBArtifactStore] [marker:database_saveDocument_finish:227:39]
[2019-02-13T14:57:38.934Z] [INFO] [#tid_39] [CosmosDBArtifactStore] [ATT_PUT] 'whisks' uploading attachment '3eacf37e-c445-477a-acf3-7ec445177a4c' of document 'id: artifactTCK_3lB7_ns_KzfLm/attachment_update_2, rev: "08008912-0000-0000-0000-5c6430620000"' [marker:database_saveDocumentAttachment_start:228]
[2019-02-13T14:57:39.046Z] [INFO] [#tid_39] [CosmosDBArtifactStore] [marker:database_saveDocumentAttachment_finish:340:112]
[2019-02-13T14:57:39.047Z] [DEBUG] [#tid_39] [WhiskAction] write backend part done, now marking cache entry as done
[2019-02-13T14:57:39.047Z] [DEBUG] [#tid_39] [Entry] write finished
[2019-02-13T14:57:39.048Z] [INFO] [#tid_39] [WhiskAction] write all done, caching CacheKey(artifactTCK_3lB7_ns_KzfLm/attachment_update_2) Cached
[2019-02-13T14:57:39.057Z] [INFO] [#tid_39] [CosmosDBArtifactStore] [GET] 'whisks' finding document: 'id: artifactTCK_3lB7_ns_KzfLm/attachment_update_2, rev: "08008912-0000-0000-0000-5c6430620000"' [marker:database_getDocument_start:351]
[2019-02-13T14:57:39.090Z] [INFO] [#tid_39] [CosmosDBArtifactStore] [marker:database_getDocument_finish:384:33]
[2019-02-13T14:57:39.103Z] [INFO] [#tid_40] [CosmosDBArtifactStore] [ATT_GET] 'whisks' finding attachment '3eacf37e-c445-477a-acf3-7ec445177a4c' of document 'id: artifactTCK_3lB7_ns_KzfLm/attachment_update_2, rev: "08008912-0000-0000-0000-5c6430620000"' [marker:database_getDocumentAttachment_start:0]
[2019-02-13T14:57:39.147Z] [ERROR] [#tid_40] [StoreUtils] [ATT_GET] 'whisks' internal error, name: '3eacf37e-c445-477a-acf3-7ec445177a4c', doc: 'id: artifactTCK_3lB7_ns_KzfLm/attachment_update_2, rev: "08008912-0000-0000-0000-5c6430620000"', failure: 'invalid resource type' [IllegalStateException] [marker:database_getDocumentAttachment_error:44:44]
org.apache.openwhisk.core.database.cosmosdb.CosmosDBArtifactStoreTests > CosmosDBArtifactStore attachments should work on reading with old inlined attachment FAILED
org.scalatest.exceptions.TestFailedException: The future returned an exception of type: java.lang.IllegalStateException, with message: invalid resource type.
at org.scalatest.concurrent.Futures$FutureConcept.tryTryAgain$1(Futures.scala:531)
at org.scalatest.concurrent.Futures$FutureConcept.futureValueImpl(Futures.scala:550)
at org.scalatest.concurrent.Futures$FutureConcept.futureValueImpl$(Futures.scala:479)
at org.scalatest.concurrent.ScalaFutures$$anon$1.futureValueImpl(ScalaFutures.scala:275)
at org.scalatest.concurrent.Futures$FutureConcept.futureValue(Futures.scala:476)
at org.scalatest.concurrent.Futures$FutureConcept.futureValue$(Futures.scala:475)
at org.scalatest.concurrent.ScalaFutures$$anon$1.futureValue(ScalaFutures.scala:275)
at org.apache.openwhisk.core.database.test.behavior.ArtifactStoreAttachmentBehaviors.$anonfun$$init$$3(ArtifactStoreAttachmentBehaviors.scala:113)
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.FlatSpecLike$$anon$1.apply(FlatSpecLike.scala:1682)
at org.scalatest.TestSuite.withFixture(TestSuite.scala:196)
at org.scalatest.TestSuite.withFixture$(TestSuite.scala:195)
at org.apache.openwhisk.core.database.cosmosdb.CosmosDBArtifactStoreTests.org$apache$openwhisk$core$database$test$behavior$ArtifactStoreBehaviorBase$$super$withFixture(CosmosDBArtifactStoreTests.scala:29)
at org.apache.openwhisk.core.database.test.behavior.ArtifactStoreBehaviorBase.withFixture(ArtifactStoreBehaviorBase.scala:79)
at org.apache.openwhisk.core.database.test.behavior.ArtifactStoreBehaviorBase.withFixture$(ArtifactStoreBehaviorBase.scala:77)
at org.apache.openwhisk.core.database.cosmosdb.CosmosDBArtifactStoreTests.org$apache$openwhisk$core$database$cosmosdb$CosmosDBTestSupport$$super$withFixture(CosmosDBArtifactStoreTests.scala:29)
at org.apache.openwhisk.core.database.cosmosdb.CosmosDBTestSupport.withFixture(CosmosDBTestSupport.scala:40)
at org.apache.openwhisk.core.database.cosmosdb.CosmosDBTestSupport.withFixture$(CosmosDBTestSupport.scala:38)
at org.apache.openwhisk.core.database.cosmosdb.CosmosDBArtifactStoreTests.withFixture(CosmosDBArtifactStoreTests.scala:29)
at org.scalatest.FlatSpecLike.invokeWithFixture$1(FlatSpecLike.scala:1680)
at org.scalatest.FlatSpecLike.$anonfun$runTest$1(FlatSpecLike.scala:1692)
at org.scalatest.SuperEngine.runTestImpl(Engine.scala:289)
at org.scalatest.FlatSpecLike.runTest(FlatSpecLike.scala:1692)
at org.scalatest.FlatSpecLike.runTest$(FlatSpecLike.scala:1674)
at org.apache.openwhisk.core.database.cosmosdb.CosmosDBArtifactStoreTests.org$scalatest$BeforeAndAfterEach$$super$runTest(CosmosDBArtifactStoreTests.scala:29)
at org.scalatest.BeforeAndAfterEach.runTest(BeforeAndAfterEach.scala:221)
at org.scalatest.BeforeAndAfterEach.runTest$(BeforeAndAfterEach.scala:214)
at org.apache.openwhisk.core.database.cosmosdb.CosmosDBArtifactStoreTests.runTest(CosmosDBArtifactStoreTests.scala:29)
at org.scalatest.FlatSpecLike.$anonfun$runTests$1(FlatSpecLike.scala:1750)
at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:396)
at scala.collection.immutable.List.foreach(List.scala:388)
at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:384)
at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:373)
at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:410)
at scala.collection.immutable.List.foreach(List.scala:388)
at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:384)
at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:379)
at org.scalatest.SuperEngine.runTestsImpl(Engine.scala:461)
at org.scalatest.FlatSpecLike.runTests(FlatSpecLike.scala:1750)
at org.scalatest.FlatSpecLike.runTests$(FlatSpecLike.scala:1749)
at org.scalatest.FlatSpec.runTests(FlatSpec.scala:1685)
at org.scalatest.Suite.run(Suite.scala:1147)
at org.scalatest.Suite.run$(Suite.scala:1129)
at org.scalatest.FlatSpec.org$scalatest$FlatSpecLike$$super$run(FlatSpec.scala:1685)
at org.scalatest.FlatSpecLike.$anonfun$run$1(FlatSpecLike.scala:1795)
at org.scalatest.SuperEngine.runImpl(Engine.scala:521)
at org.scalatest.FlatSpecLike.run(FlatSpecLike.scala:1795)
at org.scalatest.FlatSpecLike.run$(FlatSpecLike.scala:1793)
at org.apache.openwhisk.core.database.cosmosdb.CosmosDBArtifactStoreTests.org$scalatest$BeforeAndAfterAll$$super$run(CosmosDBArtifactStoreTests.scala:29)
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.apache.openwhisk.core.database.cosmosdb.CosmosDBArtifactStoreTests.run(CosmosDBArtifactStoreTests.scala:29)
Caused by:
java.lang.IllegalStateException: invalid resource type
org.apache.openwhisk.core.database.cosmosdb.CosmosDBArtifactStoreTests > CosmosDBArtifactStore attachments should put and read large attachment STANDARD_OUT
[2019-02-13T14:57:40.059Z] [ERROR] unexpected failure invalid resource type
java.lang.IllegalStateException: invalid resource type
at com.microsoft.azure.cosmosdb.internal.PathsHelper.generatePath(PathsHelper.java:315)
at com.microsoft.azure.cosmosdb.internal.PathsHelper.generatePath(PathsHelper.java:62)
at com.microsoft.azure.cosmosdb.rx.internal.RxGatewayStoreModel.getUri(RxGatewayStoreModel.java:240)
at com.microsoft.azure.cosmosdb.rx.internal.RxGatewayStoreModel.performRequest(RxGatewayStoreModel.java:178)
at com.microsoft.azure.cosmosdb.rx.internal.RxGatewayStoreModel.read(RxGatewayStoreModel.java:131)
at com.microsoft.azure.cosmosdb.rx.internal.RxGatewayStoreModel.invokeAsyncInternal(RxGatewayStoreModel.java:446)
at com.microsoft.azure.cosmosdb.rx.internal.RxGatewayStoreModel.lambda$invokeAsync$11(RxGatewayStoreModel.java:460)
at com.microsoft.azure.cosmosdb.rx.internal.BackoffRetryUtility.lambda$executeRetry$2(BackoffRetryUtility.java:102)
at rx.Single$18.call(Single.java:2511)
at rx.Single$18.call(Single.java:2505)
at rx.internal.operators.SingleToObservable.call(SingleToObservable.java:39)
at rx.internal.operators.SingleToObservable.call(SingleToObservable.java:27)
at rx.Observable.unsafeSubscribe(Observable.java:10327)
at rx.internal.operators.OnSubscribeRedo$2.call(OnSubscribeRedo.java:273)
at rx.internal.schedulers.TrampolineScheduler$InnerCurrentThreadScheduler.enqueue(TrampolineScheduler.java:73)
at rx.internal.schedulers.TrampolineScheduler$InnerCurrentThreadScheduler.schedule(TrampolineScheduler.java:52)
at rx.internal.operators.OnSubscribeRedo$5.request(OnSubscribeRedo.java:361)
at rx.Subscriber.setProducer(Subscriber.java:211)
at rx.internal.operators.OnSubscribeRedo.call(OnSubscribeRedo.java:353)
at rx.internal.operators.OnSubscribeRedo.call(OnSubscribeRedo.java:47)
at rx.Observable.unsafeSubscribe(Observable.java:10327)
at rx.internal.operators.OnSubscribeSingle.call(OnSubscribeSingle.java:81)
at rx.internal.operators.OnSubscribeSingle.call(OnSubscribeSingle.java:27)
at rx.internal.operators.SingleToObservable.call(SingleToObservable.java:39)
at rx.internal.operators.SingleToObservable.call(SingleToObservable.java:27)
at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:48)
at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
at rx.Observable.unsafeSubscribe(Observable.java:10327)
at rx.internal.operators.OnSubscribeMap.call(OnSubscribeMap.java:48)
at rx.internal.operators.OnSubscribeMap.call(OnSubscribeMap.java:33)
at rx.Observable.unsafeSubscribe(Observable.java:10327)
at rx.internal.operators.OnSubscribeMap.call(OnSubscribeMap.java:48)
at rx.internal.operators.OnSubscribeMap.call(OnSubscribeMap.java:33)
at rx.Observable.unsafeSubscribe(Observable.java:10327)
at rx.internal.operators.OnSubscribeSingle.call(OnSubscribeSingle.java:81)
at rx.internal.operators.OnSubscribeSingle.call(OnSubscribeSingle.java:27)
at rx.Single.subscribe(Single.java:1979)
at rx.Single$18.call(Single.java:2518)
at rx.Single$18.call(Single.java:2505)
at rx.internal.operators.SingleToObservable.call(SingleToObservable.java:39)
at rx.internal.operators.SingleToObservable.call(SingleToObservable.java:27)
at rx.Observable.unsafeSubscribe(Observable.java:10327)
at rx.internal.operators.OnSubscribeRedo$2.call(OnSubscribeRedo.java:273)
at rx.internal.schedulers.TrampolineScheduler$InnerCurrentThreadScheduler.enqueue(TrampolineScheduler.java:73)
at rx.internal.schedulers.TrampolineScheduler$InnerCurrentThreadScheduler.schedule(TrampolineScheduler.java:52)
at rx.internal.operators.OnSubscribeRedo$5.request(OnSubscribeRedo.java:361)
at rx.Subscriber.setProducer(Subscriber.java:211)
at rx.internal.operators.OnSubscribeRedo.call(OnSubscribeRedo.java:353)
at rx.internal.operators.OnSubscribeRedo.call(OnSubscribeRedo.java:47)
at rx.Observable.unsafeSubscribe(Observable.java:10327)
at rx.internal.operators.OnSubscribeSingle.call(OnSubscribeSingle.java:81)
at rx.internal.operators.OnSubscribeSingle.call(OnSubscribeSingle.java:27)
at rx.internal.operators.SingleToObservable.call(SingleToObservable.java:39)
at rx.internal.operators.SingleToObservable.call(SingleToObservable.java:27)
at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:48)
at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
at rx.Observable.subscribe(Observable.java:10423)
at rx.Observable.subscribe(Observable.java:10390)
at rx.Observable.subscribe(Observable.java:10230)
at rx.lang.scala.Observable.subscribe(Observable.scala:242)
at rx.lang.scala.Observable.subscribe$(Observable.scala:239)
at rx.lang.scala.JavaConversions$$anon$2.subscribe(JavaConversions.scala:53)
at org.apache.openwhisk.core.database.cosmosdb.RxObservableImplicits$RxScalaObservable.head(RxObservableImplicits.scala:38)
at org.apache.openwhisk.core.database.cosmosdb.CosmosDBArtifactStore.$anonfun$readAttachmentFromCosmos$2(CosmosDBArtifactStore.scala:400)
at scala.concurrent.Future.$anonfun$flatMap$1(Future.scala:303)
at scala.concurrent.impl.Promise.$anonfun$transformWith$1(Promise.scala:37)
at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:60)
at akka.dispatch.BatchingExecutor$AbstractBatch.processBatch(BatchingExecutor.scala:55)
at akka.dispatch.BatchingExecutor$BlockableBatch.$anonfun$run$1(BatchingExecutor.scala:91)
at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:12)
at scala.concurrent.BlockContext$.withBlockContext(BlockContext.scala:81)
at akka.dispatch.BatchingExecutor$BlockableBatch.run(BatchingExecutor.scala:91)
at akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:40)
at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(ForkJoinExecutorConfigurator.scala:44)
at akka.dispatch.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
at akka.dispatch.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
at akka.dispatch.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
at akka.dispatch.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
[2019-02-13T14:57:39.335Z] [INFO] [#tid_41] [WhiskAction] write initiated on new cache entry
[2019-02-13T14:57:39.411Z] [INFO] [#tid_41] [CosmosDBArtifactStore] [PUT] 'whisks' saving document: 'id: artifactTCK_3lB7_ns_KzfLm|attachment_large, rev: null' [marker:database_saveDocument_start:219]
[2019-02-13T14:57:39.463Z] [INFO] [#tid_41] [CosmosDBArtifactStore] [marker:database_saveDocument_finish:271:52]
[2019-02-13T14:57:39.463Z] [INFO] [#tid_41] [CosmosDBArtifactStore] [ATT_PUT] 'whisks' uploading attachment 'f714b78b-39ed-4101-94b7-8b39ed5101b2' of document 'id: artifactTCK_3lB7_ns_KzfLm/attachment_large, rev: "08008d12-0000-0000-0000-5c6430630000"' [marker:database_saveDocumentAttachment_start:271]
[2019-02-13T14:57:39.935Z] [INFO] [#tid_41] [CosmosDBArtifactStore] [marker:database_saveDocumentAttachment_finish:743:472]
[2019-02-13T14:57:39.938Z] [DEBUG] [#tid_41] [WhiskAction] write backend part done, now marking cache entry as done
[2019-02-13T14:57:39.938Z] [DEBUG] [#tid_41] [Entry] write finished
[2019-02-13T14:57:39.938Z] [INFO] [#tid_41] [WhiskAction] write all done, caching CacheKey(artifactTCK_3lB7_ns_KzfLm/attachment_large) Cached
[2019-02-13T14:57:39.943Z] [INFO] [#tid_41] [CosmosDBArtifactStore] [GET] 'whisks' finding document: 'id: artifactTCK_3lB7_ns_KzfLm/attachment_large, rev: "08008d12-0000-0000-0000-5c6430630000"' [marker:database_getDocument_start:751]
[2019-02-13T14:57:39.976Z] [INFO] [#tid_41] [CosmosDBArtifactStore] [marker:database_getDocument_finish:784:33]
[2019-02-13T14:57:39.989Z] [DEBUG] [#tid_41] [WhiskAction] read initiated
[2019-02-13T14:57:39.989Z] [INFO] [#tid_41] [WhiskAction] [GET] serving from datastore: CacheKey(artifactTCK_3lB7_ns_KzfLm/attachment_large) [marker:database_cacheMiss_count:797]
[2019-02-13T14:57:39.989Z] [INFO] [#tid_41] [CosmosDBArtifactStore] [GET] 'whisks' finding document: 'id: artifactTCK_3lB7_ns_KzfLm/attachment_large, rev: "08008d12-0000-0000-0000-5c6430630000"' [marker:database_getDocument_start:797]
[2019-02-13T14:57:40.023Z] [INFO] [#tid_41] [CosmosDBArtifactStore] [marker:database_getDocument_finish:831:34]
[2019-02-13T14:57:40.024Z] [INFO] [#tid_41] [CosmosDBArtifactStore] [ATT_GET] 'whisks' finding attachment 'f714b78b-39ed-4101-94b7-8b39ed5101b2' of document 'id: artifactTCK_3lB7_ns_KzfLm/attachment_large, rev: "08008d12-0000-0000-0000-5c6430630000"' [marker:database_getDocumentAttachment_start:832]
[2019-02-13T14:57:40.063Z] [ERROR] [#tid_41] [StoreUtils] [ATT_GET] 'whisks' internal error, name: 'f714b78b-39ed-4101-94b7-8b39ed5101b2', doc: 'id: artifactTCK_3lB7_ns_KzfLm/attachment_large, rev: "08008d12-0000-0000-0000-5c6430630000"', failure: 'invalid resource type' [IllegalStateException] [marker:database_getDocumentAttachment_error:871:39]
[2019-02-13T14:57:40.063Z] [INFO] [#tid_41] [WhiskAction] invalidating CacheKey(artifactTCK_3lB7_ns_KzfLm/attachment_large)
org.apache.openwhisk.core.database.cosmosdb.CosmosDBArtifactStoreTests > CosmosDBArtifactStore attachments should put and read large attachment FAILED
org.scalatest.exceptions.TestFailedException: The future returned an exception of type: java.lang.IllegalStateException, with message: invalid resource type.
at org.scalatest.concurrent.Futures$FutureConcept.tryTryAgain$1(Futures.scala:531)
at org.scalatest.concurrent.Futures$FutureConcept.futureValueImpl(Futures.scala:550)
at org.scalatest.concurrent.Futures$FutureConcept.futureValueImpl$(Futures.scala:479)
at org.scalatest.concurrent.ScalaFutures$$anon$1.futureValueImpl(ScalaFutures.scala:275)
at org.scalatest.concurrent.Futures$FutureConcept.futureValue(Futures.scala:476)
at org.scalatest.concurrent.Futures$FutureConcept.futureValue$(Futures.scala:475)
at org.scalatest.concurrent.ScalaFutures$$anon$1.futureValue(ScalaFutures.scala:275)
at org.apache.openwhisk.core.database.test.behavior.ArtifactStoreAttachmentBehaviors.$anonfun$$init$$4(ArtifactStoreAttachmentBehaviors.scala:133)
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.FlatSpecLike$$anon$1.apply(FlatSpecLike.scala:1682)
at org.scalatest.TestSuite.withFixture(TestSuite.scala:196)
at org.scalatest.TestSuite.withFixture$(TestSuite.scala:195)
at org.apache.openwhisk.core.database.cosmosdb.CosmosDBArtifactStoreTests.org$apache$openwhisk$core$database$test$behavior$ArtifactStoreBehaviorBase$$super$withFixture(CosmosDBArtifactStoreTests.scala:29)
at org.apache.openwhisk.core.database.test.behavior.ArtifactStoreBehaviorBase.withFixture(ArtifactStoreBehaviorBase.scala:79)
at org.apache.openwhisk.core.database.test.behavior.ArtifactStoreBehaviorBase.withFixture$(ArtifactStoreBehaviorBase.scala:77)
at org.apache.openwhisk.core.database.cosmosdb.CosmosDBArtifactStoreTests.org$apache$openwhisk$core$database$cosmosdb$CosmosDBTestSupport$$super$withFixture(CosmosDBArtifactStoreTests.scala:29)
at org.apache.openwhisk.core.database.cosmosdb.CosmosDBTestSupport.withFixture(CosmosDBTestSupport.scala:40)
at org.apache.openwhisk.core.database.cosmosdb.CosmosDBTestSupport.withFixture$(CosmosDBTestSupport.scala:38)
at org.apache.openwhisk.core.database.cosmosdb.CosmosDBArtifactStoreTests.withFixture(CosmosDBArtifactStoreTests.scala:29)
at org.scalatest.FlatSpecLike.invokeWithFixture$1(FlatSpecLike.scala:1680)
at org.scalatest.FlatSpecLike.$anonfun$runTest$1(FlatSpecLike.scala:1692)
at org.scalatest.SuperEngine.runTestImpl(Engine.scala:289)
at org.scalatest.FlatSpecLike.runTest(FlatSpecLike.scala:1692)
at org.scalatest.FlatSpecLike.runTest$(FlatSpecLike.scala:1674)
at org.apache.openwhisk.core.database.cosmosdb.CosmosDBArtifactStoreTests.org$scalatest$BeforeAndAfterEach$$super$runTest(CosmosDBArtifactStoreTests.scala:29)
at org.scalatest.BeforeAndAfterEach.runTest(BeforeAndAfterEach.scala:221)
at org.scalatest.BeforeAndAfterEach.runTest$(BeforeAndAfterEach.scala:214)
at org.apache.openwhisk.core.database.cosmosdb.CosmosDBArtifactStoreTests.runTest(CosmosDBArtifactStoreTests.scala:29)
at org.scalatest.FlatSpecLike.$anonfun$runTests$1(FlatSpecLike.scala:1750)
at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:396)
at scala.collection.immutable.List.foreach(List.scala:388)
at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:384)
at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:373)
at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:410)
at scala.collection.immutable.List.foreach(List.scala:388)
at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:384)
at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:379)
at org.scalatest.SuperEngine.runTestsImpl(Engine.scala:461)
at org.scalatest.FlatSpecLike.runTests(FlatSpecLike.scala:1750)
at org.scalatest.FlatSpecLike.runTests$(FlatSpecLike.scala:1749)
at org.scalatest.FlatSpec.runTests(FlatSpec.scala:1685)
at org.scalatest.Suite.run(Suite.scala:1147)
at org.scalatest.Suite.run$(Suite.scala:1129)
at org.scalatest.FlatSpec.org$scalatest$FlatSpecLike$$super$run(FlatSpec.scala:1685)
at org.scalatest.FlatSpecLike.$anonfun$run$1(FlatSpecLike.scala:1795)
at org.scalatest.SuperEngine.runImpl(Engine.scala:521)
at org.scalatest.FlatSpecLike.run(FlatSpecLike.scala:1795)
at org.scalatest.FlatSpecLike.run$(FlatSpecLike.scala:1793)
at org.apache.openwhisk.core.database.cosmosdb.CosmosDBArtifactStoreTests.org$scalatest$BeforeAndAfterAll$$super$run(CosmosDBArtifactStoreTests.scala:29)
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.apache.openwhisk.core.database.cosmosdb.CosmosDBArtifactStoreTests.run(CosmosDBArtifactStoreTests.scala:29)
Caused by:
java.lang.IllegalStateException: invalid resource type
The text was updated successfully, but these errors were encountered:
Several of the last master Travis builds have failed due to
CosmosDBArtifactStoreTests
tests. Below is the output of the failing tests.The text was updated successfully, but these errors were encountered: