Project Number Date
test_Tails_ISO_stable 5546 03 Apr 2025, 02:40

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:18.346 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.
23.828
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.568
And I prepare Tails for memory erasure tests 0.427
When I start a process allocating 128 MiB of memory with a known pattern 2.628
Then patterns cover at least 128 MiB in the guest's memory 3.618

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

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

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

After features/support/hooks.rb:330 0.792
After features/support/hooks.rb:100 0.000
26.646
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.168
And I prepare Tails for memory erasure tests 0.542
And I find very few patterns in the guest's memory 3.307

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

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

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

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

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

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

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.672
Then patterns cover at least 75% of the test FS size in the guest's memory 3.812

Pattern coverage: 84.788% (108 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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