Project Number Date
test_Tails_ISO_15451-support-manual-fsck-on-error 65 05 Sep 2024, 16:56

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

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 88.964% (113 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.523
After features/support/hooks.rb:100 0.000
7:8.708
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 6:23.891
And I prepare Tails for memory erasure tests 1.240
When I fill a 128 MiB file with a known pattern on the persistent filesystem 21.940
When I trigger shutdown 0.017
Then I find very few patterns in the guest's memory after 20 seconds 21.617

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

After features/support/hooks.rb:326 3.496
After features/support/hooks.rb:100 0.014