Project Number Date
test_Tails_ISO_15451-support-manual-fsck-on-error 16 03 Aug 2024, 16:22

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

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 91.685% (116 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

When I trigger shutdown 0.017
And I wait 20 seconds 20.018

Slept for 20 seconds

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

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

After features/support/hooks.rb:326 3.517
After features/support/hooks.rb:100 0.000
7:53.529
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:4.945
And I prepare Tails for memory erasure tests 0.611
When I fill a 128 MiB file with a known pattern on the persistent filesystem 25.780
When I trigger shutdown 0.012
And I wait 20 seconds 20.020

Slept for 20 seconds

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

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

After features/support/hooks.rb:326 3.561
After features/support/hooks.rb:100 0.012