Project Number Date
test_Tails_ISO_stable 2878 06 Apr 2021, 13:20

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Upgrading an old Tails USB installation 104 0 0 0 0 104 9 0 9 29:52.652 Passed
Tags: @product
Feature Upgrading an old Tails USB installation
As a Tails user If I have an old version of Tails installed on a USB device and the USB device has a persistent partition I want to upgrade Tails on it and keep my persistent partition in the process
Tags: @product
41.030
Before features/support/hooks.rb:226 0.007
Given I have started Tails from DVD without network and logged in 5.275
And I temporarily create a 7200 MiB disk named "too-small-partition" 0.048
And I create a 500 MiB gpt partition labeled "Tails" with a vfat filesystem on disk "too-small-partition" 6.756
And I plug USB drive "too-small-partition" 4.109
When I start Tails Installer 24.670
Then I am told by Tails Installer that I "need to use a downloaded Tails ISO image" 0.171
After features/support/hooks.rb:265 0.481
After features/support/hooks.rb:75 0.001
Tags: @product
2:24.091
Before features/support/hooks.rb:226 0.008
Given a computer 0.359
And I create a 7200 MiB disk named "old" 0.035
And I plug USB drive "old" 1.098
And I write an old version of the Tails USB image to disk "old" 12.268
When I start Tails from USB drive "old" with network unplugged 2:4.242
Then the boot device has safe access rights 4.822
And Tails is running from USB drive "old" 0.541
And there is no persistence partition on USB drive "old" 0.100
And process "udev-watchdog" is running 0.102
And udev-watchdog is monitoring the correct device 0.435
And I unplug USB drive "old" 0.084
After features/support/hooks.rb:265 0.750
After features/support/hooks.rb:75 0.011
Tags: @product
3:44.167
Before features/support/hooks.rb:226 0.007
Given a computer 0.325
And I start Tails from USB drive "old" with network unplugged and I login 2:46.675
Then Tails is running from USB drive "old" 0.964
And I create a persistent partition 47.931
And I take note of which persistence presets are available 0.995
Then a Tails persistence partition exists on USB drive "old" 1.998
And I shutdown Tails and wait for the computer to power off 5.277
After features/support/hooks.rb:265 0.234
After features/support/hooks.rb:75 0.011
Tags: @product
3:14.127
Before features/support/hooks.rb:226 0.007
Given a computer 0.311
And I start Tails from USB drive "old" with network unplugged and I login with persistence enabled 2:43.719
Then Tails is running from USB drive "old" 1.011
And all persistence presets are enabled 1.110
When I write some files expected to persist 4.084
And all persistent filesystems have safe access rights 0.489
And all persistence configuration files have safe access rights 1.973
And all persistent directories from the old Tails version have safe access rights 6.613
And I take note of which persistence presets are available 1.048
And I shutdown Tails and wait for the computer to power off 5.300
Then only the expected files are present on the persistence partition on USB drive "old" 8.464
After features/support/hooks.rb:265 0.163
After features/support/hooks.rb:75 0.011
Tags: @product
4:12.869
Before features/support/hooks.rb:226 0.007
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 13.943
And I log in to a new session 37.457
And I clone USB drive "old" to a new USB drive "to_upgrade" 1.004
And I plug USB drive "to_upgrade" 1.742
When I upgrade Tails to USB drive "to_upgrade" by cloning 2:20.446
Then the running Tails is installed on USB drive "to_upgrade" 58.123
And I unplug USB drive "to_upgrade" 0.075
And I unplug USB drive "__internal" 0.075
After features/support/hooks.rb:265 0.700
After features/support/hooks.rb:75 0.000
Tags: @product
3:7.160
Before features/support/hooks.rb:226 0.006
Given a computer 0.223
And I start Tails from USB drive "to_upgrade" with network unplugged and I login with persistence enabled 2:47.385
Then all persistence presets from the old Tails version are enabled 0.676
And Tails is running from USB drive "to_upgrade" 0.805
And the boot device has safe access rights 7.703
And the expected persistent files created with the old Tails version are present in the filesystem 3.964
And all persistent directories from the old Tails version have safe access rights 6.402
After features/support/hooks.rb:265 0.407
After features/support/hooks.rb:75 0.009
10:11.406
Before features/support/hooks.rb:226 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 8.778
And no SquashFS delta is installed 0.214
And Tails is fooled to think that version 2.0~testoverlayfs was initially installed 0.659
And Tails is fooled to think it is running version 2.0~testoverlayfs 0.147
And the file system changes introduced in version 2.2~testoverlayfs are not present 0.852
And the file system changes introduced in version 2.3~testoverlayfs are not present 1.217
When the network is plugged 0.048
And Tor is ready 13.855
Then I am proposed to install an incremental upgrade to version 2.2~testoverlayfs 34.117
And I can successfully install the incremental upgrade to version 2.2~testoverlayfs 23.992
Given I shutdown Tails and wait for the computer to power off 16.423
When I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:46.642
Then Tails is running version 2.2~testoverlayfs 0.511
And all persistence presets are enabled 0.978
And the file system changes introduced in version 2.2~testoverlayfs are present 0.940
And only the 2.2~testoverlayfs SquashFS delta is installed 0.186
Given Tails system time is magically synchronized 0.153
And Tails is fooled to think that version 2.1~testoverlayfs was initially installed 0.624
When the network is plugged 0.046
And Tor is ready 12.571
Then I am proposed to install an incremental upgrade to version 2.3~testoverlayfs 33.029
And I can successfully install the incremental upgrade to version 2.3~testoverlayfs 25.675
Given I shutdown Tails and wait for the computer to power off 15.301
When I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:40.148
Then Tails is running version 2.3~testoverlayfs 0.451
And all persistence presets are enabled 1.164
And the file system changes introduced in version 2.3~testoverlayfs are present 1.468
And only the 2.3~testoverlayfs SquashFS delta is installed 0.160
Given Tails system time is magically synchronized 0.158
And Tails is fooled to think that version 2.1~testoverlayfs was initially installed 0.713
When the network is plugged 0.056
And Tor is ready 13.160
Then the Upgrader considers the system as up-to-date 32.452
Given I magically allow the Unsafe Browser to be started 0.013
Then I successfully start the Unsafe Browser 42.401
And the file system changes introduced in version 2.3~testoverlayfs are present in the Unsafe Browser's chroot 2.089
After features/support/hooks.rb:265 0.533
After features/support/hooks.rb:75 0.017
1:24.002
Before features/support/hooks.rb:226 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 8.731
And Tails is fooled to think that version 2.0~testoverlayfs was initially installed 0.809
And Tails is fooled to think it is running version 2.1~testoverlayfs 0.155
And Tails is fooled to think a 2.0.1~testoverlayfs SquashFS delta is installed 1.176
And Tails is fooled to think a 2.1~testoverlayfs SquashFS delta is installed 0.953
When the network is plugged 0.073
And Tor is ready 10.330
Then I am proposed to install an incremental upgrade to version 2.2~testoverlayfs 35.056
And I can successfully install the incremental upgrade to version 2.2~testoverlayfs 26.421
Then only the 2.2~testoverlayfs SquashFS delta is installed 0.295
After features/support/hooks.rb:265 0.450
After features/support/hooks.rb:75 0.000
53.796
Before features/support/hooks.rb:226 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7.892
And Tails is fooled to think that version 2.0~testoverlayfs was initially installed 0.777
And Tails is fooled to think it is running version 2.0~testoverlayfs 0.139
And the signing key used by the Upgrader is outdated 0.866
But a current signing key is available on our website 0.000
When the network is plugged 0.053
And Tor is ready 10.476
Then I am proposed to install an incremental upgrade to version 2.2~testoverlayfs 33.590
After features/support/hooks.rb:265 0.499
After features/support/hooks.rb:75 0.000