ambari-dev mailing list archives

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

             Summary: 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


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