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

Andrew Onischuk commented on AMBARI-15565:
------------------------------------------

BAO has a huge queue at the momment.
UT are currently failing with and without the patch. The patch doesn't add any 
new failures.
{noformat}
----------------------------------------------------------------------
Failed tests:
ERROR: test_get_pxf_protocol_version 
(test_alerts_api_status.TestAlertsApiStatus)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/home/andrii/my/repos/ambari/ambari-common/src/test/python/mock/mock.py", line 
1199, in patched
    return func(*args, **keywargs)
  File 
"/home/andrii/my/repos/ambari/ambari-server/src/test/python/stacks/2.3/PXF/test_alerts_api_status.py",
 line 51, in test_get_pxf_protocol_version
    version = api_status._get_pxf_protocol_version()
TypeError: _get_pxf_protocol_version() takes exactly 1 argument (0 given)

FAIL: test_pre_upgrade_restart (test_zookeeper_client.TestZookeeperClient)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/home/andrii/my/repos/ambari/ambari-common/src/test/python/mock/mock.py", line 
1199, in patched
    return func(*args, **keywargs)
  File 
"/home/andrii/my/repos/ambari/ambari-server/src/test/python/stacks/2.0.6/ZOOKEEPER/test_zookeeper_client.py",
 line 176, in test_pre_upgrade_restart
    ('ambari-python-wrap', '/usr/bin/hdp-select', 'set', 'zookeeper-client', 
version), sudo=True)
  File 
"/home/andrii/my/repos/ambari/ambari-server/src/test/python/stacks/utils/RMFTestCase.py",
 line 249, in assertResourceCalled
    self.assertNotEqual(len(RMFTestCase.env.resource_list), 0, "There were no 
more resources executed!")
AssertionError: There were no more resources executed!

FAIL: test_pre_upgrade_restart_23 (test_zookeeper_client.TestZookeeperClient)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/home/andrii/my/repos/ambari/ambari-common/src/test/python/mock/mock.py", line 
1199, in patched
    return func(*args, **keywargs)
  File 
"/home/andrii/my/repos/ambari/ambari-server/src/test/python/stacks/2.0.6/ZOOKEEPER/test_zookeeper_client.py",
 line 200, in test_pre_upgrade_restart_23
    ('ambari-python-wrap', '/usr/bin/hdp-select', 'set', 'zookeeper-client', 
version), sudo=True)
  File 
"/home/andrii/my/repos/ambari/ambari-server/src/test/python/stacks/utils/RMFTestCase.py",
 line 235, in assertResourceCalledIgnoreEarlier
    self.assertNotEqual(len(RMFTestCase.env.resource_list), 0, "The specified 
resource was not found in the call stack.")
AssertionError: The specified resource was not found in the call stack.

FAIL: test_pre_upgrade_restart (test_zookeeper_server.TestZookeeperServer)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/home/andrii/my/repos/ambari/ambari-common/src/test/python/mock/mock.py", line 
1199, in patched
    return func(*args, **keywargs)
  File 
"/home/andrii/my/repos/ambari/ambari-server/src/test/python/stacks/2.0.6/ZOOKEEPER/test_zookeeper_server.py",
 line 362, in test_pre_upgrade_restart
    ('ambari-python-wrap', '/usr/bin/hdp-select', 'set', 'zookeeper-server', 
version), sudo=True)
  File 
"/home/andrii/my/repos/ambari/ambari-server/src/test/python/stacks/utils/RMFTestCase.py",
 line 249, in assertResourceCalled
    self.assertNotEqual(len(RMFTestCase.env.resource_list), 0, "There were no 
more resources executed!")
AssertionError: There were no more resources executed!

FAIL: test_pre_upgrade_restart_23 (test_zookeeper_server.TestZookeeperServer)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/home/andrii/my/repos/ambari/ambari-common/src/test/python/mock/mock.py", line 
1199, in patched
    return func(*args, **keywargs)
  File 
"/home/andrii/my/repos/ambari/ambari-server/src/test/python/stacks/2.0.6/ZOOKEEPER/test_zookeeper_server.py",
 line 385, in test_pre_upgrade_restart_23
    self.assertResourceCalledIgnoreEarlier('Link', ('/etc/zookeeper/conf'), 
to='/usr/hdp/current/zookeeper-client/conf')
  File 
"/home/andrii/my/repos/ambari/ambari-server/src/test/python/stacks/utils/RMFTestCase.py",
 line 235, in assertResourceCalledIgnoreEarlier
    self.assertNotEqual(len(RMFTestCase.env.resource_list), 0, "The specified 
resource was not found in the call stack.")
AssertionError: The specified resource was not found in the call stack.

----------------------------------------------------------------------
Total run:928
Total errors:1
Total failures:4
{noformat}

> History server start failed
> ---------------------------
>
>                 Key: AMBARI-15565
>                 URL: https://issues.apache.org/jira/browse/AMBARI-15565
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>             Fix For: 2.4.0
>
>         Attachments: AMBARI-15565.patch
>
>
> `stack_version` was not replaced in the destination file path.
>     
>     
>     2016-03-24 15:31:57,839 - Source file: 
> /usr/hdp/2.4.2.0-48/slider/lib/slider.tar.gz , Dest file in HDFS: 
> /hdp/apps/{{stack_version}}/slider/slider.tar.gz
>     



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

Reply via email to