Project Number Date
test_Tails_ISO_stable 5009 07 Aug 2024, 20:40

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

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

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

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

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

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 1.682
Then patterns cover at least 99% of the test FS size in the guest's memory 3.897

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

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

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

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

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

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

Pattern coverage: 86.472% (110 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.555
After features/support/hooks.rb:100 0.000
7:39.607
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 6:51.331
And I prepare Tails for memory erasure tests 0.407
When I fill a 128 MiB file with a known pattern on the persistent filesystem 26.629
When I trigger shutdown 0.012
Then I find very few patterns in the guest's memory after 20 seconds 21.225

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

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