Project Number Date
test_Tails_ISO_tca-misc-improvements 5 12 Apr 2025, 18: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:50.303 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.087
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.117
And I prepare Tails for memory erasure tests 0.544
When I start a process allocating 128 MiB of memory with a known pattern 2.431
Then patterns cover at least 128 MiB in the guest's memory 4.060

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

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

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

After features/support/hooks.rb:330 1.309
After features/support/hooks.rb:100 0.000
25.369
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.131
And I prepare Tails for memory erasure tests 0.461
And I find very few patterns in the guest's memory 3.662

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

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

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

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

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

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

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

Pattern coverage: 87.935% (112 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:330 1.031
After features/support/hooks.rb:100 0.000
48.845
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.405
When I fill a 128 MiB file with a known pattern on the root filesystem 15.228
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 2.010
Then patterns cover at least 128 MiB in the guest's memory 2.157

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

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

After features/support/hooks.rb:330 3.538
After features/support/hooks.rb:100 0.000
7:5.757
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:18.307
And I prepare Tails for memory erasure tests 0.445
When I fill a 128 MiB file with a known pattern on the persistent filesystem 25.688
When I trigger shutdown 0.016
Then I find very few patterns in the guest's memory after 20 seconds 21.300

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

After features/support/hooks.rb:330 3.530
After features/support/hooks.rb:100 0.009