Hide Forgot
Description of problem: fv_tests all fail on RHEL6.1. The issues are almost the same. fv_core test log: Test Parameters: DEBUG=off RUNMODE=normal OUTPUTFILE=/var/log/v7/runs/1/fv_core/output.log DEVICE= TESTSERVER=10.66.65.181 /proc/cpuinfo has vmx flag Testing kvm virtualization Starting libvirtd daemon: libvirtd is running Verified that guest v7x86_64 is not running Verified: /var/lib/libvirt/images/v7data.img Verified: /var/lib/libvirt/images/v7x86_64.img Verified: /etc/libvirt/qemu/v7x86_64.xml Guest files verified Unmounting /mnt "umount /mnt" has output on stderr Error: could not unmount data image. Using loopback device /dev/loop1 for guest data image Error: could not mount data image "kpartx -av /dev/loop1" has output on stderr # kpartx -av /dev/loop1 read error, sector 0 llseek error llseek error llseek error But run command: virsh start v7x86_64. Then the fv_tests PASS. Version-Release number of selected component (if applicable): RHEL6.1-20110210.1 v7-1.3-10 How reproducible: always Steps to Reproduce: 1. provision x86_64 system with RHEL6.1-20110210.1 and install packages libvirt libvirt-python python-virtinst kvm-tools 2. install v7-1.3-10 and dependenies 3. run: v7 run -t fv_* Actual results: fv_tests all FAIL Expected results: fv_tests all PASS Additional info:
Exception occured in fvtest.py mountDataImage() and abort: 290 Command("kpartx -av " + self.loopBackDevice).echo() But run "kpartx -av /dev/loop0" on prompt successful: # kpartx -av /dev/loop0 add map loop0p1 (253:3): 0 192717 linear /dev/loop0 63
The error in RHEL6.1-20110224.2 is the same. But the error don't occur in RHEL5.6.
In test of #Description, the loopBackDevice /dev/loop0 was already in use. So the loopBackDevice was /dev/loop1. #comment 2 was another test on another machine. The loopBackDevice was /dev/loop0. But the issue was the same.
*** This bug has been marked as a duplicate of bug 682115 ***