Project Number Date
test_Tails_ISO_devel 3660 24 Jan 2025, 17:50

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

# read cache
When I mount the USB drive again 0.240
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 4.121

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.514
After features/support/hooks.rb:100 0.009