Project Number Date
test_Tails_ISO_stable 5154 07 Oct 2024, 19:30

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:52.032 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.
24.590
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 10.610
And I prepare Tails for memory erasure tests 0.422
When I start a process allocating 128 MiB of memory with a known pattern 2.346
Then patterns cover at least 128 MiB in the guest's memory 3.686

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 88.088% (112 MiB out of 127 MiB reference memory)

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

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

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

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 6.777

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.536
After features/support/hooks.rb:100 0.000
7:56.468
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 7:11.578
And I prepare Tails for memory erasure tests 0.541
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.997
When I trigger shutdown 0.012
Then I find very few patterns in the guest's memory after 20 seconds 21.338

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

After features/support/hooks.rb:326 3.565
After features/support/hooks.rb:100 0.010