Project Number Date
test_Tails_ISO_stable 4626 20 Jan 2024, 12:49

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Using Evince 36 1 0 0 0 37 3 1 4 2:25.176 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
33.764
Before features/support/hooks.rb:245 0.005
Given I have started Tails from DVD without network and logged in 8.344
And I copy "/usr/share/cups/data/default-testpage.pdf" to "/home/amnesia" as user "amnesia" 0.144
When I open "/home/amnesia/default-testpage.pdf" with Evince 16.802
Then I see "CupsTestPage.png" after at most 40 seconds 1.621
And I can print the current document to "/home/amnesia/output.pdf" 6.850
After features/support/hooks.rb:291 0.741
After features/support/hooks.rb:75 0.000
37.031
Before features/support/hooks.rb:245 0.005
Given I have started Tails from DVD without network and logged in 8.095
And I copy "/usr/share/cups/data/default-testpage.pdf" to "/home/amnesia/.gnupg" as user "amnesia" 0.141
Then the file "/home/amnesia/.gnupg/default-testpage.pdf" exists 0.071
And the file "/lib/live/mount/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" exists after at most 10 seconds 0.056
And the file "/live/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" exists after at most 10 seconds 0.055
Given I start monitoring the AppArmor log of "/usr/bin/evince" 0.185
When I try to open "/home/amnesia/.gnupg/default-testpage.pdf" with Evince 19.292
Then Evince tells me it cannot open "/home/amnesia/.gnupg/default-testpage.pdf" 1.154
And AppArmor has denied "/usr/bin/evince" from opening "/home/amnesia/.gnupg/default-testpage.pdf" 0.279
When I close Evince 0.210
Given I restart monitoring the AppArmor log of "/usr/bin/evince" 0.160
When I try to open "/lib/live/mount/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" with Evince 2.636
Then Evince tells me it cannot open "/lib/live/mount/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" 0.828
And AppArmor has denied "/usr/bin/evince" from opening "/lib/live/mount/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" 0.079
When I close Evince 0.203
Given I restart monitoring the AppArmor log of "/usr/bin/evince" 0.163
When I try to open "/live/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" with Evince 2.622
Then Evince tells me it cannot open "/live/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" 0.727
# Due to our AppArmor aliases, /live/overlay will be treated
# as /lib/live/mount/overlay.
And AppArmor has denied "/usr/bin/evince" from opening "/lib/live/mount/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" 0.065
After features/support/hooks.rb:291 0.737
After features/support/hooks.rb:75 0.000
Tags: @product
44.313
Scenario I can view and print a PDF file stored in persistent /home/amnesia/Persistent
Before features/support/hooks.rb:245 0.005
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 8.516
And I copy "/usr/share/cups/data/default-testpage.pdf" to "/home/amnesia/Persistent" as user "amnesia" 0.180
Then the file "/home/amnesia/Persistent/default-testpage.pdf" exists 0.079
When I open "/home/amnesia/Persistent/default-testpage.pdf" with Evince 16.917
Then I see "CupsTestPage.png" after at most 40 seconds 1.611
And I can print the current document to "/home/amnesia/Persistent/output.pdf" 17.007
The
The document was not printed to /home/amnesia/Persistent/output.pdf (Timeout::Error)
./features/support/helpers/misc_helpers.rb:145:in `rescue in try_for'
./features/support/helpers/misc_helpers.rb:51:in `try_for'
./features/step_definitions/evince.rb:17:in `/^I can print the current document to "([^"]+)"$/'
features/evince.feature:52:in `And I can print the current document to "/home/amnesia/Persistent/output.pdf"'
After features/support/hooks.rb:291 4.139

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

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4626/artifact/build-artifacts/02:05:40_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_stable/4626/artifact/build-artifacts/02:05:40_I_can_view_and_print_a_PDF_file_stored_in_persistent__home_amnesia_Persistent.mkv

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4626/artifact/build-artifacts/02:05:40_I_can_view_and_print_a_PDF_file_stored_in_persistent__home_amnesia_Persistent.boot-log

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4626/artifact/build-artifacts/02:05:40_I_can_view_and_print_a_PDF_file_stored_in_persistent__home_amnesia_Persistent.journal

After features/support/hooks.rb:75 0.000
30.067
Before features/support/hooks.rb:245 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.093
And I copy "/usr/share/cups/data/default-testpage.pdf" to "/home/amnesia/.gnupg" as user "amnesia" 0.171
Then the file "/home/amnesia/.gnupg/default-testpage.pdf" exists 0.053
Given I start monitoring the AppArmor log of "/usr/bin/evince" 0.186
And I try to open "/home/amnesia/.gnupg/default-testpage.pdf" with Evince 19.314
Then Evince tells me it cannot open "/home/amnesia/.gnupg/default-testpage.pdf" 0.793
And AppArmor has denied "/usr/bin/evince" from opening "/home/amnesia/.gnupg/default-testpage.pdf" 0.453
After features/support/hooks.rb:291 0.735
After features/support/hooks.rb:75 0.000