Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-19071

Ambari Server Unit Test failure on branch-2.5 and trunk: org.apache.ambari.server.state.ServicePropertiesTest.validatePropertySchemaOfServiceXMLs

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 2.5.0
    • 2.5.0
    • ambari-server
    • None

    Description

      This error is happening on both trunk and branch-2.5.

      Running org.apache.ambari.server.state.ServiceTest
      Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 7.352 sec <<< FAILURE! - in org.apache.ambari.server.state.ServicePropertiesTest
      validatePropertySchemaOfServiceXMLs(org.apache.ambari.server.state.ServicePropertiesTest)  Time elapsed: 7.281 sec  <<< ERROR!
      org.apache.ambari.server.AmbariException: File /home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-server/target/test-classes/TestAmbaryServer.samples/../../../src/main/resources/stacks/PERF/1.0/services/HAPPY/configuration/happy-alert-config.xml didn't pass the validation. Error message is : cvc-complex-type.2.4.b: The content of element 'property' is not complete. One of '{display-name, filename, deleted, final, on-ambari-upgrade, on-stack-upgrade, property-type, value-attributes, depends-on, property_depended_by}' is expected.
      	at org.apache.ambari.server.state.ServicePropertiesTest.validatePropertySchemaOfServiceXMLs(ServicePropertiesTest.java:50)
      

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            vbrodetskyi Vitaly Brodetskyi
            vbrodetskyi Vitaly Brodetskyi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment