Project Number Date
test_Tails_ISO_stable 5631 07 May 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 12:32.380 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.
27.890
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.897
And I prepare Tails for memory erasure tests 0.663
When I start a process allocating 128 MiB of memory with a known pattern 2.344
Then patterns cover at least 128 MiB in the guest's memory 4.827

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

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

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

After features/support/hooks.rb:330 1.018
After features/support/hooks.rb:100 0.000
28.251
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.010
Given I have started Tails from DVD without network and logged in 9.015
And I prepare Tails for memory erasure tests 0.515
And I find very few patterns in the guest's memory 3.936

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

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

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

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

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

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

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

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

Pattern coverage: 83.937% (107 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

After features/support/hooks.rb:330 1.244
After features/support/hooks.rb:100 0.000
1:30.872
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails from DVD without network and logged in 9.663
And I prepare Tails for memory erasure tests 0.552
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 44.650
Then I find very few patterns in the guest's memory 4.843

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:330 3.563
After features/support/hooks.rb:100 0.000
8:16.173
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7:32.404
And I prepare Tails for memory erasure tests 0.436
When I fill a 128 MiB file with a known pattern on the persistent filesystem 21.961
When I trigger shutdown 0.014
Then I find very few patterns in the guest's memory after 20 seconds 21.356

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

After features/support/hooks.rb:330 3.609
After features/support/hooks.rb:100 0.016