Project Number Date
test_Tails_ISO_stable 5587 22 Apr 2025, 13:11

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:28.674 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.009
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.246
And I prepare Tails for memory erasure tests 0.410
When I start a process allocating 128 MiB of memory with a known pattern 2.407
Then patterns cover at least 128 MiB in the guest's memory 4.282

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

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

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

After features/support/hooks.rb:330 0.638
After features/support/hooks.rb:100 0.000
26.344
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.417
And I prepare Tails for memory erasure tests 0.453
And I find very few patterns in the guest's memory 3.780

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:330 3.539
After features/support/hooks.rb:100 0.013