Project Number Date
test_Tails_ISO_stable 5131 01 Oct 2024, 14:23

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

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 89.037% (113 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.535
After features/support/hooks.rb:100 0.000
7:40.674
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:56.515
And I prepare Tails for memory erasure tests 0.441
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.440
When I trigger shutdown 0.019
Then I find very few patterns in the guest's memory after 20 seconds 21.256

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

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