Project Number Date
test_Tails_ISO_feature-arti 22 08 Apr 2025, 16:30

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:12.985 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.663
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 8.000
And I prepare Tails for memory erasure tests 0.564
When I start a process allocating 128 MiB of memory with a known pattern 2.650
Then patterns cover at least 128 MiB in the guest's memory 3.360

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

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

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

After features/support/hooks.rb:330 0.842
After features/support/hooks.rb:100 0.000
23.806
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.834
And I prepare Tails for memory erasure tests 0.392
And I find very few patterns in the guest's memory 3.490

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

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

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

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

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

After features/support/hooks.rb:330 0.735
After features/support/hooks.rb:100 0.000
47.259
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 8.011
And I prepare Tails for memory erasure tests 0.488
When I plug and mount a 128 MiB USB drive with a vfat filesystem 9.952
Then I find very few patterns in the guest's memory 3.623

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

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

Pattern coverage: 87.491% (111 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

After features/support/hooks.rb:330 1.051
After features/support/hooks.rb:100 0.000
1:16.331
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.917
And I prepare Tails for memory erasure tests 0.522
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 39.429
Then I find very few patterns in the guest's memory 3.100

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:330 1.461
After features/support/hooks.rb:100 0.000
50.863
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.912
And I prepare Tails for memory erasure tests 0.443
When I fill a 128 MiB file with a known pattern on the root filesystem 16.123
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 1.817
Then patterns cover at least 128 MiB in the guest's memory 3.035

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 21.517

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

After features/support/hooks.rb:330 3.516
After features/support/hooks.rb:100 0.000
7:30.060
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:44.611
And I prepare Tails for memory erasure tests 0.389
When I fill a 128 MiB file with a known pattern on the persistent filesystem 23.831
When I trigger shutdown 0.013
Then I find very few patterns in the guest's memory after 20 seconds 21.214

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

After features/support/hooks.rb:330 3.558
After features/support/hooks.rb:100 0.012