Project Number Date
test_Tails_ISO_feature-arti 59 15 May 2025, 17:05

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
System memory erasure on shutdown 51 0 0 0 0 51 6 0 6 13:42.717 Passed
Feature System memory erasure on shutdown
As a Tails user when I shutdown Tails I want the system memory to be free from sensitive data.
27.880
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.009
Given I have started Tails from DVD without network and logged in 9.311
And I prepare Tails for memory erasure tests 0.524
When I start a process allocating 128 MiB of memory with a known pattern 2.562
Then patterns cover at least 128 MiB in the guest's memory 5.676

Pattern coverage: 100.000% (128 MiB out of 128 MiB reference memory)

When I kill the allocating process 0.227
Then I find very few patterns in the guest's memory after 5 seconds 9.576

Pattern coverage: 0.000% (0 MiB out of 856 MiB reference memory)

After features/support/hooks.rb:330 0.775
After features/support/hooks.rb:100 0.000
28.276
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Given I have started Tails from DVD without network and logged in 9.887
And I prepare Tails for memory erasure tests 0.558
And I find very few patterns in the guest's memory 3.836

Pattern coverage: 0.000% (0 MiB out of 868 MiB reference memory)

When I mount a 128 MiB tmpfs on "/mnt" and fill it with a known pattern 1.827
Then patterns cover at least 99% of the test FS size in the guest's memory 4.366

Pattern coverage: 100.000% (128 MiB out of 128 MiB reference memory)

When I umount "/mnt" 0.551
Then I find very few patterns in the guest's memory after 3 seconds 7.247

Pattern coverage: 0.000% (0 MiB out of 868 MiB reference memory)

After features/support/hooks.rb:330 0.953
After features/support/hooks.rb:100 0.000
1:0.405
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Given I have started Tails from DVD without network and logged in 9.200
And I prepare Tails for memory erasure tests 0.510
When I plug and mount a 128 MiB USB drive with a vfat filesystem 11.480
Then I find very few patterns in the guest's memory 3.668

Pattern coverage: 0.000% (0 MiB out of 865 MiB reference memory)

# write cache
When I fill the USB drive with a known pattern 2.904
Then patterns cover at least 75% of the test FS size in the guest's memory 6.427

Pattern coverage: 91.275% (116 MiB out of 127 MiB reference memory)

When I umount the USB drive 1.839
Then I find very few patterns in the guest's memory after 3 seconds 7.320

Pattern coverage: 0.000% (0 MiB out of 865 MiB reference memory)

# read cache
When I mount the USB drive again 0.310
And I read the content of the test FS 3.180
Then patterns cover at least 99% of the test FS size in the guest's memory 4.958

Pattern coverage: 100.596% (128 MiB out of 127 MiB reference memory)

When I umount the USB drive 0.924
Then I find very few patterns in the guest's memory after 3 seconds 7.678

Pattern coverage: 0.000% (0 MiB out of 865 MiB reference memory)

After features/support/hooks.rb:330 1.438
After features/support/hooks.rb:100 0.000
1:26.199
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails from DVD without network and logged in 9.019
And I prepare Tails for memory erasure tests 0.535
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 41.885
Then I find very few patterns in the guest's memory 4.248

Pattern coverage: 0.000% (0 MiB out of 862 MiB reference memory)

# write cache
When I fill the USB drive with a known pattern 1.841
Then patterns cover at least 99% of the test FS size in the guest's memory 3.455

Pattern coverage: 106.113% (97 MiB out of 91 MiB reference memory)

When I umount the USB drive 0.685
Then I find very few patterns in the guest's memory after 3 seconds 6.465

Pattern coverage: 0.000% (0 MiB out of 862 MiB reference memory)

# read cache
When I mount the USB drive again 5.350
And I read the content of the test FS 1.800
Then patterns cover at least 99% of the test FS size in the guest's memory 3.658

Pattern coverage: 106.115% (97 MiB out of 91 MiB reference memory)

When I umount the USB drive 1.107
Then I find very few patterns in the guest's memory after 3 seconds 6.146

Pattern coverage: 0.000% (0 MiB out of 862 MiB reference memory)

After features/support/hooks.rb:330 2.233
After features/support/hooks.rb:100 0.000
51.844
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails from DVD without network and logged in 10.032
And I prepare Tails for memory erasure tests 0.602
When I fill a 128 MiB file with a known pattern on the root filesystem 14.032
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 2.469
Then patterns cover at least 128 MiB in the guest's memory 3.703

Pattern coverage: 100.000% (128 MiB out of 128 MiB reference memory)

When I trigger shutdown 0.017
Then I find very few patterns in the guest's memory after 20 seconds 20.987

Pattern coverage: 0.000% (0 MiB out of 862 MiB reference memory)

After features/support/hooks.rb:330 3.540
After features/support/hooks.rb:100 0.000
9:28.111
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 8:35.109
And I prepare Tails for memory erasure tests 0.551
When I fill a 128 MiB file with a known pattern on the persistent filesystem 29.935
When I trigger shutdown 0.029
Then I find very few patterns in the guest's memory after 20 seconds 22.485

Pattern coverage: 0.000% (0 MiB out of 905 MiB reference memory)

After features/support/hooks.rb:330 3.807
After features/support/hooks.rb:100 0.013