Project Number Date
test_Tails_ISO_devel 3870 16 Jun 2025, 16: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 15:10.670 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.
48.159
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.010
Given I have started Tails from DVD without network and logged in 13.773
And I prepare Tails for memory erasure tests 0.542
When I start a process allocating 128 MiB of memory with a known pattern 2.292
Then patterns cover at least 128 MiB in the guest's memory 14.074

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

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

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

After features/support/hooks.rb:330 1.419
After features/support/hooks.rb:100 0.000
51.882
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 10.837
And I prepare Tails for memory erasure tests 1.015
And I find very few patterns in the guest's memory 10.177

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

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

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

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

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

After features/support/hooks.rb:330 1.146
After features/support/hooks.rb:100 0.000
1:12.252
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 13.307
And I prepare Tails for memory erasure tests 0.631
When I plug and mount a 128 MiB USB drive with a vfat filesystem 14.948
Then I find very few patterns in the guest's memory 4.534

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

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

Pattern coverage: 87.586% (111 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:330 3.648
After features/support/hooks.rb:100 0.000
9:44.003
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 8:59.961
And I prepare Tails for memory erasure tests 0.421
When I fill a 128 MiB file with a known pattern on the persistent filesystem 21.985
When I trigger shutdown 0.020
Then I find very few patterns in the guest's memory after 20 seconds 21.614

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

After features/support/hooks.rb:330 5.084
After features/support/hooks.rb:100 0.044