Project Number Date
test_Tails_ISO_stable 5524 20 Mar 2025, 23:02

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 10:59.186 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.
25.427
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 10.613
And I prepare Tails for memory erasure tests 0.410
When I start a process allocating 128 MiB of memory with a known pattern 1.236
Then patterns cover at least 128 MiB in the guest's memory 3.937

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

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

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

After features/support/hooks.rb:330 0.795
After features/support/hooks.rb:100 0.000
25.599
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.489
And I prepare Tails for memory erasure tests 0.448
And I find very few patterns in the guest's memory 3.256

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 0.001% (0 MiB out of 880 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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 21.003

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

After features/support/hooks.rb:330 3.503
After features/support/hooks.rb:100 0.000
7:13.170
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:29.403
And I prepare Tails for memory erasure tests 0.437
When I fill a 128 MiB file with a known pattern on the persistent filesystem 21.777
When I trigger shutdown 0.013
Then I find very few patterns in the guest's memory after 20 seconds 21.537

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

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