Project Number Date
test_Tails_ISO_simplify-build-memory-requirements 2 14 May 2025, 00:29

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:15.117 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.
28.252
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.221
And I prepare Tails for memory erasure tests 0.521
When I start a process allocating 128 MiB of memory with a known pattern 5.370
Then patterns cover at least 128 MiB in the guest's memory 4.197

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

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

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

After features/support/hooks.rb:330 1.009
After features/support/hooks.rb:100 0.000
27.499
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.940
And I prepare Tails for memory erasure tests 0.473
And I find very few patterns in the guest's memory 3.794

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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