[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-tmp106312868641347622 [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-tmp106312868641347622/daexim/boot/odl_backup_config.json, /tmp/daexim-test-tmp106312868641347622/daexim/boot/odl_backup_operational.json) [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 (300ms) @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-tmp17157245305300153819 [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-tmp17157245305300153819/daexim/boot/odl_backup_config.json, /tmp/daexim-test-tmp17157245305300153819/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-tmp17157245305300153819/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-tmp17157245305300153819/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] WARN org.opendaylight.daexim.impl.DataExportImportAppProvider - Daexim import on boot succesfully completed; renamed files to prevent re-import on next boot [main] ERROR org.opendaylight.daexim.impl.DataExportImportAppProviderTest - org.opendaylight.infrautils.testutils.LogRule FAILED (50ms) @Test testImportOnBoot() 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.testImportOnBoot(DataExportImportAppProviderTest.java:246) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) at java.base/java.lang.reflect.Method.invoke(Method.java:580) 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:60) 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 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-tmp17973205735779261708 [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-tmp17973205735779261708/daexim/boot/odl_backup_config.json, /tmp/daexim-test-tmp17973205735779261708/daexim/boot/odl_backup_operational.json) [Time-limited test] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - Scheduling export at 2025-02-19T18:59:26Z, which is 4 seconds in the future [Time-limited test] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - IPC received : DaeximControl{runAt=DateAndTime{value=2025-02-19T18:59:26Z}, 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 (104ms) @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-tmp13773779084720360914 [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-tmp13773779084720360914/daexim/boot/odl_backup_config.json, /tmp/daexim-test-tmp13773779084720360914/daexim/boot/odl_backup_operational.json) [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 (15ms) @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-tmp11020210502775578782 [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-tmp11020210502775578782/daexim/boot/odl_backup_config.json, /tmp/daexim-test-tmp11020210502775578782/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-tmp11020210502775578782/daexim/boot/odl_backup_operational.json]} [main] WARN org.opendaylight.daexim.impl.DataExportImportAppProvider - awaitBootImport() blocking DataExportImportAppProviderTest.testImportOnBootWithBrokenJSON, 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-tmp11020210502775578782/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:345) at org.opendaylight.yangtools.yang.data.codec.gson.JsonParserStream.read(JsonParserStream.java:255) at org.opendaylight.yangtools.yang.data.codec.gson.JsonParserStream.parse(JsonParserStream.java:180) 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:75) at com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:82) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317) at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) at java.base/java.lang.Thread.run(Thread.java:1583) [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/ [daexim-scheduler-0] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - Renamed /tmp/daexim-test-tmp11020210502775578782/daexim/boot/odl_backup_models.json to /tmp/daexim-test-tmp11020210502775578782/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-tmp11020210502775578782/daexim/boot/odl_backup_operational.json to /tmp/daexim-test-tmp11020210502775578782/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] WARN org.opendaylight.daexim.impl.DataExportImportAppProvider - Daexim import on boot failed :( [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-tmp11020210502775578782/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-tmp11020210502775578782/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-tmp11020210502775578782/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 (5013ms) @Test testImportOnBootWithBrokenJSON() [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-tmp3553047629761475254 [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-tmp3553047629761475254/daexim/boot/odl_backup_config.json, /tmp/daexim-test-tmp3553047629761475254/daexim/boot/odl_backup_operational.json) [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - Scheduling export at 2025-02-19T18:59:26Z, which is 0 seconds in the future [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - IPC received : DaeximControl{runAt=DateAndTime{value=2025-02-19T18:59:26Z}, 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-tmp3553047629761475254/daexim/odl_backup_models.json [daexim-scheduler-0] ERROR org.opendaylight.daexim.impl.DataExportImportAppProvider - Export failed java.nio.file.AccessDeniedException: /tmp/daexim-test-tmp3553047629761475254/daexim/odl_backup_models.json 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.newByteChannel(UnixFileSystemProvider.java:261) at java.base/java.nio.file.spi.FileSystemProvider.newOutputStream(FileSystemProvider.java:482) at java.base/java.nio.file.Files.newOutputStream(Files.java:227) at java.base/java.nio.file.Files.newBufferedWriter(Files.java:2988) at java.base/java.nio.file.Files.newBufferedWriter(Files.java:3036) at org.opendaylight.daexim.impl.ExportTask.createWriter(ExportTask.java:134) at org.opendaylight.daexim.impl.ExportTask.call(ExportTask.java:243) at org.opendaylight.daexim.impl.ExportTask.call(ExportTask.java:59) at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:131) at com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:75) at com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:82) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317) at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) at java.base/java.lang.Thread.run(Thread.java:1583) [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 (274ms) @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-tmp10265976512916826788 [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-tmp10265976512916826788/daexim/boot/odl_backup_config.json, /tmp/daexim-test-tmp10265976512916826788/daexim/boot/odl_backup_operational.json) [Time-limited test] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - Scheduling export at 2025-02-19T18:59:31Z, which is 5 seconds in the future [Time-limited test] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - IPC received : DaeximControl{runAt=DateAndTime{value=2025-02-19T18:59:31Z}, 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] INFO org.opendaylight.daexim.impl.ExportTask - Creating JSON file : /tmp/daexim-test-tmp10265976512916826788/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-tmp10265976512916826788/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-tmp10265976512916826788/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 [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-tmp10265976512916826788/daexim/odl_backup_operational.json], CONFIGURATION=[/tmp/daexim-test-tmp10265976512916826788/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-tmp10265976512916826788/daexim/odl_backup_operational.json [daexim-scheduler-0] INFO org.opendaylight.daexim.impl.ImportTask - Loading data into configuration datastore from file /tmp/daexim-test-tmp10265976512916826788/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-tmp10265976512916826788/daexim/odl_backup_operational.json], CONFIGURATION=[/tmp/daexim-test-tmp10265976512916826788/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-tmp10265976512916826788/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:345) at org.opendaylight.yangtools.yang.data.codec.gson.JsonParserStream.read(JsonParserStream.java:255) at org.opendaylight.yangtools.yang.data.codec.gson.JsonParserStream.parse(JsonParserStream.java:180) 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:75) at com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:82) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317) at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) at java.base/java.lang.Thread.run(Thread.java:1583) [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 (4569ms) @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-tmp6193237222738563406 [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-tmp6193237222738563406/daexim/boot/odl_backup_config.json, /tmp/daexim-test-tmp6193237222738563406/daexim/boot/odl_backup_operational.json) [Time-limited test] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - Scheduling export at 2025-02-19T19:01:11Z, which is 100 seconds in the future [Time-limited test] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - IPC received : DaeximControl{runAt=DateAndTime{value=2025-02-19T19:01:11Z}, 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 (62ms) @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-tmp8422350069093832656 [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-tmp8422350069093832656/daexim/boot/odl_backup_config.json, /tmp/daexim-test-tmp8422350069093832656/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-tmp8422350069093832656/daexim/boot/odl_backup_operational.json]} [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-tmp8422350069093832656/daexim/boot/odl_backup_operational.json [main] WARN org.opendaylight.daexim.impl.DataExportImportAppProvider - awaitBootImport() blocking DataExportImportAppProviderTest.testImportOnBoot, waiting 5s more... [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-tmp8422350069093832656/daexim/boot/odl_backup_operational.json to /tmp/daexim-test-tmp8422350069093832656/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 [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProviderTest - org.opendaylight.infrautils.testutils.LogRule ENDED (5014ms) @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-tmp9066542364539956769 [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-tmp9066542364539956769/daexim/boot/odl_backup_config.json, /tmp/daexim-test-tmp9066542364539956769/daexim/boot/odl_backup_operational.json) [Time-limited test] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - Scheduling export at 2025-02-19T18:59:36Z, which is 0 seconds in the future [Time-limited test] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - IPC received : DaeximControl{runAt=DateAndTime{value=2025-02-19T18:59:36Z}, 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-tmp9066542364539956769/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-tmp9066542364539956769/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-tmp9066542364539956769/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 (276ms) @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-tmp1160510497532539095 [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-tmp1160510497532539095/daexim/boot/odl_backup_config.json, /tmp/daexim-test-tmp1160510497532539095/daexim/boot/odl_backup_operational.json) [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProviderTest - org.opendaylight.infrautils.testutils.LogRule ENDED (8ms) @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-tmp14522183697271483427 [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-tmp14522183697271483427/daexim/boot/odl_backup_config.json, /tmp/daexim-test-tmp14522183697271483427/daexim/boot/odl_backup_operational.json) [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 (15ms) @Test testScheduleMissingInfoRPC()