International-Data-Spaces-Association / metadata-broker-open-core

This is the repository of the open-core reference implementation of the IDS Metadata Broker.
Apache License 2.0
10 stars 17 forks source link

4.2.8-SNAPSHOT Failure #73

Closed jfernandezsqs closed 2 years ago

jfernandezsqs commented 2 years ago

We have used the docker-compose pull and as we are using a local DAPS we have used mvn clean package to create a new local broker-core image. These gives us a build failure when using the last 4.2.8-SNAPSHOT. image These are the building errors from the mvn clean package:

qs@Virtual-Ubuntu-20:~/TESTBED_TODO/metadata-broker-open-core$ mvn clean package -U WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/usr/share/maven/lib/guice.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain) WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] broker-open-core [pom] [INFO] open-index-common [jar] [INFO] open-broker-common [jar] [INFO] broker-core [jar] [INFO] [INFO] ------------< de.fraunhofer.iais.eis.ids:broker-open-core >------------- [INFO] Building broker-open-core 4.2.8-SNAPSHOT [1/4] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ broker-open-core --- [INFO] [INFO] --- flatten-maven-plugin:1.2.2:clean (flatten.clean) @ broker-open-core --- [INFO] Deleting /home/sqs/TESTBED_TODO/metadata-broker-open-core/.flattened-pom.xml [INFO] [INFO] --- flatten-maven-plugin:1.2.2:flatten (flatten) @ broker-open-core --- [INFO] Generating flattened POM of project de.fraunhofer.iais.eis.ids:broker-open-core:pom:4.2.8-SNAPSHOT... [INFO] [INFO] ------------< de.fraunhofer.iais.eis.ids:open-index-common >------------ [INFO] Building open-index-common 4.2.8-SNAPSHOT [2/4] [INFO] --------------------------------[ jar ]--------------------------------- Downloading from eis-public-repo: http://maven.iais.fraunhofer.de/artifactory/eis-ids-public/de/fraunhofer/iais/eis/ids/core/4.2.8-SNAPSHOT/maven-metadata.xml Downloaded from eis-public-repo: http://maven.iais.fraunhofer.de/artifactory/eis-ids-public/de/fraunhofer/iais/eis/ids/core/4.2.8-SNAPSHOT/maven-metadata.xml (994 B at 1.2 kB/s) Downloading from eis-public-repo: http://maven.iais.fraunhofer.de/artifactory/eis-ids-public/de/fraunhofer/iais/eis/ids/infomodel/java/4.2.8-SNAPSHOT/maven-metadata.xml Downloading from eis-snapshot-repo: http://maven.iais.fraunhofer.de/artifactory/eis-ids-snapshot/de/fraunhofer/iais/eis/ids/infomodel/java/4.2.8-SNAPSHOT/maven-metadata.xml Downloading from eis-ids-public: http://maven.iais.fraunhofer.de/artifactory/eis-ids-public/de/fraunhofer/iais/eis/ids/infomodel/java/4.2.8-SNAPSHOT/maven-metadata.xml Downloaded from eis-public-repo: http://maven.iais.fraunhofer.de/artifactory/eis-ids-public/de/fraunhofer/iais/eis/ids/infomodel/java/4.2.8-SNAPSHOT/maven-metadata.xml (1.2 kB at 5.9 kB/s) Downloaded from eis-ids-public: http://maven.iais.fraunhofer.de/artifactory/eis-ids-public/de/fraunhofer/iais/eis/ids/infomodel/java/4.2.8-SNAPSHOT/maven-metadata.xml (1.2 kB at 4.6 kB/s) [WARNING] Could not transfer metadata de.fraunhofer.iais.eis.ids.infomodel:java:4.2.8-SNAPSHOT/maven-metadata.xml from/to eis-snapshot-repo (http://maven.iais.fraunhofer.de/artifactory/eis-ids-snapshot): Authentication failed for http://maven.iais.fraunhofer.de/artifactory/eis-ids-snapshot/de/fraunhofer/iais/eis/ids/infomodel/java/4.2.8-SNAPSHOT/maven-metadata.xml 401 Unauthorized [WARNING] Failure to transfer de.fraunhofer.iais.eis.ids.infomodel:java:4.2.8-SNAPSHOT/maven-metadata.xml from http://maven.iais.fraunhofer.de/artifactory/eis-ids-snapshot was cached in the local repository, resolution will not be reattempted until the update interval of eis-snapshot-repo has elapsed or updates are forced. Original error: Could not transfer metadata de.fraunhofer.iais.eis.ids.infomodel:java:4.2.8-SNAPSHOT/maven-metadata.xml from/to eis-snapshot-repo (http://maven.iais.fraunhofer.de/artifactory/eis-ids-snapshot): Authentication failed for http://maven.iais.fraunhofer.de/artifactory/eis-ids-snapshot/de/fraunhofer/iais/eis/ids/infomodel/java/4.2.8-SNAPSHOT/maven-metadata.xml 401 Unauthorized Downloading from eis-public-repo: http://maven.iais.fraunhofer.de/artifactory/eis-ids-public/de/fraunhofer/iais/eis/infomodel/util/4.2.8-SNAPSHOT/maven-metadata.xml Downloading from eis-snapshot-repo: http://maven.iais.fraunhofer.de/artifactory/eis-ids-snapshot/de/fraunhofer/iais/eis/infomodel/util/4.2.8-SNAPSHOT/maven-metadata.xml Downloading from eis-ids-public: http://maven.iais.fraunhofer.de/artifactory/eis-ids-public/de/fraunhofer/iais/eis/infomodel/util/4.2.8-SNAPSHOT/maven-metadata.xml Downloaded from eis-public-repo: http://maven.iais.fraunhofer.de/artifactory/eis-ids-public/de/fraunhofer/iais/eis/infomodel/util/4.2.8-SNAPSHOT/maven-metadata.xml (1.0 kB at 4.8 kB/s) Downloaded from eis-ids-public: http://maven.iais.fraunhofer.de/artifactory/eis-ids-public/de/fraunhofer/iais/eis/infomodel/util/4.2.8-SNAPSHOT/maven-metadata.xml (1.0 kB at 3.2 kB/s) [WARNING] Could not transfer metadata de.fraunhofer.iais.eis.infomodel:util:4.2.8-SNAPSHOT/maven-metadata.xml from/to eis-snapshot-repo (http://maven.iais.fraunhofer.de/artifactory/eis-ids-snapshot): Authentication failed for http://maven.iais.fraunhofer.de/artifactory/eis-ids-snapshot/de/fraunhofer/iais/eis/infomodel/util/4.2.8-SNAPSHOT/maven-metadata.xml 401 Unauthorized [WARNING] Failure to transfer de.fraunhofer.iais.eis.infomodel:util:4.2.8-SNAPSHOT/maven-metadata.xml from http://maven.iais.fraunhofer.de/artifactory/eis-ids-snapshot was cached in the local repository, resolution will not be reattempted until the update interval of eis-snapshot-repo has elapsed or updates are forced. Original error: Could not transfer metadata de.fraunhofer.iais.eis.infomodel:util:4.2.8-SNAPSHOT/maven-metadata.xml from/to eis-snapshot-repo (http://maven.iais.fraunhofer.de/artifactory/eis-ids-snapshot): Authentication failed for http://maven.iais.fraunhofer.de/artifactory/eis-ids-snapshot/de/fraunhofer/iais/eis/infomodel/util/4.2.8-SNAPSHOT/maven-metadata.xml 401 Unauthorized Downloading from eis-public-repo: http://maven.iais.fraunhofer.de/artifactory/eis-ids-public/de/fraunhofer/iais/eis/ids/infomodel/validation-serialization-provider/4.2.8-SNAPSHOT/maven-metadata.xml Downloading from eis-snapshot-repo: http://maven.iais.fraunhofer.de/artifactory/eis-ids-snapshot/de/fraunhofer/iais/eis/ids/infomodel/validation-serialization-provider/4.2.8-SNAPSHOT/maven-metadata.xml Downloading from eis-ids-public: http://maven.iais.fraunhofer.de/artifactory/eis-ids-public/de/fraunhofer/iais/eis/ids/infomodel/validation-serialization-provider/4.2.8-SNAPSHOT/maven-metadata.xml Downloaded from eis-public-repo: http://maven.iais.fraunhofer.de/artifactory/eis-ids-public/de/fraunhofer/iais/eis/ids/infomodel/validation-serialization-provider/4.2.8-SNAPSHOT/maven-metadata.xml (819 B at 3.7 kB/s) Downloaded from eis-ids-public: http://maven.iais.fraunhofer.de/artifactory/eis-ids-public/de/fraunhofer/iais/eis/ids/infomodel/validation-serialization-provider/4.2.8-SNAPSHOT/maven-metadata.xml (819 B at 2.6 kB/s) [WARNING] Could not transfer metadata de.fraunhofer.iais.eis.ids.infomodel:validation-serialization-provider:4.2.8-SNAPSHOT/maven-metadata.xml from/to eis-snapshot-repo (http://maven.iais.fraunhofer.de/artifactory/eis-ids-snapshot): Authentication failed for http://maven.iais.fraunhofer.de/artifactory/eis-ids-snapshot/de/fraunhofer/iais/eis/ids/infomodel/validation-serialization-provider/4.2.8-SNAPSHOT/maven-metadata.xml 401 Unauthorized [WARNING] Failure to transfer de.fraunhofer.iais.eis.ids.infomodel:validation-serialization-provider:4.2.8-SNAPSHOT/maven-metadata.xml from http://maven.iais.fraunhofer.de/artifactory/eis-ids-snapshot was cached in the local repository, resolution will not be reattempted until the update interval of eis-snapshot-repo has elapsed or updates are forced. Original error: Could not transfer metadata de.fraunhofer.iais.eis.ids.infomodel:validation-serialization-provider:4.2.8-SNAPSHOT/maven-metadata.xml from/to eis-snapshot-repo (http://maven.iais.fraunhofer.de/artifactory/eis-ids-snapshot): Authentication failed for http://maven.iais.fraunhofer.de/artifactory/eis-ids-snapshot/de/fraunhofer/iais/eis/ids/infomodel/validation-serialization-provider/4.2.8-SNAPSHOT/maven-metadata.xml 401 Unauthorized Downloading from eis-snapshot-repo: http://maven.iais.fraunhofer.de/artifactory/eis-ids-snapshot/de/fraunhofer/iais/eis/ids/infomodel-serializer/4.2.8-SNAPSHOT/maven-metadata.xml Downloading from eis-public-repo: http://maven.iais.fraunhofer.de/artifactory/eis-ids-public/de/fraunhofer/iais/eis/ids/infomodel-serializer/4.2.8-SNAPSHOT/maven-metadata.xml Downloading from eis-ids-public: http://maven.iais.fraunhofer.de/artifactory/eis-ids-public/de/fraunhofer/iais/eis/ids/infomodel-serializer/4.2.8-SNAPSHOT/maven-metadata.xml Downloaded from eis-public-repo: http://maven.iais.fraunhofer.de/artifactory/eis-ids-public/de/fraunhofer/iais/eis/ids/infomodel-serializer/4.2.8-SNAPSHOT/maven-metadata.xml (1.0 kB at 4.8 kB/s) Downloaded from eis-ids-public: http://maven.iais.fraunhofer.de/artifactory/eis-ids-public/de/fraunhofer/iais/eis/ids/infomodel-serializer/4.2.8-SNAPSHOT/maven-metadata.xml (1.0 kB at 3.2 kB/s) [WARNING] Could not transfer metadata de.fraunhofer.iais.eis.ids:infomodel-serializer:4.2.8-SNAPSHOT/maven-metadata.xml from/to eis-snapshot-repo (http://maven.iais.fraunhofer.de/artifactory/eis-ids-snapshot): Authentication failed for http://maven.iais.fraunhofer.de/artifactory/eis-ids-snapshot/de/fraunhofer/iais/eis/ids/infomodel-serializer/4.2.8-SNAPSHOT/maven-metadata.xml 401 Unauthorized [WARNING] Failure to transfer de.fraunhofer.iais.eis.ids:infomodel-serializer:4.2.8-SNAPSHOT/maven-metadata.xml from http://maven.iais.fraunhofer.de/artifactory/eis-ids-snapshot was cached in the local repository, resolution will not be reattempted until the update interval of eis-snapshot-repo has elapsed or updates are forced. Original error: Could not transfer metadata de.fraunhofer.iais.eis.ids:infomodel-serializer:4.2.8-SNAPSHOT/maven-metadata.xml from/to eis-snapshot-repo (http://maven.iais.fraunhofer.de/artifactory/eis-ids-snapshot): Authentication failed for http://maven.iais.fraunhofer.de/artifactory/eis-ids-snapshot/de/fraunhofer/iais/eis/ids/infomodel-serializer/4.2.8-SNAPSHOT/maven-metadata.xml 401 Unauthorized Downloading from eis-public-repo: http://maven.iais.fraunhofer.de/artifactory/eis-ids-public/de/fraunhofer/iais/eis/infomodel/util/4.2.7-SNAPSHOT/maven-metadata.xml Downloading from eis-snapshot-repo: http://maven.iais.fraunhofer.de/artifactory/eis-ids-snapshot/de/fraunhofer/iais/eis/infomodel/util/4.2.7-SNAPSHOT/maven-metadata.xml Downloading from eis-ids-public: http://maven.iais.fraunhofer.de/artifactory/eis-ids-public/de/fraunhofer/iais/eis/infomodel/util/4.2.7-SNAPSHOT/maven-metadata.xml Downloaded from eis-public-repo: http://maven.iais.fraunhofer.de/artifactory/eis-ids-public/de/fraunhofer/iais/eis/infomodel/util/4.2.7-SNAPSHOT/maven-metadata.xml (1.0 kB at 4.8 kB/s) Downloaded from eis-ids-public: http://maven.iais.fraunhofer.de/artifactory/eis-ids-public/de/fraunhofer/iais/eis/infomodel/util/4.2.7-SNAPSHOT/maven-metadata.xml (1.0 kB at 3.2 kB/s) [WARNING] Could not transfer metadata de.fraunhofer.iais.eis.infomodel:util:4.2.7-SNAPSHOT/maven-metadata.xml from/to eis-snapshot-repo (http://maven.iais.fraunhofer.de/artifactory/eis-ids-snapshot): Authentication failed for http://maven.iais.fraunhofer.de/artifactory/eis-ids-snapshot/de/fraunhofer/iais/eis/infomodel/util/4.2.7-SNAPSHOT/maven-metadata.xml 401 Unauthorized [WARNING] Failure to transfer de.fraunhofer.iais.eis.infomodel:util:4.2.7-SNAPSHOT/maven-metadata.xml from http://maven.iais.fraunhofer.de/artifactory/eis-ids-snapshot was cached in the local repository, resolution will not be reattempted until the update interval of eis-snapshot-repo has elapsed or updates are forced. Original error: Could not transfer metadata de.fraunhofer.iais.eis.infomodel:util:4.2.7-SNAPSHOT/maven-metadata.xml from/to eis-snapshot-repo (http://maven.iais.fraunhofer.de/artifactory/eis-ids-snapshot): Authentication failed for http://maven.iais.fraunhofer.de/artifactory/eis-ids-snapshot/de/fraunhofer/iais/eis/infomodel/util/4.2.7-SNAPSHOT/maven-metadata.xml 401 Unauthorized Downloading from eis-public-repo: http://maven.iais.fraunhofer.de/artifactory/eis-ids-public/de/fraunhofer/iais/eis/ids/connector-commons/4.2.8-SNAPSHOT/maven-metadata.xml Downloaded from eis-public-repo: http://maven.iais.fraunhofer.de/artifactory/eis-ids-public/de/fraunhofer/iais/eis/ids/connector-commons/4.2.8-SNAPSHOT/maven-metadata.xml (1.0 kB at 4.8 kB/s) Downloading from eis-public-repo: http://maven.iais.fraunhofer.de/artifactory/eis-ids-public/de/fraunhofer/iais/eis/ids/interaction/4.2.8-SNAPSHOT/maven-metadata.xml Downloaded from eis-public-repo: http://maven.iais.fraunhofer.de/artifactory/eis-ids-public/de/fraunhofer/iais/eis/ids/interaction/4.2.8-SNAPSHOT/maven-metadata.xml (1.0 kB at 4.9 kB/s) Downloading from eis-public-repo: http://maven.iais.fraunhofer.de/artifactory/eis-ids-public/de/fraunhofer/iais/eis/ids/protocol/4.2.8-SNAPSHOT/maven-metadata.xml Downloaded from eis-public-repo: http://maven.iais.fraunhofer.de/artifactory/eis-ids-public/de/fraunhofer/iais/eis/ids/protocol/4.2.8-SNAPSHOT/maven-metadata.xml (998 B at 4.9 kB/s) Downloading from eis-public-repo: http://maven.iais.fraunhofer.de/artifactory/eis-ids-public/de/fraunhofer/iais/eis/ids/ecosystemintegration/4.2.8-SNAPSHOT/maven-metadata.xml Downloaded from eis-public-repo: http://maven.iais.fraunhofer.de/artifactory/eis-ids-public/de/fraunhofer/iais/eis/ids/ecosystemintegration/4.2.8-SNAPSHOT/maven-metadata.xml (1.0 kB at 5.0 kB/s) Downloading from eis-public-repo: http://maven.iais.fraunhofer.de/artifactory/eis-ids-public/net/minidev/json-smart/maven-metadata.xml Downloading from central: https://repo.maven.apache.org/maven2/net/minidev/json-smart/maven-metadata.xml Downloading from eis-ids-public: http://maven.iais.fraunhofer.de/artifactory/eis-ids-public/net/minidev/json-smart/maven-metadata.xml Downloading from eis-snapshot-repo: http://maven.iais.fraunhofer.de/artifactory/eis-ids-snapshot/net/minidev/json-smart/maven-metadata.xml Downloaded from central: https://repo.maven.apache.org/maven2/net/minidev/json-smart/maven-metadata.xml (1.1 kB at 7.4 kB/s) [WARNING] Could not transfer metadata net.minidev:json-smart/maven-metadata.xml from/to eis-snapshot-repo (http://maven.iais.fraunhofer.de/artifactory/eis-ids-snapshot): Authentication failed for http://maven.iais.fraunhofer.de/artifactory/eis-ids-snapshot/net/minidev/json-smart/maven-metadata.xml 401 Unauthorized [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ open-index-common --- [INFO] Deleting /home/sqs/TESTBED_TODO/metadata-broker-open-core/open-index-common/target [INFO] [INFO] --- flatten-maven-plugin:1.2.2:clean (flatten.clean) @ open-index-common --- [INFO] Deleting /home/sqs/TESTBED_TODO/metadata-broker-open-core/open-index-common/.flattened-pom.xml [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ open-index-common --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/sqs/TESTBED_TODO/metadata-broker-open-core/open-index-common/src/main/resources [INFO] [INFO] --- flatten-maven-plugin:1.2.2:flatten (flatten) @ open-index-common --- [INFO] Generating flattened POM of project de.fraunhofer.iais.eis.ids:open-index-common:jar:4.2.8-SNAPSHOT... [INFO] [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ open-index-common --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 15 source files to /home/sqs/TESTBED_TODO/metadata-broker-open-core/open-index-common/target/classes [INFO] /home/sqs/TESTBED_TODO/metadata-broker-open-core/open-index-common/src/main/java/de/fraunhofer/iais/eis/ids/index/common/persistence/DescriptionRequestHandler.java: /home/sqs/TESTBED_TODO/metadata-broker-open-core/open-index-common/src/main/java/de/fraunhofer/iais/eis/ids/index/common/persistence/DescriptionRequestHandler.java uses unchecked or unsafe operations. [INFO] /home/sqs/TESTBED_TODO/metadata-broker-open-core/open-index-common/src/main/java/de/fraunhofer/iais/eis/ids/index/common/persistence/DescriptionRequestHandler.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ open-index-common --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/sqs/TESTBED_TODO/metadata-broker-open-core/open-index-common/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ open-index-common --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ open-index-common --- [INFO] No tests to run. [INFO] [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ open-index-common --- [INFO] Building jar: /home/sqs/TESTBED_TODO/metadata-broker-open-core/open-index-common/target/open-index-common-4.2.8-SNAPSHOT.jar [INFO] [INFO] -----------< de.fraunhofer.iais.eis.ids:open-broker-common >------------ [INFO] Building open-broker-common 4.2.8-SNAPSHOT [3/4] [INFO] --------------------------------[ jar ]--------------------------------- [WARNING] Failure to transfer net.minidev:json-smart/maven-metadata.xml from http://maven.iais.fraunhofer.de/artifactory/eis-ids-snapshot was cached in the local repository, resolution will not be reattempted until the update interval of eis-snapshot-repo has elapsed or updates are forced. Original error: Could not transfer metadata net.minidev:json-smart/maven-metadata.xml from/to eis-snapshot-repo (http://maven.iais.fraunhofer.de/artifactory/eis-ids-snapshot): Authentication failed for http://maven.iais.fraunhofer.de/artifactory/eis-ids-snapshot/net/minidev/json-smart/maven-metadata.xml 401 Unauthorized [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ open-broker-common --- [INFO] Deleting /home/sqs/TESTBED_TODO/metadata-broker-open-core/open-broker-common/target [INFO] [INFO] --- flatten-maven-plugin:1.2.2:clean (flatten.clean) @ open-broker-common --- [INFO] Deleting /home/sqs/TESTBED_TODO/metadata-broker-open-core/open-broker-common/.flattened-pom.xml [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ open-broker-common --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/sqs/TESTBED_TODO/metadata-broker-open-core/open-broker-common/src/main/resources [INFO] [INFO] --- flatten-maven-plugin:1.2.2:flatten (flatten) @ open-broker-common --- [INFO] Generating flattened POM of project de.fraunhofer.iais.eis.ids:open-broker-common:jar:4.2.8-SNAPSHOT... [INFO] [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ open-broker-common --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 10 source files to /home/sqs/TESTBED_TODO/metadata-broker-open-core/open-broker-common/target/classes [INFO] /home/sqs/TESTBED_TODO/metadata-broker-open-core/open-broker-common/src/main/java/de/fraunhofer/iais/eis/ids/broker/core/common/persistence/RegistrationHandler.java: /home/sqs/TESTBED_TODO/metadata-broker-open-core/open-broker-common/src/main/java/de/fraunhofer/iais/eis/ids/broker/core/common/persistence/RegistrationHandler.java uses or overrides a deprecated API. [INFO] /home/sqs/TESTBED_TODO/metadata-broker-open-core/open-broker-common/src/main/java/de/fraunhofer/iais/eis/ids/broker/core/common/persistence/RegistrationHandler.java: Recompile with -Xlint:deprecation for details. [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ open-broker-common --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/sqs/TESTBED_TODO/metadata-broker-open-core/open-broker-common/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ open-broker-common --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ open-broker-common --- [INFO] No tests to run. [INFO] [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ open-broker-common --- [INFO] Building jar: /home/sqs/TESTBED_TODO/metadata-broker-open-core/open-broker-common/target/open-broker-common-4.2.8-SNAPSHOT.jar [INFO] [INFO] ---------------< de.fraunhofer.iais.eis.ids:broker-core >--------------- [INFO] Building broker-core 4.2.8-SNAPSHOT [4/4] [INFO] --------------------------------[ jar ]--------------------------------- [WARNING] Failure to transfer net.minidev:json-smart/maven-metadata.xml from http://maven.iais.fraunhofer.de/artifactory/eis-ids-snapshot was cached in the local repository, resolution will not be reattempted until the update interval of eis-snapshot-repo has elapsed or updates are forced. Original error: Could not transfer metadata net.minidev:json-smart/maven-metadata.xml from/to eis-snapshot-repo (http://maven.iais.fraunhofer.de/artifactory/eis-ids-snapshot): Authentication failed for http://maven.iais.fraunhofer.de/artifactory/eis-ids-snapshot/net/minidev/json-smart/maven-metadata.xml 401 Unauthorized [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ broker-core --- [INFO] Deleting /home/sqs/TESTBED_TODO/metadata-broker-open-core/broker-core/target [INFO] [INFO] --- flatten-maven-plugin:1.2.2:clean (flatten.clean) @ broker-core --- [INFO] Deleting /home/sqs/TESTBED_TODO/metadata-broker-open-core/broker-core/.flattened-pom.xml [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ broker-core --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 5 resources [INFO] [INFO] --- flatten-maven-plugin:1.2.2:flatten (flatten) @ broker-core --- [INFO] Generating flattened POM of project de.fraunhofer.iais.eis.ids:broker-core:jar:4.2.8-SNAPSHOT... [INFO] [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ broker-core --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 2 source files to /home/sqs/TESTBED_TODO/metadata-broker-open-core/broker-core/target/classes [INFO] /home/sqs/TESTBED_TODO/metadata-broker-open-core/broker-core/src/main/java/de/fraunhofer/iais/eis/ids/broker/main/AppConfig.java: /home/sqs/TESTBED_TODO/metadata-broker-open-core/broker-core/src/main/java/de/fraunhofer/iais/eis/ids/broker/main/AppConfig.java uses unchecked or unsafe operations. [INFO] /home/sqs/TESTBED_TODO/metadata-broker-open-core/broker-core/src/main/java/de/fraunhofer/iais/eis/ids/broker/main/AppConfig.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ broker-core --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/sqs/TESTBED_TODO/metadata-broker-open-core/broker-core/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ broker-core --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 5 source files to /home/sqs/TESTBED_TODO/metadata-broker-open-core/broker-core/target/test-classes [INFO] [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ broker-core --- [INFO] Surefire report directory: /home/sqs/TESTBED_TODO/metadata-broker-open-core/broker-core/target/surefire-reports


T E S T S

Running de.fraunhofer.iais.eis.ids.broker.acceptancetest.ConnectorBasicsTest 12:11:26.648 [main] INFO org.hibernate.validator.internal.util.Version - HV000001: Hibernate Validator 6.0.20.Final 12:11:27.012 [main] INFO de.fraunhofer.iais.eis.ids.index.common.persistence.RepositoryFacade - Preparing memory repository 12:11:27.458 [main] INFO de.fraunhofer.iais.eis.ids.index.common.persistence.RepositoryFacade - Admin graph set to https://broker.ids.isst.fraunhofer.de/admin 12:11:27.459 [main] WARN de.fraunhofer.iais.eis.ids.index.common.persistence.RepositoryFacade - Cannot return read-only connection to in-memory dataset. Connection will be writable! 12:11:27.459 [main] WARN de.fraunhofer.iais.eis.ids.index.common.persistence.RepositoryFacade - This warning is only printed once. 12:11:27.614 [main] INFO de.fraunhofer.iais.eis.ids.index.common.persistence.RepositoryFacade - Admin graph does not yet exist. Initializing it with one statement. 12:11:27.624 [Timer-0] INFO de.fraunhofer.iais.eis.ids.broker.core.common.persistence.SelfDescriptionPersistenceAndIndexing - Refreshing indices. 12:11:27.625 [Timer-0] INFO de.fraunhofer.iais.eis.ids.index.common.persistence.NullIndexing - Clear index IGNORED. 12:11:27.625 [Timer-0] INFO de.fraunhofer.iais.eis.ids.index.common.persistence.NullIndexing - Clear index IGNORED. 12:11:28.708 [main] INFO de.fraunhofer.iais.eis.ids.index.common.main.AppConfigTemplate - Incoming messages DAPS token verification enabled: true 12:11:28.708 [main] INFO de.fraunhofer.iais.eis.ids.index.common.persistence.RepositoryFacade - Preparing memory repository 12:11:28.709 [main] INFO de.fraunhofer.iais.eis.ids.index.common.persistence.RepositoryFacade - Admin graph set to https://broker.ids.isst.fraunhofer.de/admin 12:11:28.713 [main] INFO de.fraunhofer.iais.eis.ids.index.common.persistence.RepositoryFacade - Admin graph does not yet exist. Initializing it with one statement. 12:11:28.732 [Timer-1] INFO de.fraunhofer.iais.eis.ids.broker.core.common.persistence.SelfDescriptionPersistenceAndIndexing - Refreshing indices. 12:11:28.732 [Timer-1] INFO de.fraunhofer.iais.eis.ids.index.common.persistence.NullIndexing - Clear index IGNORED. 12:11:28.733 [Timer-1] INFO de.fraunhofer.iais.eis.ids.index.common.persistence.NullIndexing - Clear index IGNORED. 12:11:29.451 [main] WARN de.fraunhofer.iais.eis.ids.component.core.MessageDispatcher - An empty token was retrieved from the security token provider. Make sure to have set a proper securityTokenProvider for the Message Dispatcher! 12:11:29.451 [main] WARN de.fraunhofer.iais.eis.ids.component.core.MessageDispatcher - No security token verifier set. Use setSecurityTokenVerifier method. 12:11:29.457 [main] INFO de.fraunhofer.iais.eis.ids.component.core.logging.MessageLogger - DescriptionRequestMessage received from http://example.org/ (called by de.fraunhofer.iais.eis.ids.index.common.persistence.DescriptionRequestHandler) requestedElement: null 12:11:29.457 [main] INFO de.fraunhofer.iais.eis.ids.index.common.persistence.DescriptionProvider - Self-description has been requested 12:11:29.595 [main] INFO de.fraunhofer.iais.eis.ids.index.common.persistence.RepositoryFacade - Preparing memory repository 12:11:29.596 [main] INFO de.fraunhofer.iais.eis.ids.index.common.persistence.RepositoryFacade - Admin graph set to https://broker.ids.isst.fraunhofer.de/admin 12:11:29.598 [main] INFO de.fraunhofer.iais.eis.ids.index.common.persistence.RepositoryFacade - Admin graph does not yet exist. Initializing it with one statement. 12:11:29.608 [Timer-2] INFO de.fraunhofer.iais.eis.ids.broker.core.common.persistence.SelfDescriptionPersistenceAndIndexing - Refreshing indices. 12:11:29.609 [Timer-2] INFO de.fraunhofer.iais.eis.ids.index.common.persistence.NullIndexing - Clear index IGNORED. 12:11:29.610 [Timer-2] INFO de.fraunhofer.iais.eis.ids.index.common.persistence.NullIndexing - Clear index IGNORED. 12:11:29.901 [main] INFO de.fraunhofer.iais.eis.ids.index.common.main.AppConfigTemplate - Incoming messages DAPS token verification enabled: true 12:11:29.902 [main] INFO de.fraunhofer.iais.eis.ids.index.common.persistence.RepositoryFacade - Preparing memory repository 12:11:29.902 [main] INFO de.fraunhofer.iais.eis.ids.index.common.persistence.RepositoryFacade - Admin graph set to https://broker.ids.isst.fraunhofer.de/admin 12:11:29.907 [main] INFO de.fraunhofer.iais.eis.ids.index.common.persistence.RepositoryFacade - Admin graph does not yet exist. Initializing it with one statement. 12:11:29.919 [Timer-3] INFO de.fraunhofer.iais.eis.ids.broker.core.common.persistence.SelfDescriptionPersistenceAndIndexing - Refreshing indices. 12:11:29.919 [Timer-3] INFO de.fraunhofer.iais.eis.ids.index.common.persistence.NullIndexing - Clear index IGNORED. 12:11:29.919 [Timer-3] INFO de.fraunhofer.iais.eis.ids.index.common.persistence.NullIndexing - Clear index IGNORED. 12:11:30.308 [main] INFO de.fraunhofer.iais.eis.ids.index.common.persistence.RepositoryFacade - Preparing memory repository 12:11:30.308 [main] INFO de.fraunhofer.iais.eis.ids.index.common.persistence.RepositoryFacade - Admin graph set to https://broker.ids.isst.fraunhofer.de/admin 12:11:30.311 [main] INFO de.fraunhofer.iais.eis.ids.index.common.persistence.RepositoryFacade - Admin graph does not yet exist. Initializing it with one statement. 12:11:30.328 [Timer-4] INFO de.fraunhofer.iais.eis.ids.broker.core.common.persistence.SelfDescriptionPersistenceAndIndexing - Refreshing indices. 12:11:30.328 [Timer-4] INFO de.fraunhofer.iais.eis.ids.index.common.persistence.NullIndexing - Clear index IGNORED. 12:11:30.328 [Timer-4] INFO de.fraunhofer.iais.eis.ids.index.common.persistence.NullIndexing - Clear index IGNORED. 12:11:30.592 [main] INFO de.fraunhofer.iais.eis.ids.index.common.main.AppConfigTemplate - Incoming messages DAPS token verification enabled: true 12:11:30.593 [main] INFO de.fraunhofer.iais.eis.ids.index.common.persistence.RepositoryFacade - Preparing memory repository 12:11:30.593 [main] INFO de.fraunhofer.iais.eis.ids.index.common.persistence.RepositoryFacade - Admin graph set to https://broker.ids.isst.fraunhofer.de/admin 12:11:30.595 [main] INFO de.fraunhofer.iais.eis.ids.index.common.persistence.RepositoryFacade - Admin graph does not yet exist. Initializing it with one statement. 12:11:30.610 [Timer-5] INFO de.fraunhofer.iais.eis.ids.broker.core.common.persistence.SelfDescriptionPersistenceAndIndexing - Refreshing indices. 12:11:30.610 [Timer-5] INFO de.fraunhofer.iais.eis.ids.index.common.persistence.NullIndexing - Clear index IGNORED. 12:11:30.610 [Timer-5] INFO de.fraunhofer.iais.eis.ids.index.common.persistence.NullIndexing - Clear index IGNORED. Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.155 sec Running de.fraunhofer.iais.eis.ids.broker.acceptancetest.ConnectorManagementTest 12:11:30.958 [main] INFO de.fraunhofer.iais.eis.ids.index.common.main.AppConfigTemplate - Catalog URI set to http://localhost:8080/connectors/ 12:11:30.959 [main] INFO de.fraunhofer.iais.eis.ids.index.common.persistence.RepositoryFacade - Preparing memory repository 12:11:30.959 [main] INFO de.fraunhofer.iais.eis.ids.index.common.persistence.RepositoryFacade - Admin graph set to https://broker.ids.isst.fraunhofer.de/admin 12:11:30.960 [main] INFO de.fraunhofer.iais.eis.ids.index.common.persistence.RepositoryFacade - Admin graph does not yet exist. Initializing it with one statement. 12:11:30.981 [Timer-6] INFO de.fraunhofer.iais.eis.ids.broker.core.common.persistence.SelfDescriptionPersistenceAndIndexing - Refreshing indices. 12:11:30.981 [Timer-6] INFO de.fraunhofer.iais.eis.ids.index.common.persistence.NullIndexing - Clear index IGNORED. 12:11:30.982 [Timer-6] INFO de.fraunhofer.iais.eis.ids.index.common.persistence.NullIndexing - Clear index IGNORED. Tests run: 2, Failures: 1, Errors: 0, Skipped: 1, Time elapsed: 0.482 sec <<< FAILURE! register(de.fraunhofer.iais.eis.ids.broker.acceptancetest.ConnectorManagementTest) Time elapsed: 0.482 sec <<< FAILURE! org.junit.ComparisonFailure: expected:<ids:[MessageProcessedNotifica]tionMessage> but was:<ids:[Rejec]tionMessage> at org.junit.Assert.assertEquals(Assert.java:117) at org.junit.Assert.assertEquals(Assert.java:146) at de.fraunhofer.iais.eis.ids.broker.acceptancetest.ConnectorManagementTest.register(ConnectorManagementTest.java:104) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)

Running de.fraunhofer.iais.eis.ids.broker.persistence.RdfPersistenceTest 12:11:31.436 [main] INFO de.fraunhofer.iais.eis.ids.index.common.persistence.RepositoryFacade - Preparing memory repository 12:11:31.437 [main] INFO de.fraunhofer.iais.eis.ids.index.common.persistence.RepositoryFacade - Admin graph set to https://broker.ids.isst.fraunhofer.de/admin 12:11:31.438 [main] INFO de.fraunhofer.iais.eis.ids.index.common.persistence.RepositoryFacade - Admin graph does not yet exist. Initializing it with one statement. 12:11:31.464 [Timer-7] INFO de.fraunhofer.iais.eis.ids.broker.core.common.persistence.SelfDescriptionPersistenceAndIndexing - Refreshing indices. 12:11:31.464 [Timer-7] INFO de.fraunhofer.iais.eis.ids.index.common.persistence.NullIndexing - Clear index IGNORED. 12:11:31.464 [Timer-7] INFO de.fraunhofer.iais.eis.ids.index.common.persistence.NullIndexing - Clear index IGNORED. 12:11:31.568 [main] INFO de.fraunhofer.iais.eis.ids.broker.core.common.persistence.SelfDescriptionPersistenceAndIndexing - New connector registered: http://localhost:8080/connectors/-1774587182 12:11:31.596 [main] INFO de.fraunhofer.iais.eis.ids.index.common.persistence.RepositoryFacade - Changing passivation of graph http://localhost:8080/connectors/-1774587182. Is now active: true 12:11:31.614 [main] INFO de.fraunhofer.iais.eis.ids.index.common.persistence.NullIndexing - Add to index IGNORED. 12:11:31.669 [main] INFO de.fraunhofer.iais.eis.ids.broker.core.common.persistence.SelfDescriptionPersistenceAndIndexing - Updating a connector which is already known to the broker: http://localhost:8080/connectors/-1774587182 12:11:31.693 [main] INFO de.fraunhofer.iais.eis.ids.index.common.persistence.RepositoryFacade - Changing passivation of graph http://localhost:8080/connectors/-1774587182. Is now active: true 12:11:31.710 [main] INFO de.fraunhofer.iais.eis.ids.index.common.persistence.NullIndexing - Index update IGNORED. 12:11:31.778 [main] INFO de.fraunhofer.iais.eis.ids.index.common.persistence.RepositoryFacade - Preparing memory repository 12:11:31.778 [main] INFO de.fraunhofer.iais.eis.ids.index.common.persistence.RepositoryFacade - Admin graph set to https://broker.ids.isst.fraunhofer.de/admin 12:11:31.780 [main] INFO de.fraunhofer.iais.eis.ids.index.common.persistence.RepositoryFacade - Admin graph does not yet exist. Initializing it with one statement. 12:11:31.806 [Timer-8] INFO de.fraunhofer.iais.eis.ids.broker.core.common.persistence.SelfDescriptionPersistenceAndIndexing - Refreshing indices. 12:11:31.806 [Timer-8] INFO de.fraunhofer.iais.eis.ids.index.common.persistence.NullIndexing - Clear index IGNORED. 12:11:31.807 [Timer-8] INFO de.fraunhofer.iais.eis.ids.index.common.persistence.NullIndexing - Clear index IGNORED. 12:11:31.891 [main] INFO de.fraunhofer.iais.eis.ids.broker.core.common.persistence.SelfDescriptionPersistenceAndIndexing - New connector registered: http://localhost:8080/connectors/-398230502 12:11:31.899 [main] INFO de.fraunhofer.iais.eis.ids.index.common.persistence.RepositoryFacade - Changing passivation of graph http://localhost:8080/connectors/-398230502. Is now active: true 12:11:31.907 [main] INFO de.fraunhofer.iais.eis.ids.index.common.persistence.NullIndexing - Add to index IGNORED. 12:11:32.007 [main] INFO de.fraunhofer.iais.eis.ids.broker.core.common.persistence.SelfDescriptionPersistenceAndIndexing - New connector registered: http://localhost:8080/connectors/-44429008 12:11:32.014 [main] INFO de.fraunhofer.iais.eis.ids.index.common.persistence.RepositoryFacade - Changing passivation of graph http://localhost:8080/connectors/-44429008. Is now active: true 12:11:32.022 [main] INFO de.fraunhofer.iais.eis.ids.index.common.persistence.NullIndexing - Add to index IGNORED. 12:11:32.040 [main] INFO de.fraunhofer.iais.eis.ids.index.common.persistence.RepositoryFacade - Preparing memory repository 12:11:32.041 [main] INFO de.fraunhofer.iais.eis.ids.index.common.persistence.RepositoryFacade - Admin graph set to https://broker.ids.isst.fraunhofer.de/admin 12:11:32.045 [main] INFO de.fraunhofer.iais.eis.ids.index.common.persistence.RepositoryFacade - Admin graph does not yet exist. Initializing it with one statement. 12:11:32.058 [Timer-9] INFO de.fraunhofer.iais.eis.ids.broker.core.common.persistence.SelfDescriptionPersistenceAndIndexing - Refreshing indices. 12:11:32.059 [Timer-9] INFO de.fraunhofer.iais.eis.ids.index.common.persistence.NullIndexing - Clear index IGNORED. 12:11:32.059 [Timer-9] INFO de.fraunhofer.iais.eis.ids.index.common.persistence.NullIndexing - Clear index IGNORED. 12:11:32.139 [main] INFO de.fraunhofer.iais.eis.ids.broker.core.common.persistence.SelfDescriptionPersistenceAndIndexing - New connector registered: http://localhost:8080/connectors/358666973 12:11:32.157 [main] INFO de.fraunhofer.iais.eis.ids.index.common.persistence.RepositoryFacade - Changing passivation of graph http://localhost:8080/connectors/358666973. Is now active: true 12:11:32.164 [main] INFO de.fraunhofer.iais.eis.ids.index.common.persistence.NullIndexing - Add to index IGNORED. 12:11:32.220 [main] INFO de.fraunhofer.iais.eis.ids.broker.core.common.persistence.SelfDescriptionPersistenceAndIndexing - New connector registered: http://localhost:8080/connectors/-1392576515 12:11:32.226 [main] INFO de.fraunhofer.iais.eis.ids.index.common.persistence.RepositoryFacade - Changing passivation of graph http://localhost:8080/connectors/-1392576515. Is now active: true 12:11:32.229 [main] INFO de.fraunhofer.iais.eis.ids.index.common.persistence.NullIndexing - Add to index IGNORED. 12:11:32.235 [main] INFO de.fraunhofer.iais.eis.ids.index.common.persistence.RepositoryFacade - Changing passivation of graph http://localhost:8080/connectors/-1392576515. Is now active: false 12:11:32.238 [main] INFO de.fraunhofer.iais.eis.ids.index.common.persistence.NullIndexing - Delete from index IGNORED. 12:11:32.244 [main] INFO de.fraunhofer.iais.eis.ids.index.common.persistence.RepositoryFacade - Changing passivation of graph http://localhost:8080/connectors/358666973. Is now active: false 12:11:32.247 [main] INFO de.fraunhofer.iais.eis.ids.index.common.persistence.NullIndexing - Delete from index IGNORED. 12:11:32.252 [main] INFO de.fraunhofer.iais.eis.ids.index.common.persistence.RepositoryFacade - Preparing memory repository 12:11:32.254 [main] INFO de.fraunhofer.iais.eis.ids.index.common.persistence.RepositoryFacade - Admin graph set to https://broker.ids.isst.fraunhofer.de/admin 12:11:32.256 [main] INFO de.fraunhofer.iais.eis.ids.index.common.persistence.RepositoryFacade - Admin graph does not yet exist. Initializing it with one statement. 12:11:32.266 [Timer-10] INFO de.fraunhofer.iais.eis.ids.broker.core.common.persistence.SelfDescriptionPersistenceAndIndexing - Refreshing indices. 12:11:32.267 [Timer-10] INFO de.fraunhofer.iais.eis.ids.index.common.persistence.NullIndexing - Clear index IGNORED. 12:11:32.270 [Timer-10] INFO de.fraunhofer.iais.eis.ids.index.common.persistence.NullIndexing - Clear index IGNORED. 12:11:32.317 [main] INFO de.fraunhofer.iais.eis.ids.broker.core.common.persistence.SelfDescriptionPersistenceAndIndexing - New connector registered: http://localhost:8080/connectors/-1395515401 12:11:32.334 [main] INFO de.fraunhofer.iais.eis.ids.index.common.persistence.RepositoryFacade - Changing passivation of graph http://localhost:8080/connectors/-1395515401. Is now active: true 12:11:32.336 [main] INFO de.fraunhofer.iais.eis.ids.index.common.persistence.NullIndexing - Add to index IGNORED. Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.92 sec Running de.fraunhofer.iais.eis.ids.broker.handler.RegistrationHandlerTest 12:11:32.446 [main] INFO de.fraunhofer.iais.eis.ids.index.common.persistence.RepositoryFacade - Preparing memory repository 12:11:32.448 [main] INFO de.fraunhofer.iais.eis.ids.index.common.persistence.RepositoryFacade - Admin graph set to https://broker.ids.isst.fraunhofer.de/admin 12:11:32.450 [main] INFO de.fraunhofer.iais.eis.ids.index.common.persistence.RepositoryFacade - Admin graph does not yet exist. Initializing it with one statement. 12:11:32.451 [main] INFO de.fraunhofer.iais.eis.ids.component.core.logging.MessageLogger - ConnectorUnavailableMessage received from https://example.org/dummy (called by de.fraunhofer.iais.eis.ids.component.core.logging.MessageLogger) affectedConnector: https://example.org/dummy 12:11:32.452 [main] INFO de.fraunhofer.iais.eis.ids.component.core.logging.MessageLogger - Message did not have a payload. 12:11:32.532 [main] INFO de.fraunhofer.iais.eis.ids.index.common.persistence.RepositoryFacade - Preparing memory repository 12:11:32.533 [main] INFO de.fraunhofer.iais.eis.ids.index.common.persistence.RepositoryFacade - Admin graph set to https://broker.ids.isst.fraunhofer.de/admin 12:11:32.535 [main] INFO de.fraunhofer.iais.eis.ids.index.common.persistence.RepositoryFacade - Admin graph does not yet exist. Initializing it with one statement. 12:11:32.536 [main] INFO de.fraunhofer.iais.eis.ids.component.core.logging.MessageLogger - ConnectorUpdateMessage received from https://example.org/dummy (called by de.fraunhofer.iais.eis.ids.component.core.logging.MessageLogger) affectedConnector: https://example.org/dummy 12:11:32.537 [main] INFO de.fraunhofer.iais.eis.ids.component.core.logging.MessageLogger - Payload hash: -871447226 12:11:32.619 [main] INFO de.fraunhofer.iais.eis.ids.index.common.persistence.RepositoryFacade - Preparing memory repository 12:11:32.619 [main] INFO de.fraunhofer.iais.eis.ids.index.common.persistence.RepositoryFacade - Admin graph set to https://broker.ids.isst.fraunhofer.de/admin 12:11:32.621 [main] INFO de.fraunhofer.iais.eis.ids.index.common.persistence.RepositoryFacade - Admin graph does not yet exist. Initializing it with one statement. 12:11:32.622 [main] INFO de.fraunhofer.iais.eis.ids.component.core.logging.MessageLogger - ConnectorUpdateMessage received from https://example.org/dummy (called by de.fraunhofer.iais.eis.ids.component.core.logging.MessageLogger) affectedConnector: https://example.org/dummy 12:11:32.623 [main] INFO de.fraunhofer.iais.eis.ids.component.core.logging.MessageLogger - Payload hash: -871447226 Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.263 sec

Results :

Failed tests: register(de.fraunhofer.iais.eis.ids.broker.acceptancetest.ConnectorManagementTest): expected:<ids:[MessageProcessedNotifica]tionMessage> but was:<ids:[Rejec]tionMessage>

Tests run: 12, Failures: 1, Errors: 0, Skipped: 1

[INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for broker-open-core 4.2.8-SNAPSHOT: [INFO] [INFO] broker-open-core ................................... SUCCESS [ 1.000 s] [INFO] open-index-common .................................. SUCCESS [ 7.607 s] [INFO] open-broker-common ................................. SUCCESS [ 0.910 s] [INFO] broker-core ........................................ FAILURE [ 8.433 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 18.220 s [INFO] Finished at: 2021-11-23T12:11:32+01:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project broker-core: There are test failures. [ERROR] [ERROR] Please refer to /home/sqs/TESTBED_TODO/metadata-broker-open-core/broker-core/target/surefire-reports for the individual test results. [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn -rf :broker-core

sebbader commented 2 years ago

Hi @jfernandezsqs , it might be a stupid idea but are you sure you are on the latest commit? I am able to reproduce your reported behavior with https://github.com/International-Data-Spaces-Association/metadata-broker-open-core/commit/43b8256408992b29845b395b1de4059a3c8a17a9 but not with https://github.com/International-Data-Spaces-Association/metadata-broker-open-core/commit/e236427c4044e22f70459bac710c0eb1477ea8b6 anymore.

sebbader commented 2 years ago

I don't understand however why the Maven log shows 4.2.8-SNAPSHOT then. Can you please paste the content of the class broker-core > de.fraunhofer.iais.eis.ids.broker.acceptancetest > ConnectorManagementTest.java here?

jfernandezsqs commented 2 years ago

This is the content of the ConnectorManagementTest.java file:

package de.fraunhofer.iais.eis.ids.broker.acceptancetest; import de.fraunhofer.iais.eis.; import de.fraunhofer.iais.eis.ids.broker.main.AppConfig; import de.fraunhofer.iais.eis.ids.broker.util.NullBrokerSelfDescription; import de.fraunhofer.iais.eis.ids.component.core.MessageAndPayload; import de.fraunhofer.iais.eis.ids.component.core.RequestType; import de.fraunhofer.iais.eis.ids.component.core.util.CalendarUtil; import de.fraunhofer.iais.eis.ids.component.interaction.multipart.Multipart; import de.fraunhofer.iais.eis.ids.component.interaction.multipart.MultipartComponentInteractor; import de.fraunhofer.iais.eis.ids.connector.commons.broker.map.QueryMAP; import de.fraunhofer.iais.eis.ids.connector.commons.broker.map.InfrastructureComponentMAP; import de.fraunhofer.iais.eis.util.TypedLiteral; import org.json.JSONException; import org.json.JSONObject; import org.junit.Assert; import org.junit.Before; import org.junit.Ignore; import org.junit.Test; import java.io.IOException; import java.net.MalformedURLException; import java.net.URI; import java.net.URISyntaxException; import java.net.URL; import java.util.ArrayList; import static de.fraunhofer.iais.eis.util.Util.asList; public class ConnectorManagementTest { private MultipartComponentInteractor multipartComponentInteractor; private DynamicAttributeToken dummyToken = new DynamicAttributeTokenBuilder().tokenFormat(TokenFormat.JWT).tokenValue("test1234").build(); private Message connectorAvailable; private Message connectorUnavailable; private Message configChange; private InfrastructureComponent connector; private QueryMessage brokerQuery; @Before public void setUp() throws URISyntaxException, MalformedURLException { multipartComponentInteractor = new AppConfig(new NullBrokerSelfDescription()).catalogUri(URI.create("http://localhost:8080/connectors/")).responseSenderAgent(new URI("http://example.org/agent/")).build(); connectorAvailable = new ConnectorUpdateMessageBuilder() .issued(CalendarUtil.now()) .modelVersion("3.0.0-SNAPSHOT") .issuerConnector(dummyUri()) .affectedConnector(dummyUri()) .securityToken(dummyToken) .senderAgent(new URI("http://example.org/agent/")) .build(); connectorUnavailable = new ConnectorUnavailableMessageBuilder() .issued(CalendarUtil.now()) .modelVersion("3.0.0-SNAPSHOT") .issuerConnector(dummyUri()) .affectedConnector(dummyUri()) .securityToken(dummyToken) .senderAgent(new URI("http://example.org/agent/")) .build(); //re-enable configChange = new ConnectorUpdateMessageBuilder() .issued(CalendarUtil.now()) .modelVersion("3.0.0-SNAPSHOT") .issuerConnector(dummyUri()) .affectedConnector(dummyUri()) .securityToken(dummyToken) .senderAgent(new URI("http://example.org/agent/")) .build(); connector = new BaseConnectorBuilder(dummyUri()) .title(new ArrayList<>(asList(new TypedLiteral("DWD Open Data Connector", "en")))) .curator(dummyUri()) .maintainer(dummyUri()) .outboundModelVersion("3.0.0") .inboundModelVersion(asList("3.0.0")) .resourceCatalog(asList(new ResourceCatalogBuilder().build())) .securityProfile(SecurityProfile.BASE_SECURITY_PROFILE) .hasDefaultEndpoint(new ConnectorEndpointBuilder().accessURL(URI.create("https://example.org/endpoint")).build()) .build(); brokerQuery = new QueryMessageBuilder() .issued(CalendarUtil.now()) .modelVersion("3.0.0-SNAPSHOT") .issuerConnector(dummyUri()) .securityToken(dummyToken) .senderAgent(new URI("http://example.org/agent/")) .build(); } @Test public void register() throws JSONException, IOException { InfrastructureComponentMAP infrastructureComponentStatusMAP = new InfrastructureComponentMAP( connectorAvailable, connector); String responseMessage = getComponentResponse(infrastructureComponentStatusMAP); Assert.assertEquals("ids:MessageProcessedNotificationMessage", new JSONObject(responseMessage).get("@type")); // TODO sba: ugly hack: update(); unregister(); } private String getComponentResponse(MessageAndPayload map) throws IOException { Multipart registration = new Multipart(map); Multipart registrationResponse = multipartComponentInteractor.process(registration, RequestType.INFRASTRUCTURE); return registrationResponse.getHeader(); } private URI dummyUri() { try { return new URL("http://example.org/").toURI(); } catch (MalformedURLException | URISyntaxException e) { return null; } } //@Test public void unregister() throws JSONException, IOException { InfrastructureComponentMAP infrastructureComponentStatusMAP = new InfrastructureComponentMAP( connectorUnavailable, connector); String responseMessage = getComponentResponse(infrastructureComponentStatusMAP); Assert.assertEquals("ids:MessageProcessedNotificationMessage", new JSONObject(responseMessage).get("@type")); } //@Test public void update() throws JSONException, IOException { InfrastructureComponentMAP infrastructureComponentStatusMAP = new InfrastructureComponentMAP( configChange, connector); String responseMessage = getComponentResponse(infrastructureComponentStatusMAP); Assert.assertEquals("ids:MessageProcessedNotificationMessage", new JSONObject(responseMessage).get("@type")); } @Test @Ignore // TODO: reactivate the test. If the FUSEKI is not available, a RejectionMessage comes back public void query() throws IOException, JSONException { QueryMAP queryMAP = new QueryMAP( brokerQuery, "SELECT WHERE {?connector a https://w3id.org/idsa/core/BaseConnector}"); String responseMessage = getComponentResponse(queryMAP); Assert.assertEquals("ids:ResultMessage", new JSONObject(responseMessage).get("@type")); } }

sebbader commented 2 years ago

@jfernandezsqs please check the latest version of the Test: https://github.com/International-Data-Spaces-Association/metadata-broker-open-core/blob/master/broker-core/src/test/java/de/fraunhofer/iais/eis/ids/broker/acceptancetest/ConnectorManagementTest.java The problem is the dummyUri() method, which has been replaced in the commits I have mentioned above. Please pull the latest state from 'main' and try building it again.

NehaThawani44 commented 2 years ago

@jfernandezsqs As mentioned in the email, since the 4.2.8-SNAPSHOT image is no longer an issue I would request you to close this ticket.

jfernandezsqs commented 2 years ago

Yes, it is correct I close the issue. Thanks,