Replies: 2 comments 1 reply
-
Other tests are also failing. I was able to run everything successfully with the following
|
Beta Was this translation helpful? Give feedback.
0 replies
-
this is not related to the samples, in fact there's an issue on the Connector repository about this: eclipse-edc/Connector#3408 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I am new to the project. I cloned the EDC connector and was trying to build it using
./gradlew clean build
. I am using java 17 and gradle 8,4 on Windows. The build seems to run successfully until the unit test:extensions:common:json-ld:test
. Any help would be appreciated.The following is the output from the tests that failed:
`> Task :extensions:common:json-ld:test
Java HotSpot(TM) 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended
JsonLdExtensionTest > verifyCachedDocsFromConfig_multipleEntries_oneIncomplete(ServiceExtensionContext, JsonLdExtension) FAILED
java.lang.AssertionError:
Expecting map:
{"http://foo.org/doc.json"=file:/C:/tmp/foo/doc.json, "http://www.w3.org/ns/odrl.jsonld"=file:/C:/Development/EDC/Connector/extensions/common/json-ld/build/resources/main/document%5codrl.jsonld}
to contain entries:
["http://foo.org/doc.json"=file:/tmp/foo/doc.json]
but the following map entries had different values:
["http://foo.org/doc.json"=file:/C:/tmp/foo/doc.json (expected: file:/tmp/foo/doc.json)]
at org.eclipse.edc.jsonld.JsonLdExtensionTest.verifyCachedDocsFromConfig_multipleEntries_oneIncomplete(JsonLdExtensionTest.java:104)
JsonLdExtensionTest > verifyCachedDocsFromConfig_oneValidEntry_withSuperfluous(ServiceExtensionContext, JsonLdExtension) FAILED
java.lang.AssertionError:
Expecting map:
{"http://foo.org/doc.json"=file:/C:/tmp/foo/doc.json, "http://www.w3.org/ns/odrl.jsonld"=file:/C:/Development/EDC/Connector/extensions/common/json-ld/build/resources/main/document%5codrl.jsonld}
to contain entries:
["http://foo.org/doc.json"=file:/tmp/foo/doc.json]
but the following map entries had different values:
["http://foo.org/doc.json"=file:/C:/tmp/foo/doc.json (expected: file:/tmp/foo/doc.json)]
at org.eclipse.edc.jsonld.JsonLdExtensionTest.verifyCachedDocsFromConfig_oneValidEntry_withSuperfluous(JsonLdExtensionTest.java:70)
JsonLdExtensionTest > verifyCachedDocsFromConfig_multipleEntries_oneInvalid(ServiceExtensionContext, JsonLdExtension) FAILED
java.lang.AssertionError:
Expecting map:
{"http://foo.org/doc.json"=file:/C:/tmp/foo/doc.json, "http://www.w3.org/ns/odrl.jsonld"=file:/C:/Development/EDC/Connector/extensions/common/json-ld/build/resources/main/document%5codrl.jsonld}
to contain entries:
["http://foo.org/doc.json"=file:/tmp/foo/doc.json]
but the following map entries had different values:
["http://foo.org/doc.json"=file:/C:/tmp/foo/doc.json (expected: file:/tmp/foo/doc.json)]
at org.eclipse.edc.jsonld.JsonLdExtensionTest.verifyCachedDocsFromConfig_multipleEntries_oneInvalid(JsonLdExtensionTest.java:122)
JsonLdExtensionTest > verifyCachedDocsFromConfig_multipleValidEntries(ServiceExtensionContext, JsonLdExtension) FAILED
java.lang.AssertionError:
Expecting map:
{"http://bar.org/doc.json"=file:/C:/tmp/bar/doc.json, "http://foo.org/doc.json"=file:/C:/tmp/foo/doc.json, "http://www.w3.org/ns/odrl.jsonld"=file:/C:/Development/EDC/Connector/extensions/common/json-ld/build/resources/main/document%5codrl.jsonld}
to contain entries:
["http://foo.org/doc.json"=file:/tmp/foo/doc.json]
but the following map entries had different values:
["http://foo.org/doc.json"=file:/C:/tmp/foo/doc.json (expected: file:/tmp/foo/doc.json)]
at org.eclipse.edc.jsonld.JsonLdExtensionTest.verifyCachedDocsFromConfig_multipleValidEntries(JsonLdExtensionTest.java:87)
JsonLdExtensionTest > verifyCachedDocsFromConfig_oneValidEntry(ServiceExtensionContext, JsonLdExtension) FAILED
java.lang.AssertionError:
Expecting map:
{"http://foo.org/doc.json"=file:/C:/tmp/foo/doc.json, "http://www.w3.org/ns/odrl.jsonld"=file:/C:/Development/EDC/Connector/extensions/common/json-ld/build/resources/main/document%5codrl.jsonld}
to contain entries:
["http://foo.org/doc.json"=file:/tmp/foo/doc.json]
but the following map entries had different values:
["http://foo.org/doc.json"=file:/C:/tmp/foo/doc.json (expected: file:/tmp/foo/doc.json)]
at org.eclipse.edc.jsonld.JsonLdExtensionTest.verifyCachedDocsFromConfig_oneValidEntry(JsonLdExtensionTest.java:54)`
Beta Was this translation helpful? Give feedback.
All reactions