Project Number Date
test_Tails_ISO_devel 3545 11 Oct 2024, 12:57

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

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 89.334% (113 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.497
After features/support/hooks.rb:100 0.000
7:51.147
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7:6.507
And I prepare Tails for memory erasure tests 0.461
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.893
When I trigger shutdown 0.015
Then I find very few patterns in the guest's memory after 20 seconds 21.268

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

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