Project Number Date
test_Tails_ISO_stable 5058 30 Aug 2024, 08:32

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

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 91.790% (117 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.517
After features/support/hooks.rb:100 0.000
7:57.623
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7:7.969
And I prepare Tails for memory erasure tests 0.423
When I fill a 128 MiB file with a known pattern on the persistent filesystem 28.002
When I trigger shutdown 0.012
Then I find very few patterns in the guest's memory after 20 seconds 21.214

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

After features/support/hooks.rb:326 3.511
After features/support/hooks.rb:100 0.012