Project Number Date
test_Tails_ISO_devel 3801 05 May 2025, 18:48

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.970 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.
26.360
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.108
And I prepare Tails for memory erasure tests 0.514
When I start a process allocating 128 MiB of memory with a known pattern 2.395
Then patterns cover at least 128 MiB in the guest's memory 5.323

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

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

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

After features/support/hooks.rb:330 1.029
After features/support/hooks.rb:100 0.000
25.799
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.353
And I prepare Tails for memory erasure tests 0.433
And I find very few patterns in the guest's memory 3.625

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

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

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

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

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

After features/support/hooks.rb:330 0.852
After features/support/hooks.rb:100 0.000
56.021
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Given I have started Tails from DVD without network and logged in 8.302
And I prepare Tails for memory erasure tests 0.483
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.756
Then I find very few patterns in the guest's memory 4.076

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

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

Pattern coverage: 86.175% (109 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:330 3.472
After features/support/hooks.rb:100 0.000
7:43.676
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:56.248
And I prepare Tails for memory erasure tests 1.114
When I fill a 128 MiB file with a known pattern on the persistent filesystem 25.110
When I trigger shutdown 0.016
Then I find very few patterns in the guest's memory after 20 seconds 21.185

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

After features/support/hooks.rb:330 3.550
After features/support/hooks.rb:100 0.013