Project Number Date
test_Tails_ISO_devel 3261 30 Jan 2024, 17:14

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 12:50.879 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.821
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 7.954
And I prepare Tails for memory erasure tests 0.581
When I start a process allocating 128 MiB of memory with a known pattern 2.281
Then patterns cover at least 128 MiB in the guest's memory 3.673

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

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

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

After features/support/hooks.rb:291 0.704
After features/support/hooks.rb:75 0.000
1:0.202
Before features/support/hooks.rb:245 0.003
Given I have started Tails from DVD without network and logged in 8.939
And I prepare Tails for memory erasure tests 0.571
And I find very few patterns in the guest's memory 3.865

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

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

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

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

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

After features/support/hooks.rb:291 0.996
After features/support/hooks.rb:75 0.000
3:20.264
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 8.914
And I prepare Tails for memory erasure tests 0.653
When I plug and mount a 128 MiB USB drive with a vfat filesystem 7.979
Then I find very few patterns in the guest's memory 5.155

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

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

Pattern coverage: 93.206% (116 MiB out of 124 MiB reference memory)

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

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

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

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

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

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

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

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

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

Pattern coverage: 108.660% (97 MiB out of 89 MiB reference memory)

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

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

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

Pattern coverage: 108.663% (97 MiB out of 89 MiB reference memory)

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

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

After features/support/hooks.rb:291 0.773
After features/support/hooks.rb:75 0.000
54.380
Before features/support/hooks.rb:245 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.525
When I fill a 128 MiB file with a known pattern on the root filesystem 17.943
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 1.332
Then patterns cover at least 128 MiB in the guest's memory 3.433

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

When I trigger shutdown 0.703
And I wait 20 seconds 20.017

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.531
After features/support/hooks.rb:75 0.000
4:48.937
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 4:48.937
can
can not find any of the patterns ["TailsGreeterLoginButton.png", "TailsGreeterLoginButtonGerman.png"] on the screen (FindFailed)
./features/support/helpers/screen.rb:229:in `rescue in wait_any'
./features/support/helpers/screen.rb:222:in `wait_any'
./features/step_definitions/common_steps.rb:476: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.123

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

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3261/artifact/build-artifacts/00:36:14_Erasure_of_read_and_write_disk_caches_of_persistent_data_on_shutdown.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3261/artifact/build-artifacts/00:36:14_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/3261/artifact/build-artifacts/00:36:14_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/3261/artifact/build-artifacts/00:36:14_Erasure_of_read_and_write_disk_caches_of_persistent_data_on_shutdown.journal

After features/support/hooks.rb:75 0.010