Project Number Date
test_Tails_ISO_stable 5411 22 Jan 2025, 08:51

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:29.014 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.
22.602
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.008
And I prepare Tails for memory erasure tests 0.656
When I start a process allocating 128 MiB of memory with a known pattern 1.273
Then patterns cover at least 128 MiB in the guest's memory 3.519

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

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

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

After features/support/hooks.rb:326 0.980
After features/support/hooks.rb:100 0.000
31.706
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 9.355
And I prepare Tails for memory erasure tests 0.421
And I find very few patterns in the guest's memory 2.530

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

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

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

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

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

After features/support/hooks.rb:326 0.889
After features/support/hooks.rb:100 0.000
51.015
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.186
And I prepare Tails for memory erasure tests 0.574
When I plug and mount a 128 MiB USB drive with a vfat filesystem 9.115
Then I find very few patterns in the guest's memory 3.667

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

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

Pattern coverage: 86.705% (110 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

After features/support/hooks.rb:326 1.535
After features/support/hooks.rb:100 0.000
1:21.331
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 7.961
And I prepare Tails for memory erasure tests 0.478
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 42.774
Then I find very few patterns in the guest's memory 2.382

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 0.935
After features/support/hooks.rb:100 0.000
52.391
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 7.893
And I prepare Tails for memory erasure tests 0.485
When I fill a 128 MiB file with a known pattern on the root filesystem 15.566
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 4.828
Then patterns cover at least 128 MiB in the guest's memory 2.809

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

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

After features/support/hooks.rb:326 3.498
After features/support/hooks.rb:100 0.000
7:29.965
Before features/support/hooks.rb:269 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 6:45.065
And I prepare Tails for memory erasure tests 0.432
When I fill a 128 MiB file with a known pattern on the persistent filesystem 23.210
When I trigger shutdown 0.017
Then I find very few patterns in the guest's memory after 20 seconds 21.238

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

After features/support/hooks.rb:326 4.016
After features/support/hooks.rb:100 0.011