Project Number Date
test_Tails_ISO_devel 3705 21 Feb 2025, 16:37

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:9.968 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.844
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.720
And I prepare Tails for memory erasure tests 0.686
When I start a process allocating 128 MiB of memory with a known pattern 2.404
Then patterns cover at least 128 MiB in the guest's memory 3.345

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

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

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

After features/support/hooks.rb:330 0.717
After features/support/hooks.rb:100 0.000
23.454
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.034
And I prepare Tails for memory erasure tests 0.437
And I find very few patterns in the guest's memory 3.037

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

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

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

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

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

After features/support/hooks.rb:330 0.769
After features/support/hooks.rb:100 0.000
52.112
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Given I have started Tails from DVD without network and logged in 7.943
And I prepare Tails for memory erasure tests 0.428
When I plug and mount a 128 MiB USB drive with a vfat filesystem 9.970
Then I find very few patterns in the guest's memory 2.972

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

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

Pattern coverage: 83.013% (105 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:330 3.546
After features/support/hooks.rb:100 0.000
7:23.566
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:39.109
And I prepare Tails for memory erasure tests 0.483
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.744
When I trigger shutdown 0.012
Then I find very few patterns in the guest's memory after 20 seconds 21.216

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

After features/support/hooks.rb:330 3.547
After features/support/hooks.rb:100 0.011