[main] INFO org.opendaylight.daexim.impl.DataExportImportAppProviderTest - org.opendaylight.infrautils.testutils.LogRule ------------------------------------------------------------------------------------------------------------------------ [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProviderTest - org.opendaylight.infrautils.testutils.LogRule BEGIN @Test testImportStatusRPC() [main] INFO org.opendaylight.mdsal.dom.broker.DOMNotificationRouter - DOM Notification Router started [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProviderTest - Dump directory : /tmp/daexim-test-tmp5635206370280390679 [Time-limited test] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [Time-limited test] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [Time-limited test] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - ThreadFactory created: daexim-scheduler [Time-limited test] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - Daexim Session Initiated, running on node 'localhost' [Time-limited test] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [Time-limited test] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [Time-limited test] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - Checking for presence of boot import data files (/tmp/daexim-test-tmp5635206370280390679/daexim/boot/odl_backup_config.json, /tmp/daexim-test-tmp5635206370280390679/daexim/boot/odl_backup_operational.json) [Time-limited test] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - Published OSGi service interface org.opendaylight.daexim.DataImportBootReady [Time-limited test] INFO org.opendaylight.mdsal.binding.dom.codec.impl.LazyBindingMap - Using lazy population for maps larger than 1 element(s) [Time-limited test] INFO org.opendaylight.daexim.impl.DataExportImportAppProviderTest - RPC result : RpcResult [successful=true, result=StatusImportOutput{nodes={NodesKey{nodeName=localhost}=Nodes{dataFiles=[], nodeName=localhost, status=Initial}}, status=Initial}, errors=[]] [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProviderTest - org.opendaylight.infrautils.testutils.LogRule ENDED (2579ms) @Test testImportStatusRPC() [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProviderTest - org.opendaylight.infrautils.testutils.LogRule ------------------------------------------------------------------------------------------------------------------------ [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProviderTest - org.opendaylight.infrautils.testutils.LogRule BEGIN @Test testImportOnBoot() [main] INFO org.opendaylight.mdsal.dom.broker.DOMNotificationRouter - DOM Notification Router started [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProviderTest - Dump directory : /tmp/daexim-test-tmp5043599964008993745 [main] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [main] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [main] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [main] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - ThreadFactory created: daexim-scheduler [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - Daexim Session Initiated, running on node 'localhost' [main] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [main] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - Checking for presence of boot import data files (/tmp/daexim-test-tmp5043599964008993745/daexim/boot/odl_backup_config.json, /tmp/daexim-test-tmp5043599964008993745/daexim/boot/odl_backup_operational.json) [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - Daexim found files to import on boot, and will import them once the system is fully ready... [main] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [main] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [main] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [main] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - Daexim found files to import on boot; importing them now that the system is fully ready... [main] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [main] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [main] INFO org.opendaylight.daexim.impl.ImportTask - Created import task : ImmediateImportInput{checkModels=true, clearStores=None, strictDataConsistency=true}, collected dump files : {OPERATIONAL=[/tmp/daexim-test-tmp5043599964008993745/daexim/boot/odl_backup_operational.json]} [main] WARN org.opendaylight.daexim.impl.DataExportImportAppProvider - awaitBootImport() blocking DataExportImportAppProviderTest.testImportOnBoot, waiting 5s more... [daexim-scheduler-0] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [daexim-scheduler-0] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [daexim-scheduler-0] INFO org.opendaylight.daexim.impl.ImportTask - Loading data into operational datastore from file /tmp/daexim-test-tmp5043599964008993745/daexim/boot/odl_backup_operational.json [daexim-scheduler-0] INFO org.opendaylight.daexim.impl.ImportTask - No data file for datastore configuration, import skipped [daexim-scheduler-0] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - Restore operation finished : ImportOperationResult{result=true} [daexim-scheduler-0] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [daexim-scheduler-0] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [daexim-scheduler-0] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [daexim-scheduler-0] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - Renamed /tmp/daexim-test-tmp5043599964008993745/daexim/boot/odl_backup_models.json to /tmp/daexim-test-tmp5043599964008993745/daexim/boot/odl_backup_models.json.imported [daexim-scheduler-0] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [daexim-scheduler-0] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [daexim-scheduler-0] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - Renamed /tmp/daexim-test-tmp5043599964008993745/daexim/boot/odl_backup_operational.json to /tmp/daexim-test-tmp5043599964008993745/daexim/boot/odl_backup_operational.json.imported [daexim-scheduler-0] WARN org.opendaylight.daexim.impl.DataExportImportAppProvider - Daexim import on boot succesfully completed; renamed files to prevent re-import on next boot [daexim-scheduler-0] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - Published OSGi service interface org.opendaylight.daexim.DataImportBootReady [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProviderTest - org.opendaylight.infrautils.testutils.LogRule ENDED (5086ms) @Test testImportOnBoot() [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProviderTest - org.opendaylight.infrautils.testutils.LogRule ------------------------------------------------------------------------------------------------------------------------ [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProviderTest - org.opendaylight.infrautils.testutils.LogRule BEGIN @Test testScheduleAbsoluteRPC() [main] INFO org.opendaylight.mdsal.dom.broker.DOMNotificationRouter - DOM Notification Router started [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProviderTest - Dump directory : /tmp/daexim-test-tmp11887360575335175756 [Time-limited test] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [Time-limited test] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [Time-limited test] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - ThreadFactory created: daexim-scheduler [Time-limited test] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - Daexim Session Initiated, running on node 'localhost' [Time-limited test] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [Time-limited test] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [Time-limited test] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - Checking for presence of boot import data files (/tmp/daexim-test-tmp11887360575335175756/daexim/boot/odl_backup_config.json, /tmp/daexim-test-tmp11887360575335175756/daexim/boot/odl_backup_operational.json) [Time-limited test] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - Published OSGi service interface org.opendaylight.daexim.DataImportBootReady [Time-limited test] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - Scheduling export at 2024-10-25T18:18:17Z, which is 4 seconds in the future [Time-limited test] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - IPC received : DaeximControl{runAt=DateAndTime{value=2024-10-25T18:18:17Z}, splitByModule=false, strictDataConsistency=true, taskType=Schedule} [Time-limited test] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [Time-limited test] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [Time-limited test] INFO org.opendaylight.daexim.impl.DataExportImportAppProviderTest - [Schedule absolute] RPC result : RpcResult [successful=true, result=ScheduleExportOutput{result=true}, errors=[]] [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProviderTest - org.opendaylight.infrautils.testutils.LogRule ENDED (91ms) @Test testScheduleAbsoluteRPC() [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProviderTest - org.opendaylight.infrautils.testutils.LogRule ------------------------------------------------------------------------------------------------------------------------ [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProviderTest - org.opendaylight.infrautils.testutils.LogRule BEGIN @Test testExportStatusRPC() [main] INFO org.opendaylight.mdsal.dom.broker.DOMNotificationRouter - DOM Notification Router started [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProviderTest - Dump directory : /tmp/daexim-test-tmp1721420737251755783 [Time-limited test] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [Time-limited test] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [Time-limited test] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - ThreadFactory created: daexim-scheduler [Time-limited test] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - Daexim Session Initiated, running on node 'localhost' [Time-limited test] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [Time-limited test] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [Time-limited test] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - Checking for presence of boot import data files (/tmp/daexim-test-tmp1721420737251755783/daexim/boot/odl_backup_config.json, /tmp/daexim-test-tmp1721420737251755783/daexim/boot/odl_backup_operational.json) [Time-limited test] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - Published OSGi service interface org.opendaylight.daexim.DataImportBootReady [Time-limited test] INFO org.opendaylight.daexim.impl.DataExportImportAppProviderTest - RPC result : RpcResult [successful=true, result=StatusExportOutput{nodes={NodesKey{nodeName=localhost}=Nodes{nodeName=localhost, status=Initial}}, status=Initial}, errors=[]] [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProviderTest - org.opendaylight.infrautils.testutils.LogRule ENDED (11ms) @Test testExportStatusRPC() [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProviderTest - org.opendaylight.infrautils.testutils.LogRule ------------------------------------------------------------------------------------------------------------------------ [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProviderTest - org.opendaylight.infrautils.testutils.LogRule BEGIN @Test testImportOnBootWithBrokenJSON() [main] INFO org.opendaylight.mdsal.dom.broker.DOMNotificationRouter - DOM Notification Router started [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProviderTest - Dump directory : /tmp/daexim-test-tmp11627512214456845961 [main] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [main] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [main] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [main] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - ThreadFactory created: daexim-scheduler [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - Daexim Session Initiated, running on node 'localhost' [main] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [main] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - Checking for presence of boot import data files (/tmp/daexim-test-tmp11627512214456845961/daexim/boot/odl_backup_config.json, /tmp/daexim-test-tmp11627512214456845961/daexim/boot/odl_backup_operational.json) [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - Daexim found files to import on boot, and will import them once the system is fully ready... [main] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [main] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [main] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [main] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - Daexim found files to import on boot; importing them now that the system is fully ready... [main] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [main] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [main] INFO org.opendaylight.daexim.impl.ImportTask - Created import task : ImmediateImportInput{checkModels=true, clearStores=None, strictDataConsistency=true}, collected dump files : {OPERATIONAL=[/tmp/daexim-test-tmp11627512214456845961/daexim/boot/odl_backup_operational.json]} [daexim-scheduler-0] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [daexim-scheduler-0] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [daexim-scheduler-0] INFO org.opendaylight.daexim.impl.ImportTask - Loading data into operational datastore from file /tmp/daexim-test-tmp11627512214456845961/daexim/boot/odl_backup_operational.json [daexim-scheduler-0] ERROR org.opendaylight.daexim.impl.ImportTask - ImportTask failed java.lang.IllegalArgumentException: Node (urn:ietf:params:xml:ns:netconf:base:1.0)data is not a simple type at org.opendaylight.yangtools.yang.data.codec.gson.JsonParserStream.setValue(JsonParserStream.java:352) at org.opendaylight.yangtools.yang.data.codec.gson.JsonParserStream.read(JsonParserStream.java:262) at org.opendaylight.yangtools.yang.data.codec.gson.JsonParserStream.parse(JsonParserStream.java:187) at org.opendaylight.daexim.impl.ImportTask.importDatastore(ImportTask.java:230) at org.opendaylight.daexim.impl.ImportTask.importInternal(ImportTask.java:201) at org.opendaylight.daexim.impl.ImportTask.call(ImportTask.java:159) at org.opendaylight.daexim.impl.ImportTask.call(ImportTask.java:83) at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:131) at com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:76) at com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:82) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.lang.Thread.run(Thread.java:833) [daexim-scheduler-0] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - Restore operation finished : ImportOperationResult{reason=Node (urn:ietf:params:xml:ns:netconf:base:1.0)data is not a simple type, result=false} [daexim-scheduler-0] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [daexim-scheduler-0] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [daexim-scheduler-0] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [main] ERROR org.opendaylight.daexim.impl.DataExportImportAppProviderTest - org.opendaylight.infrautils.testutils.LogRule FAILED (20ms) @Test testImportOnBootWithBrokenJSON() java.lang.AssertionError at org.junit.Assert.fail(Assert.java:87) at org.junit.Assert.assertTrue(Assert.java:42) at org.junit.Assert.assertFalse(Assert.java:65) at org.junit.Assert.assertFalse(Assert.java:75) at org.opendaylight.daexim.impl.DataExportImportAppProviderTest.testImportOnBootWithBrokenJSON(DataExportImportAppProviderTest.java:272) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) 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.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.opendaylight.infrautils.testutils.LogRule$1.evaluate(LogRule.java:61) 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.junit.runner.JUnitCore.run(JUnitCore.java:137) at org.junit.runner.JUnitCore.run(JUnitCore.java:115) at org.junit.vintage.engine.execution.RunnerExecutor.execute(RunnerExecutor.java:42) at org.junit.vintage.engine.VintageTestEngine.executeAllChildren(VintageTestEngine.java:80) at org.junit.vintage.engine.VintageTestEngine.execute(VintageTestEngine.java:72) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:198) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:169) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:93) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:58) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:141) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:57) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:103) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:85) at org.junit.platform.launcher.core.DelegatingLauncher.execute(DelegatingLauncher.java:47) at org.apache.maven.surefire.junitplatform.LazyLauncher.execute(LazyLauncher.java:56) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:184) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:148) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:122) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162) at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495) [daexim-scheduler-0] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [daexim-scheduler-0] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [daexim-scheduler-0] WARN org.opendaylight.daexim.impl.DataExportImportAppProvider - Daexim import on boot succesfully completed; renamed files to prevent re-import on next boot [daexim-scheduler-0] WARN org.opendaylight.daexim.impl.DataExportImportAppProvider - Daexim import on boot failed :( [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProviderTest - org.opendaylight.infrautils.testutils.LogRule ------------------------------------------------------------------------------------------------------------------------ [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProviderTest - org.opendaylight.infrautils.testutils.LogRule BEGIN @Test testExportWithPermissionDenied() [main] INFO org.opendaylight.mdsal.dom.broker.DOMNotificationRouter - DOM Notification Router started [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProviderTest - Dump directory : /tmp/daexim-test-tmp10238580712512262329 [main] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [main] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - ThreadFactory created: daexim-scheduler [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - Daexim Session Initiated, running on node 'localhost' [main] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [main] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - Checking for presence of boot import data files (/tmp/daexim-test-tmp10238580712512262329/daexim/boot/odl_backup_config.json, /tmp/daexim-test-tmp10238580712512262329/daexim/boot/odl_backup_operational.json) [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - Published OSGi service interface org.opendaylight.daexim.DataImportBootReady [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - Scheduling export at 2024-10-25T18:18:12Z, which is 0 seconds in the future [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - IPC received : DaeximControl{runAt=DateAndTime{value=2024-10-25T18:18:12Z}, splitByModule=false, strictDataConsistency=true, taskType=Schedule} [main] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [main] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [daexim-scheduler-0] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [daexim-scheduler-0] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProviderTest - RPC result : RpcResult [successful=true, result=ScheduleExportOutput{result=true}, errors=[]] [daexim-scheduler-0] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [daexim-scheduler-0] INFO org.opendaylight.daexim.impl.ExportTask - Creating JSON file : /tmp/daexim-test-tmp10238580712512262329/daexim/odl_backup_models.json [daexim-scheduler-0] ERROR org.opendaylight.daexim.impl.DataExportImportAppProvider - Export failed java.io.FileNotFoundException: /tmp/daexim-test-tmp10238580712512262329/daexim/odl_backup_models.json (Permission denied) at java.base/java.io.FileOutputStream.open0(Native Method) at java.base/java.io.FileOutputStream.open(FileOutputStream.java:293) at java.base/java.io.FileOutputStream.(FileOutputStream.java:235) at java.base/java.io.FileOutputStream.(FileOutputStream.java:184) at java.base/java.io.FileWriter.(FileWriter.java:96) at org.opendaylight.daexim.impl.ExportTask.createWriter(ExportTask.java:138) at org.opendaylight.daexim.impl.ExportTask.call(ExportTask.java:259) at org.opendaylight.daexim.impl.ExportTask.call(ExportTask.java:62) at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:131) at com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:76) at com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:82) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.lang.Thread.run(Thread.java:833) [daexim-scheduler-0] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [daexim-scheduler-0] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProviderTest - org.opendaylight.infrautils.testutils.LogRule ENDED (271ms) @Test testExportWithPermissionDenied() [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProviderTest - org.opendaylight.infrautils.testutils.LogRule ------------------------------------------------------------------------------------------------------------------------ [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProviderTest - org.opendaylight.infrautils.testutils.LogRule BEGIN @Test testImportRPC() [main] INFO org.opendaylight.mdsal.dom.broker.DOMNotificationRouter - DOM Notification Router started [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProviderTest - Dump directory : /tmp/daexim-test-tmp11356233255416759597 [Time-limited test] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [Time-limited test] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [Time-limited test] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - ThreadFactory created: daexim-scheduler [Time-limited test] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - Daexim Session Initiated, running on node 'localhost' [Time-limited test] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [Time-limited test] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [Time-limited test] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - Checking for presence of boot import data files (/tmp/daexim-test-tmp11356233255416759597/daexim/boot/odl_backup_config.json, /tmp/daexim-test-tmp11356233255416759597/daexim/boot/odl_backup_operational.json) [Time-limited test] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - Published OSGi service interface org.opendaylight.daexim.DataImportBootReady [Time-limited test] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - Scheduling export at 2024-10-25T18:18:17Z, which is 5 seconds in the future [Time-limited test] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - IPC received : DaeximControl{runAt=DateAndTime{value=2024-10-25T18:18:17Z}, splitByModule=false, strictDataConsistency=true, taskType=Schedule} [Time-limited test] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [Time-limited test] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [Time-limited test] INFO org.opendaylight.daexim.impl.DataExportImportAppProviderTest - RPC result : RpcResult [successful=true, result=ScheduleExportOutput{result=true}, errors=[]] [daexim-scheduler-0] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [daexim-scheduler-0] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [daexim-scheduler-0] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [daexim-scheduler-0] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [daexim-scheduler-0] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [daexim-scheduler-0] INFO org.opendaylight.daexim.impl.ExportTask - Creating JSON file : /tmp/daexim-test-tmp11356233255416759597/daexim/odl_backup_models.json [daexim-scheduler-0] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [daexim-scheduler-0] INFO org.opendaylight.daexim.impl.ExportTask - Creating JSON file : /tmp/daexim-test-tmp11356233255416759597/daexim/odl_backup_models.json [daexim-scheduler-0] INFO org.opendaylight.daexim.impl.ExportTask - Node excluded from export : (urn:opendaylight:daexim-internal?revision=2016-09-21)daexim [daexim-scheduler-0] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [daexim-scheduler-0] INFO org.opendaylight.daexim.impl.ExportTask - Creating JSON file : /tmp/daexim-test-tmp11356233255416759597/daexim/odl_backup_operational.json [daexim-scheduler-0] INFO org.opendaylight.daexim.impl.ExportTask - Node excluded from export : (urn:opendaylight:daexim-internal?revision=2016-09-21)daexim [daexim-scheduler-0] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [daexim-scheduler-0] INFO org.opendaylight.daexim.impl.ExportTask - Creating JSON file : /tmp/daexim-test-tmp11356233255416759597/daexim/odl_backup_operational.json [daexim-scheduler-0] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [daexim-scheduler-0] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [daexim-scheduler-0] INFO org.opendaylight.daexim.impl.ExportTask - Creating JSON file : /tmp/daexim-test-tmp11356233255416759597/daexim/odl_backup_config.json [daexim-scheduler-0] INFO org.opendaylight.daexim.impl.ExportTask - Creating JSON file : /tmp/daexim-test-tmp11356233255416759597/daexim/odl_backup_config.json [daexim-scheduler-0] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [daexim-scheduler-0] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [daexim-scheduler-0] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [daexim-scheduler-0] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [daexim-scheduler-0] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [daexim-scheduler-0] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [daexim-scheduler-0] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - Export task success [daexim-scheduler-0] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - Export task success [Time-limited test] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [Time-limited test] INFO org.opendaylight.daexim.impl.ImportTask - Created import task : ImmediateImportInput{checkModels=true, clearStores=All, strictDataConsistency=true}, collected dump files : {OPERATIONAL=[/tmp/daexim-test-tmp11356233255416759597/daexim/odl_backup_operational.json], CONFIGURATION=[/tmp/daexim-test-tmp11356233255416759597/daexim/odl_backup_config.json]} [daexim-scheduler-0] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [daexim-scheduler-0] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [daexim-scheduler-0] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [daexim-scheduler-0] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [daexim-scheduler-0] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [daexim-scheduler-0] INFO org.opendaylight.daexim.impl.ImportTask - Loading data into operational datastore from file /tmp/daexim-test-tmp11356233255416759597/daexim/odl_backup_operational.json [daexim-scheduler-0] INFO org.opendaylight.daexim.impl.ImportTask - Loading data into configuration datastore from file /tmp/daexim-test-tmp11356233255416759597/daexim/odl_backup_config.json [daexim-scheduler-0] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - Restore operation finished : ImportOperationResult{result=true} [daexim-scheduler-0] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [daexim-scheduler-0] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [daexim-scheduler-0] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [Time-limited test] INFO org.opendaylight.daexim.impl.DataExportImportAppProviderTest - RPC result : RpcResult [successful=true, result=ImmediateImportOutput{result=true}, errors=[]] [Time-limited test] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [Time-limited test] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [Time-limited test] INFO org.opendaylight.daexim.impl.ImportTask - Created import task : ImmediateImportInput{checkModels=true, clearStores=All, strictDataConsistency=true}, collected dump files : {OPERATIONAL=[/tmp/daexim-test-tmp11356233255416759597/daexim/odl_backup_operational.json], CONFIGURATION=[/tmp/daexim-test-tmp11356233255416759597/daexim/odl_backup_config.json]} [daexim-scheduler-2] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [daexim-scheduler-2] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [daexim-scheduler-2] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [daexim-scheduler-2] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [daexim-scheduler-2] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [daexim-scheduler-2] INFO org.opendaylight.daexim.impl.ImportTask - Loading data into operational datastore from file /tmp/daexim-test-tmp11356233255416759597/daexim/odl_backup_operational.json [daexim-scheduler-2] ERROR org.opendaylight.daexim.impl.ImportTask - ImportTask failed java.lang.IllegalArgumentException: Node (urn:ietf:params:xml:ns:netconf:base:1.0)data is not a simple type at org.opendaylight.yangtools.yang.data.codec.gson.JsonParserStream.setValue(JsonParserStream.java:352) at org.opendaylight.yangtools.yang.data.codec.gson.JsonParserStream.read(JsonParserStream.java:262) at org.opendaylight.yangtools.yang.data.codec.gson.JsonParserStream.parse(JsonParserStream.java:187) at org.opendaylight.daexim.impl.ImportTask.importDatastore(ImportTask.java:230) at org.opendaylight.daexim.impl.ImportTask.importInternal(ImportTask.java:201) at org.opendaylight.daexim.impl.ImportTask.call(ImportTask.java:159) at org.opendaylight.daexim.impl.ImportTask.call(ImportTask.java:83) at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:131) at com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:76) at com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:82) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.lang.Thread.run(Thread.java:833) [daexim-scheduler-2] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - Restore operation finished : ImportOperationResult{reason=Node (urn:ietf:params:xml:ns:netconf:base:1.0)data is not a simple type, result=false} [daexim-scheduler-2] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [daexim-scheduler-2] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [daexim-scheduler-2] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [Time-limited test] INFO org.opendaylight.daexim.impl.DataExportImportAppProviderTest - RPC result : RpcResult [successful=true, result=ImmediateImportOutput{reason=Node (urn:ietf:params:xml:ns:netconf:base:1.0)data is not a simple type, result=false}, errors=[]] [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProviderTest - org.opendaylight.infrautils.testutils.LogRule ENDED (4568ms) @Test testImportRPC() [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProviderTest - org.opendaylight.infrautils.testutils.LogRule ------------------------------------------------------------------------------------------------------------------------ [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProviderTest - org.opendaylight.infrautils.testutils.LogRule BEGIN @Test testCancelRPC() [main] INFO org.opendaylight.mdsal.dom.broker.DOMNotificationRouter - DOM Notification Router started [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProviderTest - Dump directory : /tmp/daexim-test-tmp4490355674262944462 [Time-limited test] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [Time-limited test] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [Time-limited test] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - ThreadFactory created: daexim-scheduler [Time-limited test] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - Daexim Session Initiated, running on node 'localhost' [Time-limited test] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [Time-limited test] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [Time-limited test] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - Checking for presence of boot import data files (/tmp/daexim-test-tmp4490355674262944462/daexim/boot/odl_backup_config.json, /tmp/daexim-test-tmp4490355674262944462/daexim/boot/odl_backup_operational.json) [Time-limited test] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - Published OSGi service interface org.opendaylight.daexim.DataImportBootReady [Time-limited test] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - Scheduling export at 2024-10-25T18:19:57Z, which is 100 seconds in the future [Time-limited test] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - IPC received : DaeximControl{runAt=DateAndTime{value=2024-10-25T18:19:57Z}, splitByModule=false, strictDataConsistency=true, taskType=Schedule} [Time-limited test] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [Time-limited test] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [Time-limited test] INFO org.opendaylight.daexim.impl.DataExportImportAppProviderTest - RPC result : RpcResult [successful=true, result=ScheduleExportOutput{result=true}, errors=[]] [Time-limited test] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - IPC received : DaeximControl{splitByModule=false, strictDataConsistency=true, taskType=Cancel} [Time-limited test] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - Previous export has been cancelled [Time-limited test] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [Time-limited test] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [Time-limited test] INFO org.opendaylight.daexim.impl.DataExportImportAppProviderTest - RPC result : RpcResult [successful=true, result=CancelExportOutput{result=true}, errors=[]] [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProviderTest - org.opendaylight.infrautils.testutils.LogRule ENDED (41ms) @Test testCancelRPC() [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProviderTest - org.opendaylight.infrautils.testutils.LogRule ------------------------------------------------------------------------------------------------------------------------ [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProviderTest - org.opendaylight.infrautils.testutils.LogRule BEGIN @Test testImportOnBootWithMissingModelsFile() [main] INFO org.opendaylight.mdsal.dom.broker.DOMNotificationRouter - DOM Notification Router started [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProviderTest - Dump directory : /tmp/daexim-test-tmp3706770710551806811 [main] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [main] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [main] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - ThreadFactory created: daexim-scheduler [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - Daexim Session Initiated, running on node 'localhost' [main] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [main] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - Checking for presence of boot import data files (/tmp/daexim-test-tmp3706770710551806811/daexim/boot/odl_backup_config.json, /tmp/daexim-test-tmp3706770710551806811/daexim/boot/odl_backup_operational.json) [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - Daexim found files to import on boot, and will import them once the system is fully ready... [main] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [main] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [main] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [main] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - Daexim found files to import on boot; importing them now that the system is fully ready... [main] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [main] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [main] INFO org.opendaylight.daexim.impl.ImportTask - Created import task : ImmediateImportInput{checkModels=false, clearStores=None, strictDataConsistency=true}, collected dump files : {OPERATIONAL=[/tmp/daexim-test-tmp3706770710551806811/daexim/boot/odl_backup_operational.json]} [main] WARN org.opendaylight.daexim.impl.DataExportImportAppProvider - awaitBootImport() blocking DataExportImportAppProviderTest.testImportOnBoot, waiting 5s more... [daexim-scheduler-0] WARN org.opendaylight.daexim.impl.ImportTask - Modules availability check is disabled, import may fail if some of models are missing [daexim-scheduler-0] INFO org.opendaylight.daexim.impl.ImportTask - Loading data into operational datastore from file /tmp/daexim-test-tmp3706770710551806811/daexim/boot/odl_backup_operational.json [daexim-scheduler-0] INFO org.opendaylight.daexim.impl.ImportTask - No data file for datastore configuration, import skipped [daexim-scheduler-0] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - Restore operation finished : ImportOperationResult{result=true} [daexim-scheduler-0] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [daexim-scheduler-0] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [daexim-scheduler-0] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [daexim-scheduler-0] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [daexim-scheduler-0] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [daexim-scheduler-0] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - Renamed /tmp/daexim-test-tmp3706770710551806811/daexim/boot/odl_backup_operational.json to /tmp/daexim-test-tmp3706770710551806811/daexim/boot/odl_backup_operational.json.imported [daexim-scheduler-0] WARN org.opendaylight.daexim.impl.DataExportImportAppProvider - Daexim import on boot succesfully completed; renamed files to prevent re-import on next boot [daexim-scheduler-0] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - Published OSGi service interface org.opendaylight.daexim.DataImportBootReady [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProviderTest - org.opendaylight.infrautils.testutils.LogRule ENDED (5010ms) @Test testImportOnBootWithMissingModelsFile() [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProviderTest - org.opendaylight.infrautils.testutils.LogRule ------------------------------------------------------------------------------------------------------------------------ [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProviderTest - org.opendaylight.infrautils.testutils.LogRule BEGIN @Test testScheduleRelativeRPC() [main] INFO org.opendaylight.mdsal.dom.broker.DOMNotificationRouter - DOM Notification Router started [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProviderTest - Dump directory : /tmp/daexim-test-tmp15944584358494068455 [Time-limited test] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [Time-limited test] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [Time-limited test] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - ThreadFactory created: daexim-scheduler [Time-limited test] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - Daexim Session Initiated, running on node 'localhost' [Time-limited test] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [Time-limited test] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [Time-limited test] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - Checking for presence of boot import data files (/tmp/daexim-test-tmp15944584358494068455/daexim/boot/odl_backup_config.json, /tmp/daexim-test-tmp15944584358494068455/daexim/boot/odl_backup_operational.json) [Time-limited test] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - Published OSGi service interface org.opendaylight.daexim.DataImportBootReady [Time-limited test] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - Scheduling export at 2024-10-25T18:18:22Z, which is 0 seconds in the future [Time-limited test] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - IPC received : DaeximControl{runAt=DateAndTime{value=2024-10-25T18:18:22Z}, splitByModule=false, strictDataConsistency=true, taskType=Schedule} [Time-limited test] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [Time-limited test] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [daexim-scheduler-0] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [daexim-scheduler-0] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [Time-limited test] INFO org.opendaylight.daexim.impl.DataExportImportAppProviderTest - RPC result : RpcResult [successful=true, result=ScheduleExportOutput{result=true}, errors=[]] [daexim-scheduler-0] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [daexim-scheduler-0] INFO org.opendaylight.daexim.impl.ExportTask - Creating JSON file : /tmp/daexim-test-tmp15944584358494068455/daexim/odl_backup_models.json [daexim-scheduler-0] INFO org.opendaylight.daexim.impl.ExportTask - Node excluded from export : (urn:opendaylight:daexim-internal?revision=2016-09-21)daexim [daexim-scheduler-0] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [daexim-scheduler-0] INFO org.opendaylight.daexim.impl.ExportTask - Creating JSON file : /tmp/daexim-test-tmp15944584358494068455/daexim/odl_backup_operational.json [daexim-scheduler-0] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [daexim-scheduler-0] INFO org.opendaylight.daexim.impl.ExportTask - Creating JSON file : /tmp/daexim-test-tmp15944584358494068455/daexim/odl_backup_config.json [daexim-scheduler-0] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [daexim-scheduler-0] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [daexim-scheduler-0] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [daexim-scheduler-0] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - Export task success [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProviderTest - org.opendaylight.infrautils.testutils.LogRule ENDED (281ms) @Test testScheduleRelativeRPC() [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProviderTest - org.opendaylight.infrautils.testutils.LogRule ------------------------------------------------------------------------------------------------------------------------ [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProviderTest - org.opendaylight.infrautils.testutils.LogRule BEGIN @Test testImportOnBootWithNoFilesShouldNotBlockAwait() [main] INFO org.opendaylight.mdsal.dom.broker.DOMNotificationRouter - DOM Notification Router started [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProviderTest - Dump directory : /tmp/daexim-test-tmp11655175569010454714 [main] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [main] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - ThreadFactory created: daexim-scheduler [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - Daexim Session Initiated, running on node 'localhost' [main] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [main] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - Checking for presence of boot import data files (/tmp/daexim-test-tmp11655175569010454714/daexim/boot/odl_backup_config.json, /tmp/daexim-test-tmp11655175569010454714/daexim/boot/odl_backup_operational.json) [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - Published OSGi service interface org.opendaylight.daexim.DataImportBootReady [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProviderTest - org.opendaylight.infrautils.testutils.LogRule ENDED (10ms) @Test testImportOnBootWithNoFilesShouldNotBlockAwait() [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProviderTest - org.opendaylight.infrautils.testutils.LogRule ------------------------------------------------------------------------------------------------------------------------ [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProviderTest - org.opendaylight.infrautils.testutils.LogRule BEGIN @Test testScheduleMissingInfoRPC() [main] INFO org.opendaylight.mdsal.dom.broker.DOMNotificationRouter - DOM Notification Router started [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProviderTest - Dump directory : /tmp/daexim-test-tmp6912785994176309377 [Time-limited test] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [Time-limited test] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [Time-limited test] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - ThreadFactory created: daexim-scheduler [Time-limited test] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - Daexim Session Initiated, running on node 'localhost' [Time-limited test] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [Time-limited test] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [Time-limited test] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - Checking for presence of boot import data files (/tmp/daexim-test-tmp6912785994176309377/daexim/boot/odl_backup_config.json, /tmp/daexim-test-tmp6912785994176309377/daexim/boot/odl_backup_operational.json) [Time-limited test] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - Published OSGi service interface org.opendaylight.daexim.DataImportBootReady [Time-limited test] INFO org.opendaylight.daexim.impl.DataExportImportAppProviderTest - RPC result : RpcResult [successful=false, result=null, errors=[RpcError [message=No schedule info present in request (run-at), severity=ERROR, errorType=PROTOCOL, tag=operation-failed, applicationTag=null, info=null, cause=null]]] [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProviderTest - org.opendaylight.infrautils.testutils.LogRule ENDED (16ms) @Test testScheduleMissingInfoRPC()