Project Number Date
test_Tails_ISO_18530-do-not-restart-tor 17 24 Nov 2024, 10:34

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:21.096 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.424
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.278
And I prepare Tails for memory erasure tests 0.463
When I start a process allocating 128 MiB of memory with a known pattern 2.562
Then patterns cover at least 128 MiB in the guest's memory 3.300

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 1.707
After features/support/hooks.rb:100 0.000
49.456
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.292
And I prepare Tails for memory erasure tests 0.530
When I plug and mount a 128 MiB USB drive with a vfat filesystem 9.718
Then I find very few patterns in the guest's memory 3.923

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

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

Pattern coverage: 85.890% (109 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.760
After features/support/hooks.rb:100 0.000
7:35.783
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 6:50.560
And I prepare Tails for memory erasure tests 0.399
When I fill a 128 MiB file with a known pattern on the persistent filesystem 23.642
When I trigger shutdown 0.015
Then I find very few patterns in the guest's memory after 20 seconds 21.164

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

After features/support/hooks.rb:326 3.541
After features/support/hooks.rb:100 0.013