Project Number Date
test_Tails_ISO_21027-fix-interactive-debugging-context 15 30 Jun 2025, 21:11

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 15:19.714 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.200
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 15.897
And I prepare Tails for memory erasure tests 0.420
When I start a process allocating 128 MiB of memory with a known pattern 1.351
Then patterns cover at least 128 MiB in the guest's memory 3.770

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

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

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

After features/support/hooks.rb:330 0.671
After features/support/hooks.rb:100 0.000
36.865
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.538
And I prepare Tails for memory erasure tests 0.418
And I find very few patterns in the guest's memory 9.603

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

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

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

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

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

After features/support/hooks.rb:330 1.708
After features/support/hooks.rb:100 0.000
1:4.261
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Given I have started Tails from DVD without network and logged in 8.830
And I prepare Tails for memory erasure tests 0.559
When I plug and mount a 128 MiB USB drive with a vfat filesystem 16.524
Then I find very few patterns in the guest's memory 3.952

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

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

Pattern coverage: 86.518% (110 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:330 4.002
After features/support/hooks.rb:100 0.000
10:3.775
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.009
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9:12.668
And I prepare Tails for memory erasure tests 0.480
When I fill a 128 MiB file with a known pattern on the persistent filesystem 24.220
When I trigger shutdown 0.175
Then I find very few patterns in the guest's memory after 20 seconds 26.229

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

After features/support/hooks.rb:330 3.825
After features/support/hooks.rb:100 0.014