DeviceTaggingTestV2_42.test_device_tagging randomly fails with "mount: mounting /dev/sr0 on /mnt failed: Device or resource busy"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tempest |
Confirmed
|
Low
|
Unassigned |
Bug Description
2017-07-24 16:43:36.846 1571 ERROR tempest.
mount: mounting /dev/sr0 on /mnt failed: Device or resource busy
stdout:
: SSHExecCommandF
mount: mounting /dev/sr0 on /mnt failed: Device or resource busy
stdout:
2017-07-24 17:19:13.176110 | tempest.
2017-07-24 17:19:13.176163 | -------
2017-07-24 17:19:13.176171 |
2017-07-24 17:19:13.176181 | Captured traceback:
2017-07-24 17:19:13.176191 | ~~~~~~~~~~~~~~~~~~~
2017-07-24 17:19:13.176205 | Traceback (most recent call last):
2017-07-24 17:19:13.176221 | File "tempest/test.py", line 103, in wrapper
2017-07-24 17:19:13.176237 | return f(self, *func_args, **func_kwargs)
2017-07-24 17:19:13.176263 | File "tempest/
2017-07-24 17:19:13.176284 | self.ssh_
2017-07-24 17:19:13.176307 | File "tempest/
2017-07-24 17:19:13.176323 | return function(self, *args, **kwargs)
2017-07-24 17:19:13.176346 | File "tempest/
2017-07-24 17:19:13.176363 | return self.ssh_
2017-07-24 17:19:13.176383 | File "tempest/
2017-07-24 17:19:13.176397 | stderr=err_data, stdout=out_data)
2017-07-24 17:19:13.176433 | tempest.
2017-07-24 17:19:13.176464 | mount: mounting /dev/sr0 on /mnt failed: Device or resource busy
2017-07-24 17:19:13.176470 |
2017-07-24 17:19:13.176478 | stdout:
The test dumps out some lsblk information after it fails:
2017-07-24 16:43:38.010 1571 ERROR tempest.
NAME FSTYPE LABEL MOUNTPOINT
vda
`-vda1 ext3 cirros-rootfs /
vdb
vdc
sr0 iso9660 config-2
: SSHExecCommandF
mount: mounting /dev/sr0 on /mnt failed: Device or resource busy
stdout:
But in this case it doesn't really tell us much. Maybe we should retry up to 3 times to mount the config drive to read from it?
no longer affects: | nova |
Changed in tempest: | |
status: | New → Confirmed |
importance: | Undecided → Low |
Or maybe we should dump the guest console when this fails to see if we're trying to mount the config drive too early?