Scenario: Cat:ing a Tails isohybrid to a USB drive and booting it, then trying to upgrading it but ending up having to do a fresh installation, which boots # features/usb_install.feature:77 Given a computer # features/step_definitions/common_steps.rb:122 And I temporarily create a 4 GiB disk named "isohybrid" # features/step_definitions/common_steps.rb:139 libguestfs: trace: set_autosync true libguestfs: trace: set_autosync = 0 libguestfs: trace: add_drive "/var/lib/jenkins/workspace/test_Tails_ISO_devel/tmp/tails-i386-devel-2.7-20160915T0656Z-cd4ad92.iso" "readonly:true" "format:raw" libguestfs: trace: get_tmpdir libguestfs: trace: get_tmpdir = "/tmp/TailsToaster" libguestfs: trace: disk_create "/tmp/TailsToaster/libguestfsvaOlPx/overlay1" "qcow2" -1 "backingfile:/var/lib/jenkins/workspace/test_Tails_ISO_devel/tmp/tails-i386-devel-2.7-20160915T0656Z-cd4ad92.iso" "backingformat:raw" libguestfs: trace: disk_create = 0 libguestfs: trace: add_drive = 0 libguestfs: trace: add_drive "/tmp/TailsToaster/TailsToasterStorage/isohybrid" "format:qcow2" libguestfs: trace: add_drive = 0 libguestfs: trace: launch libguestfs: trace: get_backend_setting "force_tcg" libguestfs: trace: get_backend_setting = NULL (error) libguestfs: trace: get_cachedir libguestfs: trace: get_cachedir = "/tmp/TailsToaster" libguestfs: trace: get_backend_setting "gdb" libguestfs: trace: get_backend_setting = NULL (error) libguestfs: trace: launch = 0 libguestfs: trace: list_devices libguestfs: trace: list_devices = ["/dev/sda", "/dev/sdb"] libguestfs: trace: copy_device_to_device "/dev/sda" "/dev/sdb" libguestfs: trace: copy_device_to_device = 0 libguestfs: trace: close libguestfs: trace: internal_autosync libguestfs: trace: internal_autosync = 0 And I cat an ISO of the Tails image to disk "isohybrid" # features/step_definitions/untrusted_partitions.rb:30 [log] CLICK on (1024,384) [log] TYPE " " [log] TYPE " autotest_never_use_this_option blacklist=psmouse " calling as root: echo 'hello?' call returned: [0, "hello?\n", ""] calling as root: service tor status call returned: [3, "\u25cf tor.service - Anonymizing overlay network for TCP (multi-instance-master)\n Loaded: loaded (/lib/systemd/system/tor.service; disabled)\n Active: inactive (dead)\n", ""] calling as root: echo 'TestingTorNetwork 1 AssumeReachable 1 PathsNeededToBuildCircuits 0.25 TestingBridgeDownloadSchedule 0, 5 TestingClientConsensusDownloadSchedule 0, 5 TestingClientDownloadSchedule 0, 5 TestingDirAuthVoteExit * TestingDirAuthVoteGuard * TestingDirAuthVoteHSDir * TestingMinExitFlagThreshold 0 V3AuthNIntervalsValid 2 ClientRejectInternalAddresses 1 AlternateDirAuthority test000auth orport=5000 no-v2 hs v3ident=461E6279C521FBDEB08DF2B543C4C44B2ABF267A 10.2.1.1:7000 49AF89659ACB6E864097224B14E36C2364917EC9 AlternateDirAuthority test001auth orport=5001 no-v2 hs v3ident=9E2466B3DF3DB86E372CCD37A88DC82251F191C6 10.2.1.1:7001 928E23BC4FDE32D93857A9E9A42BF125AB14E305 AlternateDirAuthority test002auth orport=5002 no-v2 hs v3ident=E8B6EBC3CDEB38D650A51471AB6BF37FC2265AFE 10.2.1.1:7002 BE118546BCD94299B125C6E108B6CAABA06C6B28 AlternateDirAuthority test003auth orport=5003 no-v2 hs v3ident=7ED64F439C492AE8E57FCA4AFEAA00B10DE93E84 10.2.1.1:7003 B8D83F820A0698E41F5146E9280BBEAE0D8CED5F AlternateBridgeAuthority test004brauth orport=5004 no-v2 bridge 10.2.1.1:7004 B797A8500307AA5B3F1A3E76E6E347E2481478A9 ' >> '/etc/tor/torrc' call returned: [0, "", ""] [log] CLICK on (642,449) calling as root: test -e '/etc/sudoers.d/tails-greeter' -o -e '/etc/sudoers.d/tails-greeter-no-password-lecture' call returned: [1, "", ""] calling as root: test -e '/etc/sudoers.d/tails-greeter' -o -e '/etc/sudoers.d/tails-greeter-no-password-lecture' call returned: [0, "", ""] calling as amnesia: gsettings set org.gnome.desktop.session idle-delay 0 call returned: [0, "", ""] calling as amnesia: gsettings set org.gnome.desktop.interface toolkit-accessibility true call returned: [0, "", ""] calling as amnesia: xdotool search --all --onlyvisible --maxdepth 1 --classname 'Florence' call returned: [1, "", ""] [log] CLICK on (1007,762) [profile] Finder.findAll START [profile] Finder.findAll END: 289ms [profile] Finder.findAll START [profile] Finder.findAll END: 303ms [profile] Finder.findAll START [profile] Finder.findAll END: 275ms [profile] Finder.findAll START [profile] Finder.findAll END: 286ms [profile] Finder.findAll START [profile] Finder.findAll END: 268ms [profile] Finder.findAll START [profile] Finder.findAll END: 240ms [profile] Finder.findAll START [profile] Finder.findAll END: 207ms And I start Tails from USB drive "isohybrid" with network unplugged and I login # features/step_definitions/common_steps.rb:212 [log] CLICK on (51,16) calling as root: udevadm info --device-id-of-file=/lib/live/mount/medium call returned: [0, "8:1\n", ""] calling as root: readlink -f /dev/block/'8:1' call returned: [0, "/dev/sda1\n", ""] calling as root: udevadm info --query=property --name='/dev/sda1' call returned: [0, "DEVLINKS=/dev/disk/by-id/usb-QEMU_QEMU_HARDDISK_1-0000:00:05.0-1-0:0-part1 /dev/disk/by-label/TAILS\\x202.7\\x20-\\x2020160915 /dev/disk/by-path/pci-0000:00:05.0-usb-0:1:1.0-scsi-0:0:0:0-part1 /dev/disk/by-uuid/2016-09-15-07-52-29-00\nDEVNAME=/dev/sda1\nDEVPATH=/devices/pci0000:00/0000:00:05.0/usb2/2-1/2-1:1.0/host8/target8:0:0/8:0:0:0/block/sda/sda1\nDEVTYPE=partition\nID_BUS=usb\nID_DRIVE_DETACHABLE=0\nID_FS_APPLICATION_ID=The\\x20Amnesic\\x20Incognito\\x20Live\\x20System\nID_FS_BOOT_SYSTEM_ID=EL\\x20TORITO\\x20SPECIFICATION\nID_FS_LABEL=TAILS_2.7_-_20160915\nID_FS_LABEL_ENC=TAILS\\x202.7\\x20-\\x2020160915\nID_FS_PUBLISHER_ID=https:\\x2f\\x2ftails.boum.org\\x2f\nID_FS_SYSTEM_ID=LINUX\nID_FS_TYPE=iso9660\nID_FS_USAGE=filesystem\nID_FS_UUID=2016-09-15-07-52-29-00\nID_FS_UUID_ENC=2016-09-15-07-52-29-00\nID_FS_VERSION=Joliet Extension\nID_INSTANCE=0:0\nID_MODEL=QEMU_HARDDISK\nID_MODEL_ENC=QEMU\\x20HARDDISK\\x20\\x20\\x20\nID_MODEL_ID=0001\nID_PART_ENTRY_DISK=8:0\nID_PART_ENTRY_FLAGS=0x80\nID_PART_ENTRY_NUMBER=1\nID_PART_ENTRY_OFFSET=0\nID_PART_ENTRY_SCHEME=dos\nID_PART_ENTRY_SIZE=2281230\nID_PART_ENTRY_TYPE=0x17\nID_PART_ENTRY_UUID=737a2af2-01\nID_PART_TABLE_TYPE=dos\nID_PART_TABLE_UUID=737a2af2\nID_PATH=pci-0000:00:05.0-usb-0:1:1.0-scsi-0:0:0:0\nID_PATH_TAG=pci-0000_00_05_0-usb-0_1_1_0-scsi-0_0_0_0\nID_REVISION=2.5+\nID_SERIAL=QEMU_QEMU_HARDDISK_1-0000:00:05.0-1-0:0\nID_SERIAL_SHORT=1-0000:00:05.0-1\nID_TYPE=disk\nID_USB_DRIVER=usb-storage\nID_USB_INTERFACES=:080650:\nID_USB_INTERFACE_NUM=00\nID_VENDOR=QEMU\nID_VENDOR_ENC=QEMU\\x20\\x20\\x20\\x20\nID_VENDOR_ID=46f4\nMAJOR=8\nMINOR=1\nPARTN=1\nSUBSYSTEM=block\nTAGS=:systemd:\nUDISKS_IGNORE=1\nUDISKS_SYSTEM=1\nUSEC_INITIALIZED=31195\n", ""] calling as root: udevadm info --device-id-of-file=/lib/live/mount/medium call returned: [0, "8:1\n", ""] calling as root: readlink -f /dev/block/'8:1' call returned: [0, "/dev/sda1\n", ""] Then Tails is running from USB drive "isohybrid" # features/step_definitions/usb.rb:400 spawning as root: poweroff When I shutdown Tails and wait for the computer to power off # features/step_definitions/common_steps.rb:532 [log] CLICK on (1024,384) [log] TYPE " " [log] TYPE " autotest_never_use_this_option blacklist=psmouse " calling as root: echo 'hello?' call returned: [0, "hello?\n", ""] calling as root: service tor status call returned: [3, "\u25cf tor.service - Anonymizing overlay network for TCP (multi-instance-master)\n Loaded: loaded (/lib/systemd/system/tor.service; disabled)\n Active: inactive (dead)\n", ""] calling as root: echo 'TestingTorNetwork 1 AssumeReachable 1 PathsNeededToBuildCircuits 0.25 TestingBridgeDownloadSchedule 0, 5 TestingClientConsensusDownloadSchedule 0, 5 TestingClientDownloadSchedule 0, 5 TestingDirAuthVoteExit * TestingDirAuthVoteGuard * TestingDirAuthVoteHSDir * TestingMinExitFlagThreshold 0 V3AuthNIntervalsValid 2 ClientRejectInternalAddresses 1 AlternateDirAuthority test000auth orport=5000 no-v2 hs v3ident=461E6279C521FBDEB08DF2B543C4C44B2ABF267A 10.2.1.1:7000 49AF89659ACB6E864097224B14E36C2364917EC9 AlternateDirAuthority test001auth orport=5001 no-v2 hs v3ident=9E2466B3DF3DB86E372CCD37A88DC82251F191C6 10.2.1.1:7001 928E23BC4FDE32D93857A9E9A42BF125AB14E305 AlternateDirAuthority test002auth orport=5002 no-v2 hs v3ident=E8B6EBC3CDEB38D650A51471AB6BF37FC2265AFE 10.2.1.1:7002 BE118546BCD94299B125C6E108B6CAABA06C6B28 AlternateDirAuthority test003auth orport=5003 no-v2 hs v3ident=7ED64F439C492AE8E57FCA4AFEAA00B10DE93E84 10.2.1.1:7003 B8D83F820A0698E41F5146E9280BBEAE0D8CED5F AlternateBridgeAuthority test004brauth orport=5004 no-v2 bridge 10.2.1.1:7004 B797A8500307AA5B3F1A3E76E6E347E2481478A9 ' >> '/etc/tor/torrc' call returned: [0, "", ""] [log] CLICK on (642,449) calling as root: test -e '/etc/sudoers.d/tails-greeter' -o -e '/etc/sudoers.d/tails-greeter-no-password-lecture' call returned: [1, "", ""] calling as root: test -e '/etc/sudoers.d/tails-greeter' -o -e '/etc/sudoers.d/tails-greeter-no-password-lecture' call returned: [0, "", ""] calling as amnesia: gsettings set org.gnome.desktop.session idle-delay 0 call returned: [0, "", ""] calling as amnesia: gsettings set org.gnome.desktop.interface toolkit-accessibility true call returned: [0, "", ""] calling as amnesia: xdotool search --all --onlyvisible --maxdepth 1 --classname 'Florence' call returned: [1, "", ""] [log] CLICK on (1007,762) [profile] Finder.findAll START [profile] Finder.findAll END: 315ms [profile] Finder.findAll START [profile] Finder.findAll END: 279ms [profile] Finder.findAll START [profile] Finder.findAll END: 268ms [profile] Finder.findAll START [profile] Finder.findAll END: 285ms [profile] Finder.findAll START [profile] Finder.findAll END: 293ms [profile] Finder.findAll START [profile] Finder.findAll END: 277ms [profile] Finder.findAll START [profile] Finder.findAll END: 275ms [log] CLICK on (51,16) And I start Tails from DVD with network unplugged and I login # features/step_definitions/common_steps.rb:191 calling as root: pidof -x -o '%PPID' gnome-terminal-server call returned: [1, "", ""] calling as amnesia: mktemp call returned: [0, "/tmp/tmp.3w3GL9VwEV\n", ""] calling as root: rm -f '/tmp/tmp.3w3GL9VwEV' call returned: [0, "", ""] calling as amnesia: echo '#!/usr/bin/python from dogtail import tree from dogtail.config import config config.searchShowingOnly = True application = tree.root.application('"'"'gnome-shell'"'"') application.child('"'"'Applications'"'"', roleName='"'"'label'"'"').click()' >> '/tmp/tmp.3w3GL9VwEV' call returned: [0, "", ""] calling as amnesia: /usr/bin/python '/tmp/tmp.3w3GL9VwEV' call returned: [0, "Creating logfile at /tmp/dogtail-amnesia/logs/tmp.3w3GL9VwEV_20160915-090110_debug ...\nClicking on [label | Applications]\nMouse button 1 click at (47,13)\n", ""] calling as root: rm -f '/tmp/tmp.3w3GL9VwEV' call returned: [0, "", ""] calling as amnesia: mktemp call returned: [0, "/tmp/tmp.NYK7B0exgt\n", ""] calling as root: rm -f '/tmp/tmp.NYK7B0exgt' call returned: [0, "", ""] calling as amnesia: echo '#!/usr/bin/python from dogtail import tree from dogtail.config import config config.searchShowingOnly = True application = tree.root.application('"'"'gnome-shell'"'"') application.child('"'"'Utilities'"'"', roleName='"'"'label'"'"').click()' >> '/tmp/tmp.NYK7B0exgt' call returned: [0, "", ""] calling as amnesia: /usr/bin/python '/tmp/tmp.NYK7B0exgt' call returned: [0, "Creating logfile at /tmp/dogtail-amnesia/logs/tmp.NYK7B0exgt_20160915-090113_debug ...\nClicking on [label | Utilities]\nMouse button 1 click at (58,430)\n", ""] calling as root: rm -f '/tmp/tmp.NYK7B0exgt' call returned: [0, "", ""] calling as amnesia: mktemp call returned: [0, "/tmp/tmp.uA50E0rtnS\n", ""] calling as root: rm -f '/tmp/tmp.uA50E0rtnS' call returned: [0, "", ""] calling as amnesia: echo '#!/usr/bin/python from dogtail import tree from dogtail.config import config config.searchShowingOnly = True application = tree.root.application('"'"'gnome-shell'"'"') application.child('"'"'Terminal'"'"', roleName='"'"'label'"'"').click()' >> '/tmp/tmp.uA50E0rtnS' call returned: [0, "", ""] calling as amnesia: /usr/bin/python '/tmp/tmp.uA50E0rtnS' call returned: [0, "Creating logfile at /tmp/dogtail-amnesia/logs/tmp.uA50E0rtnS_20160915-090117_debug ...\nClicking on [label | Terminal]\nMouse button 1 click at (286,468)\n", ""] calling as root: rm -f '/tmp/tmp.uA50E0rtnS' call returned: [0, "", ""] [log] TYPE "export DEBUG=1 ; tails-installer-launcher " [log] CLICK on (91,280) calling as root: cat /tmp/tails-installer-* call returned: [0, "2016-09-15 09:01:30,351 [creator.py:1338 (get_extlinux_version)] WARNING: extlinux not found! Only FAT filesystems will be supported\n2016-09-15 09:01:30,429 [creator.py:591 (detect_supported_drives)] DEBUG: looking at /org/freedesktop/UDisks2/block_devices/sr0\n2016-09-15 09:01:30,432 [creator.py:625 (detect_supported_drives)] WARNING: Skipping device '/org/freedesktop/UDisks2/block_devices/sr0' connected to '' interface\n2016-09-15 09:01:30,432 [creator.py:591 (detect_supported_drives)] DEBUG: looking at /org/freedesktop/UDisks2/drives/QEMU_DVD_ROM_QM00009\n2016-09-15 09:01:30,432 [creator.py:593 (detect_supported_drives)] DEBUG: skip /org/freedesktop/UDisks2/drives/QEMU_DVD_ROM_QM00009 which is not a block device\n2016-09-15 09:01:30,432 [creator.py:591 (detect_supported_drives)] DEBUG: looking at /org/freedesktop/UDisks2/Manager\n2016-09-15 09:01:30,433 [creator.py:593 (detect_supported_drives)] DEBUG: skip /org/freedesktop/UDisks2/Manager which is not a block device\n2016-09-15 09:01:30,433 [creator.py:591 (detect_supported_drives)] DEBUG: looking at /org/freedesktop/UDisks2/block_devices/sda\n2016-09-15 09:01:30,434 [creator.py:673 (detect_supported_drives)] DEBUG: {'bootable': None,\n 'device': '/dev/sda',\n 'free': None,\n 'fstype': 'iso9660',\n 'fsversion': 'Joliet Extension',\n 'is_device_big_enough': True,\n 'is_optical': False,\n 'label': 'QEMU-QEMU-HARDDISK-1-0000:00:05.0-1',\n 'model': 'QEMU HARDDISK',\n 'mount': None,\n 'mounted_partitions': set([]),\n 'parent': None,\n 'parent_size': None,\n 'parent_udi': None,\n 'size': 4294967296L,\n 'udi': '/org/freedesktop/UDisks2/block_devices/sda',\n 'uuid': '2016-09-15-07-52-29-00',\n 'vendor': 'QEMU'}\n2016-09-15 09:01:30,435 [creator.py:591 (detect_supported_drives)] DEBUG: looking at /org/freedesktop/UDisks2/block_devices/loop7\n2016-09-15 09:01:30,435 [creator.py:599 (detect_supported_drives)] DEBUG: skip /org/freedesktop/UDisks2/block_devices/loop7 which has no associated drive\n2016-09-15 09:01:30,435 [creator.py:591 (detect_supported_drives)] DEBUG: looking at /org/freedesktop/UDisks2/block_devices/loop6\n2016-09-15 09:01:30,436 [creator.py:599 (detect_supported_drives)] DEBUG: skip /org/freedesktop/UDisks2/block_devices/loop6 which has no associated drive\n2016-09-15 09:01:30,436 [creator.py:591 (detect_supported_drives)] DEBUG: looking at /org/freedesktop/UDisks2/block_devices/loop5\n2016-09-15 09:01:30,436 [creator.py:599 (detect_supported_drives)] DEBUG: skip /org/freedesktop/UDisks2/block_devices/loop5 which has no associated drive\n2016-09-15 09:01:30,436 [creator.py:591 (detect_supported_drives)] DEBUG: looking at /org/freedesktop/UDisks2/block_devices/loop4\n2016-09-15 09:01:30,437 [creator.py:599 (detect_supported_drives)] DEBUG: skip /org/freedesktop/UDisks2/block_devices/loop4 which has no associated drive\n2016-09-15 09:01:30,437 [creator.py:591 (detect_supported_drives)] DEBUG: looking at /org/freedesktop/UDisks2/block_devices/loop3\n2016-09-15 09:01:30,437 [creator.py:599 (detect_supported_drives)] DEBUG: skip /org/freedesktop/UDisks2/block_devices/loop3 which has no associated drive\n2016-09-15 09:01:30,437 [creator.py:591 (detect_supported_drives)] DEBUG: looking at /org/freedesktop/UDisks2/block_devices/loop2\n2016-09-15 09:01:30,437 [creator.py:599 (detect_supported_drives)] DEBUG: skip /org/freedesktop/UDisks2/block_devices/loop2 which has no associated drive\n2016-09-15 09:01:30,438 [creator.py:591 (detect_supported_drives)] DEBUG: looking at /org/freedesktop/UDisks2/block_devices/loop1\n2016-09-15 09:01:30,438 [creator.py:599 (detect_supported_drives)] DEBUG: skip /org/freedesktop/UDisks2/block_devices/loop1 which has no associated drive\n2016-09-15 09:01:30,438 [creator.py:591 (detect_supported_drives)] DEBUG: looking at /org/freedesktop/UDisks2/block_devices/loop0\n2016-09-15 09:01:30,438 [creator.py:599 (detect_supported_drives)] DEBUG: skip /org/freedesktop/UDisks2/block_devices/loop0 which has no associated drive\n2016-09-15 09:01:30,439 [creator.py:591 (detect_supported_drives)] DEBUG: looking at /org/freedesktop/UDisks2/block_devices/sda1\n2016-09-15 09:01:30,491 [creator.py:673 (detect_supported_drives)] DEBUG: {'bootable': None,\n 'device': '/dev/sda1',\n 'free': None,\n 'fstype': 'iso9660',\n 'fsversion': 'Joliet Extension',\n 'is_device_big_enough': True,\n 'is_optical': False,\n 'label': '',\n 'model': 'QEMU HARDDISK',\n 'mount': '/lib/live/mount/medium',\n 'mounted_partitions': set([]),\n 'parent': '/dev/sda',\n 'parent_size': 4294967296L,\n 'parent_udi': '/org/freedesktop/UDisks2/block_devices/sda',\n 'size': 4294967296L,\n 'udi': '/org/freedesktop/UDisks2/block_devices/sda1',\n 'uuid': '2016-09-15-07-52-29-00',\n 'vendor': 'QEMU'}\n2016-09-15 09:01:30,491 [creator.py:591 (detect_supported_drives)] DEBUG: looking at /org/freedesktop/UDisks2/drives/QEMU_QEMU_HARDDISK_1_0000_3a00_3a05_2e0_1\n2016-09-15 09:01:30,491 [creator.py:593 (detect_supported_drives)] DEBUG: skip /org/freedesktop/UDisks2/drives/QEMU_QEMU_HARDDISK_1_0000_3a00_3a05_2e0_1 which is not a block device\n2016-09-15 09:01:30,492 [creator.py:692 (detect_supported_drives)] DEBUG: {'/dev/sda': set(['/org/freedesktop/UDisks2/block_devices/sda1'])}\n2016-09-15 09:01:30,492 [gui.py:451 (add_devices)] DEBUG: drives: {'/dev/sda1': {'size': 4294967296L, 'is_optical': False, 'vendor': 'QEMU', 'fsversion': 'Joliet Extension', 'parent': '/dev/sda', 'bootable': None, 'is_device_big_enough': True, 'mount': '/lib/live/mount/medium', 'parent_size': 4294967296L, 'mounted_partitions': set([]), 'free': None, 'label': '', 'fstype': 'iso9660', 'parent_udi': '/org/freedesktop/UDisks2/block_devices/sda', 'device': '/dev/sda1', 'model': 'QEMU HARDDISK', 'udi': '/org/freedesktop/UDisks2/block_devices/sda1', 'uuid': '2016-09-15-07-52-29-00'}}\n2016-09-15 09:01:30,492 [gui.py:461 (add_devices)] DEBUG: Skipping source device: /dev/sda1\n", ""] Tails Installer debug log: 2016-09-15 09:01:30,351 [creator.py:1338 (get_extlinux_version)] WARNING: extlinux not found! Only FAT filesystems will be supported 2016-09-15 09:01:30,429 [creator.py:591 (detect_supported_drives)] DEBUG: looking at /org/freedesktop/UDisks2/block_devices/sr0 2016-09-15 09:01:30,432 [creator.py:625 (detect_supported_drives)] WARNING: Skipping device '/org/freedesktop/UDisks2/block_devices/sr0' connected to '' interface 2016-09-15 09:01:30,432 [creator.py:591 (detect_supported_drives)] DEBUG: looking at /org/freedesktop/UDisks2/drives/QEMU_DVD_ROM_QM00009 2016-09-15 09:01:30,432 [creator.py:593 (detect_supported_drives)] DEBUG: skip /org/freedesktop/UDisks2/drives/QEMU_DVD_ROM_QM00009 which is not a block device 2016-09-15 09:01:30,432 [creator.py:591 (detect_supported_drives)] DEBUG: looking at /org/freedesktop/UDisks2/Manager 2016-09-15 09:01:30,433 [creator.py:593 (detect_supported_drives)] DEBUG: skip /org/freedesktop/UDisks2/Manager which is not a block device 2016-09-15 09:01:30,433 [creator.py:591 (detect_supported_drives)] DEBUG: looking at /org/freedesktop/UDisks2/block_devices/sda 2016-09-15 09:01:30,434 [creator.py:673 (detect_supported_drives)] DEBUG: {'bootable': None, 'device': '/dev/sda', 'free': None, 'fstype': 'iso9660', 'fsversion': 'Joliet Extension', 'is_device_big_enough': True, 'is_optical': False, 'label': 'QEMU-QEMU-HARDDISK-1-0000:00:05.0-1', 'model': 'QEMU HARDDISK', 'mount': None, 'mounted_partitions': set([]), 'parent': None, 'parent_size': None, 'parent_udi': None, 'size': 4294967296L, 'udi': '/org/freedesktop/UDisks2/block_devices/sda', 'uuid': '2016-09-15-07-52-29-00', 'vendor': 'QEMU'} 2016-09-15 09:01:30,435 [creator.py:591 (detect_supported_drives)] DEBUG: looking at /org/freedesktop/UDisks2/block_devices/loop7 2016-09-15 09:01:30,435 [creator.py:599 (detect_supported_drives)] DEBUG: skip /org/freedesktop/UDisks2/block_devices/loop7 which has no associated drive 2016-09-15 09:01:30,435 [creator.py:591 (detect_supported_drives)] DEBUG: looking at /org/freedesktop/UDisks2/block_devices/loop6 2016-09-15 09:01:30,436 [creator.py:599 (detect_supported_drives)] DEBUG: skip /org/freedesktop/UDisks2/block_devices/loop6 which has no associated drive 2016-09-15 09:01:30,436 [creator.py:591 (detect_supported_drives)] DEBUG: looking at /org/freedesktop/UDisks2/block_devices/loop5 2016-09-15 09:01:30,436 [creator.py:599 (detect_supported_drives)] DEBUG: skip /org/freedesktop/UDisks2/block_devices/loop5 which has no associated drive 2016-09-15 09:01:30,436 [creator.py:591 (detect_supported_drives)] DEBUG: looking at /org/freedesktop/UDisks2/block_devices/loop4 2016-09-15 09:01:30,437 [creator.py:599 (detect_supported_drives)] DEBUG: skip /org/freedesktop/UDisks2/block_devices/loop4 which has no associated drive 2016-09-15 09:01:30,437 [creator.py:591 (detect_supported_drives)] DEBUG: looking at /org/freedesktop/UDisks2/block_devices/loop3 2016-09-15 09:01:30,437 [creator.py:599 (detect_supported_drives)] DEBUG: skip /org/freedesktop/UDisks2/block_devices/loop3 which has no associated drive 2016-09-15 09:01:30,437 [creator.py:591 (detect_supported_drives)] DEBUG: looking at /org/freedesktop/UDisks2/block_devices/loop2 2016-09-15 09:01:30,437 [creator.py:599 (detect_supported_drives)] DEBUG: skip /org/freedesktop/UDisks2/block_devices/loop2 which has no associated drive 2016-09-15 09:01:30,438 [creator.py:591 (detect_supported_drives)] DEBUG: looking at /org/freedesktop/UDisks2/block_devices/loop1 2016-09-15 09:01:30,438 [creator.py:599 (detect_supported_drives)] DEBUG: skip /org/freedesktop/UDisks2/block_devices/loop1 which has no associated drive 2016-09-15 09:01:30,438 [creator.py:591 (detect_supported_drives)] DEBUG: looking at /org/freedesktop/UDisks2/block_devices/loop0 2016-09-15 09:01:30,438 [creator.py:599 (detect_supported_drives)] DEBUG: skip /org/freedesktop/UDisks2/block_devices/loop0 which has no associated drive 2016-09-15 09:01:30,439 [creator.py:591 (detect_supported_drives)] DEBUG: looking at /org/freedesktop/UDisks2/block_devices/sda1 2016-09-15 09:01:30,491 [creator.py:673 (detect_supported_drives)] DEBUG: {'bootable': None, 'device': '/dev/sda1', 'free': None, 'fstype': 'iso9660', 'fsversion': 'Joliet Extension', 'is_device_big_enough': True, 'is_optical': False, 'label': '', 'model': 'QEMU HARDDISK', 'mount': '/lib/live/mount/medium', 'mounted_partitions': set([]), 'parent': '/dev/sda', 'parent_size': 4294967296L, 'parent_udi': '/org/freedesktop/UDisks2/block_devices/sda', 'size': 4294967296L, 'udi': '/org/freedesktop/UDisks2/block_devices/sda1', 'uuid': '2016-09-15-07-52-29-00', 'vendor': 'QEMU'} 2016-09-15 09:01:30,491 [creator.py:591 (detect_supported_drives)] DEBUG: looking at /org/freedesktop/UDisks2/drives/QEMU_QEMU_HARDDISK_1_0000_3a00_3a05_2e0_1 2016-09-15 09:01:30,491 [creator.py:593 (detect_supported_drives)] DEBUG: skip /org/freedesktop/UDisks2/drives/QEMU_QEMU_HARDDISK_1_0000_3a00_3a05_2e0_1 which is not a block device 2016-09-15 09:01:30,492 [creator.py:692 (detect_supported_drives)] DEBUG: {'/dev/sda': set(['/org/freedesktop/UDisks2/block_devices/sda1'])} 2016-09-15 09:01:30,492 [gui.py:451 (add_devices)] DEBUG: drives: {'/dev/sda1': {'size': 4294967296L, 'is_optical': False, 'vendor': 'QEMU', 'fsversion': 'Joliet Extension', 'parent': '/dev/sda', 'bootable': None, 'is_device_big_enough': True, 'mount': '/lib/live/mount/medium', 'parent_size': 4294967296L, 'mounted_partitions': set([]), 'free': None, 'label': '', 'fstype': 'iso9660', 'parent_udi': '/org/freedesktop/UDisks2/block_devices/sda', 'device': '/dev/sda1', 'model': 'QEMU HARDDISK', 'udi': '/org/freedesktop/UDisks2/block_devices/sda1', 'uuid': '2016-09-15-07-52-29-00'}} 2016-09-15 09:01:30,492 [gui.py:461 (add_devices)] DEBUG: Skipping source device: /dev/sda1 And I try a "Clone & Upgrade" Tails to USB drive "isohybrid" # features/step_definitions/usb.rb:120 FindFailed: can not find USBCreateLiveUSB.png on the screen. Line ?, in File ? (RuntimeError) ./features/step_definitions/usb.rb:83:in `rescue in usb_install_helper' ./features/step_definitions/usb.rb:76:in `usb_install_helper' ./features/step_definitions/usb.rb:117:in `/^I "Clone & Upgrade" Tails to USB drive "([^"]+)"$/' ./features/step_definitions/usb.rb:122:in `/^I try a "Clone & Upgrade" Tails to USB drive "([^"]+)"$/' features/usb_install.feature:85:in `And I try a "Clone & Upgrade" Tails to USB drive "isohybrid"' Then I am suggested to do a "Clone & Install" # features/step_definitions/usb.rb:140 When I kill the process "tails-installer" # features/step_definitions/common_steps.rb:512 And I "Clone & Install" Tails to USB drive "isohybrid" # features/step_definitions/usb.rb:110 Then the running Tails is installed on USB drive "isohybrid" # features/step_definitions/usb.rb:265 But there is no persistence partition on USB drive "isohybrid" # features/step_definitions/usb.rb:279 When I shutdown Tails and wait for the computer to power off # features/step_definitions/common_steps.rb:532 And I start Tails from USB drive "isohybrid" with network unplugged and I login # features/step_definitions/common_steps.rb:212 Then Tails is running from USB drive "isohybrid" # features/step_definitions/usb.rb:400 And the boot device has safe access rights # features/step_definitions/usb.rb:420 And there is no persistence partition on USB drive "isohybrid" # features/step_definitions/usb.rb:279 Scenario failed at time 01:04:20 Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/525/artifact/build-artifacts/01:04:20_Cat:ing_a_Tails_isohybrid_to_a_USB_drive_and_booting_it,_then_trying_to_upgrading_it_but_ending_up_having_to_do_a_fresh_installation,_which_boots.png Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/525/artifact/build-artifacts/01:04:20_Cat:ing_a_Tails_isohybrid_to_a_USB_drive_and_booting_it,_then_trying_to_upgrading_it_but_ending_up_having_to_do_a_fresh_installation,_which_boots.mkv