Project Number Date
test_Tails_ISO_stable 5531 26 Mar 2025, 13:36

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:13.536 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.898
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.481
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.985
Then patterns cover at least 128 MiB in the guest's memory 5.583

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

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

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

After features/support/hooks.rb:330 0.687
After features/support/hooks.rb:100 0.000
27.204
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.412
And I prepare Tails for memory erasure tests 0.483
And I find very few patterns in the guest's memory 4.451

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

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

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

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

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

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

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

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

Pattern coverage: 86.604% (110 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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 21.089

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

After features/support/hooks.rb:330 3.558
After features/support/hooks.rb:100 0.000
7:15.087
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:29.409
And I prepare Tails for memory erasure tests 0.394
When I fill a 128 MiB file with a known pattern on the persistent filesystem 24.048
When I trigger shutdown 0.011
Then I find very few patterns in the guest's memory after 20 seconds 21.223

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

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