Project Number Date
test_Tails_ISO_devel 3880 23 Jun 2025, 12:03

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 36:28.229 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.
1:0.346
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 27.821
And I prepare Tails for memory erasure tests 2.429
When I start a process allocating 128 MiB of memory with a known pattern 3.827
Then patterns cover at least 128 MiB in the guest's memory 6.924

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

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

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

After features/support/hooks.rb:330 1.359
After features/support/hooks.rb:100 0.000
1:15.405
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 26.227
And I prepare Tails for memory erasure tests 6.387
And I find very few patterns in the guest's memory 7.485

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 2.287
Then patterns cover at least 99% of the test FS size in the guest's memory 15.404

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

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

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

After features/support/hooks.rb:330 1.587
After features/support/hooks.rb:100 0.000
2:0.606
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails from DVD without network and logged in 28.179
And I prepare Tails for memory erasure tests 4.350
When I plug and mount a 128 MiB USB drive with a vfat filesystem 16.811
Then I find very few patterns in the guest's memory 11.846

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

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

Pattern coverage: 86.934% (110 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

After features/support/hooks.rb:330 1.289
After features/support/hooks.rb:100 0.000
2:19.116
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 26.132
And I prepare Tails for memory erasure tests 3.776
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 40.357
Then I find very few patterns in the guest's memory 9.235

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

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

Pattern coverage: 99.312% (90 MiB out of 91 MiB reference memory)

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

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

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

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

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

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

After features/support/hooks.rb:330 1.518
After features/support/hooks.rb:100 0.001
1:56.355
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails from DVD without network and logged in 46.411
And I prepare Tails for memory erasure tests 4.303
When I fill a 128 MiB file with a known pattern on the root filesystem 26.740
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 3.670
Then patterns cover at least 128 MiB in the guest's memory 13.061

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

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

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

After features/support/hooks.rb:330 3.770
After features/support/hooks.rb:100 0.000
27:56.399
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 26:42.377
And I prepare Tails for memory erasure tests 0.737
When I fill a 128 MiB file with a known pattern on the persistent filesystem 42.914
When I trigger shutdown 2.295
Then I find very few patterns in the guest's memory after 20 seconds 28.074

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

After features/support/hooks.rb:330 3.493
After features/support/hooks.rb:100 0.063