Project Number Date
test_Tails_ISO_devel 3623 26 Dec 2024, 12:30

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 84.311% (107 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.550
After features/support/hooks.rb:100 0.011