Skip to content

DAT-18204: fix concurrent runs #270

DAT-18204: fix concurrent runs

DAT-18204: fix concurrent runs #270

GitHub Actions / Liquibase Test Harness - Foundational Reports succeeded Jul 24, 2024 in 0s

0 passed, 1 failed and 0 skipped

Tests failed

❌ target/surefire-reports/TEST-liquibase.ext.databricks.FoundationalExtensionHarnessTestSuite.xml

1 tests were completed in 1s with 0 passed, 1 failed and 0 skipped.

Test suite Passed Failed Skipped Time
liquibase.ext.databricks.FoundationalExtensionHarnessTestSuite 1❌ 1s

❌ liquibase.ext.databricks.FoundationalExtensionHarnessTestSuite

liquibase.harness.compatibility.foundational.FoundationalTest
  ❌ apply createTable against databricks null
	java.lang.NullPointerException: Cannot get property 'shortName' on null object

Annotations

Check failure on line 0 in target/surefire-reports/TEST-liquibase.ext.databricks.FoundationalExtensionHarnessTestSuite.xml

See this annotation in the file changed.

@github-actions github-actions / Liquibase Test Harness - Foundational Reports

liquibase.ext.databricks.FoundationalExtensionHarnessTestSuite ► liquibase.harness.compatibility.foundational.FoundationalTest ► apply createTable against databricks null

Failed test found in:
  target/surefire-reports/TEST-liquibase.ext.databricks.FoundationalExtensionHarnessTestSuite.xml
Error:
  java.lang.NullPointerException: Cannot get property 'shortName' on null object
Raw output
java.lang.NullPointerException: Cannot get property 'shortName' on null object
	at liquibase.harness.compatibility.foundational.FoundationalTest.apply #testInput.change against #testInput.databaseName #testInput.version(FoundationalTest.groovy:64)
	Suppressed: java.lang.AssertionError: liquibase.exception.DatabaseException: liquibase.exception.DatabaseException: java.lang.RuntimeException: Driver class was not specified and could not be determined from the url (<url>)
		at org.junit.Assert.fail(Assert.java:89)
		at org.junit.Assert$fail.call(Unknown Source)
		at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
		at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
		at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:128)
		at liquibase.harness.util.TestUtils.executeCommandScope(TestUtils.groovy:65)
		at liquibase.harness.util.TestUtils$executeCommandScope$0.call(Unknown Source)
		at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
		at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
		at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:136)
		at liquibase.harness.util.rollback.RollbackToDate.performRollback(RollbackToDate.groovy:21)
		at liquibase.harness.util.rollback.RollbackStrategy$performRollback$0.call(Unknown Source)
		at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
		at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
		at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:128)
		at liquibase.harness.compatibility.foundational.FoundationalTest.$spock_feature_0_0(FoundationalTest.groovy:141)
		at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
		at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
		at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
		at java.base/java.lang.reflect.Method.invoke(Method.java:566)
		at org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:200)
		at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:113)
		at org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:484)
		at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:467)
		at org.spockframework.runtime.BaseSpecRunner.runFeatureMethod(BaseSpecRunner.java:408)
		at org.spockframework.runtime.BaseSpecRunner.doRunIteration(BaseSpecRunner.java:322)
		at org.spockframework.runtime.BaseSpecRunner$6.invoke(BaseSpecRunner.java:306)
		at org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:484)
		at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:467)
		at org.spockframework.runtime.BaseSpecRunner.runIteration(BaseSpecRunner.java:285)
		at org.spockframework.runtime.BaseSpecRunner.initializeAndRunIteration(BaseSpecRunner.java:275)
		at org.spockframework.runtime.ParameterizedSpecRunner.runIterations(ParameterizedSpecRunner.java:139)
		at org.spockframework.runtime.ParameterizedSpecRunner.runParameterizedFeature(ParameterizedSpecRunner.java:41)
		at org.spockframework.runtime.BaseSpecRunner.doRunFeature(BaseSpecRunner.java:259)
		at org.spockframework.runtime.BaseSpecRunner$5.invoke(BaseSpecRunner.java:243)
		at org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:484)
		at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:467)
		at org.spockframework.runtime.BaseSpecRunner.runFeature(BaseSpecRunner.java:235)
		at org.spockframework.runtime.BaseSpecRunner.runFeatures(BaseSpecRunner.java:185)
		at org.spockframework.runtime.BaseSpecRunner.doRunSpec(BaseSpecRunner.java:95)
		at org.spockframework.runtime.BaseSpecRunner$1.invoke(BaseSpecRunner.java:81)
		at org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:484)
		at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:467)
		at org.spockframework.runtime.BaseSpecRunner.runSpec(BaseSpecRunner.java:73)
		at org.spockframework.runtime.BaseSpecRunner.run(BaseSpecRunner.java:64)
		at org.spockframework.runtime.Sputnik.run(Sputnik.java:63)
		at org.junit.runners.Suite.runChild(Suite.java:128)
		at org.junit.runners.Suite.runChild(Suite.java:27)
		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.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:316)
		at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:240)
		at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:214)
		at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:155)
		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)