Project Number Date
test_Tails_ISO_feature-arti 38 23 Apr 2025, 17:04

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:33.532 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.
26.129
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 9.126
And I prepare Tails for memory erasure tests 0.549
When I start a process allocating 128 MiB of memory with a known pattern 2.487
Then patterns cover at least 128 MiB in the guest's memory 4.312

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

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

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

After features/support/hooks.rb:330 0.843
After features/support/hooks.rb:100 0.000
28.278
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 9.449
And I prepare Tails for memory erasure tests 0.706
And I find very few patterns in the guest's memory 4.533

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

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

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

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

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

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

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

Pattern coverage: 89.916% (114 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:330 3.551
After features/support/hooks.rb:100 0.000
8:30.649
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7:43.107
And I prepare Tails for memory erasure tests 0.497
When I fill a 128 MiB file with a known pattern on the persistent filesystem 25.672
When I trigger shutdown 0.012
Then I find very few patterns in the guest's memory after 20 seconds 21.358

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

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