Project Number Date
test_Tails_ISO_feature-arti 97 24 Jun 2025, 21:20

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Using Evince 35 1 5 0 0 41 4 1 5 4:26.566 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
48.525
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails from DVD without network and logged in 25.656
When I open "/usr/share/cups/data/default-testpage.pdf" with Evince 11.297
Then I see "CupsTestPage.png" after at most 40 seconds 3.324
And I can print the current document to "/home/amnesia/output.pdf" 8.246
After features/support/hooks.rb:330 5.688
After features/support/hooks.rb:100 0.000
Tags: @product
39.297
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.070
Given I have started Tails from DVD without network and logged in 10.524
And I copy "/usr/share/cups/data/default-testpage.pdf" to "/home/amnesia" as user "amnesia" 1.872
When I open "/home/amnesia/default-testpage.pdf" with Evince 9.973
Then I see "CupsTestPage.png" after at most 40 seconds 3.615
And I can print the current document to "/home/amnesia/output.pdf" 13.312
After features/support/hooks.rb:330 1.520
After features/support/hooks.rb:100 0.000
1:1.875
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.034
Given I have started Tails from DVD without network and logged in 32.045
And I copy "/usr/share/cups/data/default-testpage.pdf" to "/home/amnesia/.gnupg" as user "amnesia" 0.967
Then the file "/home/amnesia/.gnupg/default-testpage.pdf" exists 0.771
And the file "/lib/live/mount/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" exists after at most 10 seconds 1.152
And the file "/live/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" exists after at most 10 seconds 0.369
Given I start monitoring the AppArmor log of "/usr/bin/evince" 0.668
When I try to open "/home/amnesia/.gnupg/default-testpage.pdf" with Evince 5.722
Then Evince tells me it cannot open "/home/amnesia/.gnupg/default-testpage.pdf" 1.644
And AppArmor has denied "/usr/bin/evince" from opening "/home/amnesia/.gnupg/default-testpage.pdf" 0.075
When I close Evince 0.233
Given I restart monitoring the AppArmor log of "/usr/bin/evince" 0.222
When I try to open "/lib/live/mount/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" with Evince 2.456
Then Evince tells me it cannot open "/lib/live/mount/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" 0.570
And AppArmor has denied "/usr/bin/evince" from opening "/usr/lib/live/mount/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" 0.086
When I close Evince 0.207
Given I restart monitoring the AppArmor log of "/usr/bin/evince" 0.119
When I try to open "/live/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" with Evince 13.943
Then Evince tells me it cannot open "/live/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" 0.285
# 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.332
After features/support/hooks.rb:330 0.741
After features/support/hooks.rb:100 0.000
Tags: @product
1:12.277
Scenario I can view and print a PDF file stored in persistent /home/amnesia/Persistent
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.008
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 1:12.277
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:45: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/Persistent" as user "amnesia" 0.000
Then the file "/home/amnesia/Persistent/default-testpage.pdf" exists 0.000
When I open "/home/amnesia/Persistent/default-testpage.pdf" with Evince 0.000
Then I see "CupsTestPage.png" after at most 40 seconds 0.000
And I can print the current document to "/home/amnesia/Persistent/output.pdf" 0.000
After features/support/hooks.rb:330 6.862

SCENARIO FAILED: 'I can view and print a PDF file stored in persistent /home/amnesia/Persistent' (at time 03:57:02)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/97/artifact/build-artifacts/03:57:02_I_can_view_and_print_a_PDF_file_stored_in_persistent__home_amnesia_Persistent.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/97/artifact/build-artifacts/03:57:02_I_can_view_and_print_a_PDF_file_stored_in_persistent__home_amnesia_Persistent.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/97/artifact/build-artifacts/03:57:02_I_can_view_and_print_a_PDF_file_stored_in_persistent__home_amnesia_Persistent.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/97/artifact/build-artifacts/03:57:02_I_can_view_and_print_a_PDF_file_stored_in_persistent__home_amnesia_Persistent.journal

After features/support/hooks.rb:100 0.000
44.590
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 33.719
And I copy "/usr/share/cups/data/default-testpage.pdf" to "/home/amnesia/.gnupg" as user "amnesia" 1.487
Then the file "/home/amnesia/.gnupg/default-testpage.pdf" exists 0.602
Given I start monitoring the AppArmor log of "/usr/bin/evince" 1.634
And I try to open "/home/amnesia/.gnupg/default-testpage.pdf" with Evince 4.453
Then Evince tells me it cannot open "/home/amnesia/.gnupg/default-testpage.pdf" 2.580
And AppArmor has denied "/usr/bin/evince" from opening "/home/amnesia/.gnupg/default-testpage.pdf" 0.112
After features/support/hooks.rb:330 0.845
After features/support/hooks.rb:100 0.000