Project Number Date
test_Tails_ISO_stable 5636 08 May 2025, 18:44

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:41.821 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.
26.036
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 9.324
And I prepare Tails for memory erasure tests 0.575
When I start a process allocating 128 MiB of memory with a known pattern 3.633
Then patterns cover at least 128 MiB in the guest's memory 3.790

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

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

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

After features/support/hooks.rb:330 0.695
After features/support/hooks.rb:100 0.000
28.768
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 9.630
And I prepare Tails for memory erasure tests 0.599
And I find very few patterns in the guest's memory 4.785

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

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

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

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

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

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

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

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

Pattern coverage: 87.990% (112 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:330 3.551
After features/support/hooks.rb:100 0.000
7:45.424
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:57.490
And I prepare Tails for memory erasure tests 0.489
When I fill a 128 MiB file with a known pattern on the persistent filesystem 26.151
When I trigger shutdown 0.012
Then I find very few patterns in the guest's memory after 20 seconds 21.280

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

After features/support/hooks.rb:330 3.552
After features/support/hooks.rb:100 0.011