Project Number Date
test_Tails_ISO_tca-remove-cruft 10 17 May 2025, 10:09

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:45.367 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.
24.063
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.113
And I prepare Tails for memory erasure tests 0.420
When I start a process allocating 128 MiB of memory with a known pattern 2.346
Then patterns cover at least 128 MiB in the guest's memory 3.402

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

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

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

After features/support/hooks.rb:330 0.742
After features/support/hooks.rb:100 0.000
25.077
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.116
And I prepare Tails for memory erasure tests 0.445
And I find very few patterns in the guest's memory 3.691

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:330 3.522
After features/support/hooks.rb:100 0.000
7:4.804
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:19.582
And I prepare Tails for memory erasure tests 0.500
When I fill a 128 MiB file with a known pattern on the persistent filesystem 23.445
When I trigger shutdown 0.013
Then I find very few patterns in the guest's memory after 20 seconds 21.263

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

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