Project Number Date
test_Tails_ISO_stable 4598 01 Jan 2024, 12:30

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:24.627 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
45.016
Scenario I can view and print a PDF file stored in non-persistent /home/amnesia
Before features/support/hooks.rb:245 0.007
Steps
Given I have started Tails from DVD without network and logged in 8.460
And I copy "/usr/share/cups/data/default-testpage.pdf" to "/home/amnesia" as user "amnesia" 0.206
When I open "/home/amnesia/default-testpage.pdf" with Evince 17.083
Then I see "CupsTestPage.png" after at most 40 seconds 1.770
And I can print the current document to "/home/amnesia/output.pdf" 17.495
The
The document was not printed to /home/amnesia/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:20:in `And I can print the current document to "/home/amnesia/output.pdf"'
After features/support/hooks.rb:291 4.053

SCENARIO FAILED: 'I can view and print a PDF file stored in non-persistent /home/amnesia' (at time 02:19:01)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4598/artifact/build-artifacts/02:19:01_I_can_view_and_print_a_PDF_file_stored_in_non-persistent__home_amnesia.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4598/artifact/build-artifacts/02:19:01_I_can_view_and_print_a_PDF_file_stored_in_non-persistent__home_amnesia.mkv

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4598/artifact/build-artifacts/02:19:01_I_can_view_and_print_a_PDF_file_stored_in_non-persistent__home_amnesia.boot-log

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4598/artifact/build-artifacts/02:19:01_I_can_view_and_print_a_PDF_file_stored_in_non-persistent__home_amnesia.journal

After features/support/hooks.rb:75 0.000
34.531
Before features/support/hooks.rb:245 0.006
Given I have started Tails from DVD without network and logged in 7.918
And I copy "/usr/share/cups/data/default-testpage.pdf" to "/home/amnesia/.gnupg" as user "amnesia" 0.223
Then the file "/home/amnesia/.gnupg/default-testpage.pdf" exists 0.064
And the file "/lib/live/mount/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" exists after at most 10 seconds 0.084
And the file "/live/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" exists after at most 10 seconds 0.063
Given I start monitoring the AppArmor log of "/usr/bin/evince" 0.193
When I try to open "/home/amnesia/.gnupg/default-testpage.pdf" with Evince 17.217
Then Evince tells me it cannot open "/home/amnesia/.gnupg/default-testpage.pdf" 1.304
And AppArmor has denied "/usr/bin/evince" from opening "/home/amnesia/.gnupg/default-testpage.pdf" 0.356
When I close Evince 0.248
Given I restart monitoring the AppArmor log of "/usr/bin/evince" 0.183
When I try to open "/lib/live/mount/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" with Evince 2.660
Then Evince tells me it cannot open "/lib/live/mount/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" 0.313
And AppArmor has denied "/usr/bin/evince" from opening "/lib/live/mount/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" 0.084
When I close Evince 0.258
Given I restart monitoring the AppArmor log of "/usr/bin/evince" 0.196
When I try to open "/live/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" with Evince 2.774
Then Evince tells me it cannot open "/live/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" 0.270
# 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.113
After features/support/hooks.rb:291 0.737
After features/support/hooks.rb:75 0.000
Tags: @product
37.164
Before features/support/hooks.rb:245 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.605
And I copy "/usr/share/cups/data/default-testpage.pdf" to "/home/amnesia/Persistent" as user "amnesia" 0.164
Then the file "/home/amnesia/Persistent/default-testpage.pdf" exists 0.064
When I open "/home/amnesia/Persistent/default-testpage.pdf" with Evince 16.891
Then I see "CupsTestPage.png" after at most 40 seconds 1.788
And I can print the current document to "/home/amnesia/Persistent/output.pdf" 8.649
After features/support/hooks.rb:291 0.735
After features/support/hooks.rb:75 0.000
27.915
Before features/support/hooks.rb:245 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.013
And I copy "/usr/share/cups/data/default-testpage.pdf" to "/home/amnesia/.gnupg" as user "amnesia" 0.178
Then the file "/home/amnesia/.gnupg/default-testpage.pdf" exists 0.061
Given I start monitoring the AppArmor log of "/usr/bin/evince" 0.182
And I try to open "/home/amnesia/.gnupg/default-testpage.pdf" with Evince 16.862
Then Evince tells me it cannot open "/home/amnesia/.gnupg/default-testpage.pdf" 1.255
And AppArmor has denied "/usr/bin/evince" from opening "/home/amnesia/.gnupg/default-testpage.pdf" 0.362
After features/support/hooks.rb:291 0.665
After features/support/hooks.rb:75 0.000