Hi Jayush… The ArtifactResourceProviderTest issue has been fixed in AMBARI-15407 (https://issues.apache.org/jira/browse/AMBARI-15407).
The AmbariManagementControllerImplTest issue has been noted and is being looked at at right now. Rob On 3/15/16, 2:51 AM, "Jayush Luniya" <[email protected]> wrote: >Hi all, >There are 2 unit test failures in ambari-server that I see locally as well as >Apache builds. If this is caused by your changes, please can you take a look >at it and address it ASAP. >Thanks >Jayush > >https://builds.apache.org/job/Ambari-trunk-Commit/4493/testReport/ >All Failed Tests >Test Name<https://builds.apache.org/job/Ambari-trunk-Commit/4493/testReport/#> > Duration<https://builds.apache.org/job/Ambari-trunk-Commit/4493/testReport/#> > Age<https://builds.apache.org/job/Ambari-trunk-Commit/4493/testReport/#> >[https://builds.apache.org/static/f42dbc76/images/16x16/document_add.png] >org.apache.ambari.server.controller.AmbariManagementControllerImplTest.testCreateDefaultHostParams<https://builds.apache.org/job/Ambari-trunk-Commit/4493/testReport/org.apache.ambari.server.controller/AmbariManagementControllerImplTest/testCreateDefaultHostParams/> > 0.21 sec 5<https://builds.apache.org/job/Ambari-trunk-Commit/4489/> >[https://builds.apache.org/static/f42dbc76/images/16x16/document_add.png] >org.apache.ambari.server.controller.internal.ArtifactResourceProviderTest.testDeleteResources<https://builds.apache.org/job/Ambari-trunk-Commit/4493/testReport/org.apache.ambari.server.controller.internal/ArtifactResourceProviderTest/testDeleteResources/> > 0.57 sec >9<https://builds.apache.org/job/Ambari-trunk-Commit/4485/> > >https://builds.apache.org/job/Ambari-trunk-Commit/4493/testReport/org.apache.ambari.server.controller/AmbariManagementControllerImplTest/testCreateDefaultHostParams/ >Stacktrace > >java.lang.NullPointerException > at > org.apache.ambari.server.controller.AmbariManagementControllerImplTest.testCreateDefaultHostParams(AmbariManagementControllerImplTest.java:2048) > > > >https://builds.apache.org/job/Ambari-trunk-Commit/4493/testReport/org.apache.ambari.server.controller.internal/ArtifactResourceProviderTest/testDeleteResources/ > >Error Message > > Unexpected method call > ArtifactDAO.findByNameAndForeignKeys("test-artifact2", {cluster=500}): > ArtifactDAO.findByForeignKeys({cluster=500}): expected: 1, actual: 1 > ArtifactDAO.findByNameAndForeignKeys("test-artifact", {cluster=500}): > expected: 1, actual: 0 > >Stacktrace > >java.lang.AssertionError: > > Unexpected method call > ArtifactDAO.findByNameAndForeignKeys("test-artifact2", {cluster=500}): > ArtifactDAO.findByForeignKeys({cluster=500}): expected: 1, actual: 1 > ArtifactDAO.findByNameAndForeignKeys("test-artifact", {cluster=500}): > expected: 1, actual: 0 > at > org.apache.ambari.server.controller.internal.ArtifactResourceProviderTest.testDeleteResources(ArtifactResourceProviderTest.java:435)
