Project Number Date
test_Tails_ISO_20898-tinyrpc-drop 4 16 Apr 2025, 21: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 11:17.423 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.323
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 9.177
And I prepare Tails for memory erasure tests 0.467
When I start a process allocating 128 MiB of memory with a known pattern 2.304
Then patterns cover at least 128 MiB in the guest's memory 4.445

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

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

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

After features/support/hooks.rb:330 1.129
After features/support/hooks.rb:100 0.000
26.307
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.640
And I prepare Tails for memory erasure tests 0.438
And I find very few patterns in the guest's memory 3.607

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

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

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

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

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

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

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

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

Pattern coverage: 88.936% (113 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:330 2.897
After features/support/hooks.rb:100 0.000
53.115
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.147
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 17.735
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 2.702
Then patterns cover at least 128 MiB in the guest's memory 3.210

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

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

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

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

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