Failed
Scenario: Delete an existing role.Scenario: Delete an existing role (from org.eclipse.kapua.service.authorization.shiro.RunTest)
Failing for the past 1 build
(Since Unstable
)
Error Message
liquibase.exception.ChangeLogParseException: /tmp/genie.kapua/kapua-liquibase/changelog-user-master.xml does not exist
Stacktrace
java.lang.RuntimeException: liquibase.exception.ChangeLogParseException: /tmp/genie.kapua/kapua-liquibase/changelog-user-master.xml does not exist Caused by: liquibase.exception.ChangeLogParseException: /tmp/genie.kapua/kapua-liquibase/changelog-user-master.xml does not exist
Standard Output
Failure in before hook:MiscAuthorizationTestSteps.beforeScenario(Scenario) Message: java.lang.RuntimeException: java.io.IOException: Unable to delete directory /tmp/genie.kapua/kapua-liquibase. at org.eclipse.kapua.service.liquibase.KapuaLiquibaseClient.update(KapuaLiquibaseClient.java:72) at org.eclipse.kapua.service.authorization.shiro.AbstractAuthorizationServiceTest.setupDatabase(AbstractAuthorizationServiceTest.java:50) at org.eclipse.kapua.service.authorization.shiro.MiscAuthorizationTestSteps.beforeScenario(MiscAuthorizationTestSteps.java:59) at sun.reflect.GeneratedMethodAccessor287.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at cucumber.runtime.Utils$1.call(Utils.java:37) at cucumber.runtime.Timeout.timeout(Timeout.java:13) at cucumber.runtime.Utils.invoke(Utils.java:31) at cucumber.runtime.java.JavaHookDefinition.execute(JavaHookDefinition.java:60) at cucumber.runtime.Runtime.runHookIfTagsMatch(Runtime.java:223) at cucumber.runtime.Runtime.runHooks(Runtime.java:211) at cucumber.runtime.Runtime.runBeforeHooks(Runtime.java:201) at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:40) at cucumber.runtime.junit.ExecutionUnitRunner.run(ExecutionUnitRunner.java:91) at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:63) at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:18) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at cucumber.runtime.junit.FeatureRunner.run(FeatureRunner.java:70) at cucumber.api.junit.Cucumber.runChild(Cucumber.java:93) at cucumber.api.junit.Cucumber.runChild(Cucumber.java:37) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at cucumber.api.junit.Cucumber.run(Cucumber.java:98) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:272) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:236) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:386) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:323) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:143) Caused by: java.io.IOException: Unable to delete directory /tmp/genie.kapua/kapua-liquibase. at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1541) at org.eclipse.kapua.service.liquibase.KapuaLiquibaseClient.loadResourcesStatic(KapuaLiquibaseClient.java:84) at org.eclipse.kapua.service.liquibase.KapuaLiquibaseClient.update(KapuaLiquibaseClient.java:67) ... 39 more java.lang.RuntimeException: java.io.IOException: Unable to delete directory /tmp/genie.kapua/kapua-liquibase. at org.eclipse.kapua.service.liquibase.KapuaLiquibaseClient.update(KapuaLiquibaseClient.java:72) at org.eclipse.kapua.service.authorization.shiro.AbstractAuthorizationServiceTest.setupDatabase(AbstractAuthorizationServiceTest.java:50) at org.eclipse.kapua.service.authorization.shiro.MiscAuthorizationTestSteps.beforeScenario(MiscAuthorizationTestSteps.java:59) at sun.reflect.GeneratedMethodAccessor287.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at cucumber.runtime.Utils$1.call(Utils.java:37) at cucumber.runtime.Timeout.timeout(Timeout.java:13) at cucumber.runtime.Utils.invoke(Utils.java:31) at cucumber.runtime.java.JavaHookDefinition.execute(JavaHookDefinition.java:60) at cucumber.runtime.Runtime.runHookIfTagsMatch(Runtime.java:223) at cucumber.runtime.Runtime.runHooks(Runtime.java:211) at cucumber.runtime.Runtime.runBeforeHooks(Runtime.java:201) at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:40) at cucumber.runtime.junit.ExecutionUnitRunner.run(ExecutionUnitRunner.java:91) at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:63) at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:18) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at cucumber.runtime.junit.FeatureRunner.run(FeatureRunner.java:70) at cucumber.api.junit.Cucumber.runChild(Cucumber.java:93) at cucumber.api.junit.Cucumber.runChild(Cucumber.java:37) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at cucumber.api.junit.Cucumber.run(Cucumber.java:98) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:272) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:236) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:386) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:323) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:143) Caused by: java.io.IOException: Unable to delete directory /tmp/genie.kapua/kapua-liquibase. at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1541) at org.eclipse.kapua.service.liquibase.KapuaLiquibaseClient.loadResourcesStatic(KapuaLiquibaseClient.java:84) at org.eclipse.kapua.service.liquibase.KapuaLiquibaseClient.update(KapuaLiquibaseClient.java:67) ... 39 more 06:29:25.647 [main] INFO o.e.k.s.a.s.AbstractAuthorizationServiceTest - Running database scripts... 06:29:25.647 [main] INFO o.e.k.c.jpa.SimpleSqlScriptExecutor - Running script: RUNSCRIPT FROM '../../../dev-tools/src/main/database/all_drop.sql' 06:29:25.647 [main] INFO o.e.k.s.a.s.AbstractAuthorizationServiceTest - ...database scripts done! 06:29:25.655 [main] INFO org.reflections.Reflections - Reflections took 6 ms to scan 7 urls, producing 798 keys and 803 values 06:29:25.703 [main] INFO o.e.k.s.l.KapuaLiquibaseClient - Executing pre master files... 06:29:25.704 [main] INFO o.e.k.s.l.KapuaLiquibaseClient - Master Liquibase files found: 3 06:29:25.704 [main] INFO o.e.k.s.l.KapuaLiquibaseClient - Excuting liquibase script: /tmp/genie.kapua/kapua-liquibase/changelog-authorization-master.pre.xml 06:29:25.723 [main] INFO o.e.k.s.l.KapuaLiquibaseClient - Excuting liquibase script: /tmp/genie.kapua/kapua-liquibase/changelog-event-store-master.pre.xml 06:29:25.738 [main] INFO o.e.k.s.l.KapuaLiquibaseClient - Excuting liquibase script: /tmp/genie.kapua/kapua-liquibase/changelog-system-configurations-master.pre.xml 06:29:25.775 [main] INFO o.e.k.s.l.KapuaLiquibaseClient - Executing pre master files... DONE! 06:29:25.775 [main] INFO o.e.k.s.l.KapuaLiquibaseClient - Executing master files... 06:29:25.775 [main] INFO o.e.k.s.l.KapuaLiquibaseClient - Master Liquibase files found: 6 06:29:25.775 [main] INFO o.e.k.s.l.KapuaLiquibaseClient - Excuting liquibase script: /tmp/genie.kapua/kapua-liquibase/changelog-account-master.xml 06:29:25.856 [main] INFO o.e.k.s.l.KapuaLiquibaseClient - Excuting liquibase script: /tmp/genie.kapua/kapua-liquibase/changelog-authentication-master.xml 06:29:25.939 [main] INFO o.e.k.s.l.KapuaLiquibaseClient - Excuting liquibase script: /tmp/genie.kapua/kapua-liquibase/changelog-authorization-master.xml 06:29:26.076 [main] INFO o.e.k.s.l.KapuaLiquibaseClient - Excuting liquibase script: /tmp/genie.kapua/kapua-liquibase/changelog-authorization_test-master.xml 06:29:26.092 [main] INFO o.e.k.s.l.KapuaLiquibaseClient - Excuting liquibase script: /tmp/genie.kapua/kapua-liquibase/changelog-device-master.xml 06:29:26.237 [main] INFO o.e.k.s.l.KapuaLiquibaseClient - Excuting liquibase script: /tmp/genie.kapua/kapua-liquibase/changelog-user-master.xml 06:29:26.239 [main] ERROR o.e.k.s.l.KapuaLiquibaseClient - Error while running Liquibase scripts! liquibase.exception.ChangeLogParseException: /tmp/genie.kapua/kapua-liquibase/changelog-user-master.xml does not exist at liquibase.parser.core.xml.XMLChangeLogSAXParser.parse(XMLChangeLogSAXParser.java:94) at liquibase.Liquibase.update(Liquibase.java:129) at org.eclipse.kapua.service.liquibase.KapuaLiquibaseClient.executeMasters(KapuaLiquibaseClient.java:136) at org.eclipse.kapua.service.liquibase.KapuaLiquibaseClient.loadResourcesStatic(KapuaLiquibaseClient.java:112) at org.eclipse.kapua.service.liquibase.KapuaLiquibaseClient.update(KapuaLiquibaseClient.java:67) at org.eclipse.kapua.service.authorization.shiro.AbstractAuthorizationServiceTest.setupDatabase(AbstractAuthorizationServiceTest.java:50) at org.eclipse.kapua.service.authorization.shiro.RoleServiceTestSteps.beforeScenario(RoleServiceTestSteps.java:101) at sun.reflect.GeneratedMethodAccessor288.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at cucumber.runtime.Utils$1.call(Utils.java:37) at cucumber.runtime.Timeout.timeout(Timeout.java:13) at cucumber.runtime.Utils.invoke(Utils.java:31) at cucumber.runtime.java.JavaHookDefinition.execute(JavaHookDefinition.java:60) at cucumber.runtime.Runtime.runHookIfTagsMatch(Runtime.java:223) at cucumber.runtime.Runtime.runHooks(Runtime.java:211) at cucumber.runtime.Runtime.runBeforeHooks(Runtime.java:201) at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:40) at cucumber.runtime.junit.ExecutionUnitRunner.run(ExecutionUnitRunner.java:91) at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:63) at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:18) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at cucumber.runtime.junit.FeatureRunner.run(FeatureRunner.java:70) at cucumber.api.junit.Cucumber.runChild(Cucumber.java:93) at cucumber.api.junit.Cucumber.runChild(Cucumber.java:37) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at cucumber.api.junit.Cucumber.run(Cucumber.java:98) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:272) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:236) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:386) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:323) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:143)