Project Number Date
test_Tails_ISO_stable 5523 20 Mar 2025, 13:28

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 12:6.964 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.
27.902
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 11.158
And I prepare Tails for memory erasure tests 0.669
When I start a process allocating 128 MiB of memory with a known pattern 2.926
Then patterns cover at least 128 MiB in the guest's memory 3.917

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

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

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

After features/support/hooks.rb:330 0.833
After features/support/hooks.rb:100 0.000
29.567
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.974
And I prepare Tails for memory erasure tests 0.452
And I find very few patterns in the guest's memory 3.907

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

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

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

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

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

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

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

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

Pattern coverage: 87.807% (112 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:330 3.466
After features/support/hooks.rb:100 0.000
8:3.879
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:17.386
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 24.774
When I trigger shutdown 0.013
Then I find very few patterns in the guest's memory after 20 seconds 21.277

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

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