You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Jayush Luniya (JIRA)" <ji...@apache.org> on 2016/07/11 23:37:11 UTC

[jira] [Created] (AMBARI-17664) ServicePropertiesTest.validatePropertySchemaOfServiceXMLs unit test failure

Jayush Luniya created AMBARI-17664:
--------------------------------------

             Summary: 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)