Build #2,477

Cask Data Application Platform - Develop Build and Test

Build: #2477 failed

Job: Unit Test Job failed

Stages & jobs

  1. Unit Test Stage

Co.cask.cdap.master.environment.k8s. app fabric service main test: Test case result

The below summarizes the result of the test "Co.cask.cdap.master.environment.k8s. app fabric service main test" in build 2,477 of CDAP - Develop Build and Test - Unit Test Job. View test case history
Description
Co.cask.cdap.master.environment.k8s. app fabric service main test
Test class
co.cask.cdap.master.environment.k8s.AppFabricServiceMainTest
Method
co.cask.cdap.master.environment.k8s.AppFabricServiceMainTest
Duration
< 1 sec
Status
Failed (New Failure)

Error Log

com.google.common.util.concurrent.UncheckedExecutionException: java.lang.ClassCastException: co.cask.cdap.data2.dataset2.lib.table.leveldb.LevelDBTable cannot be cast to co.cask.cdap.data2.dataset2.lib.table.MetricsTable
	at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2258)
	at com.google.common.cache.LocalCache.get(LocalCache.java:3990)
	at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3994)
	at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4878)
	at com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:4884)
	at co.cask.cdap.data2.nosql.NoSqlStructuredTableRegistry.getSpecification(NoSqlStructuredTableRegistry.java:114)
	at co.cask.cdap.data2.nosql.NoSqlStructuredTableAdmin.getSpecification(NoSqlStructuredTableAdmin.java:81)
	at co.cask.cdap.store.StoreDefinition.createAllTables(StoreDefinition.java:46)
	at co.cask.cdap.store.StoreDefinition.createAllTables(StoreDefinition.java:65)
	at co.cask.cdap.master.environment.k8s.MasterServiceMainTestBase.runMain(MasterServiceMainTestBase.java:133)
	at co.cask.cdap.master.environment.k8s.MasterServiceMainTestBase.init(MasterServiceMainTestBase.java:82)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
	at org.junit.runners.Suite.runChild(Suite.java:127)
	at org.junit.runners.Suite.runChild(Suite.java:26)
	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 org.junit.runner.JUnitCore.run(JUnitCore.java:160)
	at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createReqestAndRun(JUnitCoreWrapper.java:139)
	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:111)
	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:84)
	at org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:138)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray2(ReflectionUtils.java:208)
	at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:159)
	at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:87)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:95)
Caused by: java.lang.ClassCastException: co.cask.cdap.data2.dataset2.lib.table.leveldb.LevelDBTable cannot be cast to co.cask.cdap.data2.dataset2.lib.table.MetricsTable
	at co.cask.cdap.data2.nosql.NoSqlStructuredTableRegistry.getSpecificationFromStorage(NoSqlStructuredTableRegistry.java:152)
	at co.cask.cdap.data2.nosql.NoSqlStructuredTableRegistry.access$000(NoSqlStructuredTableRegistry.java:52)
	at co.cask.cdap.data2.nosql.NoSqlStructuredTableRegistry$1.load(NoSqlStructuredTableRegistry.java:76)
	at co.cask.cdap.data2.nosql.NoSqlStructuredTableRegistry$1.load(NoSqlStructuredTableRegistry.java:73)
	at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3589)
	at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2374)
	at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2337)
	at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2252)
	... 45 more