Project Number Date
test_Tails_ISO_devel 3648 15 Jan 2025, 17:54

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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