Project Number Date
test_Tails_ISO_21565-flatpak-safe 37 17 Sep 2026, 03:21

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

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

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

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

After features/support/hooks.rb:339 0.959
After features/support/hooks.rb:108 0.000
25.772
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.184
And I prepare Tails for memory erasure tests 0.343
And I find very few patterns in the guest's memory 4.683

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

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

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

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

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

After features/support/hooks.rb:339 0.938
After features/support/hooks.rb:108 0.000
37.984
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.214
And I prepare Tails for memory erasure tests 0.278
When I plug and mount a 128 MiB USB drive with a vfat filesystem 5.281
Then I find very few patterns in the guest's memory 3.349

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:339 0.990
After features/support/hooks.rb:108 0.000
44.510
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.220
And I prepare Tails for memory erasure tests 0.334
When I fill a 128 MiB file with a known pattern on the root filesystem 13.467
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 1.576
Then patterns cover at least 128 MiB in the guest's memory 2.155

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

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

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

After features/support/hooks.rb:339 3.489
After features/support/hooks.rb:108 0.000
4:16.253
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 3:45.302
And I prepare Tails for memory erasure tests 0.260
When I fill a 128 MiB file with a known pattern on the persistent filesystem 9.596
When I trigger shutdown 0.017
Then I find very few patterns in the guest's memory after 20 seconds 21.076

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

After features/support/hooks.rb:339 3.429
After features/support/hooks.rb:108 0.022