Project Number Date
test_Tails_ISO_21565-flatpak-safe 100 26 Oct 2026, 03:36

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 7:48.879 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.964
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.002
Given I have started Tails from DVD without network and logged in 6.537
And I prepare Tails for memory erasure tests 0.491
When I start a process allocating 128 MiB of memory with a known pattern 2.243
# Since Debian Trixie we only get 99.610% coverage (tails#21012)
Then patterns cover at least 127 MiB in the guest's memory 3.932

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

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

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

After features/support/hooks.rb:339 0.815
After features/support/hooks.rb:108 0.000
20.738
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.002
Given I have started Tails from DVD without network and logged in 6.284
And I prepare Tails for memory erasure tests 0.364
And I find very few patterns in the guest's memory 2.944

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

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

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

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

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

After features/support/hooks.rb:339 0.992
After features/support/hooks.rb:108 0.000
37.939
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.002
Given I have started Tails from DVD without network and logged in 6.315
And I prepare Tails for memory erasure tests 0.405
When I plug and mount a 128 MiB USB drive with a vfat filesystem 5.470
Then I find very few patterns in the guest's memory 2.833

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:339 0.826
After features/support/hooks.rb:108 0.000
1:5.243
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.002
Given I have started Tails from DVD without network and logged in 6.395
And I prepare Tails for memory erasure tests 0.426
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 31.999
Then I find very few patterns in the guest's memory 2.549

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:339 1.045
After features/support/hooks.rb:108 0.000
46.620
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.003
Given I have started Tails from DVD without network and logged in 6.665
And I prepare Tails for memory erasure tests 0.425
When I fill a 128 MiB file with a known pattern on the root filesystem 13.921
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 2.032
Then patterns cover at least 128 MiB in the guest's memory 2.792

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

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

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

After features/support/hooks.rb:339 3.422
After features/support/hooks.rb:108 0.000
4:37.373
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 4:5.918
And I prepare Tails for memory erasure tests 0.253
When I fill a 128 MiB file with a known pattern on the persistent filesystem 9.999
When I trigger shutdown 0.006
Then I find very few patterns in the guest's memory after 20 seconds 21.194

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

After features/support/hooks.rb:339 3.846
After features/support/hooks.rb:108 0.010