Project Number Date
test_Tails_ISO_stable 5010 08 Aug 2024, 12: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 12:9.039 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.904
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.449
And I prepare Tails for memory erasure tests 0.548
When I start a process allocating 128 MiB of memory with a known pattern 2.448
Then patterns cover at least 128 MiB in the guest's memory 5.596

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 90.020% (114 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.519
After features/support/hooks.rb:100 0.000
7:46.664
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:0.875
And I prepare Tails for memory erasure tests 0.485
When I fill a 128 MiB file with a known pattern on the persistent filesystem 24.110
When I trigger shutdown 0.018
Then I find very few patterns in the guest's memory after 20 seconds 21.173

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

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