Project Number Date
test_Tails_ISO_21027-fix-interactive-debugging-context 11 26 Jun 2025, 21:27

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 36:30.686 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.
1:1.313
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 28.257
And I prepare Tails for memory erasure tests 5.202
When I start a process allocating 128 MiB of memory with a known pattern 4.679
Then patterns cover at least 128 MiB in the guest's memory 4.731

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

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

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

After features/support/hooks.rb:330 1.467
After features/support/hooks.rb:100 0.000
1:38.932
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails from DVD without network and logged in 1:6.361
And I prepare Tails for memory erasure tests 2.086
And I find very few patterns in the guest's memory 8.954

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

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

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

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

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

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

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

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

Pattern coverage: 88.241% (112 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

Pattern coverage: 99.303% (90 MiB out of 91 MiB reference memory)

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

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

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

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

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

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

After features/support/hooks.rb:330 1.380
After features/support/hooks.rb:100 0.000
1:42.522
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails from DVD without network and logged in 50.701
And I prepare Tails for memory erasure tests 3.001
When I fill a 128 MiB file with a known pattern on the root filesystem 22.334
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 2.792
Then patterns cover at least 128 MiB in the guest's memory 2.577

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 21.101

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

After features/support/hooks.rb:330 3.654
After features/support/hooks.rb:100 0.000
28:14.820
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 27:18.697
And I prepare Tails for memory erasure tests 0.476
When I fill a 128 MiB file with a known pattern on the persistent filesystem 34.201
When I trigger shutdown 0.012
Then I find very few patterns in the guest's memory after 20 seconds 21.432

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

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