Pravin Dsilva created AMBARI-21280:
--------------------------------------

             Summary:  TestOSCheck.TestOSCheck python-test fails for ppc64le
                 Key: AMBARI-21280
                 URL: https://issues.apache.org/jira/browse/AMBARI-21280
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server
         Environment: $ uname -a
Linux pts00432-vm20 3.16.0-30-generic #40~14.04.1-Ubuntu SMP Thu Jan 15 
17:42:36 UTC 2015 ppc64le ppc64le ppc64le GNU/Linux

            Reporter: Pravin Dsilva


Python tests fail for ppc64le architecture on the latest trunk branch in 
ambari-server
{code:java}

======================================================================
ERROR: test_os_type_check (TestOSCheck.TestOSCheck)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/var/lib/jenkins/workspace/ambari-trunk/ambari-common/src/test/python/mock/mock.py",
 line 1199, in patched
    return func(*args, **keywargs)
  File 
"/var/lib/jenkins/workspace/ambari-trunk/ambari-server/src/test/python/TestOSCheck.py",
 line 279, in test_os_type_check
    os_check_type.main()
  File 
"/var/lib/jenkins/workspace/ambari-trunk/ambari-server/src/main/python/os_check_type.py",
 line 40, in main
    raise Exception("Local OS is not compatible with cluster primary OS family. 
Please perform manual bootstrap on this host.")
Exception: Local OS is not compatible with cluster primary OS family. Please 
perform manual bootstrap on this host.

======================================================================
FAIL: test_aliases (TestOSCheck.TestOSCheck)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/var/lib/jenkins/workspace/ambari-trunk/ambari-common/src/test/python/mock/mock.py",
 line 1199, in patched
    return func(*args, **keywargs)
  File 
"/var/lib/jenkins/workspace/ambari-trunk/ambari-server/src/test/python/TestOSCheck.py",
 line 193, in test_aliases
    self.assertEquals(OSCheck.get_os_type(), 'aliased_os')
AssertionError: 'qwerty_os-ppc' != 'aliased_os'

======================================================================
FAIL: test_get_os_family (TestOSCheck.TestOSCheck)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/var/lib/jenkins/workspace/ambari-trunk/ambari-common/src/test/python/mock/mock.py",
 line 1199, in patched
    return func(*args, **keywargs)
  File 
"/var/lib/jenkins/workspace/ambari-trunk/ambari-server/src/test/python/TestOSCheck.py",
 line 116, in test_get_os_family
    self.assertEquals(result, 'my_os')
AssertionError: 'my_os-ppc' != 'my_os'

======================================================================
FAIL: test_get_os_type (TestOSCheck.TestOSCheck)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/var/lib/jenkins/workspace/ambari-trunk/ambari-common/src/test/python/mock/mock.py",
 line 1199, in patched
    return func(*args, **keywargs)
  File 
"/var/lib/jenkins/workspace/ambari-trunk/ambari-server/src/test/python/TestOSCheck.py",
 line 67, in test_get_os_type
    self.assertEquals(result, 'my_os')
AssertionError: 'my_os-ppc' != 'my_os'

{code}




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to