Project Number Date
test_Tails_ISO_devel 3733 12 Mar 2025, 01:11

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:22.418 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.
25.272
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.686
And I prepare Tails for memory erasure tests 0.564
When I start a process allocating 128 MiB of memory with a known pattern 2.287
Then patterns cover at least 128 MiB in the guest's memory 4.138

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

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

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

After features/support/hooks.rb:330 0.820
After features/support/hooks.rb:100 0.000
24.914
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.395
And I prepare Tails for memory erasure tests 0.382
And I find very few patterns in the guest's memory 3.374

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

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

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

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

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

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

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

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

Pattern coverage: 86.169% (109 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:330 3.501
After features/support/hooks.rb:100 0.000
7:30.789
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 6:46.421
And I prepare Tails for memory erasure tests 0.716
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.411
When I trigger shutdown 0.013
Then I find very few patterns in the guest's memory after 20 seconds 21.226

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

After features/support/hooks.rb:330 3.546
After features/support/hooks.rb:100 0.011