=Comment: #0================================================= KAMALESH BABULAL <> - Hi, I have used the latest available test suite ( v7-1.1-24.el5.noarch.rpm ) for Hardware certification on RHEL 4.8, the installation went fine but once I started using the v7 commands its giving some script errors. Not able to run any v7 commands. LOG: # uname -a Linux xxxxxxx 2.6.9-89.EL #1 SMP Mon Apr 20 10:33:26 EDT 2009 s390x s390x s390x GNU/Linux [root@xxxxx Hwcert]# v7 plan Traceback (most recent call last): File "/usr/bin/v7", line 24, in ? from v7.hardwaretest import HardwareTestHarness File "/usr/share/v7/lib/v7/hardwaretest.py", line 36, in ? from v7.report import Report File "/usr/share/v7/lib/v7/report.py", line 24, in ? from v7.command import Command, V7CommandException File "/usr/share/v7/lib/v7/command.py", line 22, in ? import os,re, commands, subprocess, string, sys ImportError: No module named subprocess [root@xxxxxx Hwcert]# v7 server start Traceback (most recent call last): File "/usr/bin/v7", line 24, in ? from v7.hardwaretest import HardwareTestHarness File "/usr/share/v7/lib/v7/hardwaretest.py", line 36, in ? from v7.report import Report File "/usr/share/v7/lib/v7/report.py", line 24, in ? from v7.command import Command, V7CommandException File "/usr/share/v7/lib/v7/command.py", line 22, in ? import os,re, commands, subprocess, string, sys ImportError: No module named subprocess [root@xxxxxx Hwcert]# v7 --help Traceback (most recent call last): File "/usr/bin/v7", line 24, in ? from v7.hardwaretest import HardwareTestHarness File "/usr/share/v7/lib/v7/hardwaretest.py", line 36, in ? from v7.report import Report File "/usr/share/v7/lib/v7/report.py", line 24, in ? from v7.command import Command, V7CommandException File "/usr/share/v7/lib/v7/command.py", line 22, in ? import os,re, commands, subprocess, string, sys ImportError: No module named subprocess The same test kit worked fine on RHEL5.5. RHEL 4.8 ships python-2.3.4-14.7.el4 and subprocess module is supported from python 2.4
Please try the RHEL4 rpm for v7 (v7-1.1-24.el4.noarch.rpm). - Thanks!
------- Comment From mgrf.com 2010-07-23 13:26 EDT------- (In reply to comment #4) > --- Comment From gnichols 2010-07-23 11:49:16 EDT--- > Please try the RHEL4 rpm for v7 (v7-1.1-24.el4.noarch.rpm). > - Thanks! Yes have been used as per initial bug description - used the latest available test suite ( v7-1.1-24.el5.noarch.rpm )
------- Comment From mgrf.com 2010-07-23 13:32 EDT------- *** Bug 66161 has been marked as a duplicate of this bug. ***
You need the RHEL4 version or v7 - note the "el4" in the rpm name: v7-1.1-24.el4.noarch.rpm is for RHEL4 <- use this one. v7-1.1-24.el5.noarch.rpm is for RHEL5 - will not work on RHEL4.8 Thanks!
------- Comment From rajduddu.ibm.com 2010-07-27 02:57 EDT------- Hi I have used "v7-1.1-24.el4.noarch.rpm" for RHEL4.8, but still the same problem exists. [root@r3515044 ~]# rpm -qa | grep v7 v7-1.1-24.el4 [root@r3515044 ~]# v7 plan File "/usr/bin/v7", line 23, in <module> from v7.test import Test File "/usr/share/v7/lib/v7/test.py", line 21, in <module> from v7.hal import Hal File "/usr/share/v7/lib/v7/hal.py", line 10, in <module> import dbus ImportError: No module named dbus [root@r3515044 ~]# v7 --help File "/usr/bin/v7", line 23, in <module> from v7.test import Test File "/usr/share/v7/lib/v7/test.py", line 21, in <module> from v7.hal import Hal File "/usr/share/v7/lib/v7/hal.py", line 10, in <module> import dbus ImportError: No module named dbus
------- Comment From 2010-08-23 03:27 EDT------- Hello RedHat, Any updates on the bug ? Thanks.
------- Comment From mgrf.com 2010-08-26 06:51 EDT------- Hello Red Hat, the previous version of the hts works fine ! The only one failing is the one delivered in June, "v7-1.1-24.el4.noarch.rpm"