Project Number Date
test_Tails_ISO_devel 3891 29 Jun 2025, 13:55

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:52.636 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.
44.716
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.013
Given I have started Tails from DVD without network and logged in 12.754
And I prepare Tails for memory erasure tests 1.147
When I start a process allocating 128 MiB of memory with a known pattern 3.706
Then patterns cover at least 128 MiB in the guest's memory 10.779

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

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

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

After features/support/hooks.rb:330 1.807
After features/support/hooks.rb:100 0.000
38.160
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Given I have started Tails from DVD without network and logged in 10.304
And I prepare Tails for memory erasure tests 0.479
And I find very few patterns in the guest's memory 10.366

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

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

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

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

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

After features/support/hooks.rb:330 1.272
After features/support/hooks.rb:100 0.000
1:5.281
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.008
Given I have started Tails from DVD without network and logged in 9.269
And I prepare Tails for memory erasure tests 0.695
When I plug and mount a 128 MiB USB drive with a vfat filesystem 14.315
Then I find very few patterns in the guest's memory 2.720

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:330 0.975
After features/support/hooks.rb:100 0.001
1:29.873
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.008
Given I have started Tails from DVD without network and logged in 14.159
And I prepare Tails for memory erasure tests 0.727
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 29.966
Then I find very few patterns in the guest's memory 11.295

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:330 3.747
After features/support/hooks.rb:100 0.000
9:49.599
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 9:0.743
And I prepare Tails for memory erasure tests 0.571
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.657
When I trigger shutdown 0.043
Then I find very few patterns in the guest's memory after 20 seconds 25.583

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

After features/support/hooks.rb:330 4.137
After features/support/hooks.rb:100 0.020