Project Number Date
test_Tails_ISO_stable 5416 24 Jan 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:18.009 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.
23.709
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.213
And I prepare Tails for memory erasure tests 0.438
When I start a process allocating 128 MiB of memory with a known pattern 2.326
Then patterns cover at least 128 MiB in the guest's memory 3.339

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

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

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

After features/support/hooks.rb:326 1.383
After features/support/hooks.rb:100 0.000
26.567
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.453
And I prepare Tails for memory erasure tests 0.661
And I find very few patterns in the guest's memory 3.143

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

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

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

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

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

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

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

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

Pattern coverage: 93.146% (118 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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