Project Number Date
test_Tails_ISO_devel 3452 09 Jul 2024, 13:16

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
System memory erasure on shutdown 53 0 0 0 0 53 6 0 6 13:8.515 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.
20.791
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.274
And I prepare Tails for memory erasure tests 0.392
When I start a process allocating 128 MiB of memory with a known pattern 3.375
Then patterns cover at least 128 MiB in the guest's memory 3.613

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

When I kill the allocating process 1.102
Then I find very few patterns in the guest's memory 4.031

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

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

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

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

When I umount "/mnt" 0.708
Then I find very few patterns in the guest's memory 3.995

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

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

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

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

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

When I umount the USB drive 4.437
Then I find very few patterns in the guest's memory 5.996

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

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

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

When I umount the USB drive 0.780
Then I find very few patterns in the guest's memory 5.480

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

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

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

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

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

When I umount the USB drive 5.115
Then I find very few patterns in the guest's memory 3.591

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

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

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

When I umount the USB drive 10.027
Then I find very few patterns in the guest's memory 3.567

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

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

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

When I trigger shutdown 0.029
And I wait 20 seconds 20.020

Slept for 20 seconds

Then I find very few patterns in the guest's memory 1.889

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

After features/support/hooks.rb:326 3.569
After features/support/hooks.rb:100 0.000
8:48.354
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 8:3.094
And I prepare Tails for memory erasure tests 0.478
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.500
When I trigger shutdown 0.010
And I wait 20 seconds 20.013

Slept for 20 seconds

Then I find very few patterns in the guest's memory 2.256

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

After features/support/hooks.rb:326 3.497
After features/support/hooks.rb:100 0.015