Project Number Date
test_Tails_ISO_stable 5410 21 Jan 2025, 19:57

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

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

When I kill the allocating process 1.090
Then I find very few patterns in the guest's memory after 5 seconds 8.766

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 88.597% (113 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.508
After features/support/hooks.rb:100 0.000
7:39.945
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 6:53.706
And I prepare Tails for memory erasure tests 0.420
When I fill a 128 MiB file with a known pattern on the persistent filesystem 24.545
When I trigger shutdown 0.015
Then I find very few patterns in the guest's memory after 20 seconds 21.257

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

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