Project Number Date
test_Tails_ISO_stable 5130 01 Oct 2024, 12:40

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 11:38.467 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.
25.042
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.442
And I prepare Tails for memory erasure tests 0.673
When I start a process allocating 128 MiB of memory with a known pattern 2.284
Then patterns cover at least 128 MiB in the guest's memory 3.684

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

When I kill the allocating process 2.777
Then I find very few patterns in the guest's memory after 3 seconds 7.180

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

After features/support/hooks.rb:326 1.336
After features/support/hooks.rb:100 0.000
26.926
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.789
And I prepare Tails for memory erasure tests 0.489
And I find very few patterns in the guest's memory 3.149

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

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

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

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

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

After features/support/hooks.rb:326 2.218
After features/support/hooks.rb:100 0.000
57.022
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.306
And I prepare Tails for memory erasure tests 0.434
When I plug and mount a 128 MiB USB drive with a vfat filesystem 9.365
Then I find very few patterns in the guest's memory 3.532

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

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

Pattern coverage: 87.250% (111 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

After features/support/hooks.rb:326 2.257
After features/support/hooks.rb:100 0.000
1:15.872
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.283
And I prepare Tails for memory erasure tests 0.449
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 35.745
Then I find very few patterns in the guest's memory 2.863

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 0.887
After features/support/hooks.rb:100 0.000
50.234
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.399
And I prepare Tails for memory erasure tests 0.451
When I fill a 128 MiB file with a known pattern on the root filesystem 15.689
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 1.777
Then patterns cover at least 128 MiB in the guest's memory 3.093

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

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

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

After features/support/hooks.rb:326 3.474
After features/support/hooks.rb:100 0.000
7:43.369
Before features/support/hooks.rb:269 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 6:58.622
And I prepare Tails for memory erasure tests 0.685
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.913
When I trigger shutdown 0.012
Then I find very few patterns in the guest's memory after 20 seconds 21.134

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

After features/support/hooks.rb:326 3.495
After features/support/hooks.rb:100 0.012