Skip to content

fix: enforce consistency of contract negotiation request and transfer… #267

fix: enforce consistency of contract negotiation request and transfer…

fix: enforce consistency of contract negotiation request and transfer… #267

GitHub Actions / Test Results failed Jun 11, 2024 in 0s

6 fail, 2 skipped, 1 308 pass in 16m 47s

  229 files    229 suites   16m 47s ⏱️
1 316 tests 1 308 ✅ 2 💤 6 ❌
1 347 runs  1 339 ✅ 2 💤 6 ❌

Results for commit b1909e3.

Annotations

Check warning on line 0 in org.eclipse.edc.test.e2e.managementapi.TransferProcessApiEndToEndTest$InMemory

See this annotation in the file changed.

@github-actions github-actions / Test Results

create(ManagementEndToEndTestContext, TransferProcessStore) (org.eclipse.edc.test.e2e.managementapi.TransferProcessApiEndToEndTest$InMemory) failed

artifacts/Test Results End-To-End-Tests/system-tests/management-api/management-api-test-runner/build/test-results/test/TEST-org.eclipse.edc.test.e2e.managementapi.TransferProcessApiEndToEndTest$InMemory.xml [took 0s]
Raw output
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <400>.

	at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
	at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
	at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:73)
	at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:108)
	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:57)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:263)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:277)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure.validate(ResponseSpecificationImpl.groovy:512)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure$validate$1.call(Unknown Source)
	at io.restassured.internal.ResponseSpecificationImpl.validateResponseIfRequired(ResponseSpecificationImpl.groovy:696)
	at io.restassured.internal.ResponseSpecificationImpl.this$2$validateResponseIfRequired(ResponseSpecificationImpl.groovy)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at org.codehaus.groovy.runtime.callsite.PlainObjectMetaMethodSite.doInvoke(PlainObjectMetaMethodSite.java:43)
	at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:198)
	at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:62)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
	at io.restassured.internal.ResponseSpecificationImpl.statusCode(ResponseSpecificationImpl.groovy:135)
	at io.restassured.specification.ResponseSpecification$statusCode$0.callCurrent(Unknown Source)
	at io.restassured.internal.ResponseSpecificationImpl.statusCode(ResponseSpecificationImpl.groovy:143)
	at io.restassured.internal.ValidatableResponseOptionsImpl.statusCode(ValidatableResponseOptionsImpl.java:89)
	at org.eclipse.edc.test.e2e.managementapi.TransferProcessApiEndToEndTest$Tests.create(TransferProcessApiEndToEndTest.java:135)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)

Check warning on line 0 in org.eclipse.edc.test.e2e.managementapi.TransferProcessApiEndToEndTest$Postgres

See this annotation in the file changed.

@github-actions github-actions / Test Results

create(ManagementEndToEndTestContext, TransferProcessStore) (org.eclipse.edc.test.e2e.managementapi.TransferProcessApiEndToEndTest$Postgres) failed

artifacts/Test Results Postgresql-Integration-Tests/system-tests/management-api/management-api-test-runner/build/test-results/test/TEST-org.eclipse.edc.test.e2e.managementapi.TransferProcessApiEndToEndTest$Postgres.xml [took 0s]
Raw output
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <400>.

	at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
	at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
	at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:73)
	at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:108)
	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:57)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:263)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:277)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure.validate(ResponseSpecificationImpl.groovy:512)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure$validate$1.call(Unknown Source)
	at io.restassured.internal.ResponseSpecificationImpl.validateResponseIfRequired(ResponseSpecificationImpl.groovy:696)
	at io.restassured.internal.ResponseSpecificationImpl.this$2$validateResponseIfRequired(ResponseSpecificationImpl.groovy)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at org.codehaus.groovy.runtime.callsite.PlainObjectMetaMethodSite.doInvoke(PlainObjectMetaMethodSite.java:43)
	at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:198)
	at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:62)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
	at io.restassured.internal.ResponseSpecificationImpl.statusCode(ResponseSpecificationImpl.groovy:135)
	at io.restassured.specification.ResponseSpecification$statusCode$0.callCurrent(Unknown Source)
	at io.restassured.internal.ResponseSpecificationImpl.statusCode(ResponseSpecificationImpl.groovy:143)
	at io.restassured.internal.ValidatableResponseOptionsImpl.statusCode(ValidatableResponseOptionsImpl.java:89)
	at org.eclipse.edc.test.e2e.managementapi.TransferProcessApiEndToEndTest$Tests.create(TransferProcessApiEndToEndTest.java:135)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)

Check warning on line 0 in org.eclipse.edc.connector.controlplane.services.transferprocess.TransferProcessEventDispatchTest

See this annotation in the file changed.

@github-actions github-actions / Test Results

shouldDispatchEventsOnTransferProcessStateChanges(TransferProcessService, TransferProcessProtocolService, EventRouter, RemoteMe…ticipantAgentService) (org.eclipse.edc.connector.controlplane.services.transferprocess.TransferProcessEventDispatchTest) failed

artifacts/Test Results Unit-Tests/core/control-plane/control-plane-aggregate-services/build/test-results/test/TEST-org.eclipse.edc.connector.controlplane.services.transferprocess.TransferProcessEventDispatchTest.xml [took 2s]
Raw output
java.lang.NullPointerException: Cannot invoke "String.equals(Object)" because the return value of "org.eclipse.edc.connector.controlplane.contract.spi.types.agreement.ContractAgreement.getAssetId()" is null
	at org.eclipse.edc.connector.controlplane.services.transferprocess.TransferProcessServiceImpl.initiateTransfer(TransferProcessServiceImpl.java:135)
	at org.eclipse.edc.connector.controlplane.services.transferprocess.TransferProcessEventDispatchTest.shouldDispatchEventsOnTransferProcessStateChanges(TransferProcessEventDispatchTest.java:156)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)

Check warning on line 0 in org.eclipse.edc.connector.controlplane.services.transferprocess.TransferProcessEventDispatchTest

See this annotation in the file changed.

@github-actions github-actions / Test Results

shouldDispatchEventOnTransferProcessFailure(TransferProcessService, EventRouter, RemoteMessageDispatcherRegistry) (org.eclipse.edc.connector.controlplane.services.transferprocess.TransferProcessEventDispatchTest) failed

artifacts/Test Results Unit-Tests/core/control-plane/control-plane-aggregate-services/build/test-results/test/TEST-org.eclipse.edc.connector.controlplane.services.transferprocess.TransferProcessEventDispatchTest.xml [took 32s]
Raw output
Wanted but not invoked:
eventSubscriber.on(<Event envelope matcher>);
-> at org.eclipse.edc.connector.controlplane.services.transferprocess.TransferProcessEventDispatchTest.lambda$shouldDispatchEventOnTransferProcessFailure$10(TransferProcessEventDispatchTest.java:244)
Actually, there were zero interactions with this mock.

	at app//org.eclipse.edc.connector.controlplane.services.transferprocess.TransferProcessEventDispatchTest.lambda$shouldDispatchEventOnTransferProcessFailure$10(TransferProcessEventDispatchTest.java:244)
	at app//org.awaitility.core.AssertionCondition.lambda$new$0(AssertionCondition.java:53)
	at app//org.awaitility.core.ConditionAwaiter$ConditionPoller.call(ConditionAwaiter.java:248)
	at app//org.awaitility.core.ConditionAwaiter$ConditionPoller.call(ConditionAwaiter.java:235)
	at [email protected]/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at [email protected]/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at [email protected]/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at [email protected]/java.lang.Thread.run(Thread.java:840)

Check warning on line 0 in org.eclipse.edc.connector.controlplane.services.transferprocess.TransferProcessEventDispatchTest

See this annotation in the file changed.

@github-actions github-actions / Test Results

shouldTerminateOnInvalidPolicy(TransferProcessService, EventRouter, RemoteMessageDispatcherRegistry) (org.eclipse.edc.connector.controlplane.services.transferprocess.TransferProcessEventDispatchTest) failed

artifacts/Test Results Unit-Tests/core/control-plane/control-plane-aggregate-services/build/test-results/test/TEST-org.eclipse.edc.connector.controlplane.services.transferprocess.TransferProcessEventDispatchTest.xml [took 32s]
Raw output
Wanted but not invoked:
eventSubscriber.on(<Event envelope matcher>);
-> at org.eclipse.edc.connector.controlplane.services.transferprocess.TransferProcessEventDispatchTest.lambda$shouldTerminateOnInvalidPolicy$7(TransferProcessEventDispatchTest.java:207)
Actually, there were zero interactions with this mock.

	at app//org.eclipse.edc.connector.controlplane.services.transferprocess.TransferProcessEventDispatchTest.lambda$shouldTerminateOnInvalidPolicy$7(TransferProcessEventDispatchTest.java:207)
	at app//org.awaitility.core.AssertionCondition.lambda$new$0(AssertionCondition.java:53)
	at app//org.awaitility.core.ConditionAwaiter$ConditionPoller.call(ConditionAwaiter.java:248)
	at app//org.awaitility.core.ConditionAwaiter$ConditionPoller.call(ConditionAwaiter.java:235)
	at [email protected]/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at [email protected]/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at [email protected]/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at [email protected]/java.lang.Thread.run(Thread.java:840)

Check warning on line 0 in org.eclipse.edc.connector.controlplane.services.transferprocess.TransferProcessEventDispatchTest

See this annotation in the file changed.

@github-actions github-actions / Test Results

shouldDispatchEventOnTransferProcessTerminated(TransferProcessService, EventRouter, RemoteMessageDispatcherRegistry, PolicyArchive) (org.eclipse.edc.connector.controlplane.services.transferprocess.TransferProcessEventDispatchTest) failed

artifacts/Test Results Unit-Tests/core/control-plane/control-plane-aggregate-services/build/test-results/test/TEST-org.eclipse.edc.connector.controlplane.services.transferprocess.TransferProcessEventDispatchTest.xml [took 32s]
Raw output
Wanted but not invoked:
eventSubscriber.on(<Event envelope matcher>);
-> at org.eclipse.edc.connector.controlplane.services.transferprocess.TransferProcessEventDispatchTest.lambda$shouldDispatchEventOnTransferProcessTerminated$8(TransferProcessEventDispatchTest.java:226)
Actually, there were zero interactions with this mock.

	at app//org.eclipse.edc.connector.controlplane.services.transferprocess.TransferProcessEventDispatchTest.lambda$shouldDispatchEventOnTransferProcessTerminated$8(TransferProcessEventDispatchTest.java:226)
	at app//org.awaitility.core.AssertionCondition.lambda$new$0(AssertionCondition.java:53)
	at app//org.awaitility.core.ConditionAwaiter$ConditionPoller.call(ConditionAwaiter.java:248)
	at app//org.awaitility.core.ConditionAwaiter$ConditionPoller.call(ConditionAwaiter.java:235)
	at [email protected]/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at [email protected]/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at [email protected]/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at [email protected]/java.lang.Thread.run(Thread.java:840)