ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-14268) UT failures for Ambari Server and Agent in trunk and branch-2.2
Date Tue, 08 Dec 2015 19:24:11 GMT

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

Hudson commented on AMBARI-14268:
---------------------------------

ABORTED: Integrated in Ambari-branch-2.2 #37 (See [https://builds.apache.org/job/Ambari-branch-2.2/37/])
AMBARI-14268. UT failures for Ambari Server and Agent in trunk and (vbrodetskyi: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=e1f407c60b585845cd82db869528162ca07f1901])
* ambari-server/src/test/python/stacks/2.0.6/OOZIE/test_oozie_client.py
* ambari-server/src/test/python/stacks/2.0.6/HDFS/test_datanode.py
* ambari-server/src/test/python/stacks/2.0.6/HIVE/test_hive_server.py
* ambari-agent/src/test/python/resource_management/TestLinkResource.py
* ambari-server/src/test/python/stacks/2.0.6/YARN/test_nodemanager.py
* ambari-agent/src/test/python/ambari_agent/TestHostCheckReportFileHandler.py
* ambari-server/src/test/python/stacks/2.1/HIVE/test_hive_metastore.py
* ambari-server/src/test/python/stacks/2.0.6/HIVE/test_hive_client.py


> UT failures for Ambari Server and Agent in trunk and branch-2.2
> ---------------------------------------------------------------
>
>                 Key: AMBARI-14268
>                 URL: https://issues.apache.org/jira/browse/AMBARI-14268
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-agent, ambari-server
>    Affects Versions: 2.2.0
>            Reporter: Vitaly Brodetskyi
>            Assignee: Vitaly Brodetskyi
>            Priority: Critical
>             Fix For: 2.2.0
>
>         Attachments: AMBARI-14268_branch_2.2.patch, AMBARI-14268_trunk.patch
>
>
> Ambari Server UT failures:
> {code}
> ======================================================================
> ERROR: test_post_upgrade_restart (test_datanode.TestDatanode)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.2/ambari-common/src/test/python/mock/mock.py",
line 1199, in patched
>     return func(*args, **keywargs)
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.2/ambari-server/src/test/python/stacks/2.0.6/HDFS/test_datanode.py",
line 508, in test_post_upgrade_restart
>     mocks_dict = mocks_dict
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.2/ambari-server/src/test/python/stacks/utils/RMFTestCase.py",
line 145, in executeScript
>     method(RMFTestCase.env, *command_args)
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.2/ambari-server/src/test/python/stacks/utils/../../../../main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/datanode.py",
line 100, in post_upgrade_restart
>     datanode_upgrade.post_upgrade_check(hdfs_binary)
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.2/ambari-server/src/test/python/stacks/utils/../../../../main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/datanode_upgrade.py",
line 74, in post_upgrade_check
>     _check_datanode_startup(hdfs_binary)
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.2/ambari-common/src/main/python/resource_management/libraries/functions/decorator.py",
line 48, in wrapper
>     return function(*args, **kwargs)
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.2/ambari-server/src/test/python/stacks/utils/../../../../main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/datanode_upgrade.py",
line 133, in _check_datanode_startup
>     hostname_ip =  socket.gethostbyname(params.hostname.lower())
> gaierror: [Errno -2] Name or service not known
> ======================================================================
> ERROR: test_post_upgrade_restart_bad_returncode (test_datanode.TestDatanode)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.2/ambari-common/src/test/python/mock/mock.py",
line 1199, in patched
>     return func(*args, **keywargs)
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.2/ambari-server/src/test/python/stacks/2.0.6/HDFS/test_datanode.py",
line 546, in test_post_upgrade_restart_bad_returncode
>     mocks_dict = mocks_dict
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.2/ambari-server/src/test/python/stacks/utils/RMFTestCase.py",
line 145, in executeScript
>     method(RMFTestCase.env, *command_args)
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.2/ambari-server/src/test/python/stacks/utils/../../../../main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/datanode.py",
line 100, in post_upgrade_restart
>     datanode_upgrade.post_upgrade_check(hdfs_binary)
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.2/ambari-server/src/test/python/stacks/utils/../../../../main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/datanode_upgrade.py",
line 74, in post_upgrade_check
>     _check_datanode_startup(hdfs_binary)
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.2/ambari-common/src/main/python/resource_management/libraries/functions/decorator.py",
line 48, in wrapper
>     return function(*args, **kwargs)
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.2/ambari-server/src/test/python/stacks/utils/../../../../main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/datanode_upgrade.py",
line 133, in _check_datanode_startup
>     hostname_ip =  socket.gethostbyname(params.hostname.lower())
> gaierror: [Errno -2] Name or service not known
> ======================================================================
> ERROR: test_post_upgrade_restart_datanode_not_ready (test_datanode.TestDatanode)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.2/ambari-common/src/test/python/mock/mock.py",
line 1199, in patched
>     return func(*args, **keywargs)
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.2/ambari-server/src/test/python/stacks/2.0.6/HDFS/test_datanode.py",
line 527, in test_post_upgrade_restart_datanode_not_ready
>     mocks_dict = mocks_dict
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.2/ambari-server/src/test/python/stacks/utils/RMFTestCase.py",
line 145, in executeScript
>     method(RMFTestCase.env, *command_args)
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.2/ambari-server/src/test/python/stacks/utils/../../../../main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/datanode.py",
line 100, in post_upgrade_restart
>     datanode_upgrade.post_upgrade_check(hdfs_binary)
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.2/ambari-server/src/test/python/stacks/utils/../../../../main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/datanode_upgrade.py",
line 74, in post_upgrade_check
>     _check_datanode_startup(hdfs_binary)
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.2/ambari-common/src/main/python/resource_management/libraries/functions/decorator.py",
line 48, in wrapper
>     return function(*args, **kwargs)
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.2/ambari-server/src/test/python/stacks/utils/../../../../main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/datanode_upgrade.py",
line 133, in _check_datanode_startup
>     hostname_ip =  socket.gethostbyname(params.hostname.lower())
> gaierror: [Errno -2] Name or service not known
> ----------------------------------------------------------------------
> Ran 98 tests in 3.107s
> FAILED (errors=3)
> Running tests for stack:2.0.6 service:GANGLIA
> test_configure_default (test_ganglia_server.TestGangliaServer) ... ok
> test_install_default (test_ganglia_server.TestGangliaServer) ... ok
> test_start_default (test_ganglia_server.TestGangliaServer) ... ok
> test_stop_default (test_ganglia_server.TestGangliaServer) ... ok
> test_configure_default (test_ganglia_monitor.TestGangliaMonitor) ... ok
> test_configure_non_gmetad_node (test_ganglia_monitor.TestGangliaMonitor) ... ok
> test_install_default (test_ganglia_monitor.TestGangliaMonitor) ... ok
> test_start_default (test_ganglia_monitor.TestGangliaMonitor) ... ok
> test_stop_default (test_ganglia_monitor.TestGangliaMonitor) ... ok
> ----------------------------------------------------------------------
> Ran 9 tests in 0.197s
> {code}
> Ambari Agent UT failures:
> {code}
> ======================================================================
> FAIL: test_action_delete (TestLinkResource.TestLinkResource)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.2/ambari-common/src/test/python/mock/mock.py",
line 1199, in patched
>     return func(*args, **keywargs)
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.2/ambari-agent/src/test/python/resource_management/TestLinkResource.py",
line 145, in test_action_delete
>     unlink_mock.assert_called_with("/some_path")
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.2/ambari-common/src/test/python/mock/mock.py",
line 829, in assert_called_with
>     raise AssertionError('Expected call: %s\nNot called' % (expected,))
> AssertionError: Expected call: unlink('/some_path')
> Not called
> {code}



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

Mime
View raw message