Project Number Date
test_Tails_ISO_stable 5039 21 Aug 2024, 08:37

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

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 90.146% (115 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

# read cache
When I mount the USB drive again 4.755
And I read the content of the test FS 1.569
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 2.121
Then I find very few patterns in the guest's memory after 3 seconds 6.439

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

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

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

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

After features/support/hooks.rb:326 3.511
After features/support/hooks.rb:100 0.000
7:24.995
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 6:39.012
And I prepare Tails for memory erasure tests 0.447
When I fill a 128 MiB file with a known pattern on the persistent filesystem 24.174
When I trigger shutdown 0.012
Then I find very few patterns in the guest's memory after 20 seconds 21.349

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

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