Build #2,278

Cask Data Application Platform - Develop Build and Test

Build: #2278 failed

Job: Unit Test Job failed

Stages & jobs

  1. Unit Test Stage

Job result summary

Completed
Duration
72 minutes
Agent
bamboo-agent13
Revision
519d1760d57ee1a0b014f6bb7fdae75576a7e2e1 519d1760d57ee1a0b014f6bb7fdae75576a7e2e1
Total tests
1912
Fixed in
#2280 (Child of CDAP-DRC-3989)

Tests

  • 1,912 tests in total
  • 15 tests failed
  • 15 failures are new
  • 11 tests were quarantined / skipped
  • 35 minutes taken in total.
New test failures 15
Status Test Duration
Collapse Failed HiveExploreObjectMappedTableTestRun testCreateQueryUpdateDrop History
< 1 sec
java.lang.AssertionError: expected:<[QueryResult{columns=[dataset_my_table]}]> but was:<[QueryResult{columns=[dataset_my_table]}, QueryResult{columns=[xyz]}]>
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotEquals(Assert.java:743)
	at org.junit.Assert.assertEquals(Assert.java:118)
	at org.junit.Assert.assertEquals(Assert.java:144)
	at co.cask.cdap.explore.service.BaseHiveExploreServiceTest.assertStatementResult(BaseHiveExploreServiceTest.java:326)
	at co.cask.cdap.explore.service.BaseHiveExploreServiceTest.runCommand(BaseHiveExploreServiceTest.java:311)
	at co.cask.cdap.explore.service.HiveExploreObjectMappedTableTestRun.testCreateQueryUpdateDrop(HiveExploreObjectMappedTableTestRun.java:127)
(57 more lines...)
Collapse Failed HiveExploreServiceFileSetTestRun testCreateAddAlterDrop History
< 1 sec
java.lang.AssertionError: expected:<[QueryResult{columns=[dataset_files]}]> but was:<[QueryResult{columns=[dataset_files]}, QueryResult{columns=[xyz]}]>
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotEquals(Assert.java:743)
	at org.junit.Assert.assertEquals(Assert.java:118)
	at org.junit.Assert.assertEquals(Assert.java:144)
	at co.cask.cdap.explore.service.BaseHiveExploreServiceTest.assertStatementResult(BaseHiveExploreServiceTest.java:326)
	at co.cask.cdap.explore.service.BaseHiveExploreServiceTest.runCommand(BaseHiveExploreServiceTest.java:311)
	at co.cask.cdap.explore.service.HiveExploreServiceFileSetTestRun.testCreateAddAlterDrop(HiveExploreServiceFileSetTestRun.java:175)
(58 more lines...)
Collapse Failed HiveExploreServiceFileSetTestRun testOrcFileset History
< 1 sec
java.lang.AssertionError: expected:<[QueryResult{columns=[dataset_orcfiles]}]> but was:<[QueryResult{columns=[dataset_orcfiles]}, QueryResult{columns=[xyz]}]>
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotEquals(Assert.java:743)
	at org.junit.Assert.assertEquals(Assert.java:118)
	at org.junit.Assert.assertEquals(Assert.java:144)
	at co.cask.cdap.explore.service.BaseHiveExploreServiceTest.assertStatementResult(BaseHiveExploreServiceTest.java:326)
	at co.cask.cdap.explore.service.BaseHiveExploreServiceTest.runCommand(BaseHiveExploreServiceTest.java:311)
	at co.cask.cdap.explore.service.HiveExploreServiceFileSetTestRun.testOrcFileset(HiveExploreServiceFileSetTestRun.java:110)
(57 more lines...)
Collapse Failed HiveExploreServiceFileSetTestRun testPartitionedExisting History
3 secs
java.lang.AssertionError: expected:<false> but was:<true>
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotEquals(Assert.java:743)
	at org.junit.Assert.assertEquals(Assert.java:118)
	at org.junit.Assert.assertEquals(Assert.java:144)
	at co.cask.cdap.explore.service.BaseHiveExploreServiceTest.assertStatementResult(BaseHiveExploreServiceTest.java:321)
	at co.cask.cdap.explore.service.BaseHiveExploreServiceTest.runCommand(BaseHiveExploreServiceTest.java:311)
	at co.cask.cdap.explore.service.HiveExploreServiceFileSetTestRun.testPartitionedExisting(HiveExploreServiceFileSetTestRun.java:566)
(58 more lines...)
Collapse Failed HiveExploreServiceFileSetTestRun testPartitionedFileSet History
< 1 sec
java.lang.AssertionError: expected:<[QueryResult{columns=[dataset_parted]}]> but was:<[QueryResult{columns=[dataset_parted]}, QueryResult{columns=[xyz]}]>
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotEquals(Assert.java:743)
	at org.junit.Assert.assertEquals(Assert.java:118)
	at org.junit.Assert.assertEquals(Assert.java:144)
	at co.cask.cdap.explore.service.BaseHiveExploreServiceTest.assertStatementResult(BaseHiveExploreServiceTest.java:326)
	at co.cask.cdap.explore.service.BaseHiveExploreServiceTest.runCommand(BaseHiveExploreServiceTest.java:311)
	at co.cask.cdap.explore.service.HiveExploreServiceFileSetTestRun.testPartitionedFileSet(HiveExploreServiceFileSetTestRun.java:286)
(58 more lines...)
Collapse Failed HiveExploreServiceFileSetTestRun testPartitionedTextFile History
< 1 sec
java.lang.AssertionError: expected:<[QueryResult{columns=[dataset_csv]}]> but was:<[QueryResult{columns=[dataset_csv]}, QueryResult{columns=[xyz]}]>
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotEquals(Assert.java:743)
	at org.junit.Assert.assertEquals(Assert.java:118)
	at org.junit.Assert.assertEquals(Assert.java:144)
	at co.cask.cdap.explore.service.BaseHiveExploreServiceTest.assertStatementResult(BaseHiveExploreServiceTest.java:326)
	at co.cask.cdap.explore.service.BaseHiveExploreServiceTest.runCommand(BaseHiveExploreServiceTest.java:311)
	at co.cask.cdap.explore.service.HiveExploreServiceFileSetTestRun.testPartitionedTextFile(HiveExploreServiceFileSetTestRun.java:434)
(58 more lines...)
Collapse Failed HiveExploreServiceFileSetTestRun testPartitionedTextFileUpdate History
< 1 sec
java.lang.AssertionError: expected:<[QueryResult{columns=[dataset_txtupd]}]> but was:<[QueryResult{columns=[dataset_txtupd]}, QueryResult{columns=[xyz]}]>
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotEquals(Assert.java:743)
	at org.junit.Assert.assertEquals(Assert.java:118)
	at org.junit.Assert.assertEquals(Assert.java:144)
	at co.cask.cdap.explore.service.BaseHiveExploreServiceTest.assertStatementResult(BaseHiveExploreServiceTest.java:326)
	at co.cask.cdap.explore.service.BaseHiveExploreServiceTest.runCommand(BaseHiveExploreServiceTest.java:311)
	at co.cask.cdap.explore.service.HiveExploreServiceFileSetTestRun.testPartitionedTextFileUpdate(HiveExploreServiceFileSetTestRun.java:703)
(57 more lines...)
Collapse Failed HiveExploreServiceFileSetTestRun testPartitionedTextSchemaUpdate History
< 1 sec
java.lang.AssertionError: expected:<[QueryResult{columns=[dataset_txtschemaupd]}]> but was:<[QueryResult{columns=[dataset_my_table]}, QueryResult{columns=[dataset_txtschemaupd]}, QueryResult{columns=[xyz]}]>
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotEquals(Assert.java:743)
	at org.junit.Assert.assertEquals(Assert.java:118)
	at org.junit.Assert.assertEquals(Assert.java:144)
	at co.cask.cdap.explore.service.BaseHiveExploreServiceTest.assertStatementResult(BaseHiveExploreServiceTest.java:326)
	at co.cask.cdap.explore.service.BaseHiveExploreServiceTest.runCommand(BaseHiveExploreServiceTest.java:311)
	at co.cask.cdap.explore.service.HiveExploreServiceFileSetTestRun.testPartitionedTextSchemaUpdate(HiveExploreServiceFileSetTestRun.java:641)
(57 more lines...)
Collapse Failed HiveExploreServiceFileSetTestRun testTimePartitionedFileSet History
< 1 sec
java.lang.AssertionError: expected:<[QueryResult{columns=[dataset_parts]}]> but was:<[QueryResult{columns=[dataset_parts]}, QueryResult{columns=[xyz]}]>
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotEquals(Assert.java:743)
	at org.junit.Assert.assertEquals(Assert.java:118)
	at org.junit.Assert.assertEquals(Assert.java:144)
	at co.cask.cdap.explore.service.BaseHiveExploreServiceTest.assertStatementResult(BaseHiveExploreServiceTest.java:326)
	at co.cask.cdap.explore.service.BaseHiveExploreServiceTest.runCommand(BaseHiveExploreServiceTest.java:311)
	at co.cask.cdap.explore.service.HiveExploreServiceFileSetTestRun.testTimePartitionedFileSet(HiveExploreServiceFileSetTestRun.java:809)
(57 more lines...)
Collapse Failed HiveExploreServiceTestRun getUserTables History
< 1 sec
java.lang.AssertionError: expected:<[co.cask.cdap.proto.TableNameInfo@b1d61877, co.cask.cdap.proto.TableNameInfo@2b69da7]> but was:<[co.cask.cdap.proto.TableNameInfo@b1d61877, co.cask.cdap.proto.TableNameInfo@2b69da7, co.cask.cdap.proto.TableNameInfo@2822aae]>
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotEquals(Assert.java:743)
	at org.junit.Assert.assertEquals(Assert.java:118)
	at org.junit.Assert.assertEquals(Assert.java:144)
	at co.cask.cdap.explore.service.HiveExploreServiceTestRun.getUserTables(HiveExploreServiceTestRun.java:193)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
(54 more lines...)
Collapse Failed HiveExploreServiceTestRun previewResultsTest History
4 secs
java.lang.AssertionError: expected:<[QueryResult{columns=[dataset_my_table_6]}]> but was:<[QueryResult{columns=[dataset_my_table_6]}, QueryResult{columns=[xyz]}]>
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotEquals(Assert.java:743)
	at org.junit.Assert.assertEquals(Assert.java:118)
	at org.junit.Assert.assertEquals(Assert.java:144)
	at co.cask.cdap.explore.service.HiveExploreServiceTestRun.previewResultsTest(HiveExploreServiceTestRun.java:458)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
(54 more lines...)
Collapse Failed HiveExploreServiceTestRun testCustomDatabaseAndTableName History
1 min
co.cask.cdap.explore.service.TableNotFoundException: NoSuchObjectException(message:cdap_namespace.xyz table not found)
	at co.cask.cdap.explore.service.hive.BaseHiveExploreService.getTableInfo(BaseHiveExploreService.java:673)
	at co.cask.cdap.explore.service.HiveExploreServiceTestRun.testTableInfo(HiveExploreServiceTestRun.java:152)
	at co.cask.cdap.explore.service.HiveExploreServiceTestRun.testCustomDatabaseAndTableName(HiveExploreServiceTestRun.java:131)
	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)
(63 more lines...)
Collapse Failed HiveExploreServiceTestRun testHiveIntegration History
< 1 sec
java.lang.AssertionError: expected:<[QueryResult{columns=[dataset_my_table]}]> but was:<[QueryResult{columns=[dataset_my_table]}, QueryResult{columns=[xyz]}]>
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotEquals(Assert.java:743)
	at org.junit.Assert.assertEquals(Assert.java:118)
	at org.junit.Assert.assertEquals(Assert.java:144)
	at co.cask.cdap.explore.service.BaseHiveExploreServiceTest.assertStatementResult(BaseHiveExploreServiceTest.java:326)
	at co.cask.cdap.explore.service.BaseHiveExploreServiceTest.runCommand(BaseHiveExploreServiceTest.java:311)
	at co.cask.cdap.explore.service.HiveExploreServiceTestRun.testHiveIntegration(HiveExploreServiceTestRun.java:212)
(56 more lines...)
Collapse Failed HiveExploreStructuredRecordTestRun testCreateDropCustomDBAndTable History
< 1 sec
java.lang.AssertionError: expected:<[QueryResult{columns=[dataset_my_table]}, QueryResult{columns=[tablex]}]> but was:<[QueryResult{columns=[dataset_my_table]}, QueryResult{columns=[tablex]}, QueryResult{columns=[xyz]}]>
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotEquals(Assert.java:743)
	at org.junit.Assert.assertEquals(Assert.java:118)
	at org.junit.Assert.assertEquals(Assert.java:144)
	at co.cask.cdap.explore.service.BaseHiveExploreServiceTest.assertStatementResult(BaseHiveExploreServiceTest.java:326)
	at co.cask.cdap.explore.service.BaseHiveExploreServiceTest.runCommand(BaseHiveExploreServiceTest.java:311)
	at co.cask.cdap.explore.service.HiveExploreStructuredRecordTestRun.testCreateDropCustomDBAndTable(HiveExploreStructuredRecordTestRun.java:121)
(57 more lines...)
Collapse Failed WritableDatasetTestRun writeFromNativeTableIntoDatasetTest History
1 sec
java.util.concurrent.ExecutionException: java.sql.SQLException: Error while processing statement: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. AlreadyExistsException(message:Table test already exists)
	at com.google.common.util.concurrent.AbstractFuture$Sync.getValue(AbstractFuture.java:294)
	at com.google.common.util.concurrent.AbstractFuture$Sync.get(AbstractFuture.java:281)
	at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:116)
	at co.cask.cdap.explore.service.WritableDatasetTestRun.writeFromNativeTableIntoDatasetTest(WritableDatasetTestRun.java:355)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
(64 more lines...)