Project Number Date
test_Tails_ISO_devel 3748 21 Mar 2025, 13:08

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 11:11.821 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.
27.131
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.577
And I prepare Tails for memory erasure tests 0.462
When I start a process allocating 128 MiB of memory with a known pattern 2.752
Then patterns cover at least 128 MiB in the guest's memory 5.319

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

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

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

After features/support/hooks.rb:330 0.718
After features/support/hooks.rb:100 0.000
27.833
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.902
And I prepare Tails for memory erasure tests 0.481
And I find very few patterns in the guest's memory 3.753

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

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

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

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

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

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

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

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

Pattern coverage: 84.632% (107 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

After features/support/hooks.rb:330 0.810
After features/support/hooks.rb:100 0.000
1:16.326
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Given I have started Tails from DVD without network and logged in 8.473
And I prepare Tails for memory erasure tests 0.492
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 37.012
Then I find very few patterns in the guest's memory 2.901

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:330 3.801
After features/support/hooks.rb:100 0.000
7:21.988
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:37.577
And I prepare Tails for memory erasure tests 0.430
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.668
When I trigger shutdown 0.018
Then I find very few patterns in the guest's memory after 20 seconds 21.292

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

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