Project Number Date
test_Tails_ISO_stable 5178 12 Oct 2024, 12:38

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:55.557 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.
23.337
Before features/support/hooks.rb:269 0.004
Given I have started Tails from DVD without network and logged in 8.446
And I prepare Tails for memory erasure tests 0.444
When I start a process allocating 128 MiB of memory with a known pattern 2.426
Then patterns cover at least 128 MiB in the guest's memory 3.502

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

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

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

After features/support/hooks.rb:326 1.310
After features/support/hooks.rb:100 0.000
27.993
Before features/support/hooks.rb:269 0.005
Given I have started Tails from DVD without network and logged in 8.711
And I prepare Tails for memory erasure tests 0.520
And I find very few patterns in the guest's memory 3.849

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

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

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

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

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

After features/support/hooks.rb:326 1.734
After features/support/hooks.rb:100 0.000
54.624
Before features/support/hooks.rb:269 0.004
Given I have started Tails from DVD without network and logged in 9.074
And I prepare Tails for memory erasure tests 0.473
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.409
Then I find very few patterns in the guest's memory 3.393

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

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

Pattern coverage: 89.622% (114 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 1.153
After features/support/hooks.rb:100 0.000
53.681
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.842
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.855
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 4.375
Then patterns cover at least 128 MiB in the guest's memory 3.218

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.923

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

After features/support/hooks.rb:326 3.528
After features/support/hooks.rb:100 0.000
7:50.959
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7:5.294
And I prepare Tails for memory erasure tests 0.553
When I fill a 128 MiB file with a known pattern on the persistent filesystem 23.887
When I trigger shutdown 0.017
Then I find very few patterns in the guest's memory after 20 seconds 21.207

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

After features/support/hooks.rb:326 3.567
After features/support/hooks.rb:100 0.016