Project Number Date
test_Tails_ISO_20530-tca-controls-tor-flag-file 74 03 Jan 2025, 20:48

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 1.415
After features/support/hooks.rb:100 0.000
50.478
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.159
And I prepare Tails for memory erasure tests 0.516
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 2.545
Then patterns cover at least 128 MiB in the guest's memory 2.524

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

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

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

After features/support/hooks.rb:326 3.503
After features/support/hooks.rb:100 0.000
7:52.413
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:7.460
And I prepare Tails for memory erasure tests 0.430
When I fill a 128 MiB file with a known pattern on the persistent filesystem 23.212
When I trigger shutdown 0.013
Then I find very few patterns in the guest's memory after 20 seconds 21.297

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

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