Description of problem: I want to add another video card to the test plan. By doing this I get a traceback with errors from Python: [root@v840 testsuite]# hts plan --add --test video --udi pci_10de_19d loaded configuration /var/hts/config.xml loaded plan /var/hts/plan.xml loaded results /var/hts/results.xml Traceback (most recent call last): File "/usr/bin/hts", line 55, in ? success = hts.do(args) File "/usr/share/hts/lib/hts/hardwaretest.py", line 151, in do return self.doPlan() File "/usr/share/hts/lib/hts/hardwaretest.py", line 253, in doPlan self.addTest() File "/usr/share/hts/lib/hts/hardwaretest.py", line 689, in addTest device = planner.getDeviceByUDI(self.options.udi) File "/usr/share/hts/lib/hts/planner.py", line 138, in getDeviceByUDI if udi in device.getUDI(): TypeError: 'in <string>' requires string as left operand [root@v840 testsuite]# Version-Release number of selected component (if applicable): This happens with hts-5.1.16.el5.noarch.rpm How reproducible: Always. Steps to Reproduce: See above. Actual results: Python traceback Expected results: No error messages. :-) Additional info: This was an issue during hts development before. I guess it got fixed but now with the -16 release it seems to be back. :-(
Fix in R17
Tested this bug in i386 arch with the following result shown in g-t. ******** hts plan --add --test video --udi pci_10de_19d Hardware: Dell Computer Corporation unknown PowerEdge 700 OS: Tikanga 5.1 saved configuration to /var/hts/config.xml OS Version RHEL5, kernel rpm kernel-2.6.18-53.el5 HTS version 5.1, release 18 Created a new plan with 10 tests on 74 devices Warning: unknown device: pci_10de_19d OS Version RHEL5, kernel rpm kernel-2.6.18-53.el5 HTS version 5.1, release 18 Added test saved test plan to /var/hts/plan.xml ***************** Version of the component tested :- hts-5.1-18.el5 RHEL5.1-Server No traceback given during the test. This bug is fixed in the tested version of hts.