Cask Data Application Platform - Develop Build and Test

Build: #2597 failed Child of CDAP-DRC-4479

Build result summary

Details

Completed
Duration
60 minutes
Labels
None
Agent
bamboo-agent16
Revision
b10b120f0de44f159e7c661945f7bd2879c5d171 b10b120f0de44f159e7c661945f7bd2879c5d171
Total tests
1841
Fixed in
#2598 (Child of CDAP-DRC-4481)

Responsible

Code commits

Author Commit Message Commit date
Ajai <1452845+ajainarayanan@users.noreply.github.com> Ajai <1452845+ajainarayanan@users.noreply.github.com> b10b120f0de44f159e7c661945f7bd2879c5d171 b10b120f0de44f159e7c661945f7bd2879c5d171 Merge pull request #11380 from cdapio/bugfix-ui/change-save-to-ok-pipeline-name-form
Modifies the 'save' button to be 'ok' while updating pipeline name
Ajai <1452845+ajainarayanan@users.noreply.github.com> Ajai <1452845+ajainarayanan@users.noreply.github.com> ae8cde337fcc242fef2125499d3bc33d8ff1ccf3 ae8cde337fcc242fef2125499d3bc33d8ff1ccf3 Merge pull request #11371 from cdapio/feature-ui/pass-dev-mode-to-client
[UI] Enable hiding experimental features in production version of CDAP
Ajai Narayan Ajai Narayan ed5d4147b293bcf58e4b3ed64e77bcd72c79be61 ed5d4147b293bcf58e4b3ed64e77bcd72c79be61 Modifies the 'save' button to be 'ok' to avoid confusion about saving pipeline in backend vs saving pipeline name in UI
Ajai Narayan Ajai Narayan 502f6d2e8b419c1abf982340d5eae45db8ca518f 502f6d2e8b419c1abf982340d5eae45db8ca518f Pass on mode (prodution vs development) to clientside. This will help us prevent loading unnecessary experimental routes that we don't want to surface in production.

Tests

New test failures 8
Status Test View job Duration
Collapse Failed ProgramLifecycleHttpHandlerTest testProvisionerFailureStateAndMetrics History
Unit Test Job 1 sec
java.lang.AssertionError: expected:<200> but was:<409>
	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:555)
	at org.junit.Assert.assertEquals(Assert.java:542)
	at io.cdap.cdap.internal.app.services.http.handlers.ProgramLifecycleHttpHandlerTest.testProvisionerFailureStateAndMetrics(ProgramLifecycleHttpHandlerTest.java:533)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
(44 more lines...)
Collapse Failed ProgramLifecycleHttpHandlerTest testStopProgramWhilePending History
Unit Test Job 1 min
java.lang.AssertionError: expected:<200> but was:<409>
	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:555)
	at org.junit.Assert.assertEquals(Assert.java:542)
	at io.cdap.cdap.internal.app.services.http.handlers.ProgramLifecycleHttpHandlerTest.testStopProgramWhilePending(ProgramLifecycleHttpHandlerTest.java:561)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
(44 more lines...)
Collapse Failed ProgramLifecycleHttpHandlerTest testProgramStartStopStatus History
Unit Test Job 13 secs
java.lang.AssertionError: expected:<404> but was:<200>
	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:555)
	at org.junit.Assert.assertEquals(Assert.java:542)
	at io.cdap.cdap.internal.app.services.http.AppFabricTestBase.startProgram(AppFabricTestBase.java:835)
	at io.cdap.cdap.internal.app.services.http.AppFabricTestBase.startProgram(AppFabricTestBase.java:807)
(47 more lines...)
Collapse Failed ProgramLifecycleHttpHandlerTest testProgramList History
Unit Test Job < 1 sec
org.junit.ComparisonFailure: expected:<[[]]> but was:<[[{"type":"Workflow","app":"App","name":"NoOpWorkflow","description":"NoOp Workflow description"},{"type":"Workflow","app":"SleepWorkflowApp","name":"SleepWorkflow","description":"FunWorkflow description"}]]>
org.junit.ComparisonFailure: expected:<[[]]> but was:<[[{"type":"Workflow","app":"App","name":"NoOpWorkflow","description":"NoOp Workflow description"},{"type":"Workflow","app":"SleepWorkflowApp","name":"SleepWorkflow","description":"FunWorkflow description"}]]>	at org.junit.Assert.assertEquals(Assert.java:115)	at org.junit.Assert.assertEquals(Assert.java:144)	at io.cdap.cdap.internal.app.services.http.handlers.ProgramLifecycleHttpHandlerTest.testListInitialState(ProgramLifecycleHttpHandlerTest.java:1604)	at io.cdap.cdap.internal.app.services.http.handlers.ProgramLifecycleHttpHandlerTest.testProgramList(ProgramLifecycleHttpHandlerTest.java:851)	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.InvokeMethod.evaluate(InvokeMethod.java:17)	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)	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.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)	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)
Collapse Failed ProgramLifecycleHttpHandlerTest testWorkflowHistory History
Unit Test Job 1 min
java.lang.AssertionError: expected:<200> but was:<409>
	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:555)
	at org.junit.Assert.assertEquals(Assert.java:542)
	at io.cdap.cdap.internal.app.services.http.handlers.ProgramLifecycleHttpHandlerTest.testWorkflowHistory(ProgramLifecycleHttpHandlerTest.java:496)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
(44 more lines...)
Collapse Failed ProgramLifecycleHttpHandlerTest testStopProgramRunWhilePending History
Unit Test Job 1 min
java.lang.AssertionError: expected:<200> but was:<409>
	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:555)
	at org.junit.Assert.assertEquals(Assert.java:542)
	at io.cdap.cdap.internal.app.services.http.handlers.ProgramLifecycleHttpHandlerTest.testStopProgramRunWhilePending(ProgramLifecycleHttpHandlerTest.java:592)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
(44 more lines...)
Collapse Failed ProgramLifecycleHttpHandlerTest testProgramStartStopStatusErrors History
Unit Test Job 57 secs
java.lang.AssertionError: expected:<200> but was:<409>
	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:555)
	at org.junit.Assert.assertEquals(Assert.java:542)
	at io.cdap.cdap.internal.app.services.http.handlers.ProgramLifecycleHttpHandlerTest.testProgramStartStopStatusErrors(ProgramLifecycleHttpHandlerTest.java:427)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
(44 more lines...)
Collapse Failed ProgramLifecycleHttpHandlerTest io.cdap.cdap.internal.app.services.http.handlers.ProgramLifecycleHttpHandlerTest History
Unit Test Job 13 secs
java.util.concurrent.TimeoutException: Timeout occurred. Expected 200 but found 409.
	at io.cdap.cdap.common.utils.Tasks.waitFor(Tasks.java:70)
	at io.cdap.cdap.common.utils.Tasks.waitFor(Tasks.java:91)
	at io.cdap.cdap.common.utils.Tasks.waitFor(Tasks.java:130)
	at io.cdap.cdap.internal.app.services.http.AppFabricTestBase.deleteNamespaces(AppFabricTestBase.java:958)
	at io.cdap.cdap.internal.app.services.http.AppFabricTestBase.afterClass(AppFabricTestBase.java:300)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
(32 more lines...)