[ 
https://issues.apache.org/jira/browse/AMBARI-22681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16300352#comment-16300352
 ] 

Di Li commented on AMBARI-22681:
--------------------------------

The following error reported by Jenkins is not related to the changes to the 
installation logic as HA UI does not touch registering stacks/repos.

21401 passing (37s)
  50 pending
  1 failing

  1) Ambari Web Unit tests 
test/controllers/main/admin/highAvailability/nameNode/step3_controller_test 
App.HighAvailabilityWizardStep3Controller #renderServiceConfigs selectedService 
should be set:

      expected 
'{"serviceName":"S1","displayName":"s1","configCategories":[{"name":"C1","errorCount":0}],"showConfig":true,"configs":[],"dependentServiceNames":[],"changedConfigProperties":[]}'
 to equal 
'{"serviceName":"S1","displayName":"s1","configCategories":[{"name":"C1"}],"showConfig":true,"configs":[],"dependentServiceNames":[]}'
      + expected - actual

      
-{"serviceName":"S1","displayName":"s1","configCategories":[{"name":"C1","errorCount":0}],"showConfig":true,"configs":[],"dependentServiceNames":[],"changedConfigProperties":[]}
      
+{"serviceName":"S1","displayName":"s1","configCategories":[{"name":"C1"}],"showConfig":true,"configs":[],"dependentServiceNames":[]}


Also, local run of the trunk ambari-web unit tests as well the patch tests run 
by Jenkins did not reproduce the error...
Metrics with name "m1-m2" not found to compute expression
Load stack upgrade history
Error loading resource 
file:///api/v1/clusters/c1/upgrades?fields=Upgrade&_=1513878095648 (203). 
Details: Error opening /api/v1/clusters/c1/upgrades: No such file or directory
Missing translation: dashboard.services.hdfs.clients

  21402 passing (32s)
  50 pending

JQMIGRATE: jQuery.support.boxModel is deprecated




> Ambari web UI failed to update stack repo directly from the Versions tab.
> -------------------------------------------------------------------------
>
>                 Key: AMBARI-22681
>                 URL: https://issues.apache.org/jira/browse/AMBARI-22681
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-web
>    Affects Versions: trunk
>            Reporter: Di Li
>            Assignee: Di Li
>             Fix For: trunk
>
>         Attachments: AMBARI-22681.patch
>
>
> REST API calls from the web got rejected by the ambari server with a missing 
> property error.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to