Project Number Date
test_Tails_ISO_devel 3641 09 Jan 2025, 12:39

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 0.831
After features/support/hooks.rb:100 0.000
56.078
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 9.752
And I prepare Tails for memory erasure tests 0.634
When I plug and mount a 128 MiB USB drive with a vfat filesystem 11.661
Then I find very few patterns in the guest's memory 5.834

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.535
After features/support/hooks.rb:100 0.000
7:24.248
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:40.207
And I prepare Tails for memory erasure tests 0.954
When I fill a 128 MiB file with a known pattern on the persistent filesystem 21.843
When I trigger shutdown 0.018
Then I find very few patterns in the guest's memory after 20 seconds 21.224

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

After features/support/hooks.rb:326 3.492
After features/support/hooks.rb:100 0.012