Project Number Date
test_Tails_ISO_18530-do-not-restart-tor 5 11 Nov 2024, 10:19

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.483
After features/support/hooks.rb:100 0.000
7:8.392
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:24.239
And I prepare Tails for memory erasure tests 0.405
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.304
When I trigger shutdown 0.023
Then I find very few patterns in the guest's memory after 20 seconds 21.419

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

After features/support/hooks.rb:326 3.548
After features/support/hooks.rb:100 0.019