Project Number Date
test_Tails_ISO_tca-misc-improvements 2 09 Apr 2025, 18:29

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:11.151 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.285
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails from DVD without network and logged in 8.033
And I prepare Tails for memory erasure tests 0.424
When I start a process allocating 128 MiB of memory with a known pattern 1.167
Then patterns cover at least 128 MiB in the guest's memory 3.605

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

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

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

After features/support/hooks.rb:330 0.673
After features/support/hooks.rb:100 0.000
25.055
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.078
And I prepare Tails for memory erasure tests 0.401
And I find very few patterns in the guest's memory 3.772

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

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

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

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

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

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

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

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

Pattern coverage: 89.989% (114 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:330 3.519
After features/support/hooks.rb:100 0.037