Project Number Date
test_Tails_ISO_20263-test-suite-without-spice 13 20 Mar 2025, 02:43

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 10:34.114 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.
24.197
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails from DVD without network and logged in 7.808
And I prepare Tails for memory erasure tests 1.127
When I start a process allocating 128 MiB of memory with a known pattern 2.360
Then patterns cover at least 128 MiB in the guest's memory 3.301

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

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

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

After features/support/hooks.rb:330 0.769
After features/support/hooks.rb:100 0.000
21.262
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails from DVD without network and logged in 7.672
And I prepare Tails for memory erasure tests 0.400
And I find very few patterns in the guest's memory 2.380

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

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

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

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

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

After features/support/hooks.rb:330 0.708
After features/support/hooks.rb:100 0.000
43.578
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails from DVD without network and logged in 7.676
And I prepare Tails for memory erasure tests 0.409
When I plug and mount a 128 MiB USB drive with a vfat filesystem 9.975
Then I find very few patterns in the guest's memory 2.901

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

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

Pattern coverage: 90.957% (116 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

After features/support/hooks.rb:330 0.889
After features/support/hooks.rb:100 0.000
1:12.693
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails from DVD without network and logged in 7.664
And I prepare Tails for memory erasure tests 0.372
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 38.803
Then I find very few patterns in the guest's memory 2.446

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:330 1.005
After features/support/hooks.rb:100 0.000
49.903
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails from DVD without network and logged in 7.639
And I prepare Tails for memory erasure tests 0.358
When I fill a 128 MiB file with a known pattern on the root filesystem 16.947
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 2.044
Then patterns cover at least 128 MiB in the guest's memory 2.163

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

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

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

After features/support/hooks.rb:330 3.513
After features/support/hooks.rb:100 0.000
7:2.478
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 6:17.251
And I prepare Tails for memory erasure tests 0.766
When I fill a 128 MiB file with a known pattern on the persistent filesystem 23.303
When I trigger shutdown 0.017
Then I find very few patterns in the guest's memory after 20 seconds 21.139

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

After features/support/hooks.rb:330 3.497
After features/support/hooks.rb:100 0.011