Project Number Date
test_Tails_ISO_feature-arti 67 23 May 2025, 16:49

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:1.000 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.
22.495
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.082
And I prepare Tails for memory erasure tests 0.457
When I start a process allocating 128 MiB of memory with a known pattern 1.247
Then patterns cover at least 128 MiB in the guest's memory 3.778

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

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

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

After features/support/hooks.rb:330 0.698
After features/support/hooks.rb:100 0.000
25.046
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.249
And I prepare Tails for memory erasure tests 0.576
And I find very few patterns in the guest's memory 3.823

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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.953

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

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

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

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