Project Number Date
test_Tails_ISO_stable 4729 20 Mar 2024, 12:10

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
System memory erasure on shutdown 53 0 0 0 0 53 6 0 6 10:6.122 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.
20.061
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 8.686
And I prepare Tails for memory erasure tests 0.837
When I start a process allocating 128 MiB of memory with a known pattern 1.267
Then patterns cover at least 128 MiB in the guest's memory 3.576

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

When I kill the allocating process 1.059
Then I find very few patterns in the guest's memory 4.633

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

After features/support/hooks.rb:291 1.982
After features/support/hooks.rb:75 0.000
22.447
Before features/support/hooks.rb:245 0.003
Given I have started Tails from DVD without network and logged in 8.197
And I prepare Tails for memory erasure tests 0.414
And I find very few patterns in the guest's memory 3.778

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

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

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

When I umount "/mnt" 0.705
Then I find very few patterns in the guest's memory 4.222

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

After features/support/hooks.rb:291 0.737
After features/support/hooks.rb:75 0.000
45.992
Before features/support/hooks.rb:245 0.003
Given I have started Tails from DVD without network and logged in 8.425
And I prepare Tails for memory erasure tests 0.461
When I plug and mount a 128 MiB USB drive with a vfat filesystem 8.881
Then I find very few patterns in the guest's memory 4.635

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

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

Pattern coverage: 91.820% (117 MiB out of 127 MiB reference memory)

When I umount the USB drive 1.109
Then I find very few patterns in the guest's memory 4.574

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

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

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

When I umount the USB drive 0.602
Then I find very few patterns in the guest's memory 4.883

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

After features/support/hooks.rb:291 0.904
After features/support/hooks.rb:75 0.000
1:12.487
Before features/support/hooks.rb:245 0.003
Given I have started Tails from DVD without network and logged in 9.342
And I prepare Tails for memory erasure tests 0.460
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 28.814
Then I find very few patterns in the guest's memory 5.007

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

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

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

When I umount the USB drive 1.010
Then I find very few patterns in the guest's memory 3.724

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

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

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

When I umount the USB drive 0.802
Then I find very few patterns in the guest's memory 5.889

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

After features/support/hooks.rb:291 0.935
After features/support/hooks.rb:75 0.000
55.406
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 8.408
And I prepare Tails for memory erasure tests 0.498
When I fill a 128 MiB file with a known pattern on the root filesystem 20.331
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 1.079
Then patterns cover at least 128 MiB in the guest's memory 3.193

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

When I trigger shutdown 0.012
And I wait 20 seconds 20.017

Slept for 20 seconds

Then I find very few patterns in the guest's memory 1.864

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

After features/support/hooks.rb:291 3.533
After features/support/hooks.rb:75 0.000
6:29.727
Before features/support/hooks.rb:245 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 5:43.837
And I prepare Tails for memory erasure tests 0.418
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.955
When I trigger shutdown 0.013
And I wait 20 seconds 20.005

Slept for 20 seconds

Then I find very few patterns in the guest's memory 2.497

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

After features/support/hooks.rb:291 3.564
After features/support/hooks.rb:75 0.012