Project Number Date
test_Tails_ISO_devel 3753 25 Mar 2025, 13:20

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 10:48.621 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.
21.835
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 7.941
And I prepare Tails for memory erasure tests 0.531
When I start a process allocating 128 MiB of memory with a known pattern 1.191
Then patterns cover at least 128 MiB in the guest's memory 3.417

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

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

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

After features/support/hooks.rb:330 0.681
After features/support/hooks.rb:100 0.000
23.003
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 7.817
And I prepare Tails for memory erasure tests 0.547
And I find very few patterns in the guest's memory 3.035

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

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

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

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

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

After features/support/hooks.rb:330 0.717
After features/support/hooks.rb:100 0.000
45.040
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 7.958
And I prepare Tails for memory erasure tests 0.354
When I plug and mount a 128 MiB USB drive with a vfat filesystem 9.091
Then I find very few patterns in the guest's memory 2.704

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

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

Pattern coverage: 86.744% (110 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

After features/support/hooks.rb:330 0.824
After features/support/hooks.rb:100 0.000
1:7.834
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 7.927
And I prepare Tails for memory erasure tests 0.425
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 32.185
Then I find very few patterns in the guest's memory 2.586

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:330 1.451
After features/support/hooks.rb:100 0.000
49.854
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 7.859
And I prepare Tails for memory erasure tests 0.470
When I fill a 128 MiB file with a known pattern on the root filesystem 16.356
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 1.836
Then patterns cover at least 128 MiB in the guest's memory 2.540

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

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

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

After features/support/hooks.rb:330 3.508
After features/support/hooks.rb:100 0.000
7:21.052
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:36.072
And I prepare Tails for memory erasure tests 0.935
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.878
When I trigger shutdown 0.013
Then I find very few patterns in the guest's memory after 20 seconds 21.153

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

After features/support/hooks.rb:330 3.601
After features/support/hooks.rb:100 0.009