Project Number Date
test_Tails_ISO_devel 3483 17 Aug 2024, 12:32

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 0.865
After features/support/hooks.rb:100 0.000
54.877
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 9.731
And I prepare Tails for memory erasure tests 0.758
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.208
Then I find very few patterns in the guest's memory 3.916

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.500
After features/support/hooks.rb:100 0.011