Project Number Date
test_Tails_ISO_stable 5761 07 Jul 2025, 14:40

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 14:56.956 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.
34.385
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.612
And I prepare Tails for memory erasure tests 2.038
When I start a process allocating 128 MiB of memory with a known pattern 2.936
Then patterns cover at least 128 MiB in the guest's memory 5.397

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

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

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

After features/support/hooks.rb:330 2.170
After features/support/hooks.rb:100 0.000
30.065
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Given I have started Tails from DVD without network and logged in 8.896
And I prepare Tails for memory erasure tests 0.507
And I find very few patterns in the guest's memory 7.688

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

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

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

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

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

After features/support/hooks.rb:330 2.708
After features/support/hooks.rb:100 0.000
1:7.890
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.053
Given I have started Tails from DVD without network and logged in 12.962
And I prepare Tails for memory erasure tests 0.562
When I plug and mount a 128 MiB USB drive with a vfat filesystem 14.425
Then I find very few patterns in the guest's memory 3.531

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:330 6.021
After features/support/hooks.rb:100 0.001
1:0.507
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.024
Given I have started Tails from DVD without network and logged in 10.018
And I prepare Tails for memory erasure tests 0.595
When I fill a 128 MiB file with a known pattern on the root filesystem 18.908
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 2.279
Then patterns cover at least 128 MiB in the guest's memory 6.030

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

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

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

After features/support/hooks.rb:330 4.217
After features/support/hooks.rb:100 0.000
9:55.801
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9:5.991
And I prepare Tails for memory erasure tests 0.544
When I fill a 128 MiB file with a known pattern on the persistent filesystem 24.682
When I trigger shutdown 0.246
Then I find very few patterns in the guest's memory after 20 seconds 24.335

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

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