Project Number Date
test_Tails_ISO_20263-test-suite-disable-spice-vdagent 5 10 Mar 2025, 17:39

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:21.493 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.
27.759
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 9.619
And I prepare Tails for memory erasure tests 0.556
When I start a process allocating 128 MiB of memory with a known pattern 2.456
Then patterns cover at least 128 MiB in the guest's memory 4.797

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

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

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

After features/support/hooks.rb:330 0.797
After features/support/hooks.rb:100 0.000
28.188
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.769
And I prepare Tails for memory erasure tests 0.485
And I find very few patterns in the guest's memory 3.683

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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