Project Number Date
test_Tails_ISO_stable 5618 30 Apr 2025, 15:54

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:30.837 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.
24.493
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.026
And I prepare Tails for memory erasure tests 0.510
When I start a process allocating 128 MiB of memory with a known pattern 2.068
Then patterns cover at least 128 MiB in the guest's memory 3.881

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

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

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

After features/support/hooks.rb:330 0.845
After features/support/hooks.rb:100 0.000
27.393
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.797
And I prepare Tails for memory erasure tests 0.549
And I find very few patterns in the guest's memory 4.037

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

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

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

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

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

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

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

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

Pattern coverage: 87.504% (111 MiB out of 127 MiB reference memory)

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

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

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

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

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

Pattern coverage: 0.001% (0 MiB out of 861 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:330 3.541
After features/support/hooks.rb:100 0.000
8:20.273
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7:35.746
And I prepare Tails for memory erasure tests 0.437
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.583
When I trigger shutdown 0.011
Then I find very few patterns in the guest's memory after 20 seconds 21.493

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

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