Project Number Date
test_Tails_ISO_20635-greeter-threading-fixes 41 28 Nov 2024, 20:01

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

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

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

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

After features/support/hooks.rb:326 0.830
After features/support/hooks.rb:100 0.000
25.691
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 8.068
And I prepare Tails for memory erasure tests 0.412
And I find very few patterns in the guest's memory 3.879

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 0.847
After features/support/hooks.rb:100 0.000
1:10.612
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.182
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" 33.779
Then I find very few patterns in the guest's memory 2.598

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.520
After features/support/hooks.rb:100 0.000
7:55.006
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:7.385
And I prepare Tails for memory erasure tests 0.857
When I fill a 128 MiB file with a known pattern on the persistent filesystem 25.453
When I trigger shutdown 0.011
Then I find very few patterns in the guest's memory after 20 seconds 21.298

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

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