Started by GitLab push by Mark Hoffmann Running as SYSTEM Building in workspace /var/jenkins_home/workspace/DIM-Diamant-Backend using credential jenkins_gitlab > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://gitlab.com/datainmotion/diamant/backend.git # timeout=10 Cleaning workspace > git rev-parse --verify HEAD # timeout=10 Resetting working tree > git reset --hard # timeout=10 > git clean -fdx # timeout=10 Fetching upstream changes from https://gitlab.com/datainmotion/diamant/backend.git > git --version # timeout=10 using GIT_ASKPASS to set credentials The Gitlab user for the jenkins > git fetch --tags --progress https://gitlab.com/datainmotion/diamant/backend.git +refs/heads/*:refs/remotes/origin/* skipping resolution of commit d0dafa2616cf5e0d0af285095f8fc61693047929, since it originates from another repository > git rev-parse refs/remotes/origin/develop^{commit} # timeout=10 > git rev-parse refs/remotes/origin/origin/develop^{commit} # timeout=10 Checking out Revision d0dafa2616cf5e0d0af285095f8fc61693047929 (refs/remotes/origin/develop) > git config core.sparsecheckout # timeout=10 > git checkout -f d0dafa2616cf5e0d0af285095f8fc61693047929 Commit message: "Asset change sync" > git rev-list --no-walk aaa558055280cf2d5c76c77e86848ca28a99edec # timeout=10 [Gradle] - Launching build. [DIM-Diamant-Backend] $ /var/jenkins_home/workspace/DIM-Diamant-Backend/gradlew clean build release geckoExport prepareDocker Starting a Gradle Daemon (subsequent builds will be faster) Download https://repo.maven.apache.org/maven2/org/hyperledger/fabric-sdk-java/fabric-sdk-java/1.4.4/fabric-sdk-java-1.4.4-with-dependencies.jar Download https://devel.data-in-motion.biz/nexus/repository/maven-public/org/gecko/emf/mongo/org.gecko.emf.pushstreams/1.0.7/org.gecko.emf.pushstreams-1.0.7.jar :de.dim.diamant.eudamed.model:clean :de.dim.diamant.hyperledger:clean :de.dim.diamant.mail:clean :de.dim.diamant.model:clean :de.dim.diamant.rest:clean :de.dim.diamant.runtime:clean :de.dim.diamant.service:clean :de.dim.diamant.service.tests:clean :de.dim.diamant.eudamed.model:compileJava NO-SOURCE :de.dim.diamant.eudamed.model:processResources NO-SOURCE :de.dim.diamant.eudamed.model:classes UP-TO-DATE :de.dim.diamant.eudamed.model:jar warning: Unused Private-Package instructions, no such package(s) on the class path: [de.dim.diamant.eudamed.model.examplePackageName.configuration] :de.dim.diamant.eudamed.model:assemble :de.dim.diamant.eudamed.model:compileTestJava NO-SOURCE :de.dim.diamant.eudamed.model:processTestResources NO-SOURCE :de.dim.diamant.eudamed.model:testClasses UP-TO-DATE :de.dim.diamant.eudamed.model:test NO-SOURCE :de.dim.diamant.eudamed.model:testOSGi SKIPPED :de.dim.diamant.eudamed.model:check UP-TO-DATE :de.dim.diamant.eudamed.model:build :de.dim.diamant.hyperledger:compileJava :de.dim.diamant.hyperledger:processResources NO-SOURCE :de.dim.diamant.hyperledger:classes :de.dim.diamant.hyperledger:jar warning: Cannot find entry on -classpath: org.hyperledger.fabric-sdk-java:fabric-sdk-java;version=latest :de.dim.diamant.hyperledger:assemble :de.dim.diamant.hyperledger:compileTestJava :de.dim.diamant.hyperledger:processTestResources NO-SOURCE :de.dim.diamant.hyperledger:testClasses :de.dim.diamant.hyperledger:test :de.dim.diamant.hyperledger:testOSGi SKIPPED :de.dim.diamant.hyperledger:check :de.dim.diamant.hyperledger:build :de.dim.diamant.model:compileJava :de.dim.diamant.model:processResources NO-SOURCE :de.dim.diamant.model:classes :de.dim.diamant.model:jar :de.dim.diamant.mail:compileJava :de.dim.diamant.mail:processResources NO-SOURCE :de.dim.diamant.mail:classes :de.dim.diamant.mail:jar :de.dim.diamant.mail:assemble :de.dim.diamant.mail:compileTestJava :de.dim.diamant.mail:processTestResources NO-SOURCE :de.dim.diamant.mail:testClasses :de.dim.diamant.mail:test :de.dim.diamant.mail:testOSGi SKIPPED :de.dim.diamant.mail:check :de.dim.diamant.mail:build :de.dim.diamant.model:assemble :de.dim.diamant.model:compileTestJava NO-SOURCE :de.dim.diamant.model:processTestResources NO-SOURCE :de.dim.diamant.model:testClasses UP-TO-DATE :de.dim.diamant.model:test NO-SOURCE :de.dim.diamant.model:testOSGi SKIPPED :de.dim.diamant.model:check UP-TO-DATE :de.dim.diamant.model:build :de.dim.diamant.runtime:compileJava :de.dim.diamant.runtime:processResources NO-SOURCE :de.dim.diamant.runtime:classes :de.dim.diamant.runtime:jar :de.dim.diamant.service:compileJava :de.dim.diamant.service:processResources NO-SOURCE :de.dim.diamant.service:classes :de.dim.diamant.service:jar :de.dim.diamant.rest:compileJava :de.dim.diamant.rest:processResources NO-SOURCE :de.dim.diamant.rest:classes :de.dim.diamant.rest:jar :de.dim.diamant.rest:assemble :de.dim.diamant.rest:compileTestJava NO-SOURCE :de.dim.diamant.rest:processTestResources NO-SOURCE :de.dim.diamant.rest:testClasses UP-TO-DATE :de.dim.diamant.rest:test NO-SOURCE :de.dim.diamant.rest:testOSGi SKIPPED :de.dim.diamant.rest:check UP-TO-DATE :de.dim.diamant.rest:build :de.dim.diamant.runtime:assemble :de.dim.diamant.runtime:compileTestJava NO-SOURCE :de.dim.diamant.runtime:processTestResources NO-SOURCE :de.dim.diamant.runtime:testClasses UP-TO-DATE :de.dim.diamant.runtime:test NO-SOURCE :de.dim.diamant.runtime:testOSGi SKIPPED :de.dim.diamant.runtime:check UP-TO-DATE :de.dim.diamant.runtime:build :de.dim.diamant.service:assemble :de.dim.diamant.service:compileTestJava NO-SOURCE :de.dim.diamant.service:processTestResources NO-SOURCE :de.dim.diamant.service:testClasses UP-TO-DATE :de.dim.diamant.service:test NO-SOURCE :de.dim.diamant.service:testOSGi SKIPPED :de.dim.diamant.service:check UP-TO-DATE :de.dim.diamant.service:build :de.dim.diamant.service.tests:compileJava :de.dim.diamant.service.tests:processResources NO-SOURCE :de.dim.diamant.service.tests:classes :de.dim.diamant.service.tests:jar :de.dim.diamant.service.tests:assemble :de.dim.diamant.service.tests:compileTestJava NO-SOURCE :de.dim.diamant.service.tests:processTestResources NO-SOURCE :de.dim.diamant.service.tests:testClasses UP-TO-DATE :de.dim.diamant.service.tests:test NO-SOURCE :de.dim.diamant.service.tests:testOSGiNov 16, 2019 5:23:38 PM de.dim.diamant.service.event.AssetModificationHandler handleEvent INFO: Received an asset event with a null 'new asset'. This should not happen! Doing nothing Nov 16, 2019 5:23:38 PM de.dim.diamant.service.event.AssetModificationHandler handleEvent INFO: Received an asset event with a null 'new asset'. This should not happen! Doing nothing Nov 16, 2019 5:23:38 PM de.dim.diamant.service.event.JoinSplitModificationHandler handleEvent WARNING: Received an null adding data, which should not happen. Doing nothing Nov 16, 2019 5:23:38 PM de.dim.diamant.service.event.JoinSplitModificationHandler handleEvent WARNING: Received an null removal data, which should not happen. Doing nothing Nov 16, 2019 5:23:38 PM de.dim.diamant.service.event.JoinSplitModificationHandler handleEvent WARNING: Received an null adding data, which should not happen. Doing nothing Nov 16, 2019 5:23:38 PM de.dim.diamant.service.event.NotificationMessageHandler handleEvent WARNING: Received an message notification event without payload: entry, notification Nov 16, 2019 5:23:38 PM de.dim.diamant.service.event.NotificationMessageHandler handleEvent WARNING: Received an message notification event without payload: entry, notification Nov 16, 2019 5:23:38 PM de.dim.diamant.service.event.NotificationMessageHandler handleEvent WARNING: Received an message notification event without payload: entry, notification Nov 16, 2019 5:23:38 PM de.dim.diamant.service.event.NotificationMessageHandler handleEvent WARNING: Received an notification definition without transaction link. This should not happen. Nov 16, 2019 5:23:38 PM de.dim.diamant.service.event.TransactionEntryNotificationHandler handleEvent INFO: [test][null] Nothing to notify Nov 16, 2019 5:23:38 PM de.dim.diamant.service.event.TransactionEntryNotificationHandler handleEvent SEVERE: [null] Error dispatching messages java.lang.IllegalStateException: Cannot find a transaction for a null transaction id at de.dim.diamant.service.event.TransactionEntryNotificationHandler.getTransaction(TransactionEntryNotificationHandler.java:104) at de.dim.diamant.service.event.TransactionEntryNotificationHandler.handleEvent(TransactionEntryNotificationHandler.java:65) at de.dim.diamant.service.event.tests.TransactionEntryNotificationDispatcherTest.testDispatcher_TransactionId(TransactionEntryNotificationDispatcherTest.java:128) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) 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.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.mockito.internal.runners.JUnit45AndHigherRunnerImpl.run(JUnit45AndHigherRunnerImpl.java:37) at org.mockito.runners.MockitoJUnitRunner.run(MockitoJUnitRunner.java:62) at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:38) at junit.framework.TestSuite.runTest(TestSuite.java:252) at junit.framework.TestSuite.run(TestSuite.java:247) at aQute.junit.Activator.test(Activator.java:340) at aQute.junit.Activator.automatic(Activator.java:236) at aQute.junit.Activator.run(Activator.java:177) at aQute.launcher.Launcher.lambda$serviceChanged$0(Launcher.java:1377) at aQute.launcher.Launcher.run(Launcher.java:349) at aQute.launcher.Launcher.main(Launcher.java:149) Nov 16, 2019 5:23:38 PM de.dim.diamant.service.event.TransactionEntryNotificationHandler handleEvent SEVERE: [null] Error dispatching messages java.lang.IllegalStateException: Cannot find a transaction for a null transaction id at de.dim.diamant.service.event.TransactionEntryNotificationHandler.getTransaction(TransactionEntryNotificationHandler.java:104) at de.dim.diamant.service.event.TransactionEntryNotificationHandler.handleEvent(TransactionEntryNotificationHandler.java:65) at de.dim.diamant.service.event.tests.TransactionEntryNotificationDispatcherTest.testDispatcher_NoTransactionId(TransactionEntryNotificationDispatcherTest.java:113) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) 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.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.mockito.internal.runners.JUnit45AndHigherRunnerImpl.run(JUnit45AndHigherRunnerImpl.java:37) at org.mockito.runners.MockitoJUnitRunner.run(MockitoJUnitRunner.java:62) at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:38) at junit.framework.TestSuite.runTest(TestSuite.java:252) at junit.framework.TestSuite.run(TestSuite.java:247) at aQute.junit.Activator.test(Activator.java:340) at aQute.junit.Activator.automatic(Activator.java:236) at aQute.junit.Activator.run(Activator.java:177) at aQute.launcher.Launcher.lambda$serviceChanged$0(Launcher.java:1377) at aQute.launcher.Launcher.run(Launcher.java:349) at aQute.launcher.Launcher.main(Launcher.java:149) Nov 16, 2019 5:23:38 PM de.dim.diamant.service.event.TransactionEntryNotificationHandler handleEvent SEVERE: [test] Error dispatching messages java.lang.IllegalStateException Nov 16, 2019 5:23:38 PM de.dim.diamant.service.event.TransactionEntryNotificationHandler handleEvent INFO: Received an transaction notification event with a null transaction entry. This should not happen! Doing nothing Nov 16, 2019 5:23:38 PM de.dim.diamant.service.event.TransactionEntryNotificationHandler handleEvent SEVERE: [null] Error dispatching messages java.lang.IllegalStateException Nov 16, 2019 5:23:38 PM de.dim.diamant.service.event.TransactionEntryNotificationHandler handleEvent INFO: [test][part1] Nothing to notify Nov 16, 2019 5:23:38 PM de.dim.diamant.service.event.TransactionEntryNotificationHandler handleEvent SEVERE: [null] Error dispatching messages java.lang.IllegalStateException: Cannot find a transaction for a null transaction id at de.dim.diamant.service.event.TransactionEntryNotificationHandler.getTransaction(TransactionEntryNotificationHandler.java:104) at de.dim.diamant.service.event.TransactionEntryNotificationHandler.handleEvent(TransactionEntryNotificationHandler.java:65) at de.dim.diamant.service.event.tests.TransactionEntryNotificationDispatcherTest.testDispatcher_NoTransaction(TransactionEntryNotificationDispatcherTest.java:143) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) 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.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.mockito.internal.runners.JUnit45AndHigherRunnerImpl.run(JUnit45AndHigherRunnerImpl.java:37) at org.mockito.runners.MockitoJUnitRunner.run(MockitoJUnitRunner.java:62) at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:38) at junit.framework.TestSuite.runTest(TestSuite.java:252) at junit.framework.TestSuite.run(TestSuite.java:247) at aQute.junit.Activator.test(Activator.java:340) at aQute.junit.Activator.automatic(Activator.java:236) at aQute.junit.Activator.run(Activator.java:177) at aQute.launcher.Launcher.lambda$serviceChanged$0(Launcher.java:1377) at aQute.launcher.Launcher.run(Launcher.java:349) at aQute.launcher.Launcher.main(Launcher.java:149) Nov 16, 2019 5:23:38 PM de.dim.diamant.service.event.TransactionEntryNotificationHandler handleEvent INFO: Received an transaction notification event for an unknown transaction. This should not happen! Doing nothing Nov 16, 2019 5:23:38 PM de.dim.diamant.service.event.TransactionEntryNotificationHandler handleEvent SEVERE: [null] Error dispatching messages java.lang.NullPointerException at de.dim.diamant.service.event.TransactionEntryNotificationHandler.getTransaction(TransactionEntryNotificationHandler.java:98) at de.dim.diamant.service.event.TransactionEntryNotificationHandler.handleEvent(TransactionEntryNotificationHandler.java:65) at de.dim.diamant.service.event.tests.TransactionEntryNotificationDispatcherTest.testDispatcher_AssetEntryNoAsset(TransactionEntryNotificationDispatcherTest.java:271) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) 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.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.mockito.internal.runners.JUnit45AndHigherRunnerImpl.run(JUnit45AndHigherRunnerImpl.java:37) at org.mockito.runners.MockitoJUnitRunner.run(MockitoJUnitRunner.java:62) at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:38) at junit.framework.TestSuite.runTest(TestSuite.java:252) at junit.framework.TestSuite.run(TestSuite.java:247) at aQute.junit.Activator.test(Activator.java:340) at aQute.junit.Activator.automatic(Activator.java:236) at aQute.junit.Activator.run(Activator.java:177) at aQute.launcher.Launcher.lambda$serviceChanged$0(Launcher.java:1377) at aQute.launcher.Launcher.run(Launcher.java:349) at aQute.launcher.Launcher.main(Launcher.java:149) Nov 16, 2019 5:23:38 PM de.dim.diamant.service.event.TransactionEntryNotificationHandler sendHandleNotification INFO: Received an transaction notification without contact reference. This should not happen! Doing nothing TEST testUpdateCompareAsset_NewAsset(de.dim.diamant.service.tests.AssetServiceIntegrationTest) <<< ERROR: No argument value was captured! You might have forgotten to use argument.capture() in verify()... ...or you used capture() in stubbing but stubbed method was not called. Be aware that it is recommended to use capture() only with verify() Examples of correct argument capturing: ArgumentCaptor argument = ArgumentCaptor.forClass(Person.class); verify(mock).doSomething(argument.capture()); assertEquals("John", argument.getValue().getName()); org.mockito.exceptions.base.MockitoException: No argument value was captured! You might have forgotten to use argument.capture() in verify()... ...or you used capture() in stubbing but stubbed method was not called. Be aware that it is recommended to use capture() only with verify() Examples of correct argument capturing: ArgumentCaptor argument = ArgumentCaptor.forClass(Person.class); verify(mock).doSomething(argument.capture()); assertEquals("John", argument.getValue().getName()); at de.dim.diamant.service.tests.AssetServiceIntegrationTest.testUpdateCompareAsset_NewAsset(AssetServiceIntegrationTest.java:216) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) 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.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.mockito.internal.runners.JUnit45AndHigherRunnerImpl.run(JUnit45AndHigherRunnerImpl.java:37) at org.mockito.runners.MockitoJUnitRunner.run(MockitoJUnitRunner.java:62) at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:38) at junit.framework.TestSuite.runTest(TestSuite.java:252) at junit.framework.TestSuite.run(TestSuite.java:247) at aQute.junit.Activator.test(Activator.java:340) at aQute.junit.Activator.automatic(Activator.java:236) at aQute.junit.Activator.run(Activator.java:177) at aQute.launcher.Launcher.lambda$serviceChanged$0(Launcher.java:1377) at aQute.launcher.Launcher.run(Launcher.java:349) at aQute.launcher.Launcher.main(Launcher.java:149) Nov 16, 2019 5:23:38 PM de.dim.diamant.service.impl.AssetServiceImpl updateOwner WARNING: [asset1] No asset type was given, taking ASSET as default Nov 16, 2019 5:23:38 PM de.dim.diamant.service.impl.AssetServiceImpl updateOwner INFO: [asset1] No asset found for type 'Asset' Nov 16, 2019 5:23:38 PM de.dim.diamant.service.impl.AssetServiceImpl updateOwner WARNING: [asset1] No asset type was given, taking ASSET as default TEST testUpdateAsset_OtherExistingAsset(de.dim.diamant.service.tests.AssetServiceIntegrationTest) <<< ERROR: No argument value was captured! You might have forgotten to use argument.capture() in verify()... ...or you used capture() in stubbing but stubbed method was not called. Be aware that it is recommended to use capture() only with verify() Examples of correct argument capturing: ArgumentCaptor argument = ArgumentCaptor.forClass(Person.class); verify(mock).doSomething(argument.capture()); assertEquals("John", argument.getValue().getName()); org.mockito.exceptions.base.MockitoException: No argument value was captured! You might have forgotten to use argument.capture() in verify()... ...or you used capture() in stubbing but stubbed method was not called. Be aware that it is recommended to use capture() only with verify() Examples of correct argument capturing: ArgumentCaptor argument = ArgumentCaptor.forClass(Person.class); verify(mock).doSomething(argument.capture()); assertEquals("John", argument.getValue().getName()); at de.dim.diamant.service.tests.AssetServiceIntegrationTest.testUpdateAsset_OtherExistingAsset(AssetServiceIntegrationTest.java:275) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) 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.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.mockito.internal.runners.JUnit45AndHigherRunnerImpl.run(JUnit45AndHigherRunnerImpl.java:37) at org.mockito.runners.MockitoJUnitRunner.run(MockitoJUnitRunner.java:62) at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:38) at junit.framework.TestSuite.runTest(TestSuite.java:252) at junit.framework.TestSuite.run(TestSuite.java:247) at aQute.junit.Activator.test(Activator.java:340) at aQute.junit.Activator.automatic(Activator.java:236) at aQute.junit.Activator.run(Activator.java:177) at aQute.launcher.Launcher.lambda$serviceChanged$0(Launcher.java:1377) at aQute.launcher.Launcher.run(Launcher.java:349) at aQute.launcher.Launcher.main(Launcher.java:149) TEST testUpdateCompareAsset_OtherExistingAsset(de.dim.diamant.service.tests.AssetServiceIntegrationTest) <<< ERROR: No argument value was captured! You might have forgotten to use argument.capture() in verify()... ...or you used capture() in stubbing but stubbed method was not called. Be aware that it is recommended to use capture() only with verify() Examples of correct argument capturing: ArgumentCaptor argument = ArgumentCaptor.forClass(Person.class); verify(mock).doSomething(argument.capture()); assertEquals("John", argument.getValue().getName()); org.mockito.exceptions.base.MockitoException: No argument value was captured! You might have forgotten to use argument.capture() in verify()... ...or you used capture() in stubbing but stubbed method was not called. Be aware that it is recommended to use capture() only with verify() Examples of correct argument capturing: ArgumentCaptor argument = ArgumentCaptor.forClass(Person.class); verify(mock).doSomething(argument.capture()); assertEquals("John", argument.getValue().getName()); at de.dim.diamant.service.tests.AssetServiceIntegrationTest.testUpdateCompareAsset_OtherExistingAsset(AssetServiceIntegrationTest.java:155) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) 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.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.mockito.internal.runners.JUnit45AndHigherRunnerImpl.run(JUnit45AndHigherRunnerImpl.java:37) at org.mockito.runners.MockitoJUnitRunner.run(MockitoJUnitRunner.java:62) at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:38) at junit.framework.TestSuite.runTest(TestSuite.java:252) at junit.framework.TestSuite.run(TestSuite.java:247) at aQute.junit.Activator.test(Activator.java:340) at aQute.junit.Activator.automatic(Activator.java:236) at aQute.junit.Activator.run(Activator.java:177) at aQute.launcher.Launcher.lambda$serviceChanged$0(Launcher.java:1377) at aQute.launcher.Launcher.run(Launcher.java:349) at aQute.launcher.Launcher.main(Launcher.java:149) TEST testUpdateAsset_NewAsset(de.dim.diamant.service.tests.AssetServiceIntegrationTest) <<< ERROR: No argument value was captured! You might have forgotten to use argument.capture() in verify()... ...or you used capture() in stubbing but stubbed method was not called. Be aware that it is recommended to use capture() only with verify() Examples of correct argument capturing: ArgumentCaptor argument = ArgumentCaptor.forClass(Person.class); verify(mock).doSomething(argument.capture()); assertEquals("John", argument.getValue().getName()); org.mockito.exceptions.base.MockitoException: No argument value was captured! You might have forgotten to use argument.capture() in verify()... ...or you used capture() in stubbing but stubbed method was not called. Be aware that it is recommended to use capture() only with verify() Examples of correct argument capturing: ArgumentCaptor argument = ArgumentCaptor.forClass(Person.class); verify(mock).doSomething(argument.capture()); assertEquals("John", argument.getValue().getName()); at de.dim.diamant.service.tests.AssetServiceIntegrationTest.testUpdateAsset_NewAsset(AssetServiceIntegrationTest.java:335) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) 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.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.mockito.internal.runners.JUnit45AndHigherRunnerImpl.run(JUnit45AndHigherRunnerImpl.java:37) at org.mockito.runners.MockitoJUnitRunner.run(MockitoJUnitRunner.java:62) at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:38) at junit.framework.TestSuite.runTest(TestSuite.java:252) at junit.framework.TestSuite.run(TestSuite.java:247) at aQute.junit.Activator.test(Activator.java:340) at aQute.junit.Activator.automatic(Activator.java:236) at aQute.junit.Activator.run(Activator.java:177) at aQute.launcher.Launcher.lambda$serviceChanged$0(Launcher.java:1377) at aQute.launcher.Launcher.run(Launcher.java:349) at aQute.launcher.Launcher.main(Launcher.java:149) Nov 16, 2019 5:23:39 PM de.dim.diamant.service.impl.AssetServiceImpl updateOwner WARNING: [asset1] No asset type was given, taking ASSET as default TEST testUpdateOwner_Participant(de.dim.diamant.service.tests.AssetServiceIntegrationTest) <<< ERROR: Wanted but not invoked: eventAdmin.postEvent(); -> at de.dim.diamant.service.tests.AssetServiceIntegrationTest.testUpdateOwner_Participant(AssetServiceIntegrationTest.java:723) However, there were other interactions with this mock: eventAdmin.sendEvent( org.osgi.service.event.Event [topic=asset/modification] {type=Asset, new=de.dim.diamant.impl.ProductImpl@2c5d601e (id: asset1, inactive: false, creatorId: myCreator, ownerId: test) (description: null, type: CLASS_1, expirationDate: null, lot: null, serialNumber: null, rawUDI: null, articleNumberRef: null, vendor: null), current=de.dim.diamant.impl.ProductImpl@620aa4ea (id: asset1, inactive: false, creatorId: myCreator, ownerId: myCreator) (description: null, type: CLASS_1, expirationDate: null, lot: null, serialNumber: null, rawUDI: null, articleNumberRef: null, vendor: null)} ); -> at de.dim.diamant.service.impl.AssetServiceImpl.sendAssetModification(AssetServiceImpl.java:228) Wanted but not invoked: eventAdmin.postEvent(); -> at de.dim.diamant.service.tests.AssetServiceIntegrationTest.testUpdateOwner_Participant(AssetServiceIntegrationTest.java:723) However, there were other interactions with this mock: eventAdmin.sendEvent( org.osgi.service.event.Event [topic=asset/modification] {type=Asset, new=de.dim.diamant.impl.ProductImpl@2c5d601e (id: asset1, inactive: false, creatorId: myCreator, ownerId: test) (description: null, type: CLASS_1, expirationDate: null, lot: null, serialNumber: null, rawUDI: null, articleNumberRef: null, vendor: null), current=de.dim.diamant.impl.ProductImpl@620aa4ea (id: asset1, inactive: false, creatorId: myCreator, ownerId: myCreator) (description: null, type: CLASS_1, expirationDate: null, lot: null, serialNumber: null, rawUDI: null, articleNumberRef: null, vendor: null)} ); -> at de.dim.diamant.service.impl.AssetServiceImpl.sendAssetModification(AssetServiceImpl.java:228) at de.dim.diamant.service.tests.AssetServiceIntegrationTest.testUpdateOwner_Participant(AssetServiceIntegrationTest.java:723) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) 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.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.mockito.internal.runners.JUnit45AndHigherRunnerImpl.run(JUnit45AndHigherRunnerImpl.java:37) at org.mockito.runners.MockitoJUnitRunner.run(MockitoJUnitRunner.java:62) at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:38) at junit.framework.TestSuite.runTest(TestSuite.java:252) at junit.framework.TestSuite.run(TestSuite.java:247) at aQute.junit.Activator.test(Activator.java:340) at aQute.junit.Activator.automatic(Activator.java:236) at aQute.junit.Activator.run(Activator.java:177) at aQute.launcher.Launcher.lambda$serviceChanged$0(Launcher.java:1377) at aQute.launcher.Launcher.run(Launcher.java:349) at aQute.launcher.Launcher.main(Launcher.java:149) Nov 16, 2019 5:23:39 PM de.dim.diamant.service.impl.AssetServiceImpl updateOwner WARNING: [asset1] No asset type was given, taking ASSET as default TEST testUpdateOwner_NullTypeNoParticipant(de.dim.diamant.service.tests.AssetServiceIntegrationTest) <<< ERROR: Wanted but not invoked: eventAdmin.postEvent(); -> at de.dim.diamant.service.tests.AssetServiceIntegrationTest.testUpdateOwner_NullTypeNoParticipant(AssetServiceIntegrationTest.java:683) However, there were other interactions with this mock: eventAdmin.sendEvent( org.osgi.service.event.Event [topic=asset/modification] {type=Asset, new=de.dim.diamant.impl.ProductImpl@38875e7d (id: asset1, inactive: false, creatorId: myCreator, ownerId: test) (description: null, type: CLASS_1, expirationDate: null, lot: null, serialNumber: null, rawUDI: null, articleNumberRef: null, vendor: null), current=de.dim.diamant.impl.ProductImpl@1e886a5b (id: asset1, inactive: false, creatorId: myCreator, ownerId: myCreator) (description: null, type: CLASS_1, expirationDate: null, lot: null, serialNumber: null, rawUDI: null, articleNumberRef: null, vendor: null)} ); -> at de.dim.diamant.service.impl.AssetServiceImpl.sendAssetModification(AssetServiceImpl.java:228) Wanted but not invoked: eventAdmin.postEvent(); -> at de.dim.diamant.service.tests.AssetServiceIntegrationTest.testUpdateOwner_NullTypeNoParticipant(AssetServiceIntegrationTest.java:683) However, there were other interactions with this mock: eventAdmin.sendEvent( org.osgi.service.event.Event [topic=asset/modification] {type=Asset, new=de.dim.diamant.impl.ProductImpl@38875e7d (id: asset1, inactive: false, creatorId: myCreator, ownerId: test) (description: null, type: CLASS_1, expirationDate: null, lot: null, serialNumber: null, rawUDI: null, articleNumberRef: null, vendor: null), current=de.dim.diamant.impl.ProductImpl@1e886a5b (id: asset1, inactive: false, creatorId: myCreator, ownerId: myCreator) (description: null, type: CLASS_1, expirationDate: null, lot: null, serialNumber: null, rawUDI: null, articleNumberRef: null, vendor: null)} ); -> at de.dim.diamant.service.impl.AssetServiceImpl.sendAssetModification(AssetServiceImpl.java:228) at de.dim.diamant.service.tests.AssetServiceIntegrationTest.testUpdateOwner_NullTypeNoParticipant(AssetServiceIntegrationTest.java:683) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) 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.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.mockito.internal.runners.JUnit45AndHigherRunnerImpl.run(JUnit45AndHigherRunnerImpl.java:37) at org.mockito.runners.MockitoJUnitRunner.run(MockitoJUnitRunner.java:62) at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:38) at junit.framework.TestSuite.runTest(TestSuite.java:252) at junit.framework.TestSuite.run(TestSuite.java:247) at aQute.junit.Activator.test(Activator.java:340) at aQute.junit.Activator.automatic(Activator.java:236) at aQute.junit.Activator.run(Activator.java:177) at aQute.launcher.Launcher.lambda$serviceChanged$0(Launcher.java:1377) at aQute.launcher.Launcher.run(Launcher.java:349) at aQute.launcher.Launcher.main(Launcher.java:149) TEST testUpdateOwner_NoParticipant(de.dim.diamant.service.tests.AssetServiceIntegrationTest) <<< ERROR: Wanted but not invoked: eventAdmin.postEvent(); -> at de.dim.diamant.service.tests.AssetServiceIntegrationTest.testUpdateOwner_NoParticipant(AssetServiceIntegrationTest.java:703) However, there were other interactions with this mock: eventAdmin.sendEvent( org.osgi.service.event.Event [topic=asset/modification] {type=Asset, new=de.dim.diamant.impl.ProductImpl@22680f52 (id: asset1, inactive: false, creatorId: myCreator, ownerId: test) (description: null, type: CLASS_1, expirationDate: null, lot: null, serialNumber: null, rawUDI: null, articleNumberRef: null, vendor: null), current=de.dim.diamant.impl.ProductImpl@60d84f61 (id: asset1, inactive: false, creatorId: myCreator, ownerId: myCreator) (description: null, type: CLASS_1, expirationDate: null, lot: null, serialNumber: null, rawUDI: null, articleNumberRef: null, vendor: null)} ); -> at de.dim.diamant.service.impl.AssetServiceImpl.sendAssetModification(AssetServiceImpl.java:228) Wanted but not invoked: eventAdmin.postEvent(); -> at de.dim.diamant.service.tests.AssetServiceIntegrationTest.testUpdateOwner_NoParticipant(AssetServiceIntegrationTest.java:703) However, there were other interactions with this mock: eventAdmin.sendEvent( org.osgi.service.event.Event [topic=asset/modification] {type=Asset, new=de.dim.diamant.impl.ProductImpl@22680f52 (id: asset1, inactive: false, creatorId: myCreator, ownerId: test) (description: null, type: CLASS_1, expirationDate: null, lot: null, serialNumber: null, rawUDI: null, articleNumberRef: null, vendor: null), current=de.dim.diamant.impl.ProductImpl@60d84f61 (id: asset1, inactive: false, creatorId: myCreator, ownerId: myCreator) (description: null, type: CLASS_1, expirationDate: null, lot: null, serialNumber: null, rawUDI: null, articleNumberRef: null, vendor: null)} ); -> at de.dim.diamant.service.impl.AssetServiceImpl.sendAssetModification(AssetServiceImpl.java:228) at de.dim.diamant.service.tests.AssetServiceIntegrationTest.testUpdateOwner_NoParticipant(AssetServiceIntegrationTest.java:703) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) 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.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.mockito.internal.runners.JUnit45AndHigherRunnerImpl.run(JUnit45AndHigherRunnerImpl.java:37) at org.mockito.runners.MockitoJUnitRunner.run(MockitoJUnitRunner.java:62) at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:38) at junit.framework.TestSuite.runTest(TestSuite.java:252) at junit.framework.TestSuite.run(TestSuite.java:247) at aQute.junit.Activator.test(Activator.java:340) at aQute.junit.Activator.automatic(Activator.java:236) at aQute.junit.Activator.run(Activator.java:177) at aQute.launcher.Launcher.lambda$serviceChanged$0(Launcher.java:1377) at aQute.launcher.Launcher.run(Launcher.java:349) at aQute.launcher.Launcher.main(Launcher.java:149) Nov 16, 2019 5:23:39 PM de.dim.diamant.service.impl.ParticipantServiceImpl updateParticipantDefinition INFO: [2111] Update participant definition because a change was detected Nov 16, 2019 5:23:39 PM de.dim.diamant.service.impl.ParticipantServiceImpl updateParticipantDefinition INFO: [2111] Update participant definition because a change was detected Nov 16, 2019 5:23:39 PM de.dim.diamant.service.impl.ParticipantServiceImpl updateParticipantDefinition INFO: [2111] Update participant definition because a change was detected Nov 16, 2019 5:23:39 PM de.dim.diamant.service.impl.ParticipantServiceImpl updateParticipantDefinition INFO: [2111] Update participant definition because a change was detected Nov 16, 2019 5:23:39 PM de.dim.diamant.service.impl.ParticipantServiceImpl getDefinitionByName INFO: [test] No participant found Nov 16, 2019 5:23:39 PM de.dim.diamant.service.impl.ParticipantServiceImpl updateParticipantDefinition INFO: [2111] Update participant definition because a change was detected Nov 16, 2019 5:23:39 PM de.dim.diamant.service.impl.ParticipantServiceImpl updateParticipantDefinition INFO: [1222] Save new participant definition Nov 16, 2019 5:23:39 PM de.dim.diamant.service.impl.ParticipantServiceImpl getDefinitionByName INFO: [test] No participant found Nov 16, 2019 5:23:39 PM de.dim.diamant.service.impl.ParticipantServiceImpl appendAsset WARNING: [1222] Cannot add a null asset for this participant Nov 16, 2019 5:23:39 PM de.dim.diamant.service.impl.ParticipantServiceImpl updateParticipantDefinition INFO: [1222] Save new participant definition Nov 16, 2019 5:23:39 PM de.dim.diamant.service.impl.ParticipantServiceImpl updateParticipant INFO: [1222] Update participant because a change was detected Nov 16, 2019 5:23:39 PM de.dim.diamant.service.impl.ParticipantServiceImpl updateParticipantDefinition INFO: [1222] Update participant definition because a change was detected Nov 16, 2019 5:23:39 PM de.dim.diamant.service.impl.ParticipantServiceImpl updateParticipant INFO: [1222] Update participant because a change was detected Nov 16, 2019 5:23:39 PM de.dim.diamant.service.impl.ParticipantServiceImpl updateParticipant INFO: [test] Save new participant without id Nov 16, 2019 5:23:39 PM de.dim.diamant.service.impl.ParticipantServiceImpl updateParticipant SEVERE: Cannot update a null Participant Nov 16, 2019 5:23:39 PM de.dim.diamant.service.impl.ParticipantServiceImpl updateParticipantDefinition SEVERE: Cannot update a null participant definition Nov 16, 2019 5:23:39 PM de.dim.diamant.service.impl.ParticipantServiceImpl updateParticipant INFO: [1222] Update participant because a change was detected Nov 16, 2019 5:23:39 PM de.dim.diamant.service.impl.ProductServiceImpl createProduct WARNING: [myvalidudi] A Product with such UDI already exist. Cannot create a new one. Nov 16, 2019 5:23:39 PM de.dim.diamant.service.impl.TransactionEntryServiceimpl resolveAsset WARNING: [test] Asset log has no asset assigned, try to resolve it Nov 16, 2019 5:23:39 PM de.dim.diamant.service.impl.TransactionEntryServiceimpl resolveAsset WARNING: [test] Asset log has no asset assigned, try to resolve it Nov 16, 2019 5:23:39 PM de.dim.diamant.service.impl.TransactionEntryServiceimpl resolveAsset WARNING: [test] Asset log has no asset assigned, try to resolve it Nov 16, 2019 5:23:39 PM de.dim.diamant.service.impl.TransactionEntryServiceimpl resolveAsset WARNING: [test] Asset log has no asset assigned, try to resolve it Nov 16, 2019 5:23:40 PM de.dim.diamant.service.impl.TransactionEntryServiceimpl resolveAsset WARNING: [test] Asset log has no asset assigned, try to resolve it Nov 16, 2019 5:23:40 PM de.dim.diamant.service.impl.TransactionEntryServiceimpl resolveAsset WARNING: [test] Given expected assetIs is different to the id of the given asset Nov 16, 2019 5:23:40 PM de.dim.diamant.service.impl.TransactionEntryServiceimpl resolveAsset WARNING: [test] Asset log has no asset assigned, try to resolve it Nov 16, 2019 5:23:40 PM de.dim.diamant.service.impl.TransactionEntryServiceimpl resolveAsset WARNING: [test] Asset log has no asset assigned, try to resolve it Nov 16, 2019 5:23:40 PM de.dim.diamant.service.impl.TransactionEntryServiceimpl resolveAsset WARNING: [test] Given expected assetIs is different to the id of the given asset Nov 16, 2019 5:23:40 PM de.dim.diamant.service.impl.TransactionEntryServiceimpl resolveAsset WARNING: [test] Asset log has no asset assigned, try to resolve it Nov 16, 2019 5:23:40 PM de.dim.diamant.service.impl.TransactionEntryServiceimpl resolveAsset WARNING: [test] Asset log has no asset assigned, try to resolve it Nov 16, 2019 5:23:40 PM de.dim.diamant.service.impl.TransactionEntryServiceimpl resolveAsset WARNING: [test] Asset log has no asset assigned, try to resolve it Nov 16, 2019 5:23:40 PM de.dim.diamant.service.impl.TransactionEntryServiceimpl resolveAsset WARNING: [test] Asset log has no asset assigned, try to resolve it Nov 16, 2019 5:23:40 PM de.dim.diamant.service.impl.TransactionEntryServiceimpl resolveAsset WARNING: [test] Asset log has no asset assigned, try to resolve it Nov 16, 2019 5:23:40 PM de.dim.diamant.service.impl.ParticipantServiceImpl updateParticipantDefinition INFO: [2111] Update participant definition because a change was detected Nov 16, 2019 5:23:40 PM de.dim.diamant.service.impl.ParticipantServiceImpl updateParticipantDefinition INFO: [2111] Update participant definition because a change was detected Nov 16, 2019 5:23:40 PM de.dim.diamant.service.impl.ParticipantServiceImpl updateParticipantDefinition INFO: [2111] Update participant definition because a change was detected Nov 16, 2019 5:23:40 PM de.dim.diamant.service.impl.ParticipantServiceImpl updateParticipantDefinition INFO: [2111] Update participant definition because a change was detected Tests run : 264 Passed : 257 Errors : 7 Failures : 0 error : Exit code remote process 7: java -cp /var/jenkins_home/.m2/repository/org/apache/felix/org.apache.felix.framework/6.0.1/org.apache.felix.framework-6.0.1.jar:/var/jenkins_home/workspace/DIM-Diamant-Backend/cnf/cache/4.1.0/bnd-cache/biz.aQute.launcher/biz.aQute.launcher-4.1.0.jar -Dlauncher.properties="/var/jenkins_home/workspace/DIM-Diamant-Backend/de.dim.diamant.service.tests/generated/launch157789628101121478.properties" -ea aQute.launcher.Launcher FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':de.dim.diamant.service.tests:testOSGi'. > /var/jenkins_home/workspace/DIM-Diamant-Backend/de.dim.diamant.service.tests/bnd.bnd test failure * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. * Get more help at https://help.gradle.org BUILD FAILED in 15s 28 actionable tasks: 28 executed Build step 'Invoke Gradle script' changed build result to FAILURE Build step 'Invoke Gradle script' marked build as failure Recording test results Finished: FAILURE