Project Number Date
test_Tails_ISO_20634-greeter-tps-update-failure-fix 10 03 Nov 2024, 11:58

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

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

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

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

After features/support/hooks.rb:326 1.247
After features/support/hooks.rb:100 0.000
28.233
Before features/support/hooks.rb:269 0.004
Given I have started Tails from DVD without network and logged in 8.853
And I prepare Tails for memory erasure tests 0.495
And I find very few patterns in the guest's memory 4.196

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

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

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

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

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

After features/support/hooks.rb:326 2.005
After features/support/hooks.rb:100 0.000
1:9.682
Before features/support/hooks.rb:269 0.004
Given I have started Tails from DVD without network and logged in 9.425
And I prepare Tails for memory erasure tests 0.543
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.837
Then I find very few patterns in the guest's memory 7.423

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.532
After features/support/hooks.rb:100 0.000
8:10.845
Before features/support/hooks.rb:269 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7:25.398
And I prepare Tails for memory erasure tests 1.190
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.844
When I trigger shutdown 0.012
Then I find very few patterns in the guest's memory after 20 seconds 21.400

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

After features/support/hooks.rb:326 3.498
After features/support/hooks.rb:100 0.016