Project Number Date
test_Tails_ISO_devel 3473 10 Aug 2024, 12:13

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:43.590 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.
24.940
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.822
And I prepare Tails for memory erasure tests 0.402
When I start a process allocating 128 MiB of memory with a known pattern 3.605
Then patterns cover at least 128 MiB in the guest's memory 3.838

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

When I kill the allocating process 1.815
Then I find very few patterns in the guest's memory after 3 seconds 6.454

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

After features/support/hooks.rb:326 1.840
After features/support/hooks.rb:100 0.000
27.799
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 9.190
And I prepare Tails for memory erasure tests 0.431
And I find very few patterns in the guest's memory 2.517

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

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

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

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

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

After features/support/hooks.rb:326 1.916
After features/support/hooks.rb:100 0.000
54.774
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 10.381
And I prepare Tails for memory erasure tests 0.482
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.327
Then I find very few patterns in the guest's memory 2.986

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 2.061
After features/support/hooks.rb:100 0.000
1:20.127
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 9.694
And I prepare Tails for memory erasure tests 0.946
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 36.045
Then I find very few patterns in the guest's memory 2.604

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 1.048
After features/support/hooks.rb:100 0.000
58.216
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 8.321
And I prepare Tails for memory erasure tests 0.434
When I fill a 128 MiB file with a known pattern on the root filesystem 15.432
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 10.375
Then patterns cover at least 128 MiB in the guest's memory 2.865

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

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

After features/support/hooks.rb:326 3.529
After features/support/hooks.rb:100 0.000
7:37.731
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 6:54.267
And I prepare Tails for memory erasure tests 0.393
When I fill a 128 MiB file with a known pattern on the persistent filesystem 21.811
When I trigger shutdown 0.012
Then I find very few patterns in the guest's memory after 20 seconds 21.247

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

After features/support/hooks.rb:326 3.522
After features/support/hooks.rb:100 0.015