Project Number Date
test_Tails_ISO_stable 5568 11 Apr 2025, 13: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:16.646 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.
26.336
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 8.755
And I prepare Tails for memory erasure tests 0.596
When I start a process allocating 128 MiB of memory with a known pattern 2.422
Then patterns cover at least 128 MiB in the guest's memory 4.545

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

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

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

After features/support/hooks.rb:330 0.983
After features/support/hooks.rb:100 0.000
30.389
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.009
Given I have started Tails from DVD without network and logged in 9.958
And I prepare Tails for memory erasure tests 0.841
And I find very few patterns in the guest's memory 3.775

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

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

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

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

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

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

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

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

Pattern coverage: 89.634% (114 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

After features/support/hooks.rb:330 1.689
After features/support/hooks.rb:100 0.010
1:27.286
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.008
Given I have started Tails from DVD without network and logged in 9.005
And I prepare Tails for memory erasure tests 0.708
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 41.176
Then I find very few patterns in the guest's memory 3.512

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:330 3.599
After features/support/hooks.rb:100 0.015