ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mahadev Konar" <maha...@apache.org>
Subject Re: Review Request 18329: AmbariManagementControllerTest Test fails with unable to delete the last user
Date Fri, 21 Feb 2014 23:15:59 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/18329/#review35208
-----------------------------------------------------------

Ship it!


Ship It!

- Mahadev Konar


On Feb. 20, 2014, 11:02 p.m., Dmytro Shkvyra wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/18329/
> -----------------------------------------------------------
> 
> (Updated Feb. 20, 2014, 11:02 p.m.)
> 
> 
> Review request for Ambari and Mahadev Konar.
> 
> 
> Bugs: AMBARI-4764
>     https://issues.apache.org/jira/browse/AMBARI-4764
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Last admin should not be deleted, accordingly AMBARI-4653. Fixed mechanism of update
user roles (prevent delete all roles while update)
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariManagementControllerImpl.java
d607eb4 
>   ambari-server/src/test/java/org/apache/ambari/server/controller/AmbariManagementControllerTest.java
2a1cf20 
> 
> Diff: https://reviews.apache.org/r/18329/diff/
> 
> 
> Testing
> -------
> 
> cd /root/ambari/ambari-server; JAVA_HOME=/usr/share/java/jdk1.7.0_21 /usr/local/netbeans-7.3/java/maven/bin/mvn
test
> Scanning for projects...
> 
> Some problems were encountered while building the effective model for org.apache.ambari:ambari-server:jar:1.3.0-SNAPSHOT
> 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration
of plugin org.apache.maven.plugins:maven-antrun-plugin @ line 505, column 15
> The expression ${pom.groupId} is deprecated. Please use ${project.groupId} instead.
> 
> It is highly recommended to fix these problems because they threaten the stability of
your build.
> 
> For this reason, future Maven versions might no longer support building such malformed
projects.
> 
>                                                                         
> ------------------------------------------------------------------------
> Building Ambari Server 1.3.0-SNAPSHOT
> ------------------------------------------------------------------------
> 
> --- build-helper-maven-plugin:1.8:parse-version (parse-version) @ ambari-server ---
> 
> --- build-helper-maven-plugin:1.8:regex-property (regex-property) @ ambari-server ---
> 
> --- buildnumber-maven-plugin:1.2:create (default) @ ambari-server ---
> Checking for local modifications: skipped.
> Updating project files from SCM: skipped.
> Executing: /bin/sh -c cd /root/ambari/ambari-server && git rev-parse --verify
HEAD
> Working directory: /root/ambari/ambari-server
> Storing buildNumber: 4744b785a3c430f5c8d8e343753d27519018d667 at timestamp: 1392933155604
> Executing: /bin/sh -c cd /root/ambari/ambari-server && git rev-parse --verify
HEAD
> Working directory: /root/ambari/ambari-server
> Storing buildScmBranch: UNKNOWN
> 
> --- maven-resources-plugin:2.6:resources (default-resources) @ ambari-server ---
> Using 'UTF-8' encoding to copy filtered resources.
> Copying 51 resources
> Copying 961 resources
> 
> --- maven-compiler-plugin:3.0:compile (default-compile) @ ambari-server ---
> Changes detected - recompiling the module!
> Compiling 657 source files to /root/ambari/ambari-server/target/classes
> /root/ambari/ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariServer.java:
/root/ambari/ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariServer.java
uses or overrides a deprecated API.
> /root/ambari/ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariServer.java:
Recompile with -Xlint:deprecation for details.
> /root/ambari/ambari-server/src/main/java/org/apache/ambari/server/controller/predicate/ComparisonPredicate.java:
Some input files use unchecked or unsafe operations.
> /root/ambari/ambari-server/src/main/java/org/apache/ambari/server/controller/predicate/ComparisonPredicate.java:
Recompile with -Xlint:unchecked for details.
> 
> --- maven-resources-plugin:2.6:copy-resources (copy-resources) @ ambari-server ---
> Using 'UTF-8' encoding to copy filtered resources.
> Copying 2 resources
> 
> --- maven-resources-plugin:2.6:testResources (default-testResources) @ ambari-server
---
> Using 'UTF-8' encoding to copy filtered resources.
> Copying 357 resources
> 
> --- maven-compiler-plugin:3.0:testCompile (default-testCompile) @ ambari-server ---
> Changes detected - recompiling the module!
> Compiling 242 source files to /root/ambari/ambari-server/target/test-classes
> /root/ambari/ambari-server/src/test/java/org/apache/ambari/server/security/authorization/TestAmbariLdapAuthoritiesPopulator.java:
Some input files use unchecked or unsafe operations.
> /root/ambari/ambari-server/src/test/java/org/apache/ambari/server/security/authorization/TestAmbariLdapAuthoritiesPopulator.java:
Recompile with -Xlint:unchecked for details.
> 
> --- maven-surefire-plugin:2.12:test (default-test) @ ambari-server ---
> Surefire report directory: /root/ambari/ambari-server/target/surefire-reports
> 
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> 
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Running org.apache.ambari.server.resources.TestResources
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.846 sec
> Running org.apache.ambari.server.security.encryption.AESEncryptorTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.234 sec
> Running org.apache.ambari.server.security.encryption.CredentialProviderTest
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.92 sec
> Running org.apache.ambari.server.security.encryption.CredentialStoreServiceTest
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.405 sec
> Running org.apache.ambari.server.security.encryption.MasterKeyServiceTest
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.781 sec
> Running org.apache.ambari.server.security.authorization.AmbariLdapAuthenticationProviderTest
> Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 23.326 sec
> Running org.apache.ambari.server.security.authorization.AmbariLdapAuthenticationProviderForDNWithSpaceTest
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 25.483 sec
> Running org.apache.ambari.server.security.authorization.AmbariLocalUserDetailsServiceTest
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.141 sec
> Running org.apache.ambari.server.security.authorization.TestUsers
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 17.679 sec
> Running org.apache.ambari.server.security.authorization.TestAmbariLdapAuthoritiesPopulator
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.763 sec
> Running org.apache.ambari.server.security.authorization.LdapServerPropertiesTest
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.306 sec
> Running org.apache.ambari.server.security.authorization.AuthorizationHelperTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.182 sec
> Running org.apache.ambari.server.security.SecurityFilterTest
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.177 sec
> Running org.apache.ambari.server.security.CertGenerationTest
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.043 sec
> Running org.apache.ambari.server.security.TestPassFileGeneration
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.346 sec
> Running org.apache.ambari.server.security.SslExecutionTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.044 sec
> Running org.apache.ambari.server.agent.TestActionQueue
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.805 sec
> Running org.apache.ambari.server.agent.TestHeartbeatMonitor
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 37.469 sec
> Running org.apache.ambari.server.agent.AgentResourceTest
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.752 sec
> Running org.apache.ambari.server.agent.TestHeartbeatHandler
> Tests run: 23, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 63.6 sec
> Running org.apache.ambari.server.agent.AgentHostInfoTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.718 sec
> Running org.apache.ambari.server.api.predicate.QueryLexerTest
> Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.265 sec
> Running org.apache.ambari.server.api.predicate.QueryParserTest
> Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.293 sec
> Running org.apache.ambari.server.api.predicate.operators.GreaterEqualsOperatorTest
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.206 sec
> Running org.apache.ambari.server.api.predicate.operators.LessOperatorTest
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.204 sec
> Running org.apache.ambari.server.api.predicate.operators.EqualsOperatorTest
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.205 sec
> Running org.apache.ambari.server.api.predicate.operators.LessEqualsOperatorTest
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.221 sec
> Running org.apache.ambari.server.api.predicate.operators.IsEmptyOperatorTest
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.173 sec
> Running org.apache.ambari.server.api.predicate.operators.InOperatorTest
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.22 sec
> Running org.apache.ambari.server.api.predicate.operators.AndOperatorTest
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.21 sec
> Running org.apache.ambari.server.api.predicate.operators.NotOperatorTest
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.21 sec
> Running org.apache.ambari.server.api.predicate.operators.NotEqualsOperatorTest
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.218 sec
> Running org.apache.ambari.server.api.predicate.operators.GreaterOperatorTest
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.219 sec
> Running org.apache.ambari.server.api.predicate.operators.OrOperatorTest
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.221 sec
> Running org.apache.ambari.server.api.resources.ViewResourceDefinitionTest
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.175 sec
> Running org.apache.ambari.server.api.resources.ViewInstanceResourceDefinitionTest
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.168 sec
> Running org.apache.ambari.server.api.resources.FeedResourceDefinitionTest
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.163 sec
> Running org.apache.ambari.server.api.resources.BlueprintResourceDefinitionTest
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.162 sec
> Running org.apache.ambari.server.api.resources.TargetClusterResourceDefinitionTest
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.166 sec
> Running org.apache.ambari.server.api.resources.WorkflowResourceDefinitionTest
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.227 sec
> Running org.apache.ambari.server.api.resources.TaskAttemptResourceDefinitionTest
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.159 sec
> Running org.apache.ambari.server.api.resources.BaseResourceDefinitionTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.269 sec
> Running org.apache.ambari.server.api.resources.JobResourceDefinitionTest
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.16 sec
> Running org.apache.ambari.server.api.resources.ViewExternalSubResourceDefinitionTest
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.186 sec
> Running org.apache.ambari.server.api.resources.InstanceResourceDefinitionTest
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.163 sec
> Running org.apache.ambari.server.api.services.NamedPropertySetTest
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.23 sec
> Running org.apache.ambari.server.api.services.PutRequestTest
> Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.282 sec
> Running org.apache.ambari.server.api.services.HostComponentServiceTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.897 sec
> Running org.apache.ambari.server.api.services.PostRequestTest
> Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.288 sec
> Running org.apache.ambari.server.api.services.QueryPostRequestTest
> Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.259 sec
> Running org.apache.ambari.server.api.services.ViewExternalSubResourceServiceTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.068 sec
> Running org.apache.ambari.server.api.services.ConfigurationServiceTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.863 sec
> Running org.apache.ambari.server.api.services.serializers.JsonSerializerTest
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.588 sec
> Running org.apache.ambari.server.api.services.RequestBodyTest
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.153 sec
> Running org.apache.ambari.server.api.services.FeedServiceTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.92 sec
> Running org.apache.ambari.server.api.services.BlueprintServiceTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.906 sec
> Running org.apache.ambari.server.api.services.ActionServiceTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.914 sec
> Running org.apache.ambari.server.api.services.ConfigGroupServiceTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.871 sec
> Running org.apache.ambari.server.api.services.ComponentServiceTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.892 sec
> Running org.apache.ambari.server.api.services.AmbariMetaInfoTest
> Tests run: 53, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 24.897 sec
> Running org.apache.ambari.server.api.services.StacksServiceTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.986 sec
> Running org.apache.ambari.server.api.services.ServiceServiceTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.898 sec
> Running org.apache.ambari.server.api.services.TaskAttemptServiceTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.856 sec
> Running org.apache.ambari.server.api.services.DeleteRequestTest
> Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.327 sec
> Running org.apache.ambari.server.api.services.HostServiceTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.896 sec
> Running org.apache.ambari.server.api.services.WorkflowServiceTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.879 sec
> Running org.apache.ambari.server.api.services.TargetClusterServiceTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.898 sec
> Running org.apache.ambari.server.api.services.ClusterServiceTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.868 sec
> Running org.apache.ambari.server.api.services.InstanceServiceTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.871 sec
> Running org.apache.ambari.server.api.services.PersistKeyValueImplTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.698 sec
> Running org.apache.ambari.server.api.services.PersistServiceTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.785 sec
> Running org.apache.ambari.server.api.services.Stacks2ServiceTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.915 sec
> Running org.apache.ambari.server.api.services.PersistenceManagerImplTest
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.007 sec
> Running org.apache.ambari.server.api.services.GetRequestTest
> Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.295 sec
> Running org.apache.ambari.server.api.services.parsers.BodyParseExceptionTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.145 sec
> Running org.apache.ambari.server.api.services.parsers.JsonRequestBodyParserTest
> Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.125 sec
> Running org.apache.ambari.server.api.services.JobServiceTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.901 sec
> Running org.apache.ambari.server.api.services.RootServiceServiceTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.886 sec
> Running org.apache.ambari.server.api.handlers.QueryCreateHandlerTest
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.265 sec
> Running org.apache.ambari.server.api.handlers.UpdateHandlerTest
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.364 sec
> Running org.apache.ambari.server.api.handlers.CreateHandlerTest
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.323 sec
> Running org.apache.ambari.server.api.handlers.ReadHandlerTest
> Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.45 sec
> Running org.apache.ambari.server.api.handlers.DeleteHandlerTest
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.358 sec
> Running org.apache.ambari.server.api.util.StackExtensionHelperTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.209 sec
> Running org.apache.ambari.server.api.TestSuite
> Tests run: 185, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.343 sec
> Running org.apache.ambari.server.api.AmbariErrorHandlerTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.006 sec
> Running org.apache.ambari.server.api.query.ExtendedResourcePredicateVisitorTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.028 sec
> Running org.apache.ambari.server.api.query.SubResourcePredicateVisitorTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.215 sec
> Running org.apache.ambari.server.api.query.ProcessingPredicateVisitorTest
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.101 sec
> Running org.apache.ambari.server.api.query.QueryImplTest
> Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.28 sec
> Running org.apache.ambari.server.metadata.RoleCommandOrderTest
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 21.917 sec
> Running org.apache.ambari.server.metadata.RoleGraphTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.989 sec
> Running org.apache.ambari.server.controller.predicate.GreaterPredicateTest
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.95 sec
> Running org.apache.ambari.server.controller.predicate.CategoryPredicateTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.01 sec
> Running org.apache.ambari.server.controller.predicate.NotPredicateTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.927 sec
> Running org.apache.ambari.server.controller.predicate.LessEqualsPredicateTest
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.963 sec
> Running org.apache.ambari.server.controller.predicate.GreaterEqualsPredicateTest
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.965 sec
> Running org.apache.ambari.server.controller.predicate.PredicateVisitorTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.942 sec
> Running org.apache.ambari.server.controller.predicate.AndPredicateTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.969 sec
> Running org.apache.ambari.server.controller.predicate.LessPredicateTest
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.957 sec
> Running org.apache.ambari.server.controller.predicate.CategoryIsEmptyPredicateTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.06 sec
> Running org.apache.ambari.server.controller.predicate.OrPredicateTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.948 sec
> Running org.apache.ambari.server.controller.predicate.EqualsPredicateTest
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.886 sec
> Running org.apache.ambari.server.controller.PassiveStateHelperTest
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.462 sec
> Running org.apache.ambari.server.controller.AmbariManagementControllerTest
> Tests run: 104, Failures: 0, Errors: 0, Skipped: 5, Time elapsed: 185.641 sec
> Running org.apache.ambari.server.controller.ActionResponseTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.259 sec
> Running org.apache.ambari.server.controller.nagios.NagiosPropertyProviderTest
> Tests run: 8, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 1.625 sec <<<
FAILURE!
> Running org.apache.ambari.server.controller.RootServiceResponseFactoryTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.58 sec
> Running org.apache.ambari.server.controller.ClusterResponseTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.157 sec
> Running org.apache.ambari.server.controller.AmbariServerTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.415 sec
> Running org.apache.ambari.server.controller.AmbariManagementControllerImplTest
> Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.854 sec
> Running org.apache.ambari.server.controller.ivory.ClusterTest
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.156 sec
> Running org.apache.ambari.server.controller.ivory.InstanceTest
> Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.158 sec
> Running org.apache.ambari.server.controller.ivory.FeedTest
> Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.169 sec
> Running org.apache.ambari.server.controller.gsinstaller.GSInstallerComponentProviderTest
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.973 sec
> Running org.apache.ambari.server.controller.gsinstaller.GSInstallerNoOpProviderTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.936 sec
> Running org.apache.ambari.server.controller.gsinstaller.GSInstallerServiceProviderTest
> Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.014 sec
> Running org.apache.ambari.server.controller.gsinstaller.GSInstallerClusterProviderTest
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.971 sec
> Running org.apache.ambari.server.controller.gsinstaller.GSInstallerHostComponentProviderTest
> Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.987 sec
> Running org.apache.ambari.server.controller.gsinstaller.GSInstallerHostProviderTest
> Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.985 sec
> Running org.apache.ambari.server.controller.ClusterRequestTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.156 sec
> Running org.apache.ambari.server.controller.utilities.PredicateBuilderTest
> Tests run: 34, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.999 sec
> Running org.apache.ambari.server.controller.utilities.PropertyHelperTest
> Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.244 sec
> Running org.apache.ambari.server.controller.jmx.JMXPropertyProviderTest
> Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.956 sec
> Running org.apache.ambari.server.controller.spi.ResourceTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.155 sec
> Running org.apache.ambari.server.controller.ActionRequestTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.148 sec
> Running org.apache.ambari.server.controller.internal.StackDefinedPropertyProviderTest
> Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 35.397 sec
> Running org.apache.ambari.server.controller.internal.ConfigurationResourceProviderTest
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.222 sec
> Running org.apache.ambari.server.controller.internal.RequestImplTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.984 sec
> Running org.apache.ambari.server.controller.internal.HostComponentResourceProviderTest
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.258 sec
> Running org.apache.ambari.server.controller.internal.ResourceImplTest
> Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.928 sec
> Running org.apache.ambari.server.controller.internal.PageResponseImplTest
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.176 sec
> Running org.apache.ambari.server.controller.internal.RootServiceResourceProviderTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.108 sec
> Running org.apache.ambari.server.controller.internal.ServiceResourceProviderTest
> Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.449 sec
> Running org.apache.ambari.server.controller.internal.HostResourceProviderTest
> Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.507 sec
> Running org.apache.ambari.server.controller.internal.ActionResourceProviderTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.286 sec
> Running org.apache.ambari.server.controller.internal.TaskResourceProviderTest
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.2 sec
> Running org.apache.ambari.server.controller.internal.ClusterResourceProviderTest
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.234 sec
> Running org.apache.ambari.server.controller.internal.AbstractDRResourceProviderTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.093 sec
> Running org.apache.ambari.server.controller.internal.JMXHostProviderTest
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 22.149 sec
> Running org.apache.ambari.server.controller.internal.RepositoryResourceProviderTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.109 sec
> Running org.apache.ambari.server.controller.internal.ConfigGroupResourceProviderTest
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.354 sec
> Running org.apache.ambari.server.controller.internal.SchemaImplTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.948 sec
> Running org.apache.ambari.server.controller.internal.RequestResourceProviderTest
> Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.511 sec
> Running org.apache.ambari.server.controller.internal.AbstractJDBCResourceProviderTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.128 sec
> Running org.apache.ambari.server.controller.internal.JobResourceProviderTest
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.26 sec
> Running org.apache.ambari.server.controller.internal.TaskAttemptResourceProviderTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.221 sec
> Running org.apache.ambari.server.controller.internal.HttpPropertyProviderTest
> Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.178 sec
> Running org.apache.ambari.server.controller.internal.PageRequestImplTest
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.168 sec
> Running org.apache.ambari.server.controller.internal.TargetClusterResourceProviderTest
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.084 sec
> Running org.apache.ambari.server.controller.internal.StackResourceProviderTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.062 sec
> Running org.apache.ambari.server.controller.internal.RequestStatusImplTest
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.98 sec
> Running org.apache.ambari.server.controller.internal.SimplifyingPredicateVisitorTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.068 sec
> Running org.apache.ambari.server.controller.internal.ComponentResourceProviderTest
> Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.458 sec
> Running org.apache.ambari.server.controller.internal.AbstractResourceProviderTest
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.091 sec
> Running org.apache.ambari.server.controller.internal.AbstractPropertyProviderTest
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.073 sec
> Running org.apache.ambari.server.controller.internal.RequestScheduleResourceProviderTest
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.326 sec
> Running org.apache.ambari.server.controller.internal.ClusterControllerImplTest
> Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.165 sec
> Running org.apache.ambari.server.controller.internal.FeedResourceProviderTest
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.137 sec
> Running org.apache.ambari.server.controller.internal.RootServiceHostComponentResourceProviderTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.319 sec
> Running org.apache.ambari.server.controller.internal.InstanceResourceProviderTest
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.139 sec
> Running org.apache.ambari.server.controller.internal.StackConfigurationResourceProviderTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.095 sec
> Running org.apache.ambari.server.controller.internal.AppCookieManagerTest
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.395 sec
> Running org.apache.ambari.server.controller.internal.BlueprintResourceProviderTest
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.209 sec
> Running org.apache.ambari.server.controller.internal.RootServiceComponentResourceProviderTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.154 sec
> Running org.apache.ambari.server.controller.internal.PropertyPredicateVisitorTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.974 sec
> Running org.apache.ambari.server.controller.internal.UserResourceProviderTest
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.197 sec
> Running org.apache.ambari.server.controller.internal.AbstractControllerResourceProviderTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.111 sec
> Running org.apache.ambari.server.controller.internal.WorkflowResourceProviderTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.255 sec
> Running org.apache.ambari.server.controller.internal.BaseProviderTest
> Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.127 sec
> Running org.apache.ambari.server.controller.ganglia.GangliaPropertyProviderTest
> Tests run: 36, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.971 sec
> Running org.apache.ambari.server.controller.ganglia.GangliaHelperTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.152 sec
> Running org.apache.ambari.server.controller.ganglia.GangliaMetricTest
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.17 sec
> Running org.apache.ambari.server.controller.ganglia.GangliaReportPropertyProviderTest
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.22 sec
> Running org.apache.ambari.server.utils.TestDateUtils
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.25 sec
> Running org.apache.ambari.server.utils.TestStageUtils
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 17.177 sec
> Running org.apache.ambari.server.utils.TestVersionUtils
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.222 sec
> Running org.apache.ambari.server.utils.TestShellCommandUtil
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.426 sec
> Running org.apache.ambari.server.customactions.ActionDefinitionManagerTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.863 sec
> Running org.apache.ambari.server.bootstrap.BootStrapTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.942 sec
> Running org.apache.ambari.server.bootstrap.BootStrapResourceTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.031 sec
> Running org.apache.ambari.server.orm.dao.UserDAOTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.393 sec
> Running org.apache.ambari.server.orm.dao.BlueprintDAOTest
> Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.397 sec
> Running org.apache.ambari.server.orm.dao.ConfigGroupDAOTest
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 18.335 sec
> Running org.apache.ambari.server.orm.dao.RequestScheduleDAOTest
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.49 sec
> Running org.apache.ambari.server.orm.dao.HostConfigMappingDAOTest
> Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 17.262 sec
> Running org.apache.ambari.server.orm.JdbcPropertyTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.522 sec
> Running org.apache.ambari.server.orm.TestOrmImpl
> Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 23.529 sec
> Running org.apache.ambari.server.orm.entities.HostGroupEntityTest
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.156 sec
> Running org.apache.ambari.server.orm.entities.BlueprintEntityTest
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.162 sec
> Running org.apache.ambari.server.orm.entities.StageEntityTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.164 sec
> Running org.apache.ambari.server.orm.entities.HostGroupComponentEntityTest
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.154 sec
> Running org.apache.ambari.server.stageplanner.TestStagePlanner
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.994 sec
> Running org.apache.ambari.server.view.ViewRegistryTest
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.184 sec
> Running org.apache.ambari.server.view.ViewDefinitionTest
> Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.149 sec
> Running org.apache.ambari.server.view.ViewContextImplTest
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.987 sec
> Running org.apache.ambari.server.view.ViewSubResourceDefinitionTest
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.907 sec
> Running org.apache.ambari.server.view.configuration.ParameterConfigTest
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.692 sec
> Running org.apache.ambari.server.view.configuration.InstanceConfigTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.662 sec
> Running org.apache.ambari.server.view.configuration.ResourceConfigTest
> Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.771 sec
> Running org.apache.ambari.server.view.configuration.ViewConfigTest
> Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.842 sec
> Running org.apache.ambari.server.view.configuration.PropertyConfigTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.685 sec
> Running org.apache.ambari.server.view.ViewInstanceDefinitionTest
> Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.048 sec
> Running org.apache.ambari.server.configuration.ConfigurationTest
> Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.345 sec
> Running org.apache.ambari.server.configuration.ComponentSSLConfigurationTest
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.502 sec
> Running org.apache.ambari.server.actionmanager.TestStage
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.415 sec
> Running org.apache.ambari.server.actionmanager.ExecutionCommandWrapperTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.131 sec
> Running org.apache.ambari.server.actionmanager.TestActionDBAccessorImpl
> Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 30.691 sec
> Running org.apache.ambari.server.actionmanager.HostRoleStatusTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.157 sec
> Running org.apache.ambari.server.actionmanager.TestActionScheduler
> Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.788 sec
> Running org.apache.ambari.server.actionmanager.TestActionManager
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 18.443 sec
> Running org.apache.ambari.server.state.ConfigHelperTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 17.707 sec
> Running org.apache.ambari.server.state.svccomphost.ServiceComponentHostTest
> Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 40.911 sec
> Running org.apache.ambari.server.state.cluster.ClustersTest
> Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 29.079 sec
> Running org.apache.ambari.server.state.cluster.ClusterTest
> Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 40.394 sec
> Running org.apache.ambari.server.state.ServiceTest
> Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 30.337 sec
> Running org.apache.ambari.server.state.host.HostTest
> Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 28.035 sec
> Running org.apache.ambari.server.state.ConfigGroupTest
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 24.836 sec
> Running org.apache.ambari.server.state.RequestExecutionTest
> Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 26.796 sec
> Running org.apache.ambari.server.state.action.JobTest
> Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.424 sec
> Running org.apache.ambari.server.state.DesiredConfigTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.149 sec
> Running org.apache.ambari.server.state.scheduler.BatchRequestJobTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.396 sec
> Running org.apache.ambari.server.state.ServiceComponentTest
> Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 26.962 sec
> Running org.apache.ambari.server.proxy.ProxyServiceTest
> Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.297 sec
> Running org.apache.ambari.server.scheduler.ExecutionScheduleManagerTest
> Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 34.958 sec
> Running org.apache.ambari.server.scheduler.ExecutionSchedulerTest
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.574 sec
> 
> Results :
> 
> Failed tests:   testNoNagiosServerCompoonent(org.apache.ambari.server.controller.nagios.NagiosPropertyProviderTest):
Expected no alerts
>   testNoNagiosService(org.apache.ambari.server.controller.nagios.NagiosPropertyProviderTest):
Expected no alerts
> 
> Tests run: 1405, Failures: 2, Errors: 0, Skipped: 7
> 
> ------------------------------------------------------------------------
> BUILD FAILURE
> ------------------------------------------------------------------------
> Total time: 22:04.347s
> Finished at: Fri Feb 21 00:14:35 EET 2014
> Final Memory: 25M/158M
> ------------------------------------------------------------------------
> Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test)
on project ambari-server: There are test failures.
> 
> Please refer to /root/ambari/ambari-server/target/surefire-reports for the individual
test results.
> -> [Help 1]
> 
> To see the full stack trace of the errors, re-run Maven with the -e switch.
> Re-run Maven using the -X switch to enable full debug logging.
> 
> For more information about the errors and possible solutions, please read the following
articles:
> [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> 
> 
> Thanks,
> 
> Dmytro Shkvyra
> 
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message