Project Number Date
test_Tails_ISO_feature-arti 111 08 Jul 2025, 21:21

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Using Evince 34 1 6 0 0 41 4 1 5 5:40.115 Failed
Tags: @product
Feature Using Evince
As a Tails user I want to view and print PDF files in Evince And AppArmor should prevent Evince from doing dangerous things
Tags: @product
1:0.267
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.010
Given I have started Tails from DVD without network and logged in 26.803
When I open "/usr/share/cups/data/default-testpage.pdf" with Evince 14.082
Then I see "CupsTestPage.png" after at most 40 seconds 3.732
And I can print the current document to "/home/amnesia/output.pdf" 15.649
After features/support/hooks.rb:330 0.698
After features/support/hooks.rb:100 0.000
Tags: @product
1:11.322
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Given I have started Tails from DVD without network and logged in 48.407
And I copy "/usr/share/cups/data/default-testpage.pdf" to "/home/amnesia" as user "amnesia" 1.684
When I open "/home/amnesia/default-testpage.pdf" with Evince 8.836
Then I see "CupsTestPage.png" after at most 40 seconds 3.486
And I can print the current document to "/home/amnesia/output.pdf" 8.908
After features/support/hooks.rb:330 6.550
After features/support/hooks.rb:100 0.000
42.617
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Given I have started Tails from DVD without network and logged in 10.721
And I copy "/usr/share/cups/data/default-testpage.pdf" to "/home/amnesia/.gnupg" as user "amnesia" 1.508
Then the file "/home/amnesia/.gnupg/default-testpage.pdf" exists 1.067
And the file "/lib/live/mount/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" exists after at most 10 seconds 1.082
And the file "/live/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" exists after at most 10 seconds 1.847
Given I start monitoring the AppArmor log of "/usr/bin/evince" 1.550
When I try to open "/home/amnesia/.gnupg/default-testpage.pdf" with Evince 4.720
Then Evince tells me it cannot open "/home/amnesia/.gnupg/default-testpage.pdf" 2.398
And AppArmor has denied "/usr/bin/evince" from opening "/home/amnesia/.gnupg/default-testpage.pdf" 0.152
When I close Evince 0.266
Given I restart monitoring the AppArmor log of "/usr/bin/evince" 0.210
When I try to open "/lib/live/mount/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" with Evince 2.426
Then Evince tells me it cannot open "/lib/live/mount/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" 3.812
And AppArmor has denied "/usr/bin/evince" from opening "/usr/lib/live/mount/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" 2.665
When I close Evince 1.728
Given I restart monitoring the AppArmor log of "/usr/bin/evince" 2.537
When I try to open "/live/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" with Evince 3.399
Then Evince tells me it cannot open "/live/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" 0.390
# Due to our AppArmor aliases, /live/overlay will be treated
# as /usr/lib/live/mount/overlay.
And AppArmor has denied "/usr/bin/evince" from opening "/usr/lib/live/mount/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" 0.129
After features/support/hooks.rb:330 1.267
After features/support/hooks.rb:100 0.000
Tags: @product
1:30.506
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.008
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 1:6.018
And I copy "/usr/share/cups/data/default-testpage.pdf" to "/home/amnesia/Persistent" as user "amnesia" 1.658
Then the file "/home/amnesia/Persistent/default-testpage.pdf" exists 1.284
When I open "/home/amnesia/Persistent/default-testpage.pdf" with Evince 8.548
Then I see "CupsTestPage.png" after at most 40 seconds 3.012
And I can print the current document to "/home/amnesia/Persistent/output.pdf" 9.983
After features/support/hooks.rb:330 5.710
After features/support/hooks.rb:100 0.000
1:15.401
Scenario I cannot view a PDF file stored in persistent /home/amnesia/.gnupg
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.018
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 1:15.401
Failed to restore snapshot (RuntimeError)
./features/step_definitions/common_steps.rb:91:in `rescue in post_snapshot_restore_hook'
./features/step_definitions/common_steps.rb:74:in `post_snapshot_restore_hook'
./features/step_definitions/snapshots.rb:167:in `reach_checkpoint'
./features/step_definitions/common_steps.rb:97:in `rescue in post_snapshot_restore_hook'
./features/step_definitions/common_steps.rb:74:in `post_snapshot_restore_hook'
./features/step_definitions/snapshots.rb:167:in `reach_checkpoint'
./features/step_definitions/common_steps.rb:97:in `rescue in post_snapshot_restore_hook'
./features/step_definitions/common_steps.rb:74:in `post_snapshot_restore_hook'
./features/step_definitions/snapshots.rb:167:in `reach_checkpoint'
./features/step_definitions/common_steps.rb:97:in `rescue in post_snapshot_restore_hook'
./features/step_definitions/common_steps.rb:74:in `post_snapshot_restore_hook'
./features/step_definitions/snapshots.rb:167:in `reach_checkpoint'
./features/step_definitions/snapshots.rb:173:in `/^I\ have\ started\ Tails\ without\ network\ from\ a\ USB\ drive\ with\ a\ persistent\ partition\ enabled\ and\ logged\ in$/'
features/evince.feature:54:in `Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in'
And I copy "/usr/share/cups/data/default-testpage.pdf" to "/home/amnesia/.gnupg" as user "amnesia" 0.000
Then the file "/home/amnesia/.gnupg/default-testpage.pdf" exists 0.000
Given I start monitoring the AppArmor log of "/usr/bin/evince" 0.000
And I try to open "/home/amnesia/.gnupg/default-testpage.pdf" with Evince 0.000
Then Evince tells me it cannot open "/home/amnesia/.gnupg/default-testpage.pdf" 0.000
And AppArmor has denied "/usr/bin/evince" from opening "/home/amnesia/.gnupg/default-testpage.pdf" 0.000
After features/support/hooks.rb:330 6.266

SCENARIO FAILED: 'I cannot view a PDF file stored in persistent /home/amnesia/.gnupg' (at time 03:44:19)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/111/artifact/build-artifacts/03:44:19_I_cannot_view_a_PDF_file_stored_in_persistent__home_amnesia_.gnupg.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/111/artifact/build-artifacts/03:44:19_I_cannot_view_a_PDF_file_stored_in_persistent__home_amnesia_.gnupg.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/111/artifact/build-artifacts/03:44:19_I_cannot_view_a_PDF_file_stored_in_persistent__home_amnesia_.gnupg.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/111/artifact/build-artifacts/03:44:19_I_cannot_view_a_PDF_file_stored_in_persistent__home_amnesia_.gnupg.journal

After features/support/hooks.rb:100 0.000