← Back to team overview

desktop-packages team mailing list archive

[Bug 1404143] [NEW] Creating LUKS device fails

 

Public bug reported:

Since yesterday, udisks2's Luks tests (https://jenkins.qa.ubuntu.com/job
/vivid-adt-udisks2/?) fail:

======================================================================
ERROR: test_0_create_teardown (__main__.Luks)
LUKS create/teardown
----------------------------------------------------------------------
Traceback (most recent call last):
  File "src/tests/integration-test", line 1141, in test_0_create_teardown
    'label': GLib.Variant('s', 'treasure')}))
  File "src/tests/integration-test", line 314, in fs_create
    block.call_format_sync(type, options, None)
GLib.Error: udisks-error-quark: GDBus.Error:org.freedesktop.UDisks2.Error.Failed: Error opening LUKS device: Command-line `cryptsetup luksOpen ""/dev/sda"" luks-669be693-dc38-499c-911b-19df1540f70c' exited with non-zero exit status 1: device-mapper: reload ioctl on  failed: Invalid argument
Failed to open temporary keystore device.
device-mapper: remove ioctl on temporary-cryptsetup-18309 failed: No such device or address
device-mapper: reload ioctl on temporary-cryptsetup-18309 failed: No such device or address
device-mapper: remove ioctl on temporary-cryptsetup-18309 failed: No such device or address
device-mapper: remove ioctl on temporary-cryptsetup-18309 failed: No such device or address
device-mapper: remove ioctl on temporary-cryptsetup-18309 failed: No such device or address
device-mapper: remove ioctl on temporary-cryptsetup-18309 failed: No such device or address
 (0)

This test also fails locally for me. This still worked on Dec 18 on my
system.

Simple reproducer:

sudo modprobe scsi_debug
gdbus call -y -d org.freedesktop.UDisks2 -o /org/freedesktop/UDisks2/block_devices/sdb -m org.freedesktop.UDisks2.Block.Format 'ext2' '{"encrypt.passphrase": <"foo">}'

** Affects: udisks2 (Ubuntu)
     Importance: High
     Assignee: Martin Pitt (pitti)
         Status: In Progress


** Tags: qa-daily-testing regression-release vivid

** Changed in: udisks2 (Ubuntu)
       Status: New => In Progress

** Changed in: udisks2 (Ubuntu)
   Importance: Undecided => High

** Changed in: udisks2 (Ubuntu)
     Assignee: (unassigned) => Martin Pitt (pitti)

** Changed in: udisks2 (Ubuntu)
    Milestone: None => ubuntu-15.01

** Description changed:

- Since recently, udisks2's Luks tests (https://jenkins.qa.ubuntu.com/job
+ Since yesterday, udisks2's Luks tests (https://jenkins.qa.ubuntu.com/job
  /vivid-adt-udisks2/?) fail:
  
  ======================================================================
  ERROR: test_0_create_teardown (__main__.Luks)
  LUKS create/teardown
  ----------------------------------------------------------------------
  Traceback (most recent call last):
-   File "src/tests/integration-test", line 1141, in test_0_create_teardown
-     'label': GLib.Variant('s', 'treasure')}))
-   File "src/tests/integration-test", line 314, in fs_create
-     block.call_format_sync(type, options, None)
+   File "src/tests/integration-test", line 1141, in test_0_create_teardown
+     'label': GLib.Variant('s', 'treasure')}))
+   File "src/tests/integration-test", line 314, in fs_create
+     block.call_format_sync(type, options, None)
  GLib.Error: udisks-error-quark: GDBus.Error:org.freedesktop.UDisks2.Error.Failed: Error opening LUKS device: Command-line `cryptsetup luksOpen ""/dev/sda"" luks-669be693-dc38-499c-911b-19df1540f70c' exited with non-zero exit status 1: device-mapper: reload ioctl on  failed: Invalid argument
  Failed to open temporary keystore device.
  device-mapper: remove ioctl on temporary-cryptsetup-18309 failed: No such device or address
  device-mapper: reload ioctl on temporary-cryptsetup-18309 failed: No such device or address
  device-mapper: remove ioctl on temporary-cryptsetup-18309 failed: No such device or address
  device-mapper: remove ioctl on temporary-cryptsetup-18309 failed: No such device or address
  device-mapper: remove ioctl on temporary-cryptsetup-18309 failed: No such device or address
  device-mapper: remove ioctl on temporary-cryptsetup-18309 failed: No such device or address
-  (0)
+  (0)
  
- This test also fails locally for me.
+ This test also fails locally for me. This still worked on Dec 18 on my
+ system.
  
  Simple reproducer:
  
  sudo modprobe scsi_debug
  gdbus call -y -d org.freedesktop.UDisks2 -o /org/freedesktop/UDisks2/block_devices/sdb -m org.freedesktop.UDisks2.Block.Format 'ext2' '{"encrypt.passphrase": <"foo">}'

** Tags added: qa-daily-testing regression-release vivid

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to udisks2 in Ubuntu.
https://bugs.launchpad.net/bugs/1404143

Title:
  Creating LUKS device fails

Status in udisks2 package in Ubuntu:
  In Progress

Bug description:
  Since yesterday, udisks2's Luks tests
  (https://jenkins.qa.ubuntu.com/job/vivid-adt-udisks2/?) fail:

  ======================================================================
  ERROR: test_0_create_teardown (__main__.Luks)
  LUKS create/teardown
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "src/tests/integration-test", line 1141, in test_0_create_teardown
      'label': GLib.Variant('s', 'treasure')}))
    File "src/tests/integration-test", line 314, in fs_create
      block.call_format_sync(type, options, None)
  GLib.Error: udisks-error-quark: GDBus.Error:org.freedesktop.UDisks2.Error.Failed: Error opening LUKS device: Command-line `cryptsetup luksOpen ""/dev/sda"" luks-669be693-dc38-499c-911b-19df1540f70c' exited with non-zero exit status 1: device-mapper: reload ioctl on  failed: Invalid argument
  Failed to open temporary keystore device.
  device-mapper: remove ioctl on temporary-cryptsetup-18309 failed: No such device or address
  device-mapper: reload ioctl on temporary-cryptsetup-18309 failed: No such device or address
  device-mapper: remove ioctl on temporary-cryptsetup-18309 failed: No such device or address
  device-mapper: remove ioctl on temporary-cryptsetup-18309 failed: No such device or address
  device-mapper: remove ioctl on temporary-cryptsetup-18309 failed: No such device or address
  device-mapper: remove ioctl on temporary-cryptsetup-18309 failed: No such device or address
   (0)

  This test also fails locally for me. This still worked on Dec 18 on my
  system.

  Simple reproducer:

  sudo modprobe scsi_debug
  gdbus call -y -d org.freedesktop.UDisks2 -o /org/freedesktop/UDisks2/block_devices/sdb -m org.freedesktop.UDisks2.Block.Format 'ext2' '{"encrypt.passphrase": <"foo">}'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/udisks2/+bug/1404143/+subscriptions


Follow ups

References