Project Number Date
test_Tails_ISO_codespell 5 18 Jun 2025, 16:28

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:47.882 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.
28.051
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.105
And I prepare Tails for memory erasure tests 0.482
When I start a process allocating 128 MiB of memory with a known pattern 3.576
Then patterns cover at least 128 MiB in the guest's memory 5.039

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

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

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

After features/support/hooks.rb:330 0.850
After features/support/hooks.rb:100 0.000
32.541
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 11.678
And I prepare Tails for memory erasure tests 0.428
And I find very few patterns in the guest's memory 4.890

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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 21.427

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

After features/support/hooks.rb:330 3.546
After features/support/hooks.rb:100 0.000
8:13.359
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 7:23.700
And I prepare Tails for memory erasure tests 0.564
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.948
When I trigger shutdown 0.012
Then I find very few patterns in the guest's memory after 20 seconds 26.132

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

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