Project Number Date
test_Tails_ISO_20530-tca-controls-tor-flag-file 36 03 Dec 2024, 20:44

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Using Evince 40 1 0 0 0 41 4 1 5 1:49.113 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
19.495
Before features/support/hooks.rb:269 0.007
Given I have started Tails from DVD without network and logged in 8.195
When I open "/usr/share/cups/data/default-testpage.pdf" with Evince 3.174
Then I see "CupsTestPage.png" after at most 40 seconds 3.379
And I can print the current document to "/home/amnesia/output.pdf" 4.745
After features/support/hooks.rb:326 0.774
After features/support/hooks.rb:100 0.000
Tags: @product
19.595
Before features/support/hooks.rb:269 0.006
Given I have started Tails from DVD without network and logged in 7.968
And I copy "/usr/share/cups/data/default-testpage.pdf" to "/home/amnesia" as user "amnesia" 0.186
When I open "/home/amnesia/default-testpage.pdf" with Evince 3.204
Then I see "CupsTestPage.png" after at most 40 seconds 3.435
And I can print the current document to "/home/amnesia/output.pdf" 4.800
After features/support/hooks.rb:326 0.765
After features/support/hooks.rb:100 0.000
19.968
Before features/support/hooks.rb:269 0.006
Given I have started Tails from DVD without network and logged in 8.077
And I copy "/usr/share/cups/data/default-testpage.pdf" to "/home/amnesia/.gnupg" as user "amnesia" 0.165
Then the file "/home/amnesia/.gnupg/default-testpage.pdf" exists 0.076
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.054
Given I start monitoring the AppArmor log of "/usr/bin/evince" 0.139
When I try to open "/home/amnesia/.gnupg/default-testpage.pdf" with Evince 3.153
Then Evince tells me it cannot open "/home/amnesia/.gnupg/default-testpage.pdf" 2.574
And AppArmor has denied "/usr/bin/evince" from opening "/home/amnesia/.gnupg/default-testpage.pdf" 0.070
When I close Evince 0.192
Given I restart monitoring the AppArmor log of "/usr/bin/evince" 0.113
When I try to open "/lib/live/mount/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" with Evince 2.151
Then Evince tells me it cannot open "/lib/live/mount/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" 0.266
And AppArmor has denied "/usr/bin/evince" from opening "/usr/lib/live/mount/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" 0.072
When I close Evince 0.193
Given I restart monitoring the AppArmor log of "/usr/bin/evince" 0.134
When I try to open "/live/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" with Evince 2.174
Then Evince tells me it cannot open "/live/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" 0.241
# 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.065
After features/support/hooks.rb:326 0.861
After features/support/hooks.rb:100 0.000
Tags: @product
31.998
Scenario I can view and print a PDF file stored in persistent /home/amnesia/Persistent
Before features/support/hooks.rb:269 0.006
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.371
And I copy "/usr/share/cups/data/default-testpage.pdf" to "/home/amnesia/Persistent" as user "amnesia" 0.150
Then the file "/home/amnesia/Persistent/default-testpage.pdf" exists 0.059
When I open "/home/amnesia/Persistent/default-testpage.pdf" with Evince 3.861
Then I see "CupsTestPage.png" after at most 40 seconds 3.803
And I can print the current document to "/home/amnesia/Persistent/output.pdf" 13.752
try_for() timeout expired (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/common_steps.rb:1661:in `select_path_in_file_chooser'
./features/step_definitions/evince.rb:18:in `/^I can print the current document to "([^"]+)"$/'
features/evince.feature:50:in `And I can print the current document to "/home/amnesia/Persistent/output.pdf"'
After features/support/hooks.rb:326 5.642

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

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_20530-tca-controls-tor-flag-file/36/artifact/build-artifacts/02:00:12_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_20530-tca-controls-tor-flag-file/36/artifact/build-artifacts/02:00:12_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_20530-tca-controls-tor-flag-file/36/artifact/build-artifacts/02:00:12_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_20530-tca-controls-tor-flag-file/36/artifact/build-artifacts/02:00:12_I_can_view_and_print_a_PDF_file_stored_in_persistent__home_amnesia_Persistent.journal

After features/support/hooks.rb:100 0.000
18.054
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 10.222
And I copy "/usr/share/cups/data/default-testpage.pdf" to "/home/amnesia/.gnupg" as user "amnesia" 0.164
Then the file "/home/amnesia/.gnupg/default-testpage.pdf" exists 0.056
Given I start monitoring the AppArmor log of "/usr/bin/evince" 0.202
And I try to open "/home/amnesia/.gnupg/default-testpage.pdf" with Evince 3.915
Then Evince tells me it cannot open "/home/amnesia/.gnupg/default-testpage.pdf" 3.058
And AppArmor has denied "/usr/bin/evince" from opening "/home/amnesia/.gnupg/default-testpage.pdf" 0.435
After features/support/hooks.rb:326 0.811
After features/support/hooks.rb:100 0.000