Project Number Date
test_Tails_ISO_devel 3797 30 Apr 2025, 09:51

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 11:30.460 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.
37.309
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 21.247
And I prepare Tails for memory erasure tests 0.545
When I start a process allocating 128 MiB of memory with a known pattern 2.443
Then patterns cover at least 128 MiB in the guest's memory 3.466

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

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

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

After features/support/hooks.rb:330 0.686
After features/support/hooks.rb:100 0.000
24.839
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.030
And I prepare Tails for memory erasure tests 0.424
And I find very few patterns in the guest's memory 3.041

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:330 3.515
After features/support/hooks.rb:100 0.000
7:31.485
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 6:47.849
And I prepare Tails for memory erasure tests 0.427
When I fill a 128 MiB file with a known pattern on the persistent filesystem 21.852
When I trigger shutdown 0.018
Then I find very few patterns in the guest's memory after 20 seconds 21.337

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

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