Project Number Date
test_Tails_ISO_stable 5550 03 Apr 2025, 15:03

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:52.654 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.
28.763
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.185
And I prepare Tails for memory erasure tests 0.446
When I start a process allocating 128 MiB of memory with a known pattern 2.319
Then patterns cover at least 128 MiB in the guest's memory 4.335

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

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

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

After features/support/hooks.rb:330 1.999
After features/support/hooks.rb:100 0.000
27.732
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.681
And I prepare Tails for memory erasure tests 0.423
And I find very few patterns in the guest's memory 3.526

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

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

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

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

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

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

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

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

Pattern coverage: 90.433% (115 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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