Project Number Date
test_Tails_ISO_codespell 8 22 Jun 2025, 11:16

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 12:26.163 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.
27.034
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 11.280
And I prepare Tails for memory erasure tests 0.529
When I start a process allocating 128 MiB of memory with a known pattern 2.381
Then patterns cover at least 128 MiB in the guest's memory 3.135

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

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

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

After features/support/hooks.rb:330 0.690
After features/support/hooks.rb:100 0.000
27.454
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.659
And I prepare Tails for memory erasure tests 0.565
And I find very few patterns in the guest's memory 3.062

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

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

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

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

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

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

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

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

Pattern coverage: 91.428% (116 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:330 3.785
After features/support/hooks.rb:100 0.000
8:22.221
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 7:37.908
And I prepare Tails for memory erasure tests 0.618
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.643
When I trigger shutdown 0.012
Then I find very few patterns in the guest's memory after 20 seconds 21.039

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

After features/support/hooks.rb:330 3.521
After features/support/hooks.rb:100 0.018