Project Number Date
test_Tails_ISO_devel 3302 28 Feb 2024, 12:43

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
System memory erasure on shutdown 47 1 5 0 0 53 5 1 6 11:36.701 Failed
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.
18.288
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 7.972
And I prepare Tails for memory erasure tests 0.413
When I start a process allocating 128 MiB of memory with a known pattern 1.332
Then patterns cover at least 128 MiB in the guest's memory 3.496

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

When I kill the allocating process 1.652
Then I find very few patterns in the guest's memory 3.420

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

After features/support/hooks.rb:291 0.780
After features/support/hooks.rb:75 0.000
22.644
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 8.176
And I prepare Tails for memory erasure tests 0.414
And I find very few patterns in the guest's memory 3.738

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

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

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

When I umount "/mnt" 0.581
Then I find very few patterns in the guest's memory 4.371

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

After features/support/hooks.rb:291 0.888
After features/support/hooks.rb:75 0.000
45.355
Before features/support/hooks.rb:245 0.003
Given I have started Tails from DVD without network and logged in 8.370
And I prepare Tails for memory erasure tests 0.400
When I plug and mount a 128 MiB USB drive with a vfat filesystem 7.921
Then I find very few patterns in the guest's memory 4.617

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

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

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

When I umount the USB drive 1.266
Then I find very few patterns in the guest's memory 4.636

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

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

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

When I umount the USB drive 0.576
Then I find very few patterns in the guest's memory 4.536

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

After features/support/hooks.rb:291 0.889
After features/support/hooks.rb:75 0.000
1:10.518
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 8.386
And I prepare Tails for memory erasure tests 0.442
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 31.146
Then I find very few patterns in the guest's memory 4.188

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

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

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

When I umount the USB drive 1.447
Then I find very few patterns in the guest's memory 4.184

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

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

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

When I umount the USB drive 2.041
Then I find very few patterns in the guest's memory 4.155

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

After features/support/hooks.rb:291 1.044
After features/support/hooks.rb:75 0.000
47.306
Before features/support/hooks.rb:245 0.003
Given I have started Tails from DVD without network and logged in 8.171
And I prepare Tails for memory erasure tests 0.396
When I fill a 128 MiB file with a known pattern on the root filesystem 12.327
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 1.210
Then patterns cover at least 128 MiB in the guest's memory 3.309

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

When I trigger shutdown 0.013
And I wait 20 seconds 20.020

Slept for 20 seconds

Then I find very few patterns in the guest's memory 1.856

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

After features/support/hooks.rb:291 3.526
After features/support/hooks.rb:75 0.000
8:12.589
Scenario Erasure of read and write disk caches of persistent data on shutdown
Before features/support/hooks.rb:245 0.002
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 8:12.589
cannot find GnomeApplicationsMenu.png on the screen (FindFailed)
./features/support/helpers/screen.rb:166:in `rescue in wait'
./features/support/helpers/screen.rb:159:in `wait'
./features/step_definitions/common_steps.rb:561:in `/^the Tails desktop is ready$/'
./features/step_definitions/common_steps.rb:516:in `/^I log in to a new session(?: in ([^ ]*) \(([^ ]*)\))?( without activating the Persistent Storage)?( after having activated the Persistent Storage| expecting no warning about the Persistent Storage not being activated)?$/'
./features/step_definitions/snapshots.rb:148:in `block in reach_checkpoint'
./features/step_definitions/snapshots.rb:145:in `each'
./features/step_definitions/snapshots.rb:145:in `reach_checkpoint'
./features/step_definitions/snapshots.rb:168:in `/^I\ have\ started\ Tails\ without\ network\ from\ a\ USB\ drive\ with\ a\ persistent\ partition\ enabled\ and\ logged\ in$/'
features/erase_memory.feature:76:in `Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in'
And I prepare Tails for memory erasure tests 0.000
When I fill a 128 MiB file with a known pattern on the persistent filesystem 0.000
When I trigger shutdown 0.000
And I wait 20 seconds 0.000
Then I find very few patterns in the guest's memory 0.000
After features/support/hooks.rb:291 5.097

SCENARIO FAILED: 'Erasure of read and write disk caches of persistent data on shutdown' (at time 00:39:03)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3302/artifact/build-artifacts/00:39:03_Erasure_of_read_and_write_disk_caches_of_persistent_data_on_shutdown.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3302/artifact/build-artifacts/00:39:03_Erasure_of_read_and_write_disk_caches_of_persistent_data_on_shutdown.mkv

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3302/artifact/build-artifacts/00:39:03_Erasure_of_read_and_write_disk_caches_of_persistent_data_on_shutdown.boot-log

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3302/artifact/build-artifacts/00:39:03_Erasure_of_read_and_write_disk_caches_of_persistent_data_on_shutdown.journal

After features/support/hooks.rb:75 0.010