Project Number Date
test_Tails_ISO_20530-tca-controls-tor-flag-file 86 24 Jan 2025, 21:00

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Using Evince 39 1 1 0 0 41 4 1 5 2:10.877 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
51.629
Scenario I can view and print a PDF file stored in /usr/share
Before features/support/hooks.rb:269 0.005
Steps
Given I have started Tails from DVD without network and logged in 8.216
When I open "/usr/share/cups/data/default-testpage.pdf" with Evince 3.249
Then I see "CupsTestPage.png" after at most 40 seconds 40.163
cannot find CupsTestPage.png on the screen (FindFailed)
./features/support/helpers/screen.rb:173:in `rescue in wait'
./features/support/helpers/screen.rb:157:in `wait'
./features/step_definitions/common_steps.rb:752:in `/^I (do not )?see "([^"]*)" after at most (\d+) seconds$/'
features/evince.feature:10:in `Then I see "CupsTestPage.png" after at most 40 seconds'
And I can print the current document to "/home/amnesia/output.pdf" 0.000
After features/support/hooks.rb:326 5.060

SCENARIO FAILED: 'I can view and print a PDF file stored in /usr/share' (at time 01:58:52)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_20530-tca-controls-tor-flag-file/86/artifact/build-artifacts/01:58:52_I_can_view_and_print_a_PDF_file_stored_in__usr_share.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20530-tca-controls-tor-flag-file/86/artifact/build-artifacts/01:58:52_I_can_view_and_print_a_PDF_file_stored_in__usr_share.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20530-tca-controls-tor-flag-file/86/artifact/build-artifacts/01:58:52_I_can_view_and_print_a_PDF_file_stored_in__usr_share.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20530-tca-controls-tor-flag-file/86/artifact/build-artifacts/01:58:52_I_can_view_and_print_a_PDF_file_stored_in__usr_share.journal

After features/support/hooks.rb:100 0.000
Tags: @product
19.989
Before features/support/hooks.rb:269 0.006
Given I have started Tails from DVD without network and logged in 8.539
And I copy "/usr/share/cups/data/default-testpage.pdf" to "/home/amnesia" as user "amnesia" 0.165
When I open "/home/amnesia/default-testpage.pdf" with Evince 3.634
Then I see "CupsTestPage.png" after at most 40 seconds 2.819
And I can print the current document to "/home/amnesia/output.pdf" 4.830
After features/support/hooks.rb:326 1.018
After features/support/hooks.rb:100 0.000
20.246
Before features/support/hooks.rb:269 0.006
Given I have started Tails from DVD without network and logged in 8.410
And I copy "/usr/share/cups/data/default-testpage.pdf" to "/home/amnesia/.gnupg" as user "amnesia" 0.154
Then the file "/home/amnesia/.gnupg/default-testpage.pdf" exists 0.061
And the file "/lib/live/mount/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" exists after at most 10 seconds 0.049
And the file "/live/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" exists after at most 10 seconds 0.075
Given I start monitoring the AppArmor log of "/usr/bin/evince" 0.206
When I try to open "/home/amnesia/.gnupg/default-testpage.pdf" with Evince 3.526
Then Evince tells me it cannot open "/home/amnesia/.gnupg/default-testpage.pdf" 2.075
And AppArmor has denied "/usr/bin/evince" from opening "/home/amnesia/.gnupg/default-testpage.pdf" 0.134
When I close Evince 0.245
Given I restart monitoring the AppArmor log of "/usr/bin/evince" 0.107
When I try to open "/lib/live/mount/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" with Evince 2.141
Then Evince tells me it cannot open "/lib/live/mount/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" 0.236
And AppArmor has denied "/usr/bin/evince" from opening "/usr/lib/live/mount/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" 0.071
When I close Evince 0.191
Given I restart monitoring the AppArmor log of "/usr/bin/evince" 0.103
When I try to open "/live/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" with Evince 2.147
Then Evince tells me it cannot open "/live/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" 0.227
# 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.077
After features/support/hooks.rb:326 0.786
After features/support/hooks.rb:100 0.000
Tags: @product
22.650
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.894
And I copy "/usr/share/cups/data/default-testpage.pdf" to "/home/amnesia/Persistent" as user "amnesia" 0.198
Then the file "/home/amnesia/Persistent/default-testpage.pdf" exists 0.308
When I open "/home/amnesia/Persistent/default-testpage.pdf" with Evince 3.705
Then I see "CupsTestPage.png" after at most 40 seconds 3.549
And I can print the current document to "/home/amnesia/Persistent/output.pdf" 4.994
After features/support/hooks.rb:326 0.814
After features/support/hooks.rb:100 0.000
16.361
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.662
And I copy "/usr/share/cups/data/default-testpage.pdf" to "/home/amnesia/.gnupg" as user "amnesia" 0.175
Then the file "/home/amnesia/.gnupg/default-testpage.pdf" exists 0.064
Given I start monitoring the AppArmor log of "/usr/bin/evince" 0.163
And I try to open "/home/amnesia/.gnupg/default-testpage.pdf" with Evince 3.711
Then Evince tells me it cannot open "/home/amnesia/.gnupg/default-testpage.pdf" 2.448
And AppArmor has denied "/usr/bin/evince" from opening "/home/amnesia/.gnupg/default-testpage.pdf" 0.136
After features/support/hooks.rb:326 1.007
After features/support/hooks.rb:100 0.000