Project Number Date
test_Tails_ISO_20263-test-suite-disable-spice-vdagent 30 04 Apr 2025, 16:36

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:20.828 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.431
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.777
And I prepare Tails for memory erasure tests 0.592
When I start a process allocating 128 MiB of memory with a known pattern 1.266
Then patterns cover at least 128 MiB in the guest's memory 4.178

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

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

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

After features/support/hooks.rb:330 0.682
After features/support/hooks.rb:100 0.000
24.232
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.878
And I prepare Tails for memory erasure tests 0.649
And I find very few patterns in the guest's memory 3.219

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

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

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

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

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

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

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

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

Pattern coverage: 88.554% (112 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:330 3.564
After features/support/hooks.rb:100 0.000
7:47.380
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:58.536
And I prepare Tails for memory erasure tests 0.408
When I fill a 128 MiB file with a known pattern on the persistent filesystem 27.093
When I trigger shutdown 0.015
Then I find very few patterns in the guest's memory after 20 seconds 21.325

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

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