Project Number Date
test_Tails_ISO_stable 5516 15 Mar 2025, 13:23

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 10:51.703 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.
23.900
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.372
When I start a process allocating 128 MiB of memory with a known pattern 1.286
Then patterns cover at least 128 MiB in the guest's memory 3.513

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

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

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

After features/support/hooks.rb:330 0.767
After features/support/hooks.rb:100 0.000
23.954
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.955
And I prepare Tails for memory erasure tests 0.402
And I find very few patterns in the guest's memory 3.545

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

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

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

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

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

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

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

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

Pattern coverage: 89.190% (113 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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.024
Then patterns cover at least 99% of the test FS size in the guest's memory 5.164

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:330 3.540
After features/support/hooks.rb:100 0.000
7:8.173
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:21.522
And I prepare Tails for memory erasure tests 0.533
When I fill a 128 MiB file with a known pattern on the persistent filesystem 24.903
When I trigger shutdown 0.011
Then I find very few patterns in the guest's memory after 20 seconds 21.202

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

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