[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-tmp16303805499386867333 [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-tmp16303805499386867333/daexim/boot/odl_backup_config.json, /tmp/daexim-test-tmp16303805499386867333/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 (2372ms) @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-tmp16490466520430496226 [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-tmp16490466520430496226/daexim/boot/odl_backup_config.json, /tmp/daexim-test-tmp16490466520430496226/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-tmp16490466520430496226/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-tmp16490466520430496226/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-tmp16490466520430496226/daexim/boot/odl_backup_models.json to /tmp/daexim-test-tmp16490466520430496226/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-tmp16490466520430496226/daexim/boot/odl_backup_operational.json to /tmp/daexim-test-tmp16490466520430496226/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 (5116ms) @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-tmp175706252965541345 [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-tmp175706252965541345/daexim/boot/odl_backup_config.json, /tmp/daexim-test-tmp175706252965541345/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-09-22T18:17:48Z, which is 4 seconds in the future [Time-limited test] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - IPC received : DaeximControl{runAt=DateAndTime{value=2024-09-22T18:17:48Z}, 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 (105ms) @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-tmp14015973740112962279 [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-tmp14015973740112962279/daexim/boot/odl_backup_config.json, /tmp/daexim-test-tmp14015973740112962279/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 (19ms) @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-tmp12927382935889325514 [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-tmp12927382935889325514/daexim/boot/odl_backup_config.json, /tmp/daexim-test-tmp12927382935889325514/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-tmp12927382935889325514/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-tmp12927382935889325514/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/ [main] ERROR org.opendaylight.daexim.impl.DataExportImportAppProviderTest - org.opendaylight.infrautils.testutils.LogRule FAILED (16ms) @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) [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-tmp14719392828445707671 [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-tmp14719392828445707671/daexim/boot/odl_backup_config.json, /tmp/daexim-test-tmp14719392828445707671/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-09-22T18:17:43Z, which is 0 seconds in the future [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - IPC received : DaeximControl{runAt=DateAndTime{value=2024-09-22T18:17:43Z}, 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/ [daexim-scheduler-0] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ Sep 22, 2024 6:17:43 PM com.google.common.util.concurrent.AbstractFuture executeListener SEVERE: RuntimeException while executing runnable CallbackListener{org.opendaylight.daexim.impl.DataExportImportAppProvider$1@385ed399} with executor MoreExecutors.directExecutor() java.lang.IllegalStateException: Unable to get location of daexim directory at org.opendaylight.daexim.impl.Util.getDaeximDir(Util.java:124) at org.opendaylight.daexim.impl.Util.getModelsFilePath(Util.java:84) at org.opendaylight.daexim.impl.DataExportImportAppProvider.renameBootImportFiles(DataExportImportAppProvider.java:233) at org.opendaylight.daexim.impl.DataExportImportAppProvider$1.failed(DataExportImportAppProvider.java:202) at org.opendaylight.daexim.impl.DataExportImportAppProvider$1.onSuccess(DataExportImportAppProvider.java:189) at org.opendaylight.daexim.impl.DataExportImportAppProvider$1.onSuccess(DataExportImportAppProvider.java:183) at com.google.common.util.concurrent.Futures$CallbackListener.run(Futures.java:1133) at com.google.common.util.concurrent.DirectExecutor.execute(DirectExecutor.java:31) at com.google.common.util.concurrent.AbstractFuture.executeListener(AbstractFuture.java:1286) at com.google.common.util.concurrent.AbstractFuture.complete(AbstractFuture.java:1055) at com.google.common.util.concurrent.AbstractFuture.set(AbstractFuture.java:782) at com.google.common.util.concurrent.AbstractTransformFuture$TransformFuture.setResult(AbstractTransformFuture.java:257) at com.google.common.util.concurrent.AbstractTransformFuture.run(AbstractTransformFuture.java:169) at com.google.common.util.concurrent.DirectExecutor.execute(DirectExecutor.java:31) at com.google.common.util.concurrent.AbstractFuture.executeListener(AbstractFuture.java:1286) at com.google.common.util.concurrent.AbstractFuture.complete(AbstractFuture.java:1055) at com.google.common.util.concurrent.AbstractFuture.set(AbstractFuture.java:782) at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.afterRanInterruptiblySuccess(TrustedListenableFutureTask.java:136) at com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:89) 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) Caused by: java.nio.file.AccessDeniedException: /tmp/daexim-test-tmp14719392828445707671/daexim/boot at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:90) at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106) at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111) at java.base/sun.nio.fs.UnixFileSystemProvider.createDirectory(UnixFileSystemProvider.java:397) at java.base/java.nio.file.Files.createDirectory(Files.java:700) at java.base/java.nio.file.Files.createAndCheckIsDirectory(Files.java:807) at java.base/java.nio.file.Files.createDirectories(Files.java:793) at org.opendaylight.daexim.impl.Util.getDaeximDir(Util.java:121) ... 25 more [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-tmp14719392828445707671/daexim/odl_backup_models.json [daexim-scheduler-0] ERROR org.opendaylight.daexim.impl.DataExportImportAppProvider - Export failed java.io.FileNotFoundException: /tmp/daexim-test-tmp14719392828445707671/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 (273ms) @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-tmp3582167801017733844 [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-tmp3582167801017733844/daexim/boot/odl_backup_config.json, /tmp/daexim-test-tmp3582167801017733844/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-09-22T18:17:48Z, which is 5 seconds in the future [Time-limited test] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - IPC received : DaeximControl{runAt=DateAndTime{value=2024-09-22T18:17:48Z}, 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] 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-tmp3582167801017733844/daexim/odl_backup_models.json [daexim-scheduler-0] INFO org.opendaylight.daexim.impl.ExportTask - Creating JSON file : /tmp/daexim-test-tmp3582167801017733844/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] 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] 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-tmp3582167801017733844/daexim/odl_backup_operational.json [daexim-scheduler-0] INFO org.opendaylight.daexim.impl.ExportTask - Creating JSON file : /tmp/daexim-test-tmp3582167801017733844/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-tmp3582167801017733844/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] INFO org.opendaylight.daexim.impl.ExportTask - Creating JSON file : /tmp/daexim-test-tmp3582167801017733844/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.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-tmp3582167801017733844/daexim/odl_backup_operational.json], CONFIGURATION=[/tmp/daexim-test-tmp3582167801017733844/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-tmp3582167801017733844/daexim/odl_backup_operational.json [daexim-scheduler-0] INFO org.opendaylight.daexim.impl.ImportTask - Loading data into configuration datastore from file /tmp/daexim-test-tmp3582167801017733844/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-tmp3582167801017733844/daexim/odl_backup_operational.json], CONFIGURATION=[/tmp/daexim-test-tmp3582167801017733844/daexim/odl_backup_config.json]} [daexim-scheduler-1] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [daexim-scheduler-1] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [daexim-scheduler-1] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [daexim-scheduler-1] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [daexim-scheduler-1] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [daexim-scheduler-1] INFO org.opendaylight.daexim.impl.ImportTask - Loading data into operational datastore from file /tmp/daexim-test-tmp3582167801017733844/daexim/odl_backup_operational.json [daexim-scheduler-1] 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-1] 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-1] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [daexim-scheduler-1] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [daexim-scheduler-1] 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 (4318ms) @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-tmp1429690252598080759 [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-tmp1429690252598080759/daexim/boot/odl_backup_config.json, /tmp/daexim-test-tmp1429690252598080759/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-09-22T18:19:28Z, which is 100 seconds in the future [Time-limited test] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - IPC received : DaeximControl{runAt=DateAndTime{value=2024-09-22T18:19:28Z}, 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 (53ms) @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-tmp18050176617678234165 [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-tmp18050176617678234165/daexim/boot/odl_backup_config.json, /tmp/daexim-test-tmp18050176617678234165/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-tmp18050176617678234165/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-tmp18050176617678234165/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-tmp18050176617678234165/daexim/boot/odl_backup_operational.json to /tmp/daexim-test-tmp18050176617678234165/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 (5019ms) @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-tmp6861497844852882769 [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-tmp6861497844852882769/daexim/boot/odl_backup_config.json, /tmp/daexim-test-tmp6861497844852882769/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-09-22T18:17:53Z, which is 0 seconds in the future [Time-limited test] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - IPC received : DaeximControl{runAt=DateAndTime{value=2024-09-22T18:17:53Z}, 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-tmp6861497844852882769/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-tmp6861497844852882769/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-tmp6861497844852882769/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 (273ms) @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-tmp939011101318276851 [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-tmp939011101318276851/daexim/boot/odl_backup_config.json, /tmp/daexim-test-tmp939011101318276851/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 (4ms) @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-tmp17281905956819835034 [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-tmp17281905956819835034/daexim/boot/odl_backup_config.json, /tmp/daexim-test-tmp17281905956819835034/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 (21ms) @Test testScheduleMissingInfoRPC()