ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Siddharth Wagle (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-8977) Unit test failue on CentOS 5
Date Fri, 02 Jan 2015 18:00:37 GMT
Siddharth Wagle created AMBARI-8977:
---------------------------------------

             Summary: Unit test failue on CentOS 5
                 Key: AMBARI-8977
                 URL: https://issues.apache.org/jira/browse/AMBARI-8977
             Project: Ambari
          Issue Type: Bug
          Components: ambari-metrics
    Affects Versions: 2.0.0
            Reporter: Siddharth Wagle
            Assignee: Siddharth Wagle
             Fix For: 2.0.0
         Attachments: AMBARI-8977.patch

{code}
Traceback (most recent call last):
  File "unitTests.py", line 137, in <module>
    sys.exit(main())
  File "unitTests.py", line 106, in main
    modules]
  File "/usr/lib64/python2.6/unittest.py", line 575, in loadTestsFromName
    module = __import__('.'.join(parts_copy))
  File "/grid/0/jenkins/workspace/ambari-trunk/label/centos5-builds/build/hdp-BUILDS/ambari/ambari-metrics/ambari-metrics-host-monitoring/src/test/python/core/TestHostInfo.py",
line 22, in <module>
    from host_info import HostInfo
  File "/grid/0/jenkins/workspace/ambari-trunk/label/centos5-builds/build/hdp-BUILDS/ambari/ambari-metrics/ambari-metrics-host-monitoring/src/main/python/core/host_info.py",
line 22, in <module>
    import psutil
  File "/grid/0/jenkins/workspace/ambari-trunk/label/centos5-builds/build/hdp-BUILDS/ambari/ambari-metrics/ambari-metrics-host-monitoring/target/psutil_build/psutil/__init__.py",
line 89, in <module>
    import psutil._pslinux as _psplatform
  File "/grid/0/jenkins/workspace/ambari-trunk/label/centos5-builds/build/hdp-BUILDS/ambari/ambari-metrics/ambari-metrics-host-monitoring/target/psutil_build/psutil/_pslinux.py",
line 24, in <module>
    import _psutil_linux as cext
ImportError: /grid/0/jenkins/workspace/ambari-trunk/label/centos5-builds/build/hdp-BUILDS/ambari/ambari-metrics/ambari-metrics-host-monitoring/target/psutil_build/_psutil_linux.so:
undefined symbol: Py_InitModule4
{code}



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

Mime
View raw message