----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/41088/#review109327 -----------------------------------------------------------
Ship it! Ship It! - Andrew Onischuk On Dec. 8, 2015, 3:11 p.m., Vitalyi Brodetskyi wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/41088/ > ----------------------------------------------------------- > > (Updated Dec. 8, 2015, 3:11 p.m.) > > > Review request for Ambari, Andrew Onischuk and Dmytro Sen. > > > Bugs: AMBARI-14268 > https://issues.apache.org/jira/browse/AMBARI-14268 > > > Repository: ambari > > > Description > ------- > > 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} > > > Diffs > ----- > > ambari-agent/src/test/python/ambari_agent/TestHostCheckReportFileHandler.py > c595082 > ambari-agent/src/test/python/resource_management/TestLinkResource.py > ceac076 > ambari-server/src/test/python/stacks/2.0.6/HDFS/test_datanode.py c6f8c1d > ambari-server/src/test/python/stacks/2.0.6/HIVE/test_hive_client.py 7de494e > ambari-server/src/test/python/stacks/2.0.6/HIVE/test_hive_server.py 4c7cfe6 > ambari-server/src/test/python/stacks/2.0.6/OOZIE/test_oozie_client.py > d310b7c > ambari-server/src/test/python/stacks/2.0.6/YARN/test_nodemanager.py 7779792 > ambari-server/src/test/python/stacks/2.1/HIVE/test_hive_metastore.py > 1c798b1 > > Diff: https://reviews.apache.org/r/41088/diff/ > > > Testing > ------- > > mvn clean test > > > Thanks, > > Vitalyi Brodetskyi > >
