Project Number Date
test_Tails_ISO_devel 3708 24 Feb 2025, 12:42

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.942 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.
24.172
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 8.495
And I prepare Tails for memory erasure tests 0.471
When I start a process allocating 128 MiB of memory with a known pattern 2.447
Then patterns cover at least 128 MiB in the guest's memory 3.399

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

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

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

After features/support/hooks.rb:330 0.747
After features/support/hooks.rb:100 0.000
25.294
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 9.327
And I prepare Tails for memory erasure tests 0.391
And I find very few patterns in the guest's memory 2.948

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

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

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

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

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

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

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

Pattern coverage: 90.623% (115 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:330 3.478
After features/support/hooks.rb:100 0.000
7:23.143
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:39.336
And I prepare Tails for memory erasure tests 0.412
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.212
When I trigger shutdown 0.017
Then I find very few patterns in the guest's memory after 20 seconds 21.163

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

After features/support/hooks.rb:330 3.498
After features/support/hooks.rb:100 0.013