[ https://issues.apache.org/jira/browse/AMBARI-17664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15371911#comment-15371911 ]
Jayush Luniya commented on AMBARI-17664: ---------------------------------------- cc: [~vperiasamy] [~gautamborad] [~u39kun] I backed out the commits for AMBARI-17587. > ServicePropertiesTest.validatePropertySchemaOfServiceXMLs unit test failure > --------------------------------------------------------------------------- > > Key: AMBARI-17664 > URL: https://issues.apache.org/jira/browse/AMBARI-17664 > Project: Ambari > Issue Type: Bug > Components: stacks > Affects Versions: 2.4.0 > Reporter: Jayush Luniya > Assignee: Gautam Borad > Priority: Blocker > Fix For: 2.4.0 > > > Following commit introduced unit test failures. > Commit 79d76898b9a880f20910770029747dc8fe3fbc09 by sgunturi > AMBARI-17587. Handle post ambari upgrade scenario for real names of jdbc jar > file [Ranger] (Gautam Borad via srimanth) > https://builds.apache.org/job/Ambari-trunk-Commit/5250/testReport/org.apache.ambari.server.state/ServicePropertiesTest/validatePropertySchemaOfServiceXMLs/ > > org.apache.ambari.server.state.ServicePropertiesTest.validatePropertySchemaOfServiceXMLs > Failing for the past 1 build (Since Failed#5250 ) > Took 0.49 sec. > Error Message > File > /home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-server/target/test-classes/TestAmbaryServer.samples/../../../src/main/resources/common-services/RANGER_KMS/0.5.0.2.3/configuration/kms-properties.xml > didn't pass the validation. Error message is : cvc-complex-type.3.2.2: > Attribute 'update' is not allowed to appear in element 'on-ambari-upgrade'. > Stacktrace > org.apache.ambari.server.AmbariException: File > /home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-server/target/test-classes/TestAmbaryServer.samples/../../../src/main/resources/common-services/RANGER_KMS/0.5.0.2.3/configuration/kms-properties.xml > didn't pass the validation. Error message is : cvc-complex-type.3.2.2: > Attribute 'update' is not allowed to appear in element 'on-ambari-upgrade'. > at > org.apache.ambari.server.state.ServicePropertiesTest.validatePropertySchemaOfServiceXMLs(ServicePropertiesTest.java:48) > Standard Output > 2016-07-07 22:00:46,592 ERROR [main] stack.StackManager > (StackManager.java:validateAllPropertyXmlsInFolderRecursively(451)) - File > /home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-server/target/test-classes/TestAmbaryServer.samples/../../../src/main/resources/common-services/RANGER_KMS/0.5.0.2.3/configuration/kms-properties.xml > didn't pass the validation. Error message is : cvc-complex-type.3.2.2: > Attribute 'update' is not allowed to appear in element 'on-ambari-upgradeā. -- This message was sent by Atlassian JIRA (v6.3.4#6332)