Project Number Date
test_Tails_ISO_21027-fix-interactive-debugging-context 4 19 Jun 2025, 00:59

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 14:53.835 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.
36.456
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.536
And I prepare Tails for memory erasure tests 0.400
When I start a process allocating 128 MiB of memory with a known pattern 3.136
Then patterns cover at least 128 MiB in the guest's memory 9.537

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

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

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

After features/support/hooks.rb:330 1.640
After features/support/hooks.rb:100 0.000
35.454
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.021
Given I have started Tails from DVD without network and logged in 9.075
And I prepare Tails for memory erasure tests 0.603
And I find very few patterns in the guest's memory 9.223

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

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

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

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

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

After features/support/hooks.rb:330 1.591
After features/support/hooks.rb:100 0.000
1:7.387
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 10.350
And I prepare Tails for memory erasure tests 0.687
When I plug and mount a 128 MiB USB drive with a vfat filesystem 15.676
Then I find very few patterns in the guest's memory 3.014

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

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

Pattern coverage: 97.637% (124 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:330 3.928
After features/support/hooks.rb:100 0.000
9:38.968
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.012
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 8:47.858
And I prepare Tails for memory erasure tests 1.834
When I fill a 128 MiB file with a known pattern on the persistent filesystem 28.170
When I trigger shutdown 0.016
Then I find very few patterns in the guest's memory after 20 seconds 21.088

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

After features/support/hooks.rb:330 3.670
After features/support/hooks.rb:100 0.023