feat: disable the APIKEY authentication in the cloud-agent #4569
GitHub Actions / Unit Test Results
failed
Dec 13, 2024 in 0s
1 fail, 8 skipped, 873 pass in 20m 56s
Annotations
Check warning on line 0 in org.hyperledger.identus.pollux.vc.jwt.revocation.VCStatusList2021Spec
github-actions / Unit Test Results
VCStatusList2021 - Should generate status list VC as JSON with embedded proof (org.hyperledger.identus.pollux.vc.jwt.revocation.VCStatusList2021Spec) failed
./target/test-reports/pollux/vc-jwt/test-reports/TEST-org.hyperledger.identus.pollux.vc.jwt.revocation.VCStatusList2021Spec.xml [took 0s]
Raw output
java.lang.Exception: [31m- Should generate status list VC as JSON with embedded proof[0m Exception in thread "zio-fiber-" com.apicatalog.jsonld.JsonLdError: There wa a problem encountered loading a remote context [https://w3id.org/vc/status-list/2021/v1] at com.apicatalog.jsonld.context.ActiveContextBuilder.fetch(ActiveContextBuilder.java:533) at com.apicatalog.jsonld.context.ActiveContextBuilder.create(ActiveContextBuilder.java:172) at com.apicatalog.jsonld.expansion.ObjectExpansion.initLocalContext(ObjectExpansion.java:197) at com.apicatalog.jsonld.expansion.ObjectExpansion.expand(ObjectExpansion.java:101) at com.apicatalog.jsonld.expansion.Expansion.compute(Expansion.java:119) at com.apicatalog.jsonld.processor.ExpansionProcessor.expand(ExpansionProcessor.java:124) at com.apicatalog.jsonld.processor.ToRdfProcessor.toRdf(ToRdfProcessor.java:69) at com.apicatalog.jsonld.api.ToRdfApi.get(ToRdfApi.java:166) at org.hyperledger.identus.shared.json.Json$.canonicalizeJsonLDoRdf$$anonfun$1(Json.scala:39) at scala.util.Try$.apply(Try.scala:210) at org.hyperledger.identus.shared.json.Json$.canonicalizeJsonLDoRdf(Json.scala:46) at org.hyperledger.identus.pollux.vc.jwt.EcdsaSecp256k1Signature2019ProofGenerator$.generateProof$$anonfun$1(Proof.scala:49) at zio.ZIO$.fromEither$$anonfun$1(ZIO.scala:3680) Suppressed: com.apicatalog.jsonld.JsonLdError: The document could not be loaded or parsed [code=LOADING_DOCUMENT_FAILED]. at com.apicatalog.jsonld.http.DefaultHttpClient.send(DefaultHttpClient.java:66) at com.apicatalog.jsonld.loader.DefaultHttpLoader.loadDocument(DefaultHttpLoader.java:76) at com.apicatalog.jsonld.loader.HttpLoader.loadDocument(HttpLoader.java:6) at com.apicatalog.jsonld.loader.SchemeRouter.loadDocument(SchemeRouter.java:62) at com.apicatalog.jsonld.context.ActiveContextBuilder.fetch(ActiveContextBuilder.java:529) at com.apicatalog.jsonld.context.ActiveContextBuilder.create(ActiveContextBuilder.java:172) at com.apicatalog.jsonld.expansion.ObjectExpansion.initLocalContext(ObjectExpansion.java:197) at com.apicatalog.jsonld.expansion.ObjectExpansion.expand(ObjectExpansion.java:101) at com.apicatalog.jsonld.expansion.Expansion.compute(Expansion.java:119) at com.apicatalog.jsonld.processor.ExpansionProcessor.expand(ExpansionProcessor.java:124) at com.apicatalog.jsonld.processor.ToRdfProcessor.toRdf(ToRdfProcessor.java:69) at com.apicatalog.jsonld.api.ToRdfApi.get(ToRdfApi.java:166) at org.hyperledger.identus.shared.json.Json$.canonicalizeJsonLDoRdf$$anonfun$1(Json.scala:39) at scala.util.Try$.apply(Try.scala:210) at org.hyperledger.identus.shared.json.Json$.canonicalizeJsonLDoRdf(Json.scala:46) at org.hyperledger.identus.pollux.vc.jwt.EcdsaSecp256k1Signature2019ProofGenerator$.generateProof$$anonfun$1(Proof.scala:49) at zio.ZIO$.fromEither$$anonfun$1(ZIO.scala:3680) Suppressed: javax.net.ssl.SSLException: Unhandled exception at java.net.http/jdk.internal.net.http.HttpClientImpl.send(HttpClientImpl.java:965) at java.net.http/jdk.internal.net.http.HttpClientFacade.send(HttpClientFacade.java:133) at com.apicatalog.jsonld.http.DefaultHttpClient.send(DefaultHttpClient.java:57) at com.apicatalog.jsonld.loader.DefaultHttpLoader.loadDocument(DefaultHttpLoader.java:76) at com.apicatalog.jsonld.loader.HttpLoader.loadDocument(HttpLoader.java:6) at com.apicatalog.jsonld.loader.SchemeRouter.loadDocument(SchemeRouter.java:62) at com.apicatalog.jsonld.context.ActiveContextBuilder.fetch(ActiveContextBuilder.java:529) at com.apicatalog.jsonld.context.ActiveContextBuilder.create(ActiveContextBuilder.java:172) at com.apicatalog.jsonld.expansion.ObjectExpansion.initLocalContext(ObjectExpansion.java:197) at com.apicatalog.jsonld.expansion.ObjectExpansion.expand(ObjectExpansion.java:101) at com.apicatalog.jsonld.expansion.Expansion.compute(Expansion.java:119) at com.apicatalog.jsonld.processor.ExpansionProcessor.expand(ExpansionProcessor.java:124) at com.apicatalog.jsonld.processor.ToRdfProcessor.toRdf(ToRdfProcessor.java:69) at com.apicatalog.jsonld.api.ToRdfApi.get(ToRdfApi.java:166) at org.hyperledger.identus.shared.json.Json$.canonicalizeJsonLDoRdf$$anonfun$1(Json.scala:39) at scala.util.Try$.apply(Try.scala:210) at org.hyperledger.identus.shared.json.Json$.canonicalizeJsonLDoRdf(Json.scala:46) at org.hyperledger.identus.pollux.vc.jwt.EcdsaSecp256k1Signature2019ProofGenerator$.generateProof$$anonfun$1(Proof.scala:49) at zio.ZIO$.fromEither$$anonfun$1(ZIO.scala:3680) Suppressed: javax.net.ssl.SSLException: Unhandled exception at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:132) at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:378) at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:321) at java.base/sun.security.ssl.SSLEngineImpl$DelegatedTask$DelegatedAction.run(SSLEngineImpl.java:1276) at java.base/sun.security.ssl.SSLEngineImpl$DelegatedTask$DelegatedAction.run(SSLEngineImpl.java:1260) at java.base/java.security.AccessController.doPrivileged(AccessController.java:714) at java.base/sun.security.ssl.SSLEngineImpl$DelegatedTask.run(SSLEngineImpl.java:1205) at java.base/java.util.ArrayList.forEach(ArrayList.java:1597) at java.net.http/jdk.internal.net.http.common.SSLFlowDelegate.lambda$executeTasks$3(SSLFlowDelegate.java:1134) at java.net.http/jdk.internal.net.http.HttpClientImpl$DelegatingExecutor.execute(HttpClientImpl.java:178) at java.net.http/jdk.internal.net.http.common.SSLFlowDelegate.executeTasks(SSLFlowDelegate.java:1129) at java.net.http/jdk.internal.net.http.common.SSLFlowDelegate.doHandshake(SSLFlowDelegate.java:1095) at java.net.http/jdk.internal.net.http.common.SSLFlowDelegate$Reader.processData(SSLFlowDelegate.java:494) at java.net.http/jdk.internal.net.http.common.SSLFlowDelegate$Reader$ReaderDownstreamPusher.run(SSLFlowDelegate.java:269) at java.net.http/jdk.internal.net.http.common.SequentialScheduler$LockingRestartableTask.run(SequentialScheduler.java:182) at java.net.http/jdk.internal.net.http.common.SequentialScheduler$CompleteRestartableTask.run(SequentialScheduler.java:149) at java.net.http/jdk.internal.net.http.common.SequentialScheduler$SchedulableTask.run(SequentialScheduler.java:207) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) at java.base/java.lang.Thread.run(Thread.java:1570) Suppressed: java.lang.ArrayIndexOutOfBoundsException: arraycopy: last source index 32 out of bounds for byte[31] at java.base/java.lang.System.arraycopy(Native Method) at org.bouncycastle.crypto.params.X25519PublicKeyParameters.<init>(Unknown Source) at org.bouncycastle.jcajce.provider.asymmetric.edec.KeyAgreementSpi.engineDoPhase(KeyAgreementSpi.java:163) at java.base/javax.crypto.KeyAgreement.doPhase(KeyAgreement.java:583) at java.base/sun.security.ssl.KAKeyDerivation.t13DeriveKey(KAKeyDerivation.java:103) at java.base/sun.security.ssl.KAKeyDerivation.deriveKey(KAKeyDerivation.java:63) at java.base/sun.security.ssl.ServerHello$T13ServerHelloConsumer.consume(ServerHello.java:1283) at java.base/sun.security.ssl.ServerHello$ServerHelloConsumer.onServerHello(ServerHello.java:1001) at java.base/sun.security.ssl.ServerHello$ServerHelloConsumer.consume(ServerHello.java:889) at java.base/sun.security.ssl.SSLHandshake.consume(SSLHandshake.java:393) at java.base/sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:476) at java.base/sun.security.ssl.SSLEngineImpl$DelegatedTask$DelegatedAction.run(SSLEngineImpl.java:1274) at java.base/sun.security.ssl.SSLEngineImpl$DelegatedTask$DelegatedAction.run(SSLEngineImpl.java:1260) at java.base/java.security.AccessController.doPrivileged(AccessController.java:714) at java.base/sun.security.ssl.SSLEngineImpl$DelegatedTask.run(SSLEngineImpl.java:1205) at java.base/java.util.ArrayList.forEach(ArrayList.java:1597) at java.net.http/jdk.internal.net.http.common.SSLFlowDelegate.lambda$executeTasks$3(SSLFlowDelegate.java:1134) at java.net.http/jdk.internal.net.http.HttpClientImpl$DelegatingExecutor.execute(HttpClientImpl.java:178) at java.net.http/jdk.internal.net.http.common.SSLFlowDelegate.executeTasks(SSLFlowDelegate.java:1129) at java.net.http/jdk.internal.net.http.common.SSLFlowDelegate.doHandshake(SSLFlowDelegate.java:1095) at java.net.http/jdk.internal.net.http.common.SSLFlowDelegate$Reader.processData(SSLFlowDelegate.java:494) at java.net.http/jdk.internal.net.http.common.SSLFlowDelegate$Reader$ReaderDownstreamPusher.run(SSLFlowDelegate.java:269) at java.net.http/jdk.internal.net.http.common.SequentialScheduler$LockingRestartableTask.run(SequentialScheduler.java:182) at java.net.http/jdk.internal.net.http.common.SequentialScheduler$CompleteRestartableTask.run(SequentialScheduler.java:149) at java.net.http/jdk.internal.net.http.common.SequentialScheduler$SchedulableTask.run(SequentialScheduler.java:207) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) at java.base/java.lang.Thread.run(Thread.java:1570)
sbt.ForkMain$ForkError: java.lang.Exception: [31m- Should generate status list VC as JSON with embedded proof[0m
Exception in thread "zio-fiber-" com.apicatalog.jsonld.JsonLdError: There wa a problem encountered loading a remote context [https://w3id.org/vc/status-list/2021/v1]
at com.apicatalog.jsonld.context.ActiveContextBuilder.fetch(ActiveContextBuilder.java:533)
at com.apicatalog.jsonld.context.ActiveContextBuilder.create(ActiveContextBuilder.java:172)
at com.apicatalog.jsonld.expansion.ObjectExpansion.initLocalContext(ObjectExpansion.java:197)
at com.apicatalog.jsonld.expansion.ObjectExpansion.expand(ObjectExpansion.java:101)
at com.apicatalog.jsonld.expansion.Expansion.compute(Expansion.java:119)
at com.apicatalog.jsonld.processor.ExpansionProcessor.expand(ExpansionProcessor.java:124)
at com.apicatalog.jsonld.processor.ToRdfProcessor.toRdf(ToRdfProcessor.java:69)
at com.apicatalog.jsonld.api.ToRdfApi.get(ToRdfApi.java:166)
at org.hyperledger.identus.shared.json.Json$.canonicalizeJsonLDoRdf$$anonfun$1(Json.scala:39)
at scala.util.Try$.apply(Try.scala:210)
at org.hyperledger.identus.shared.json.Json$.canonicalizeJsonLDoRdf(Json.scala:46)
at org.hyperledger.identus.pollux.vc.jwt.EcdsaSecp256k1Signature2019ProofGenerator$.generateProof$$anonfun$1(Proof.scala:49)
at zio.ZIO$.fromEither$$anonfun$1(ZIO.scala:3680)
Suppressed: com.apicatalog.jsonld.JsonLdError: The document could not be loaded or parsed [code=LOADING_DOCUMENT_FAILED].
at com.apicatalog.jsonld.http.DefaultHttpClient.send(DefaultHttpClient.java:66)
at com.apicatalog.jsonld.loader.DefaultHttpLoader.loadDocument(DefaultHttpLoader.java:76)
at com.apicatalog.jsonld.loader.HttpLoader.loadDocument(HttpLoader.java:6)
at com.apicatalog.jsonld.loader.SchemeRouter.loadDocument(SchemeRouter.java:62)
at com.apicatalog.jsonld.context.ActiveContextBuilder.fetch(ActiveContextBuilder.java:529)
at com.apicatalog.jsonld.context.ActiveContextBuilder.create(ActiveContextBuilder.java:172)
at com.apicatalog.jsonld.expansion.ObjectExpansion.initLocalContext(ObjectExpansion.java:197)
at com.apicatalog.jsonld.expansion.ObjectExpansion.expand(ObjectExpansion.java:101)
at com.apicatalog.jsonld.expansion.Expansion.compute(Expansion.java:119)
at com.apicatalog.jsonld.processor.ExpansionProcessor.expand(ExpansionProcessor.java:124)
at com.apicatalog.jsonld.processor.ToRdfProcessor.toRdf(ToRdfProcessor.java:69)
at com.apicatalog.jsonld.api.ToRdfApi.get(ToRdfApi.java:166)
at org.hyperledger.identus.shared.json.Json$.canonicalizeJsonLDoRdf$$anonfun$1(Json.scala:39)
at scala.util.Try$.apply(Try.scala:210)
at org.hyperledger.identus.shared.json.Json$.canonicalizeJsonLDoRdf(Json.scala:46)
at org.hyperledger.identus.pollux.vc.jwt.EcdsaSecp256k1Signature2019ProofGenerator$.generateProof$$anonfun$1(Proof.scala:49)
at zio.ZIO$.fromEither$$anonfun$1(ZIO.scala:3680)
Suppressed: javax.net.ssl.SSLException: Unhandled exception
at java.net.http/jdk.internal.net.http.HttpClientImpl.send(HttpClientImpl.java:965)
at java.net.http/jdk.internal.net.http.HttpClientFacade.send(HttpClientFacade.java:133)
at com.apicatalog.jsonld.http.DefaultHttpClient.send(DefaultHttpClient.java:57)
at com.apicatalog.jsonld.loader.DefaultHttpLoader.loadDocument(DefaultHttpLoader.java:76)
at com.apicatalog.jsonld.loader.HttpLoader.loadDocument(HttpLoader.java:6)
at com.apicatalog.jsonld.loader.SchemeRouter.loadDocument(SchemeRouter.java:62)
at com.apicatalog.jsonld.context.ActiveContextBuilder.fetch(ActiveContextBuilder.java:529)
at com.apicatalog.jsonld.context.ActiveContextBuilder.create(ActiveContextBuilder.java:172)
at com.apicatalog.jsonld.expansion.ObjectExpansion.initLocalContext(ObjectExpansion.java:197)
at com.apicatalog.jsonld.expansion.ObjectExpansion.expand(ObjectExpansion.java:101)
at com.apicatalog.jsonld.expansion.Expansion.compute(Expansion.java:119)
at com.apicatalog.jsonld.processor.ExpansionProcessor.expand(ExpansionProcessor.java:124)
at com.apicatalog.jsonld.processor.ToRdfProcessor.toRdf(ToRdfProcessor.java:69)
at com.apicatalog.jsonld.api.ToRdfApi.get(ToRdfApi.java:166)
at org.hyperledger.identus.shared.json.Json$.canonicalizeJsonLDoRdf$$anonfun$1(Json.scala:39)
at scala.util.Try$.apply(Try.scala:210)
at org.hyperledger.identus.shared.json.Json$.canonicalizeJsonLDoRdf(Json.scala:46)
at org.hyperledger.identus.pollux.vc.jwt.EcdsaSecp256k1Signature2019ProofGenerator$.generateProof$$anonfun$1(Proof.scala:49)
at zio.ZIO$.fromEither$$anonfun$1(ZIO.scala:3680)
Suppressed: javax.net.ssl.SSLException: Unhandled exception
at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:132)
at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:378)
at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:321)
at java.base/sun.security.ssl.SSLEngineImpl$DelegatedTask$DelegatedAction.run(SSLEngineImpl.java:1276)
at java.base/sun.security.ssl.SSLEngineImpl$DelegatedTask$DelegatedAction.run(SSLEngineImpl.java:1260)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:714)
at java.base/sun.security.ssl.SSLEngineImpl$DelegatedTask.run(SSLEngineImpl.java:1205)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1597)
at java.net.http/jdk.internal.net.http.common.SSLFlowDelegate.lambda$executeTasks$3(SSLFlowDelegate.java:1134)
at java.net.http/jdk.internal.net.http.HttpClientImpl$DelegatingExecutor.execute(HttpClientImpl.java:178)
at java.net.http/jdk.internal.net.http.common.SSLFlowDelegate.executeTasks(SSLFlowDelegate.java:1129)
at java.net.http/jdk.internal.net.http.common.SSLFlowDelegate.doHandshake(SSLFlowDelegate.java:1095)
at java.net.http/jdk.internal.net.http.common.SSLFlowDelegate$Reader.processData(SSLFlowDelegate.java:494)
at java.net.http/jdk.internal.net.http.common.SSLFlowDelegate$Reader$ReaderDownstreamPusher.run(SSLFlowDelegate.java:269)
at java.net.http/jdk.internal.net.http.common.SequentialScheduler$LockingRestartableTask.run(SequentialScheduler.java:182)
at java.net.http/jdk.internal.net.http.common.SequentialScheduler$CompleteRestartableTask.run(SequentialScheduler.java:149)
at java.net.http/jdk.internal.net.http.common.SequentialScheduler$SchedulableTask.run(SequentialScheduler.java:207)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1570)
Suppressed: java.lang.ArrayIndexOutOfBoundsException: arraycopy: last source index 32 out of bounds for byte[31]
at java.base/java.lang.System.arraycopy(Native Method)
at org.bouncycastle.crypto.params.X25519PublicKeyParameters.<init>(Unknown Source)
at org.bouncycastle.jcajce.provider.asymmetric.edec.KeyAgreementSpi.engineDoPhase(KeyAgreementSpi.java:163)
at java.base/javax.crypto.KeyAgreement.doPhase(KeyAgreement.java:583)
at java.base/sun.security.ssl.KAKeyDerivation.t13DeriveKey(KAKeyDerivation.java:103)
at java.base/sun.security.ssl.KAKeyDerivation.deriveKey(KAKeyDerivation.java:63)
at java.base/sun.security.ssl.ServerHello$T13ServerHelloConsumer.consume(ServerHello.java:1283)
at java.base/sun.security.ssl.ServerHello$ServerHelloConsumer.onServerHello(ServerHello.java:1001)
at java.base/sun.security.ssl.ServerHello$ServerHelloConsumer.consume(ServerHello.java:889)
at java.base/sun.security.ssl.SSLHandshake.consume(SSLHandshake.java:393)
at java.base/sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:476)
at java.base/sun.security.ssl.SSLEngineImpl$DelegatedTask$DelegatedAction.run(SSLEngineImpl.java:1274)
at java.base/sun.security.ssl.SSLEngineImpl$DelegatedTask$DelegatedAction.run(SSLEngineImpl.java:1260)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:714)
at java.base/sun.security.ssl.SSLEngineImpl$DelegatedTask.run(SSLEngineImpl.java:1205)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1597)
at java.net.http/jdk.internal.net.http.common.SSLFlowDelegate.lambda$executeTasks$3(SSLFlowDelegate.java:1134)
at java.net.http/jdk.internal.net.http.HttpClientImpl$DelegatingExecutor.execute(HttpClientImpl.java:178)
at java.net.http/jdk.internal.net.http.common.SSLFlowDelegate.executeTasks(SSLFlowDelegate.java:1129)
at java.net.http/jdk.internal.net.http.common.SSLFlowDelegate.doHandshake(SSLFlowDelegate.java:1095)
at java.net.http/jdk.internal.net.http.common.SSLFlowDelegate$Reader.processData(SSLFlowDelegate.java:494)
at java.net.http/jdk.internal.net.http.common.SSLFlowDelegate$Reader$ReaderDownstreamPusher.run(SSLFlowDelegate.java:269)
at java.net.http/jdk.internal.net.http.common.SequentialScheduler$LockingRestartableTask.run(SequentialScheduler.java:182)
at java.net.http/jdk.internal.net.http.common.SequentialScheduler$CompleteRestartableTask.run(SequentialScheduler.java:149)
at java.net.http/jdk.internal.net.http.common.SequentialScheduler$SchedulableTask.run(SequentialScheduler.java:207)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1570)
at zio.test.sbt.ZTestEvent$.convertEvent(ZTestEvent.scala:34)
at zio.test.sbt.ZTestEventHandlerSbt.handle(ZTestEventHandlerSbt.scala:26)
at zio.test.TestExecutor$$anon$1.processEvent$1$$anonfun$1(TestExecutor.scala:53)
at zio.ZIO.$times$greater$$anonfun$1(ZIO.scala:89)
at zio.internal.FiberRuntime.runLoop(FiberRuntime.scala:1014)
at zio.internal.FiberRuntime.evaluateEffect(FiberRuntime.scala:413)
at zio.internal.FiberRuntime.evaluateMessageWhileSuspended(FiberRuntime.scala:489)
at zio.internal.FiberRuntime.drainQueueOnCurrentThread(FiberRuntime.scala:250)
at zio.internal.FiberRuntime.run(FiberRuntime.scala:138)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1570)
Loading