Project Number Date
test_Tails_ISO_stable 5622 02 May 2025, 12:48

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:12.638 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.
23.697
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.203
And I prepare Tails for memory erasure tests 0.420
When I start a process allocating 128 MiB of memory with a known pattern 2.402
Then patterns cover at least 128 MiB in the guest's memory 3.665

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

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

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

After features/support/hooks.rb:330 0.620
After features/support/hooks.rb:100 0.000
26.514
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.173
And I prepare Tails for memory erasure tests 0.458
And I find very few patterns in the guest's memory 3.751

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

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

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

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

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

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

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

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

Pattern coverage: 89.022% (113 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:330 3.746
After features/support/hooks.rb:100 0.000
7:21.318
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 6:38.415
And I prepare Tails for memory erasure tests 0.405
When I fill a 128 MiB file with a known pattern on the persistent filesystem 21.242
When I trigger shutdown 0.017
Then I find very few patterns in the guest's memory after 20 seconds 21.237

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

After features/support/hooks.rb:330 3.506
After features/support/hooks.rb:100 0.012