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

Di Li commented on AMBARI-18355:
--------------------------------

errors in Jenkins trunk build for Ambari Server also exist in the previous 
build. The errors are from Python scripts that are not related to the changes 
from this JIRA.


======================================================================
FAIL: test_update_directory_archive 
(TestResourceFilesKeeper.TestResourceFilesKeeper)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-common/src/test/python/mock/mock.py",
 line 1199, in patched
    return func(*args, **keywargs)
  File 
"/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-server/src/test/python/TestResourceFilesKeeper.py",
 line 191, in test_update_directory_archive
    self.assertTrue(write_hash_sum_mock.called)
AssertionError: False is not true

----------------------------------------------------------------------
Ran 269 tests in 6.956s

FAILED (failures=1)
----------------------------------------------------------------------
Failed tests:
FAIL: test_update_directory_archive 
(TestResourceFilesKeeper.TestResourceFilesKeeper)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-common/src/test/python/mock/mock.py",
 line 1199, in patched
    return func(*args, **keywargs)
  File 
"/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-server/src/test/python/TestResourceFilesKeeper.py",
 line 191, in test_update_directory_archive
    self.assertTrue(write_hash_sum_mock.called)
AssertionError: False is not true

----------------------------------------------------------------------
Total run:1161
Total errors:0
Total failures:1
ERROR
INFO: AMBARI_SERVER_LIB is not set, using default /usr/lib/ambari-server
INFO: Return code from stack upgrade command, retcode = 0

> Introduce conditional dependencies in stack defition to handle blueprint 
> validation gracefully
> ----------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-18355
>                 URL: https://issues.apache.org/jira/browse/AMBARI-18355
>             Project: Ambari
>          Issue Type: Improvement
>          Components: ambari-server
>    Affects Versions: trunk
>            Reporter: Amruta Borkar
>            Assignee: Amruta Borkar
>             Fix For: trunk
>
>         Attachments: AMBARI-18355.patch, AMBARI-18355_v6.patch, 
> AMBARI-18355_v7.patch, AMBARI-18355_v8.patch, Adding Conditional 
> Dependencies.pdf
>
>
> Currently stack definitions do not list conditional dependencies, adding 
> those to the stack definitions would make it easy to validate errors in case 
> of blueprint deployment. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to