Build #2,278

Cask Data Application Platform - Develop Build and Test

Build: #2278 failed Child of CDAP-DRC-3986

Build result summary

Details

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

Responsible

No one has taken responsibility for this failure

Code commits

Author Commit Message Commit date
albertshau <ashau@google.com> albertshau <ashau@google.com> 519d1760d57ee1a0b014f6bb7fdae75576a7e2e1 519d1760d57ee1a0b014f6bb7fdae75576a7e2e1 Merge pull request #10554 from caskdata/feature/CDAP-14154-profile-program-types
CDAP-14154 enforce profile program type restrictions
yaojiefeng <yaojie@google.com> yaojiefeng <yaojie@google.com> 134962f791f41c77b2ca7dd466eacfb969b1b1cc 134962f791f41c77b2ca7dd466eacfb969b1b1cc Merge pull request #10525 from caskdata/feature/CDAP-13894-fix-metrics-query-on-sandbox
CDAP-13894 fix for sandbox metrics
yaojie <yaojie@google.com> yaojie <yaojie@google.com> bc535cca3f066a02d6b06cc3554b68c6544ef4e0 m bc535cca3f066a02d6b06cc3554b68c6544ef4e0 CDAP-13894 fix for sandbox metrics
albertshau <ashau@google.com> albertshau <ashau@google.com> fefdad9d8e2a6ce6e33f652a44388e019801248f m fefdad9d8e2a6ce6e33f652a44388e019801248f CDAP-14154 enforce profile program type restrictions
Profiles are only supposed to be applied to workflows.
This was accidentally removed during refactoring. Fixed the
ProgramLifecycleService to correctly check program type again,
and added a unit test to ensure this doesn't break.

Tests

New test failures 15
Status Test View job Duration
Collapse Failed HiveExploreObjectMappedTableTestRun testCreateQueryUpdateDrop History
Unit Test Job < 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 testOrcFileset History
Unit Test Job < 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 testPartitionedTextFile History
Unit Test Job < 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
Unit Test Job < 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 testCreateAddAlterDrop History
Unit Test Job < 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 testTimePartitionedFileSet History
Unit Test Job < 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 HiveExploreServiceFileSetTestRun testPartitionedTextSchemaUpdate History
Unit Test Job < 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 testPartitionedExisting History
Unit Test Job 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
Unit Test Job < 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 HiveExploreServiceTestRun testHiveIntegration History
Unit Test Job < 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 HiveExploreServiceTestRun testCustomDatabaseAndTableName History
Unit Test Job 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 previewResultsTest History
Unit Test Job 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 getUserTables History
Unit Test Job < 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 HiveExploreStructuredRecordTestRun testCreateDropCustomDBAndTable History
Unit Test Job < 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
Unit Test Job 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...)

JIRA issues

IssueDescriptionStatus
Unknown Issue TypeCDAP-13894Could not obtain issue details from JIRA
Unknown Issue TypeCDAP-14154Could not obtain issue details from JIRA