Project Number Date
test_Tails_ISO_devel 3678 03 Feb 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:3.052 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.068
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.095
And I prepare Tails for memory erasure tests 0.462
When I start a process allocating 128 MiB of memory with a known pattern 1.235
Then patterns cover at least 128 MiB in the guest's memory 3.445

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 1.270
After features/support/hooks.rb:100 0.000
1:13.979
Before features/support/hooks.rb:269 0.008
Given I have started Tails from DVD without network and logged in 8.106
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.033
Then I find very few patterns in the guest's memory 2.662

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.510
After features/support/hooks.rb:100 0.000
7:30.658
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.970
And I prepare Tails for memory erasure tests 0.381
When I fill a 128 MiB file with a known pattern on the persistent filesystem 23.132
When I trigger shutdown 0.027
Then I find very few patterns in the guest's memory after 20 seconds 21.145

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

After features/support/hooks.rb:326 3.518
After features/support/hooks.rb:100 0.010