Project Number Date
test_Tails_ISO_devel 3732 11 Mar 2025, 13:06

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:43.181 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.030
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails from DVD without network and logged in 8.637
And I prepare Tails for memory erasure tests 0.457
When I start a process allocating 128 MiB of memory with a known pattern 2.402
Then patterns cover at least 128 MiB in the guest's memory 4.407

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

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

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

After features/support/hooks.rb:330 1.268
After features/support/hooks.rb:100 0.000
27.723
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails from DVD without network and logged in 8.533
And I prepare Tails for memory erasure tests 0.426
And I find very few patterns in the guest's memory 3.944

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

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

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

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

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

After features/support/hooks.rb:330 0.912
After features/support/hooks.rb:100 0.000
59.210
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails from DVD without network and logged in 8.539
And I prepare Tails for memory erasure tests 0.471
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.307
Then I find very few patterns in the guest's memory 3.665

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

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

Pattern coverage: 89.717% (114 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

After features/support/hooks.rb:330 1.115
After features/support/hooks.rb:100 0.000
1:20.372
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails from DVD without network and logged in 8.305
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" 35.957
Then I find very few patterns in the guest's memory 3.008

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:330 1.364
After features/support/hooks.rb:100 0.000
52.261
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails from DVD without network and logged in 8.801
And I prepare Tails for memory erasure tests 0.514
When I fill a 128 MiB file with a known pattern on the root filesystem 15.668
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 3.430
Then patterns cover at least 128 MiB in the guest's memory 2.940

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

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

After features/support/hooks.rb:330 3.601
After features/support/hooks.rb:100 0.000
7:38.582
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 6:54.547
And I prepare Tails for memory erasure tests 0.399
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.429
When I trigger shutdown 0.019
Then I find very few patterns in the guest's memory after 20 seconds 21.186

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

After features/support/hooks.rb:330 3.540
After features/support/hooks.rb:100 0.020