All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [Bug 1452062] [NEW] qemu-img will fail to convert images in 2.3.0
@ 2015-05-05 22:53 David Hill
  2015-05-06  7:40 ` [Qemu-devel] [Bug 1452062] " Michael Tokarev
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: David Hill @ 2015-05-05 22:53 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

Hello guys,

    There seems to be a bug in qemu-img with 2.3.0 that wasn't there in
2.2.1  .... qemu convert will always fail converting.  See the output
below:


Started by upstream project "Create windows image" build number 73
originally caused by:
 Started by user anonymous
Building remotely on builder (builder lab) in workspace /var/lib/jenkins/remote/workspace/Prepare windows Image
[Prepare WS2008R2 Image] $ /bin/sh -xe /tmp/hudson4138890034689910617.sh
+ sudo bash -x /var/images/prepare_windows.sh WS2008R2
+ set +x

Preparing: windows
Virtio CD: virtio-win-0.1.96.iso

Sparsifying...
qemu-img: error while compressing sector 11131648: Input/output error
virt-sparsify: error: external command failed: qemu-img convert -f 
qcow2 -O 'qcow2' -c -o 'compat=0.10' '/tmp/sparsifyb459a0.qcow2' 
'/var/images/generated/WS2008R2.qcow2'

virt-sparsify: If reporting bugs, run virt-sparsify with debugging 
enabled (-v) and include the complete output.
Build step 'Execute shell' marked build as failure
Warning: you have no plugins providing access control for builds, so falling back to legacy behavior of permitting any downstream builds to be triggered
Finished: FAILURE

Thanks,
Dave

** Affects: qemu
     Importance: Undecided
         Status: New


** Tags: 2.3.0 qemu qemu-img

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

Title:
  qemu-img will fail to convert images in 2.3.0

Status in QEMU:
  New

Bug description:
  Hello guys,

      There seems to be a bug in qemu-img with 2.3.0 that wasn't there
  in 2.2.1  .... qemu convert will always fail converting.  See the
  output below:

  
  Started by upstream project "Create windows image" build number 73
  originally caused by:
   Started by user anonymous
  Building remotely on builder (builder lab) in workspace /var/lib/jenkins/remote/workspace/Prepare windows Image
  [Prepare WS2008R2 Image] $ /bin/sh -xe /tmp/hudson4138890034689910617.sh
  + sudo bash -x /var/images/prepare_windows.sh WS2008R2
  + set +x

  Preparing: windows
  Virtio CD: virtio-win-0.1.96.iso

  Sparsifying...
  qemu-img: error while compressing sector 11131648: Input/output error
  virt-sparsify: error: external command failed: qemu-img convert -f 
  qcow2 -O 'qcow2' -c -o 'compat=0.10' '/tmp/sparsifyb459a0.qcow2' 
  '/var/images/generated/WS2008R2.qcow2'

  virt-sparsify: If reporting bugs, run virt-sparsify with debugging 
  enabled (-v) and include the complete output.
  Build step 'Execute shell' marked build as failure
  Warning: you have no plugins providing access control for builds, so falling back to legacy behavior of permitting any downstream builds to be triggered
  Finished: FAILURE

  Thanks,
  Dave

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Qemu-devel] [Bug 1452062] Re: qemu-img will fail to convert images in 2.3.0
  2015-05-05 22:53 [Qemu-devel] [Bug 1452062] [NEW] qemu-img will fail to convert images in 2.3.0 David Hill
@ 2015-05-06  7:40 ` Michael Tokarev
  2015-05-06  9:58 ` Kevin Wolf
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Michael Tokarev @ 2015-05-06  7:40 UTC (permalink / raw)
  To: qemu-devel

I can't reproduce this.  qemu-img convert works just fine here.

qemu-img convert -f qcow2 -O qcow2 -c -o compat=0.10 x.img y.img

(from a random winXP guest image).

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

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

Title:
  qemu-img will fail to convert images in 2.3.0

Status in QEMU:
  Incomplete

Bug description:
  Hello guys,

      There seems to be a bug in qemu-img with 2.3.0 that wasn't there
  in 2.2.1  .... qemu convert will always fail converting.  See the
  output below:

  
  Started by upstream project "Create windows image" build number 73
  originally caused by:
   Started by user anonymous
  Building remotely on builder (builder lab) in workspace /var/lib/jenkins/remote/workspace/Prepare windows Image
  [Prepare WS2008R2 Image] $ /bin/sh -xe /tmp/hudson4138890034689910617.sh
  + sudo bash -x /var/images/prepare_windows.sh WS2008R2
  + set +x

  Preparing: windows
  Virtio CD: virtio-win-0.1.96.iso

  Sparsifying...
  qemu-img: error while compressing sector 11131648: Input/output error
  virt-sparsify: error: external command failed: qemu-img convert -f 
  qcow2 -O 'qcow2' -c -o 'compat=0.10' '/tmp/sparsifyb459a0.qcow2' 
  '/var/images/generated/WS2008R2.qcow2'

  virt-sparsify: If reporting bugs, run virt-sparsify with debugging 
  enabled (-v) and include the complete output.
  Build step 'Execute shell' marked build as failure
  Warning: you have no plugins providing access control for builds, so falling back to legacy behavior of permitting any downstream builds to be triggered
  Finished: FAILURE

  Thanks,
  Dave

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Qemu-devel] [Bug 1452062] Re: qemu-img will fail to convert images in 2.3.0
  2015-05-05 22:53 [Qemu-devel] [Bug 1452062] [NEW] qemu-img will fail to convert images in 2.3.0 David Hill
  2015-05-06  7:40 ` [Qemu-devel] [Bug 1452062] " Michael Tokarev
@ 2015-05-06  9:58 ` Kevin Wolf
  2015-05-06 13:28 ` David Hill
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Kevin Wolf @ 2015-05-06  9:58 UTC (permalink / raw)
  To: qemu-devel

The only possibly relevant change I can see in 2.3 is that the qcow2
driver added an additional error check to a truncate operation. Can you
please run qemu-img under strace -f and either provide the output as an
attachment or paste the relevant failing call(s) if you can recognise
them?

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

Title:
  qemu-img will fail to convert images in 2.3.0

Status in QEMU:
  Incomplete

Bug description:
  Hello guys,

      There seems to be a bug in qemu-img with 2.3.0 that wasn't there
  in 2.2.1  .... qemu convert will always fail converting.  See the
  output below:

  
  Started by upstream project "Create windows image" build number 73
  originally caused by:
   Started by user anonymous
  Building remotely on builder (builder lab) in workspace /var/lib/jenkins/remote/workspace/Prepare windows Image
  [Prepare WS2008R2 Image] $ /bin/sh -xe /tmp/hudson4138890034689910617.sh
  + sudo bash -x /var/images/prepare_windows.sh WS2008R2
  + set +x

  Preparing: windows
  Virtio CD: virtio-win-0.1.96.iso

  Sparsifying...
  qemu-img: error while compressing sector 11131648: Input/output error
  virt-sparsify: error: external command failed: qemu-img convert -f 
  qcow2 -O 'qcow2' -c -o 'compat=0.10' '/tmp/sparsifyb459a0.qcow2' 
  '/var/images/generated/WS2008R2.qcow2'

  virt-sparsify: If reporting bugs, run virt-sparsify with debugging 
  enabled (-v) and include the complete output.
  Build step 'Execute shell' marked build as failure
  Warning: you have no plugins providing access control for builds, so falling back to legacy behavior of permitting any downstream builds to be triggered
  Finished: FAILURE

  Thanks,
  Dave

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Qemu-devel] [Bug 1452062] Re: qemu-img will fail to convert images in 2.3.0
  2015-05-05 22:53 [Qemu-devel] [Bug 1452062] [NEW] qemu-img will fail to convert images in 2.3.0 David Hill
  2015-05-06  7:40 ` [Qemu-devel] [Bug 1452062] " Michael Tokarev
  2015-05-06  9:58 ` Kevin Wolf
@ 2015-05-06 13:28 ` David Hill
  2015-08-11  9:31 ` Kevin Wolf
  2016-06-20 15:19 ` T. Huth
  4 siblings, 0 replies; 6+ messages in thread
From: David Hill @ 2015-05-06 13:28 UTC (permalink / raw)
  To: qemu-devel

I rolled back QEMU to 2.2.1 and it succeeded converting the image ...
I'll try to see if I can re-upgrade QEMU without breaking again the CI
we have here.

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

Title:
  qemu-img will fail to convert images in 2.3.0

Status in QEMU:
  Incomplete

Bug description:
  Hello guys,

      There seems to be a bug in qemu-img with 2.3.0 that wasn't there
  in 2.2.1  .... qemu convert will always fail converting.  See the
  output below:

  
  Started by upstream project "Create windows image" build number 73
  originally caused by:
   Started by user anonymous
  Building remotely on builder (builder lab) in workspace /var/lib/jenkins/remote/workspace/Prepare windows Image
  [Prepare WS2008R2 Image] $ /bin/sh -xe /tmp/hudson4138890034689910617.sh
  + sudo bash -x /var/images/prepare_windows.sh WS2008R2
  + set +x

  Preparing: windows
  Virtio CD: virtio-win-0.1.96.iso

  Sparsifying...
  qemu-img: error while compressing sector 11131648: Input/output error
  virt-sparsify: error: external command failed: qemu-img convert -f 
  qcow2 -O 'qcow2' -c -o 'compat=0.10' '/tmp/sparsifyb459a0.qcow2' 
  '/var/images/generated/WS2008R2.qcow2'

  virt-sparsify: If reporting bugs, run virt-sparsify with debugging 
  enabled (-v) and include the complete output.
  Build step 'Execute shell' marked build as failure
  Warning: you have no plugins providing access control for builds, so falling back to legacy behavior of permitting any downstream builds to be triggered
  Finished: FAILURE

  Thanks,
  Dave

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Qemu-devel] [Bug 1452062] Re: qemu-img will fail to convert images in 2.3.0
  2015-05-05 22:53 [Qemu-devel] [Bug 1452062] [NEW] qemu-img will fail to convert images in 2.3.0 David Hill
                   ` (2 preceding siblings ...)
  2015-05-06 13:28 ` David Hill
@ 2015-08-11  9:31 ` Kevin Wolf
  2016-06-20 15:19 ` T. Huth
  4 siblings, 0 replies; 6+ messages in thread
From: Kevin Wolf @ 2015-08-11  9:31 UTC (permalink / raw)
  To: qemu-devel

This problem is fixed with commit 3e5feb62 ("qcow2: Handle EAGAIN
returned from update_refcount"), which will be included in qemu 2.4.0.

** Changed in: qemu
       Status: Incomplete => Fix Committed

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

Title:
  qemu-img will fail to convert images in 2.3.0

Status in QEMU:
  Fix Committed

Bug description:
  Hello guys,

      There seems to be a bug in qemu-img with 2.3.0 that wasn't there
  in 2.2.1  .... qemu convert will always fail converting.  See the
  output below:

  
  Started by upstream project "Create windows image" build number 73
  originally caused by:
   Started by user anonymous
  Building remotely on builder (builder lab) in workspace /var/lib/jenkins/remote/workspace/Prepare windows Image
  [Prepare WS2008R2 Image] $ /bin/sh -xe /tmp/hudson4138890034689910617.sh
  + sudo bash -x /var/images/prepare_windows.sh WS2008R2
  + set +x

  Preparing: windows
  Virtio CD: virtio-win-0.1.96.iso

  Sparsifying...
  qemu-img: error while compressing sector 11131648: Input/output error
  virt-sparsify: error: external command failed: qemu-img convert -f 
  qcow2 -O 'qcow2' -c -o 'compat=0.10' '/tmp/sparsifyb459a0.qcow2' 
  '/var/images/generated/WS2008R2.qcow2'

  virt-sparsify: If reporting bugs, run virt-sparsify with debugging 
  enabled (-v) and include the complete output.
  Build step 'Execute shell' marked build as failure
  Warning: you have no plugins providing access control for builds, so falling back to legacy behavior of permitting any downstream builds to be triggered
  Finished: FAILURE

  Thanks,
  Dave

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Qemu-devel] [Bug 1452062] Re: qemu-img will fail to convert images in 2.3.0
  2015-05-05 22:53 [Qemu-devel] [Bug 1452062] [NEW] qemu-img will fail to convert images in 2.3.0 David Hill
                   ` (3 preceding siblings ...)
  2015-08-11  9:31 ` Kevin Wolf
@ 2016-06-20 15:19 ` T. Huth
  4 siblings, 0 replies; 6+ messages in thread
From: T. Huth @ 2016-06-20 15:19 UTC (permalink / raw)
  To: qemu-devel

** Changed in: qemu
       Status: Fix Committed => Fix Released

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

Title:
  qemu-img will fail to convert images in 2.3.0

Status in QEMU:
  Fix Released

Bug description:
  Hello guys,

      There seems to be a bug in qemu-img with 2.3.0 that wasn't there
  in 2.2.1  .... qemu convert will always fail converting.  See the
  output below:

  
  Started by upstream project "Create windows image" build number 73
  originally caused by:
   Started by user anonymous
  Building remotely on builder (builder lab) in workspace /var/lib/jenkins/remote/workspace/Prepare windows Image
  [Prepare WS2008R2 Image] $ /bin/sh -xe /tmp/hudson4138890034689910617.sh
  + sudo bash -x /var/images/prepare_windows.sh WS2008R2
  + set +x

  Preparing: windows
  Virtio CD: virtio-win-0.1.96.iso

  Sparsifying...
  qemu-img: error while compressing sector 11131648: Input/output error
  virt-sparsify: error: external command failed: qemu-img convert -f 
  qcow2 -O 'qcow2' -c -o 'compat=0.10' '/tmp/sparsifyb459a0.qcow2' 
  '/var/images/generated/WS2008R2.qcow2'

  virt-sparsify: If reporting bugs, run virt-sparsify with debugging 
  enabled (-v) and include the complete output.
  Build step 'Execute shell' marked build as failure
  Warning: you have no plugins providing access control for builds, so falling back to legacy behavior of permitting any downstream builds to be triggered
  Finished: FAILURE

  Thanks,
  Dave

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-06-20 15:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-05 22:53 [Qemu-devel] [Bug 1452062] [NEW] qemu-img will fail to convert images in 2.3.0 David Hill
2015-05-06  7:40 ` [Qemu-devel] [Bug 1452062] " Michael Tokarev
2015-05-06  9:58 ` Kevin Wolf
2015-05-06 13:28 ` David Hill
2015-08-11  9:31 ` Kevin Wolf
2016-06-20 15:19 ` T. Huth

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.