Project Number Date
test_Tails_ISO_stable 5504 10 Mar 2025, 12:54

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:43.943 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.430
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.549
And I prepare Tails for memory erasure tests 0.484
When I start a process allocating 128 MiB of memory with a known pattern 2.433
Then patterns cover at least 128 MiB in the guest's memory 4.513

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

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

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

After features/support/hooks.rb:330 0.755
After features/support/hooks.rb:100 0.000
30.083
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.080
And I prepare Tails for memory erasure tests 0.400
And I find very few patterns in the guest's memory 4.710

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:330 3.499
After features/support/hooks.rb:100 0.000
7:31.917
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 6:46.777
And I prepare Tails for memory erasure tests 0.427
When I fill a 128 MiB file with a known pattern on the persistent filesystem 23.584
When I trigger shutdown 0.012
Then I find very few patterns in the guest's memory after 20 seconds 21.116

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

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