Hide Forgot
Description of problem: hardware.py crashed while executing ipa-upgarde test execution. How reproducible: Always Steps to Reproduce: 1. Setup IPA server for ipa-upgrade test suite execution on beaker. 2. Make sure latest repo links are set correctly for test execution. 3. Initiate automation for ipa-upgrade test suite on beaker. Once the automation for ipa-upgrade is complete, following message is received. Actual results: backtrace: :hardware.py:45:<module>:ImportError: No module named hardware_hal : :Traceback (most recent call last): : File "/usr/share/rhn/up2date_client/hardware.py", line 45, in <module> : from hardware_hal import check_hal_dbus_status, get_hal_computer, read_hal :ImportError: No module named hardware_hal : :Local variables in innermost frame: :AF_INET6: 10 :getaddrinfo: <built-in function getaddrinfo> :rhnserver: <module 'rhnserver' from '/usr/share/rhn/up2date_client/rhnserver.pyc'> :gethostname: <built-in function gethostname> :up2dateLog: <module 'up2dateLog' from '/usr/share/rhn/up2date_client/up2dateLog.pyc'> :gettext: <module 'gettext' from '/usr/lib64/python2.7/gettext.pyc'> :__package__: None :re: <module 're' from '/usr/lib64/python2.7/re.pyc'> :config: <module 'config' from '/usr/share/rhn/up2date_client/config.pyc'> :__doc__: 'Used to read hardware info from kudzu, /proc, etc' :ethtool: <module 'ethtool' from '/usr/lib64/python2.7/site-packages/ethtool.so'> :__builtins__: <module '__builtin__' (built-in)> :__file__: '/usr/share/rhn/up2date_client/hardware.py' :sys: <module 'sys' (built-in)> :dmidecode: <module 'dmidecode' from '/usr/lib64/python2.7/site-packages/dmidecode.pyc'> :ethtool_present: True :__name__: '__main__' :_: <bound method NullTranslations.ugettext of <gettext.NullTranslations instance at 0x18d4998>> :socket: <module 'socket' from '/usr/lib64/python2.7/socket.pyc'> :dbus: <module 'dbus' from '/usr/lib64/python2.7/site-packages/dbus/__init__.pyc'> :AF_INET: 2 :t: <gettext.NullTranslations instance at 0x18d4998> :os: <module 'os' from '/usr/lib64/python2.7/os.pyc'> Expected results: No Crash reports should be observed for testing ipa-upgrade test suite. Additional info: This crash was observed while performing automation upgrade testing from RHEL 7.0 > RHEL 7.2.z (up2).
I'm sorry, but it's not quite clear, what is ipa-upgrade and how rhn-client-tools are called. Could we get a minimal reproducer, how to call rhn-client-tools to get this traceback?
I have attached the crash logs received for the system that reproduced similar error message. Let me know if you need any more information.
According to the provided crash log, it looks hardware.py is called in the following way: # python /usr/share/rhn/up2date_client/hardware.py This is definitely not supported. You're supposed to call only rhn-client-tools utilities from /usr/bin/ and /user/sbin/. CLosing as NOTABUG.
*** Bug 1305740 has been marked as a duplicate of this bug. ***
I don't see a resolution for this. Would you please provide more information as how to deal with these crashes?
Making Comment 5 publicly readable.