Sorry I noticed this bug is filed against qemu.  The fix was done in
libguestfs, it's not a bug in qemu as far as I know.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1740364

Title:
  qemu-img: fails to get shared 'write' lock

Status in QEMU:
  Fix Committed

Bug description:
  Description of problem:
  Somewhere in F27 (did not see it happening before), I'm getting while running 
libguestfs (via libvirt or direct), a qemu-img failure. Note: multiple qcow2 
snapshots are on the same backing file, and a parallel libguestfs command is 
running on all. However, it seems to be failing to get a lock on the leaf, 
which is unique, non-shared.

  The VM is up and running. I'm not sure why qemu-img is even trying to get a 
write lock on it. Even 'info' fails:
  ykaul@ykaul ovirt-system-tests]$ qemu-img info 
/home/ykaul/ovirt-system-tests/deployment-basic-suite-master/default/images/lago-basic-suite-master-host-1_root.qcow2
  qemu-img: Could not open 
'/home/ykaul/ovirt-system-tests/deployment-basic-suite-master/default/images/lago-basic-suite-master-host-1_root.qcow2':
 Failed to get shared "write" lock
  Is another process using the image?
  [ykaul@ykaul ovirt-system-tests]$ lsof |grep qcow2
  [ykaul@ykaul ovirt-system-tests]$ file 
/home/ykaul/ovirt-system-tests/deployment-basic-suite-master/default/images/lago-basic-suite-master-host-1_root.qcow2
  
/home/ykaul/ovirt-system-tests/deployment-basic-suite-master/default/images/lago-basic-suite-master-host-1_root.qcow2:
 QEMU QCOW Image (v3), has backing file (path 
/var/lib/lago/store/phx_repo:el7.4-base:v1), 6442450944 bytes

  
  And it's OK if I kill the VM of course.


  
  Version-Release number of selected component (if applicable):
  [ykaul@ykaul ovirt-system-tests]$ rpm -qa |grep qemu
  qemu-block-nfs-2.10.1-2.fc27.x86_64
  qemu-block-dmg-2.10.1-2.fc27.x86_64
  qemu-guest-agent-2.10.1-2.fc27.x86_64
  qemu-system-x86-core-2.10.1-2.fc27.x86_64
  qemu-block-curl-2.10.1-2.fc27.x86_64
  qemu-img-2.10.1-2.fc27.x86_64
  qemu-common-2.10.1-2.fc27.x86_64
  qemu-kvm-2.10.1-2.fc27.x86_64
  qemu-block-ssh-2.10.1-2.fc27.x86_64
  qemu-block-iscsi-2.10.1-2.fc27.x86_64
  libvirt-daemon-driver-qemu-3.7.0-3.fc27.x86_64
  qemu-block-gluster-2.10.1-2.fc27.x86_64
  ipxe-roms-qemu-20161108-2.gitb991c67.fc26.noarch
  qemu-system-x86-2.10.1-2.fc27.x86_64
  qemu-block-rbd-2.10.1-2.fc27.x86_64

  
  How reproducible:
  Sometimes.

  Steps to Reproduce:
  1. Running Lago (ovirt-system-tests) on my laptop, it happens quite a lot.

  Additional info:
  libguestfs: trace: set_verbose true
  libguestfs: trace: set_verbose = 0
  libguestfs: trace: set_backend "direct"
  libguestfs: trace: set_backend = 0
  libguestfs: create: flags = 0, handle = 0x7f1314006430, program = python2
  libguestfs: trace: set_program "lago"
  libguestfs: trace: set_program = 0
  libguestfs: trace: add_drive_ro 
"/home/ykaul/ovirt-system-tests/deployment-basic-suite-master/default/images/lago-basic-suite-master-host-1_root.qcow2"
  libguestfs: trace: add_drive 
"/home/ykaul/ovirt-system-tests/deployment-basic-suite-master/default/images/lago-basic-suite-master-host-1_root.qcow2"
 "readonly:true"
  libguestfs: creating COW overlay to protect original drive content
  libguestfs: trace: get_tmpdir
  libguestfs: trace: get_tmpdir = "/tmp"
  libguestfs: trace: disk_create "/tmp/libguestfsWrA7Dh/overlay1.qcow2" "qcow2" 
-1 
"backingfile:/home/ykaul/ovirt-system-tests/deployment-basic-suite-master/default/images/lago-basic-suite-master-host-1_root.qcow2"
  libguestfs: command: run: qemu-img
  libguestfs: command: run: \ create
  libguestfs: command: run: \ -f qcow2
  libguestfs: command: run: \ -o 
backing_file=/home/ykaul/ovirt-system-tests/deployment-basic-suite-master/default/images/lago-basic-suite-master-host-1_root.qcow2
  libguestfs: command: run: \ /tmp/libguestfsWrA7Dh/overlay1.qcow2
  qemu-img: /tmp/libguestfsWrA7Dh/overlay1.qcow2: Failed to get shared "write" 
lock
  Is another process using the image?
  Could not open backing image to determine size.
  libguestfs: trace: disk_create = -1 (error)
  libguestfs: trace: add_drive = -1 (error)
  libguestfs: trace: add_drive_ro = -1 (error)

  
  And:
  [ykaul@ykaul ovirt-system-tests]$ strace qemu-img info 
/home/ykaul/ovirt-system-tests/deployment-basic-suite-master/default/images/lago-basic-suite-master-host-1_root.qcow2
  execve("/usr/bin/qemu-img", ["qemu-img", "info", 
"/home/ykaul/ovirt-system-tests/d"...], 0x7fffb36ccfc0 /* 59 vars */) = 0
  brk(NULL)                               = 0x562790488000
  mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7f20cea08000
  access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or 
directory)
  openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
  fstat(3, {st_mode=S_IFREG|0644, st_size=93275, ...}) = 0
  mmap(NULL, 93275, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f20ce9f1000
  close(3)                                = 0
  openat(AT_FDCWD, "/lib64/libz.so.1", O_RDONLY|O_CLOEXEC) = 3
  read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320#\0\0\0\0\0\0"..., 
832) = 832
  fstat(3, {st_mode=S_IFREG|0755, st_size=94232, ...}) = 0
  mmap(NULL, 2187272, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0x7f20ce5cc000
  mprotect(0x7f20ce5e2000, 2093056, PROT_NONE) = 0
  mmap(0x7f20ce7e1000, 4096, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15000) = 0x7f20ce7e1000
  mmap(0x7f20ce7e2000, 8, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f20ce7e2000
  close(3)                                = 0
  openat(AT_FDCWD, "/lib64/libaio.so.1", O_RDONLY|O_CLOEXEC) = 3
  read(3, 
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200\5\0\0\0\0\0\0"..., 832) = 
832
  fstat(3, {st_mode=S_IFREG|0755, st_size=6312, ...}) = 0
  mmap(NULL, 2101328, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0x7f20ce3ca000
  mprotect(0x7f20ce3cb000, 2093056, PROT_NONE) = 0
  mmap(0x7f20ce5ca000, 8192, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0) = 0x7f20ce5ca000
  close(3)                                = 0
  openat(AT_FDCWD, "/lib64/libgmodule-2.0.so.0", O_RDONLY|O_CLOEXEC) = 3
  read(3, 
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\360\20\0\0\0\0\0\0"..., 832) = 
832
  fstat(3, {st_mode=S_IFREG|0755, st_size=15264, ...}) = 0
  mmap(NULL, 2109528, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0x7f20ce1c6000
  mprotect(0x7f20ce1c9000, 2093056, PROT_NONE) = 0
  mmap(0x7f20ce3c8000, 8192, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f20ce3c8000
  close(3)                                = 0
  openat(AT_FDCWD, "/lib64/libglib-2.0.so.0", O_RDONLY|O_CLOEXEC) = 3
  read(3, 
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\256\1\0\0\0\0\0"..., 832) = 
832
  fstat(3, {st_mode=S_IFREG|0755, st_size=1145520, ...}) = 0
  mmap(NULL, 3223752, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0x7f20cdeb2000
  mprotect(0x7f20cdfc3000, 2097152, PROT_NONE) = 0
  mmap(0x7f20ce1c3000, 8192, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x111000) = 0x7f20ce1c3000
  mmap(0x7f20ce1c5000, 200, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f20ce1c5000
  close(3)                                = 0
  openat(AT_FDCWD, "/lib64/libgthread-2.0.so.0", O_RDONLY|O_CLOEXEC) = 3
  read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20\6\0\0\0\0\0\0"..., 
832) = 832
  fstat(3, {st_mode=S_IFREG|0755, st_size=6832, ...}) = 0
  mmap(NULL, 2101256, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0x7f20cdcb0000
  mprotect(0x7f20cdcb1000, 2093056, PROT_NONE) = 0
  mmap(0x7f20cdeb0000, 4096, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0) = 0x7f20cdeb0000
  mmap(0x7f20cdeb1000, 8, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f20cdeb1000
  close(3)                                = 0
  openat(AT_FDCWD, "/lib64/librt.so.1", O_RDONLY|O_CLOEXEC) = 3
  read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\240!\0\0\0\0\0\0"..., 
832) = 832
  fstat(3, {st_mode=S_IFREG|0755, st_size=43696, ...}) = 0
  mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7f20ce9ef000
  mmap(NULL, 2128800, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0x7f20cdaa8000
  mprotect(0x7f20cdaaf000, 2093056, PROT_NONE) = 0
  mmap(0x7f20cdcae000, 8192, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7f20cdcae000
  close(3)                                = 0
  openat(AT_FDCWD, "/lib64/libcap-ng.so.0", O_RDONLY|O_CLOEXEC) = 3
  read(3, 
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20\25\0\0\0\0\0\0"..., 832) = 
832
  fstat(3, {st_mode=S_IFREG|0755, st_size=23544, ...}) = 0
  mmap(NULL, 2117640, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0x7f20cd8a2000
  mprotect(0x7f20cd8a6000, 2097152, PROT_NONE) = 0
  mmap(0x7f20cdaa6000, 8192, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4000) = 0x7f20cdaa6000
  close(3)                                = 0
  openat(AT_FDCWD, "/lib64/libnettle.so.6", O_RDONLY|O_CLOEXEC) = 3
  read(3, 
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220\233\0\0\0\0\0\0"..., 832) = 
832
  fstat(3, {st_mode=S_IFREG|0755, st_size=229728, ...}) = 0
  mmap(NULL, 2322496, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0x7f20cd66a000
  mprotect(0x7f20cd6a0000, 2093056, PROT_NONE) = 0
  mmap(0x7f20cd89f000, 12288, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x35000) = 0x7f20cd89f000
  close(3)                                = 0
  openat(AT_FDCWD, "/lib64/libgnutls.so.30", O_RDONLY|O_CLOEXEC) = 3
  read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0@\336\2\0\0\0\0\0"..., 
832) = 832
  fstat(3, {st_mode=S_IFREG|0755, st_size=1516168, ...}) = 0
  mmap(NULL, 3599400, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0x7f20cd2fb000
  mprotect(0x7f20cd45c000, 2093056, PROT_NONE) = 0
  mmap(0x7f20cd65b000, 57344, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x160000) = 0x7f20cd65b000
  mmap(0x7f20cd669000, 3112, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f20cd669000
  close(3)                                = 0
  openat(AT_FDCWD, "/lib64/libutil.so.1", O_RDONLY|O_CLOEXEC) = 3
  read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0p\16\0\0\0\0\0\0"..., 
832) = 832
  fstat(3, {st_mode=S_IFREG|0755, st_size=14344, ...}) = 0
  mmap(NULL, 2105608, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0x7f20cd0f8000
  mprotect(0x7f20cd0fa000, 2093056, PROT_NONE) = 0
  mmap(0x7f20cd2f9000, 8192, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0x7f20cd2f9000
  close(3)                                = 0
  openat(AT_FDCWD, "/lib64/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = 3
  read(3, 
"\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\301\10\0\0\0\0\0"..., 832) = 
832
  fstat(3, {st_mode=S_IFREG|0755, st_size=1586584, ...}) = 0
  mmap(NULL, 3694592, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0x7f20ccd72000
  mprotect(0x7f20cceea000, 2093056, PROT_NONE) = 0
  mmap(0x7f20cd0e9000, 49152, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x177000) = 0x7f20cd0e9000
  mmap(0x7f20cd0f5000, 12288, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f20cd0f5000
  close(3)                                = 0
  openat(AT_FDCWD, "/lib64/libm.so.6", O_RDONLY|O_CLOEXEC) = 3
  read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200x\0\0\0\0\0\0"..., 
832) = 832
  fstat(3, {st_mode=S_IFREG|0755, st_size=1503544, ...}) = 0
  mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7f20ce9ed000
  mmap(NULL, 3490600, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0x7f20cca1d000
  mprotect(0x7f20ccb71000, 2093056, PROT_NONE) = 0
  mmap(0x7f20ccd70000, 8192, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x153000) = 0x7f20ccd70000
  close(3)                                = 0
  openat(AT_FDCWD, "/lib64/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = 3
  read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\300*\0\0\0\0\0\0"..., 
832) = 832
  fstat(3, {st_mode=S_IFREG|0755, st_size=92800, ...}) = 0
  mmap(NULL, 2188336, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0x7f20cc806000
  mprotect(0x7f20cc81c000, 2093056, PROT_NONE) = 0
  mmap(0x7f20cca1b000, 8192, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15000) = 0x7f20cca1b000
  close(3)                                = 0
  openat(AT_FDCWD, "/lib64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
  read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220a\0\0\0\0\0\0"..., 
832) = 832
  fstat(3, {st_mode=S_IFREG|0755, st_size=153128, ...}) = 0
  mmap(NULL, 2221160, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0x7f20cc5e7000
  mprotect(0x7f20cc601000, 2093056, PROT_NONE) = 0
  mmap(0x7f20cc800000, 8192, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x19000) = 0x7f20cc800000
  mmap(0x7f20cc802000, 13416, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f20cc802000
  close(3)                                = 0
  openat(AT_FDCWD, "/lib64/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
  read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 \21\2\0\0\0\0\0"..., 
832) = 832
  fstat(3, {st_mode=S_IFREG|0755, st_size=2245824, ...}) = 0
  mmap(NULL, 4074112, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0x7f20cc204000
  mprotect(0x7f20cc3de000, 2093056, PROT_NONE) = 0
  mmap(0x7f20cc5dd000, 24576, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1d9000) = 0x7f20cc5dd000
  mmap(0x7f20cc5e3000, 14976, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f20cc5e3000
  close(3)                                = 0
  openat(AT_FDCWD, "/lib64/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
  read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P\16\0\0\0\0\0\0"..., 
832) = 832
  fstat(3, {st_mode=S_IFREG|0755, st_size=19264, ...}) = 0
  mmap(NULL, 2109680, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0x7f20cc000000
  mprotect(0x7f20cc003000, 2093056, PROT_NONE) = 0
  mmap(0x7f20cc202000, 8192, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f20cc202000
  close(3)                                = 0
  openat(AT_FDCWD, "/lib64/libpcre.so.1", O_RDONLY|O_CLOEXEC) = 3
  read(3, 
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20\26\0\0\0\0\0\0"..., 832) = 
832
  fstat(3, {st_mode=S_IFREG|0755, st_size=471816, ...}) = 0
  mmap(NULL, 2564360, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0x7f20cbd8d000
  mprotect(0x7f20cbdfe000, 2097152, PROT_NONE) = 0
  mmap(0x7f20cbffe000, 8192, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x71000) = 0x7f20cbffe000
  close(3)                                = 0
  openat(AT_FDCWD, "/lib64/libp11-kit.so.0", O_RDONLY|O_CLOEXEC) = 3
  read(3, 
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\271\2\0\0\0\0\0"..., 832) = 
832
  fstat(3, {st_mode=S_IFREG|0755, st_size=1261200, ...}) = 0
  mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7f20ce9eb000
  mmap(NULL, 3334480, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0x7f20cba5e000
  mprotect(0x7f20cbb78000, 2093056, PROT_NONE) = 0
  mmap(0x7f20cbd77000, 86016, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x119000) = 0x7f20cbd77000
  mmap(0x7f20cbd8c000, 336, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f20cbd8c000
  close(3)                                = 0
  openat(AT_FDCWD, "/lib64/libidn2.so.0", O_RDONLY|O_CLOEXEC) = 3
  read(3, 
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\240\26\0\0\0\0\0\0"..., 832) = 
832
  fstat(3, {st_mode=S_IFREG|0755, st_size=118104, ...}) = 0
  mmap(NULL, 2211856, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0x7f20cb841000
  mprotect(0x7f20cb85d000, 2093056, PROT_NONE) = 0
  mmap(0x7f20cba5c000, 4096, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b000) = 0x7f20cba5c000
  mmap(0x7f20cba5d000, 16, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f20cba5d000
  close(3)                                = 0
  openat(AT_FDCWD, "/lib64/libunistring.so.2", O_RDONLY|O_CLOEXEC) = 3
  read(3, 
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20\17\1\0\0\0\0\0"..., 832) = 
832
  fstat(3, {st_mode=S_IFREG|0755, st_size=1513480, ...}) = 0
  mmap(NULL, 3608840, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0x7f20cb4cf000
  mprotect(0x7f20cb63c000, 2093056, PROT_NONE) = 0
  mmap(0x7f20cb83b000, 20480, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16c000) = 0x7f20cb83b000
  mmap(0x7f20cb840000, 264, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f20cb840000
  close(3)                                = 0
  openat(AT_FDCWD, "/lib64/libtasn1.so.6", O_RDONLY|O_CLOEXEC) = 3
  read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260,\0\0\0\0\0\0"..., 
832) = 832
  fstat(3, {st_mode=S_IFREG|0755, st_size=77536, ...}) = 0
  mmap(NULL, 2171592, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0x7f20cb2bc000
  mprotect(0x7f20cb2cd000, 2097152, PROT_NONE) = 0
  mmap(0x7f20cb4cd000, 8192, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x11000) = 0x7f20cb4cd000
  close(3)                                = 0
  openat(AT_FDCWD, "/lib64/libhogweed.so.4", O_RDONLY|O_CLOEXEC) = 3
  read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\360w\0\0\0\0\0\0"..., 
832) = 832
  fstat(3, {st_mode=S_IFREG|0755, st_size=188072, ...}) = 0
  mmap(NULL, 2281480, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0x7f20cb08e000
  mprotect(0x7f20cb0ba000, 2097152, PROT_NONE) = 0
  mmap(0x7f20cb2ba000, 4096, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2c000) = 0x7f20cb2ba000
  mmap(0x7f20cb2bb000, 8, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f20cb2bb000
  close(3)                                = 0
  openat(AT_FDCWD, "/lib64/libgmp.so.10", O_RDONLY|O_CLOEXEC) = 3
  read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0@\305\0\0\0\0\0\0"..., 
832) = 832
  fstat(3, {st_mode=S_IFREG|0755, st_size=495800, ...}) = 0
  mmap(NULL, 2584736, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0x7f20cae16000
  mprotect(0x7f20cae8c000, 2093056, PROT_NONE) = 0
  mmap(0x7f20cb08b000, 12288, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x75000) = 0x7f20cb08b000
  close(3)                                = 0
  openat(AT_FDCWD, "/lib64/libffi.so.6", O_RDONLY|O_CLOEXEC) = 3
  read(3, 
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\300\27\0\0\0\0\0\0"..., 832) = 
832
  fstat(3, {st_mode=S_IFREG|0755, st_size=31896, ...}) = 0
  mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7f20ce9e9000
  mmap(NULL, 2127048, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0x7f20cac0e000
  mprotect(0x7f20cac15000, 2093056, PROT_NONE) = 0
  mmap(0x7f20cae14000, 8192, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7f20cae14000
  close(3)                                = 0
  mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7f20ce9e7000
  mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7f20ce9e4000
  arch_prctl(ARCH_SET_FS, 0x7f20ce9e4900) = 0
  mprotect(0x7f20cc5dd000, 16384, PROT_READ) = 0
  mprotect(0x7f20cae14000, 4096, PROT_READ) = 0
  mprotect(0x7f20cb08b000, 8192, PROT_READ) = 0
  mprotect(0x7f20cd89f000, 8192, PROT_READ) = 0
  mprotect(0x7f20cb2ba000, 4096, PROT_READ) = 0
  mprotect(0x7f20cb4cd000, 4096, PROT_READ) = 0
  mprotect(0x7f20cb83b000, 16384, PROT_READ) = 0
  mprotect(0x7f20cba5c000, 4096, PROT_READ) = 0
  mprotect(0x7f20cc800000, 4096, PROT_READ) = 0
  mprotect(0x7f20cc202000, 4096, PROT_READ) = 0
  mprotect(0x7f20cbd77000, 45056, PROT_READ) = 0
  mprotect(0x7f20cbffe000, 4096, PROT_READ) = 0
  mprotect(0x7f20cca1b000, 4096, PROT_READ) = 0
  mprotect(0x7f20ccd70000, 4096, PROT_READ) = 0
  mprotect(0x7f20cd0e9000, 40960, PROT_READ) = 0
  mprotect(0x7f20cd2f9000, 4096, PROT_READ) = 0
  mprotect(0x7f20ce7e1000, 4096, PROT_READ) = 0
  mprotect(0x7f20cd65b000, 53248, PROT_READ) = 0
  mprotect(0x7f20cdaa6000, 4096, PROT_READ) = 0
  mprotect(0x7f20cdcae000, 4096, PROT_READ) = 0
  mprotect(0x7f20ce1c3000, 4096, PROT_READ) = 0
  mprotect(0x7f20cdeb0000, 4096, PROT_READ) = 0
  mprotect(0x7f20ce3c8000, 4096, PROT_READ) = 0
  mprotect(0x7f20ce5ca000, 4096, PROT_READ) = 0
  mprotect(0x56278f387000, 24576, PROT_READ) = 0
  mprotect(0x7f20cea0a000, 4096, PROT_READ) = 0
  munmap(0x7f20ce9f1000, 93275)           = 0
  set_tid_address(0x7f20ce9e4bd0)         = 4326
  set_robust_list(0x7f20ce9e4be0, 24)     = 0
  rt_sigaction(SIGRTMIN, {sa_handler=0x7f20cc5ecc10, sa_mask=[], 
sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x7f20cc5f9a80}, NULL, 8) = 0
  rt_sigaction(SIGRT_1, {sa_handler=0x7f20cc5eccb0, sa_mask=[], 
sa_flags=SA_RESTORER|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f20cc5f9a80}, NULL, 
8) = 0
  rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
  prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, 
rlim_max=RLIM64_INFINITY}) = 0
  futex(0x7f20cbd8c0c0, FUTEX_WAKE_PRIVATE, 2147483647) = 0
  brk(NULL)                               = 0x562790488000
  brk(0x5627904a9000)                     = 0x5627904a9000
  brk(0x5627904ca000)                     = 0x5627904ca000
  getrandom("\xc2", 1, GRND_NONBLOCK)     = 1
  stat("/etc/crypto-policies/back-ends/gnutls.config", {st_mode=S_IFREG|0644, 
st_size=465, ...}) = 0
  openat(AT_FDCWD, "/etc/crypto-policies/back-ends/gnutls.config", O_RDONLY) = 3
  fstat(3, {st_mode=S_IFREG|0644, st_size=465, ...}) = 0
  lseek(3, 0, SEEK_CUR)                   = 0
  fstat(3, {st_mode=S_IFREG|0644, st_size=465, ...}) = 0
  read(3, "SYSTEM=NONE:+AEAD:+SHA1:+SHA256:"..., 4096) = 465
  read(3, "", 4096)                       = 0
  close(3)                                = 0
  rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], 
sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f20cc23b6f0}, 
{sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
  readlink("/proc/self/exe", "/usr/bin/qemu-img", 4095) = 17
  prctl(PR_SET_TIMERSLACK, 1)             = 0
  rt_sigprocmask(SIG_BLOCK, [BUS USR1 ALRM IO], NULL, 8) = 0
  signalfd(-1, [BUS ALRM IO], 8)          = 3
  fcntl(3, F_GETFD)                       = 0
  fcntl(3, F_SETFD, FD_CLOEXEC)           = 0
  fcntl(3, F_GETFL)                       = 0x2 (flags O_RDWR)
  fcntl(3, F_SETFL, O_RDWR|O_NONBLOCK)    = 0
  epoll_create1(EPOLL_CLOEXEC)            = 4
  eventfd2(0, EFD_CLOEXEC|EFD_NONBLOCK)   = 5
  epoll_create1(EPOLL_CLOEXEC)            = 6
  eventfd2(0, EFD_CLOEXEC|EFD_NONBLOCK)   = 7
  futex(0x7f20ce1c4e88, FUTEX_WAKE_PRIVATE, 2147483647) = 0
  eventfd2(0, EFD_CLOEXEC|EFD_NONBLOCK)   = 8
  brk(NULL)                               = 0x5627904ca000
  brk(0x5627904eb000)                     = 0x5627904eb000
  openat(AT_FDCWD, 
"/home/ykaul/ovirt-system-tests/deployment-basic-suite-master/default/images/lago-basic-suite-master-host-1_root.qcow2",
 O_RDONLY|O_NONBLOCK|O_CLOEXEC) = 9
  fstat(9, {st_mode=S_IFREG|0666, st_size=43122688, ...}) = 0
  close(9)                                = 0
  
stat("/home/ykaul/ovirt-system-tests/deployment-basic-suite-master/default/images/lago-basic-suite-master-host-1_root.qcow2",
 {st_mode=S_IFREG|0666, st_size=43122688, ...}) = 0
  openat(AT_FDCWD, "/dev/urandom", O_RDONLY) = 9
  read(9, "\364\275^\0\226\321$\2337\356\311\301li\305\206", 16) = 16
  close(9)                                = 0
  futex(0x7f20ce1c4e88, FUTEX_WAKE_PRIVATE, 2147483647) = 0
  openat(AT_FDCWD, "/dev/null", O_RDWR)   = 9
  fcntl(9, F_OFD_GETLK, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=0, l_len=0, 
l_pid=0}) = 0
  close(9)                                = 0
  openat(AT_FDCWD, 
"/home/ykaul/ovirt-system-tests/deployment-basic-suite-master/default/images/lago-basic-suite-master-host-1_root.qcow2",
 O_RDONLY|O_CLOEXEC) = 9
  openat(AT_FDCWD, 
"/home/ykaul/ovirt-system-tests/deployment-basic-suite-master/default/images/lago-basic-suite-master-host-1_root.qcow2",
 O_RDONLY|O_CLOEXEC) = 10
  fstat(9, {st_mode=S_IFREG|0666, st_size=43122688, ...}) = 0
  lseek(9, 0, SEEK_END)                   = 43122688
  fstat(9, {st_mode=S_IFREG|0666, st_size=43122688, ...}) = 0
  fcntl(10, F_OFD_SETLK, {l_type=F_RDLCK, l_whence=SEEK_SET, l_start=100, 
l_len=1}) = 0
  fcntl(10, F_OFD_GETLK, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=200, 
l_len=1, l_pid=0}) = 0
  fcntl(10, F_OFD_SETLK, {l_type=F_RDLCK, l_whence=SEEK_SET, l_start=100, 
l_len=1}) = 0
  fcntl(10, F_OFD_SETLK, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=101, 
l_len=1}) = 0
  fcntl(10, F_OFD_SETLK, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=102, 
l_len=1}) = 0
  fcntl(10, F_OFD_SETLK, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=103, 
l_len=1}) = 0
  fcntl(10, F_OFD_SETLK, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=104, 
l_len=1}) = 0
  fcntl(10, F_OFD_SETLK, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=200, 
l_len=1}) = 0
  fcntl(10, F_OFD_SETLK, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=201, 
l_len=1}) = 0
  fcntl(10, F_OFD_SETLK, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=202, 
l_len=1}) = 0
  fcntl(10, F_OFD_SETLK, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=203, 
l_len=1}) = 0
  fcntl(10, F_OFD_SETLK, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=204, 
l_len=1}) = 0
  rt_sigprocmask(SIG_BLOCK, NULL, [BUS USR1 ALRM IO], 8) = 0
  mmap(NULL, 1052672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7f20ce8e3000
  mprotect(0x7f20ce8e3000, 4096, PROT_NONE) = 0
  rt_sigprocmask(SIG_SETMASK, [BUS USR1 ALRM IO], [BUS USR1 ALRM IO], 8) = 0
  ppoll([{fd=7, events=POLLIN|POLLERR|POLLHUP}], 1, {tv_sec=0, tv_nsec=0}, 
NULL, 8) = 0 (Timeout)
  rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], [BUS USR1 ALRM IO], 8) = 0
  mmap(NULL, 8392704, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 
0x7f20ca40d000
  mprotect(0x7f20ca40e000, 8388608, PROT_READ|PROT_WRITE) = 0
  clone(child_stack=0x7f20cac0cdf0, 
flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID,
 parent_tidptr=0x7f20cac0d9d0, tls=0x7f20cac0d700, child_tidptr=0x7f20cac0d9d0) 
= 4327
  rt_sigprocmask(SIG_SETMASK, [BUS USR1 ALRM IO], NULL, 8) = 0
  futex(0x5627904beb20, FUTEX_WAKE_PRIVATE, 1) = 1
  ppoll([{fd=7, events=POLLIN|POLLERR|POLLHUP}], 1, NULL, NULL, 8) = 1 ([{fd=7, 
revents=POLLIN}])
  read(7, "\1\0\0\0\0\0\0\0", 512)        = 8
  ppoll([{fd=7, events=POLLIN|POLLERR|POLLHUP}], 1, {tv_sec=0, tv_nsec=0}, 
NULL, 8) = 0 (Timeout)
  fcntl(10, F_OFD_SETLK, {l_type=F_RDLCK, l_whence=SEEK_SET, l_start=100, 
l_len=1}) = 0
  fcntl(10, F_OFD_SETLK, {l_type=F_RDLCK, l_whence=SEEK_SET, l_start=201, 
l_len=1}) = 0
  fcntl(10, F_OFD_SETLK, {l_type=F_RDLCK, l_whence=SEEK_SET, l_start=203, 
l_len=1}) = 0
  fcntl(10, F_OFD_GETLK, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=200, 
l_len=1, l_pid=0}) = 0
  fcntl(10, F_OFD_GETLK, {l_type=F_RDLCK, l_whence=SEEK_SET, l_start=100, 
l_len=2, l_pid=18446744073709551615}) = 0
  fcntl(10, F_OFD_SETLK, {l_type=F_RDLCK, l_whence=SEEK_SET, l_start=100, 
l_len=1}) = 0
  fcntl(10, F_OFD_SETLK, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=101, 
l_len=1}) = 0
  fcntl(10, F_OFD_SETLK, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=102, 
l_len=1}) = 0
  fcntl(10, F_OFD_SETLK, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=103, 
l_len=1}) = 0
  fcntl(10, F_OFD_SETLK, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=104, 
l_len=1}) = 0
  fcntl(10, F_OFD_SETLK, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=200, 
l_len=1}) = 0
  fcntl(10, F_OFD_SETLK, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=201, 
l_len=1}) = 0
  fcntl(10, F_OFD_SETLK, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=202, 
l_len=1}) = 0
  fcntl(10, F_OFD_SETLK, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=203, 
l_len=1}) = 0
  fcntl(10, F_OFD_SETLK, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=204, 
l_len=1}) = 0
  fcntl(10, F_OFD_SETLK, {l_type=F_RDLCK, l_whence=SEEK_SET, l_start=100, 
l_len=1}) = 0
  fcntl(10, F_OFD_SETLK, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=101, 
l_len=1}) = 0
  fcntl(10, F_OFD_SETLK, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=102, 
l_len=1}) = 0
  fcntl(10, F_OFD_SETLK, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=103, 
l_len=1}) = 0
  fcntl(10, F_OFD_SETLK, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=104, 
l_len=1}) = 0
  fcntl(10, F_OFD_SETLK, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=200, 
l_len=1}) = 0
  fcntl(10, F_OFD_SETLK, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=201, 
l_len=1}) = 0
  fcntl(10, F_OFD_SETLK, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=202, 
l_len=1}) = 0
  fcntl(10, F_OFD_SETLK, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=203, 
l_len=1}) = 0
  fcntl(10, F_OFD_SETLK, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=204, 
l_len=1}) = 0
  fcntl(10, F_OFD_SETLK, {l_type=F_RDLCK, l_whence=SEEK_SET, l_start=100, 
l_len=1}) = 0
  fcntl(10, F_OFD_SETLK, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=100, 
l_len=1}) = 0
  fcntl(10, F_OFD_SETLK, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=101, 
l_len=1}) = 0
  fcntl(10, F_OFD_SETLK, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=102, 
l_len=1}) = 0
  fcntl(10, F_OFD_SETLK, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=103, 
l_len=1}) = 0
  fcntl(10, F_OFD_SETLK, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=104, 
l_len=1}) = 0
  fcntl(10, F_OFD_SETLK, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=200, 
l_len=1}) = 0
  fcntl(10, F_OFD_SETLK, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=201, 
l_len=1}) = 0
  fcntl(10, F_OFD_SETLK, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=202, 
l_len=1}) = 0
  fcntl(10, F_OFD_SETLK, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=203, 
l_len=1}) = 0
  fcntl(10, F_OFD_SETLK, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=204, 
l_len=1}) = 0
  ppoll([{fd=7, events=POLLIN|POLLERR|POLLHUP}], 1, {tv_sec=0, tv_nsec=0}, 
NULL, 8) = 0 (Timeout)
  rt_sigprocmask(SIG_BLOCK, NULL, [BUS USR1 ALRM IO], 8) = 0
  mmap(NULL, 1052672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7f20ca30c000
  mprotect(0x7f20ca30c000, 4096, PROT_NONE) = 0
  rt_sigprocmask(SIG_SETMASK, [BUS USR1 ALRM IO], [BUS USR1 ALRM IO], 8) = 0
  ppoll([{fd=7, events=POLLIN|POLLERR|POLLHUP}], 1, {tv_sec=0, tv_nsec=0}, 
NULL, 8) = 0 (Timeout)
  ppoll([{fd=7, events=POLLIN|POLLERR|POLLHUP}], 1, {tv_sec=0, tv_nsec=0}, 
NULL, 8) = 0 (Timeout)
  close(9)                                = 0
  close(10)                               = 0
  ppoll([{fd=7, events=POLLIN|POLLERR|POLLHUP}], 1, {tv_sec=0, tv_nsec=0}, 
NULL, 8) = 0 (Timeout)
  rt_sigprocmask(SIG_BLOCK, NULL, [BUS USR1 ALRM IO], 8) = 0
  mmap(NULL, 1052672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7f20ca20b000
  mprotect(0x7f20ca20b000, 4096, PROT_NONE) = 0
  rt_sigprocmask(SIG_SETMASK, [BUS USR1 ALRM IO], [BUS USR1 ALRM IO], 8) = 0
  ppoll([{fd=7, events=POLLIN|POLLERR|POLLHUP}], 1, {tv_sec=0, tv_nsec=0}, 
NULL, 8) = 0 (Timeout)
  ppoll([{fd=7, events=POLLIN|POLLERR|POLLHUP}], 1, {tv_sec=0, tv_nsec=0}, 
NULL, 8) = 0 (Timeout)
  fstat(2, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 1), ...}) = 0
  write(2, "qemu-img: Could not open '/home/"..., 180qemu-img: Could not open 
'/home/ykaul/ovirt-system-tests/deployment-basic-suite-master/default/images/lago-basic-suite-master-host-1_root.qcow2':
 Failed to get shared "write" lock
  ) = 180
  write(2, "Is another process using the ima"..., 36Is another process using 
the image?
  ) = 36
  exit_group(1)                           = ?
  +++ exited with 1 +++

  
  [ykaul@ykaul ovirt-system-tests]$ stat 
/home/ykaul/ovirt-system-tests/deployment-basic-suite-master/default/images/lago-basic-suite-master-host-1_root.qcow2
    File: 
/home/ykaul/ovirt-system-tests/deployment-basic-suite-master/default/images/lago-basic-suite-master-host-1_root.qcow2
    Size: 43122688      Blocks: 84112      IO Block: 4096   regular file
  Device: fd03h/64771d  Inode: 4718904     Links: 1
  Access: (0666/-rw-rw-rw-)  Uid: (  107/    qemu)   Gid: (  107/    qemu)
  Context: system_u:object_r:svirt_image_t:s0:c635,c936
  Access: 2017-12-28 09:28:17.892598375 +0200
  Modify: 2017-12-28 09:31:10.456906255 +0200
  Change: 2017-12-28 09:31:10.456906255 +0200

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

Reply via email to