← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1695394] Re: test_device_tagging tempest test fails with "mount: mounting /dev/sr0 on /mnt failed: Device or resource busy"

 

Is this a timing concern on tempest where it is asking for the mount too
soon?

** Also affects: tempest
   Importance: Undecided
       Status: New

** Changed in: nova
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1695394

Title:
  test_device_tagging tempest test fails with "mount: mounting /dev/sr0
  on /mnt failed: Device or resource busy"

Status in OpenStack Compute (nova):
  Incomplete
Status in tempest:
  New

Bug description:
  http://logs.openstack.org/56/468056/4/check/gate-tempest-dsvm-neutron-
  full-ubuntu-xenial/271b8fb/console.html

  2017-06-02 15:20:49.385605 |     Traceback (most recent call last):
  2017-06-02 15:20:49.385655 |       File "tempest/test.py", line 96, in wrapper
  2017-06-02 15:20:49.385691 |         return f(self, *func_args, **func_kwargs)
  2017-06-02 15:20:49.385744 |       File "tempest/api/compute/servers/test_device_tagging.py", line 267, in test_device_tagging
  2017-06-02 15:20:49.385789 |         self.ssh_client.exec_command('sudo mount %s /mnt' % dev_name)
  2017-06-02 15:20:49.385837 |       File "tempest/lib/common/utils/linux/remote_client.py", line 30, in wrapper
  2017-06-02 15:20:49.385874 |         return function(self, *args, **kwargs)
  2017-06-02 15:20:49.385925 |       File "tempest/lib/common/utils/linux/remote_client.py", line 96, in exec_command
  2017-06-02 15:20:49.385973 |         return self.ssh_client.exec_command(cmd)
  2017-06-02 15:20:49.386016 |       File "tempest/lib/common/ssh.py", line 202, in exec_command
  2017-06-02 15:20:49.386047 |         stderr=err_data, stdout=out_data)
  2017-06-02 15:20:49.386170 |     tempest.lib.exceptions.SSHExecCommandFailed: Command 'set -eu -o pipefail; PATH=$PATH:/sbin; sudo mount /dev/sr0 /mnt', exit status: 255, stderr:
  2017-06-02 15:20:49.386221 |     mount: mounting /dev/sr0 on /mnt failed: Device or resource busy

  This is Pike code.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1695394/+subscriptions