[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-tmp18143412518121361266 [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-tmp18143412518121361266/daexim/boot/odl_backup_config.json, /tmp/daexim-test-tmp18143412518121361266/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 (2408ms) @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-tmp1302341425580434651 [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-tmp1302341425580434651/daexim/boot/odl_backup_config.json, /tmp/daexim-test-tmp1302341425580434651/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-tmp1302341425580434651/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-tmp1302341425580434651/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-tmp1302341425580434651/daexim/boot/odl_backup_models.json to /tmp/daexim-test-tmp1302341425580434651/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-tmp1302341425580434651/daexim/boot/odl_backup_operational.json to /tmp/daexim-test-tmp1302341425580434651/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 (5087ms) @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-tmp2520377268400603091 [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-tmp2520377268400603091/daexim/boot/odl_backup_config.json, /tmp/daexim-test-tmp2520377268400603091/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-12-09T18: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-12-09T18: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 (107ms) @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-tmp9978079983430193949 [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-tmp9978079983430193949/daexim/boot/odl_backup_config.json, /tmp/daexim-test-tmp9978079983430193949/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 (12ms) @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-tmp5871084759697575142 [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-tmp5871084759697575142/daexim/boot/odl_backup_config.json, /tmp/daexim-test-tmp5871084759697575142/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-tmp5871084759697575142/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-tmp5871084759697575142/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 (19ms) @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: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) [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 [daexim-scheduler-0] WARN org.opendaylight.daexim.impl.DataExportImportAppProvider - Daexim import on boot failed :( [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProviderTest - org.opendaylight.infrautils.testutils.LogRule ------------------------------------------------------------------------------------------------------------------------ [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProviderTest - org.opendaylight.infrautils.testutils.LogRule BEGIN @Test testExportWithPermissionDenied() [main] INFO org.opendaylight.mdsal.dom.broker.DOMNotificationRouter - DOM Notification Router started [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProviderTest - Dump directory : /tmp/daexim-test-tmp1222214292549337048 [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-tmp1222214292549337048/daexim/boot/odl_backup_config.json, /tmp/daexim-test-tmp1222214292549337048/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-12-09T18:17:44Z, which is 0 seconds in the future [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - IPC received : DaeximControl{runAt=DateAndTime{value=2024-12-09T18:17:44Z}, 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-tmp1222214292549337048/daexim/odl_backup_models.json [daexim-scheduler-0] ERROR org.opendaylight.daexim.impl.DataExportImportAppProvider - Export failed java.io.FileNotFoundException: /tmp/daexim-test-tmp1222214292549337048/daexim/odl_backup_models.json (Permission denied) at java.base/java.io.FileOutputStream.open0(Native Method) at java.base/java.io.FileOutputStream.open(FileOutputStream.java:293) at java.base/java.io.FileOutputStream.(FileOutputStream.java:235) at java.base/java.io.FileOutputStream.(FileOutputStream.java:184) at java.base/java.io.FileWriter.(FileWriter.java:96) at org.opendaylight.daexim.impl.ExportTask.createWriter(ExportTask.java:138) at org.opendaylight.daexim.impl.ExportTask.call(ExportTask.java:259) at org.opendaylight.daexim.impl.ExportTask.call(ExportTask.java:62) at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:131) at com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:76) at com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:82) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.lang.Thread.run(Thread.java:833) [daexim-scheduler-0] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [daexim-scheduler-0] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProviderTest - org.opendaylight.infrautils.testutils.LogRule ENDED (271ms) @Test testExportWithPermissionDenied() [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProviderTest - org.opendaylight.infrautils.testutils.LogRule ------------------------------------------------------------------------------------------------------------------------ [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProviderTest - org.opendaylight.infrautils.testutils.LogRule BEGIN @Test testImportRPC() [main] INFO org.opendaylight.mdsal.dom.broker.DOMNotificationRouter - DOM Notification Router started [main] INFO org.opendaylight.daexim.impl.DataExportImportAppProviderTest - Dump directory : /tmp/daexim-test-tmp7187457648591364740 [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-tmp7187457648591364740/daexim/boot/odl_backup_config.json, /tmp/daexim-test-tmp7187457648591364740/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-12-09T18:17:49Z, which is 5 seconds in the future [Time-limited test] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - IPC received : DaeximControl{runAt=DateAndTime{value=2024-12-09T18:17:49Z}, 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-tmp7187457648591364740/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-tmp7187457648591364740/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-tmp7187457648591364740/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 [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-tmp7187457648591364740/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-tmp7187457648591364740/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-tmp7187457648591364740/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 : {CONFIGURATION=[/tmp/daexim-test-tmp7187457648591364740/daexim/odl_backup_config.json], OPERATIONAL=[/tmp/daexim-test-tmp7187457648591364740/daexim/odl_backup_operational.json]} [daexim-scheduler-0] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [daexim-scheduler-0] WARN org.opendaylight.daexim.impl.Util - Configuration not found, so just using fixed ${karaf.home}/daexim/ [daexim-scheduler-0] 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-tmp7187457648591364740/daexim/odl_backup_operational.json [daexim-scheduler-0] INFO org.opendaylight.daexim.impl.ImportTask - Loading data into configuration datastore from file /tmp/daexim-test-tmp7187457648591364740/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 : {CONFIGURATION=[/tmp/daexim-test-tmp7187457648591364740/daexim/odl_backup_config.json], OPERATIONAL=[/tmp/daexim-test-tmp7187457648591364740/daexim/odl_backup_operational.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-tmp7187457648591364740/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 (4830ms) @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-tmp12651682762949678805 [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-tmp12651682762949678805/daexim/boot/odl_backup_config.json, /tmp/daexim-test-tmp12651682762949678805/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-12-09T18:19:29Z, which is 99 seconds in the future [Time-limited test] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - IPC received : DaeximControl{runAt=DateAndTime{value=2024-12-09T18:19:29Z}, 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 (45ms) @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-tmp106046779916217517 [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-tmp106046779916217517/daexim/boot/odl_backup_config.json, /tmp/daexim-test-tmp106046779916217517/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-tmp106046779916217517/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 [main] WARN org.opendaylight.daexim.impl.DataExportImportAppProvider - awaitBootImport() blocking DataExportImportAppProviderTest.testImportOnBoot, waiting 5s more... [daexim-scheduler-0] INFO org.opendaylight.daexim.impl.ImportTask - Loading data into operational datastore from file /tmp/daexim-test-tmp106046779916217517/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-tmp106046779916217517/daexim/boot/odl_backup_operational.json to /tmp/daexim-test-tmp106046779916217517/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 (5012ms) @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-tmp17802742886256443078 [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-tmp17802742886256443078/daexim/boot/odl_backup_config.json, /tmp/daexim-test-tmp17802742886256443078/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-12-09T18:17:54Z, which is 0 seconds in the future [Time-limited test] INFO org.opendaylight.daexim.impl.DataExportImportAppProvider - IPC received : DaeximControl{runAt=DateAndTime{value=2024-12-09T18:17:54Z}, 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-tmp17802742886256443078/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-tmp17802742886256443078/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-tmp17802742886256443078/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 (285ms) @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-tmp13190732485488926742 [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-tmp13190732485488926742/daexim/boot/odl_backup_config.json, /tmp/daexim-test-tmp13190732485488926742/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 (9ms) @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-tmp7611084489366759979 [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-tmp7611084489366759979/daexim/boot/odl_backup_config.json, /tmp/daexim-test-tmp7611084489366759979/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 (12ms) @Test testScheduleMissingInfoRPC()