Project Number Date
test_Tails_ISO_15451-support-manual-fsck-on-error 46 27 Aug 2024, 13:40

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:42.090 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.
21.778
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 8.178
And I prepare Tails for memory erasure tests 0.474
When I start a process allocating 128 MiB of memory with a known pattern 2.376
Then patterns cover at least 128 MiB in the guest's memory 3.373

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

When I kill the allocating process 1.607
Then I find very few patterns in the guest's memory after 3 seconds 5.768

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

After features/support/hooks.rb:326 1.038
After features/support/hooks.rb:100 0.000
25.206
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 7.952
And I prepare Tails for memory erasure tests 0.535
And I find very few patterns in the guest's memory 3.682

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

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

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

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

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

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

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

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

Pattern coverage: 85.214% (108 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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 20.722

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

After features/support/hooks.rb:326 3.558
After features/support/hooks.rb:100 0.000
7:18.525
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:33.890
And I prepare Tails for memory erasure tests 0.418
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.954
When I trigger shutdown 0.012
Then I find very few patterns in the guest's memory after 20 seconds 21.249

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

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