Project Number Date
test_Tails_ISO_stable 5189 17 Oct 2024, 08:47

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:14.659 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.
20.827
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 8.332
And I prepare Tails for memory erasure tests 0.516
When I start a process allocating 128 MiB of memory with a known pattern 2.450
Then patterns cover at least 128 MiB in the guest's memory 3.492

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.585
After features/support/hooks.rb:100 0.000
8:22.322
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7:37.226
And I prepare Tails for memory erasure tests 0.524
When I fill a 128 MiB file with a known pattern on the persistent filesystem 23.266
When I trigger shutdown 0.013
Then I find very few patterns in the guest's memory after 20 seconds 21.291

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

After features/support/hooks.rb:326 3.548
After features/support/hooks.rb:100 0.012