Project Number Date
test_Tails_ISO_stable 5085 09 Sep 2024, 13:58

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 1.251
After features/support/hooks.rb:100 0.000
53.986
Before features/support/hooks.rb:269 0.004
Given I have started Tails from DVD without network and logged in 8.826
And I prepare Tails for memory erasure tests 0.481
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.236
Then I find very few patterns in the guest's memory 2.974

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

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

Pattern coverage: 90.733% (115 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.482
After features/support/hooks.rb:100 0.000
7:59.804
Before features/support/hooks.rb:269 0.010
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7:16.782
And I prepare Tails for memory erasure tests 0.496
When I fill a 128 MiB file with a known pattern on the persistent filesystem 21.174
When I trigger shutdown 0.018
Then I find very few patterns in the guest's memory after 20 seconds 21.331

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

After features/support/hooks.rb:326 3.585
After features/support/hooks.rb:100 0.014