Project Number Date
test_Tails_ISO_codespell 16 30 Jun 2025, 11:01

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 15:30.273 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.
32.659
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 13.299
And I prepare Tails for memory erasure tests 1.324
When I start a process allocating 128 MiB of memory with a known pattern 1.598
Then patterns cover at least 128 MiB in the guest's memory 4.031

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

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

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

After features/support/hooks.rb:330 2.367
After features/support/hooks.rb:100 0.000
39.139
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.232
And I prepare Tails for memory erasure tests 0.904
And I find very few patterns in the guest's memory 10.460

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

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

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

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

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

After features/support/hooks.rb:330 1.999
After features/support/hooks.rb:100 0.000
1:3.769
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.604
And I prepare Tails for memory erasure tests 0.573
When I plug and mount a 128 MiB USB drive with a vfat filesystem 14.494
Then I find very few patterns in the guest's memory 2.691

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

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

Pattern coverage: 87.654% (111 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

After features/support/hooks.rb:330 1.293
After features/support/hooks.rb:100 0.000
2:4.369
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 15.195
And I prepare Tails for memory erasure tests 0.731
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 50.405
Then I find very few patterns in the guest's memory 10.292

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:330 4.459
After features/support/hooks.rb:100 0.003
1:7.150
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.169
Given I have started Tails from DVD without network and logged in 13.939
And I prepare Tails for memory erasure tests 0.923
When I fill a 128 MiB file with a known pattern on the root filesystem 18.337
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 2.540
Then patterns cover at least 128 MiB in the guest's memory 9.961

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

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

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

After features/support/hooks.rb:330 3.594
After features/support/hooks.rb:100 0.000
10:3.184
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 9:17.596
And I prepare Tails for memory erasure tests 0.443
When I fill a 128 MiB file with a known pattern on the persistent filesystem 23.771
When I trigger shutdown 0.015
Then I find very few patterns in the guest's memory after 20 seconds 21.356

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

After features/support/hooks.rb:330 4.499
After features/support/hooks.rb:100 0.119