Project Number Date
test_Tails_ISO_20575-disable-cups-browsed 9 07 Oct 2024, 02:42

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Using Evince 13 3 25 0 0 41 2 3 5 5:11.892 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
1:31.956
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 1:31.956
Remote shell seems to be down (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/support/helpers/vm_helper.rb:534:in `wait_until_remote_shell_is_up'
./features/step_definitions/common_steps.rb:58:in `post_snapshot_restore_hook'
./features/step_definitions/snapshots.rb:139:in `reach_checkpoint'
./features/step_definitions/snapshots.rb:173:in `/^I\ have\ started\ Tails\ from\ DVD\ without\ network\ and\ logged\ in$/'
features/evince.feature:8:in `Given I have started Tails from DVD without network and logged in'
When I open "/usr/share/cups/data/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/output.pdf" 0.000
After features/support/hooks.rb:326 10.623

SCENARIO FAILED: 'I can view and print a PDF file stored in /usr/share' (at time 02:30:25)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20575-disable-cups-browsed/9/artifact/build-artifacts/02:30:25_I_can_view_and_print_a_PDF_file_stored_in__usr_share.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20575-disable-cups-browsed/9/artifact/build-artifacts/02:30:25_I_can_view_and_print_a_PDF_file_stored_in__usr_share.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20575-disable-cups-browsed/9/artifact/build-artifacts/02:30:25_I_can_view_and_print_a_PDF_file_stored_in__usr_share.journal

After features/support/hooks.rb:100 0.000
Tags: @product
1:31.888
Scenario I can view and print a PDF file stored in non-persistent /home/amnesia
Before features/support/hooks.rb:269 0.005
Steps
Given I have started Tails from DVD without network and logged in 1:31.888
Remote shell seems to be down (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/support/helpers/vm_helper.rb:534:in `wait_until_remote_shell_is_up'
./features/step_definitions/common_steps.rb:58:in `post_snapshot_restore_hook'
./features/step_definitions/snapshots.rb:139:in `reach_checkpoint'
./features/step_definitions/snapshots.rb:173:in `/^I\ have\ started\ Tails\ from\ DVD\ without\ network\ and\ logged\ in$/'
features/evince.feature:14:in `Given I have started Tails from DVD without network and logged in'
And I copy "/usr/share/cups/data/default-testpage.pdf" to "/home/amnesia" as user "amnesia" 0.000
When I open "/home/amnesia/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/output.pdf" 0.000
After features/support/hooks.rb:326 10.617

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

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20575-disable-cups-browsed/9/artifact/build-artifacts/02:32:07_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_20575-disable-cups-browsed/9/artifact/build-artifacts/02:32:07_I_can_view_and_print_a_PDF_file_stored_in_non-persistent__home_amnesia.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20575-disable-cups-browsed/9/artifact/build-artifacts/02:32:07_I_can_view_and_print_a_PDF_file_stored_in_non-persistent__home_amnesia.journal

After features/support/hooks.rb:100 0.000
1:31.897
Scenario I cannot view a PDF file stored in non-persistent /home/amnesia/.gnupg
Before features/support/hooks.rb:269 0.005
Steps
Given I have started Tails from DVD without network and logged in 1:31.897
Remote shell seems to be down (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/support/helpers/vm_helper.rb:534:in `wait_until_remote_shell_is_up'
./features/step_definitions/common_steps.rb:58:in `post_snapshot_restore_hook'
./features/step_definitions/snapshots.rb:139:in `reach_checkpoint'
./features/step_definitions/snapshots.rb:173:in `/^I\ have\ started\ Tails\ from\ DVD\ without\ network\ and\ logged\ in$/'
features/evince.feature:22:in `Given I have started Tails from DVD without network and logged in'
And I copy "/usr/share/cups/data/default-testpage.pdf" to "/home/amnesia/.gnupg" as user "amnesia" 0.000
Then the file "/home/amnesia/.gnupg/default-testpage.pdf" exists 0.000
And the file "/lib/live/mount/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" exists after at most 10 seconds 0.000
And the file "/live/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" exists after at most 10 seconds 0.000
Given I start monitoring the AppArmor log of "/usr/bin/evince" 0.000
When I try to open "/home/amnesia/.gnupg/default-testpage.pdf" with Evince 0.000
Then Evince tells me it cannot open "/home/amnesia/.gnupg/default-testpage.pdf" 0.000
And AppArmor has denied "/usr/bin/evince" from opening "/home/amnesia/.gnupg/default-testpage.pdf" 0.000
When I close Evince 0.000
Given I restart monitoring the AppArmor log of "/usr/bin/evince" 0.000
When I try to open "/lib/live/mount/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" with Evince 0.000
Then Evince tells me it cannot open "/lib/live/mount/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" 0.000
And AppArmor has denied "/usr/bin/evince" from opening "/usr/lib/live/mount/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" 0.000
When I close Evince 0.000
Given I restart monitoring the AppArmor log of "/usr/bin/evince" 0.000
When I try to open "/live/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" with Evince 0.000
Then Evince tells me it cannot open "/live/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" 0.000
# 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.000
After features/support/hooks.rb:326 10.675

SCENARIO FAILED: 'I cannot view a PDF file stored in non-persistent /home/amnesia/.gnupg' (at time 02:33:50)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20575-disable-cups-browsed/9/artifact/build-artifacts/02:33:50_I_cannot_view_a_PDF_file_stored_in_non-persistent__home_amnesia_.gnupg.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20575-disable-cups-browsed/9/artifact/build-artifacts/02:33:50_I_cannot_view_a_PDF_file_stored_in_non-persistent__home_amnesia_.gnupg.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20575-disable-cups-browsed/9/artifact/build-artifacts/02:33:50_I_cannot_view_a_PDF_file_stored_in_non-persistent__home_amnesia_.gnupg.journal

After features/support/hooks.rb:100 0.000
Tags: @product
21.297
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.475
And I copy "/usr/share/cups/data/default-testpage.pdf" to "/home/amnesia/Persistent" as user "amnesia" 0.205
Then the file "/home/amnesia/Persistent/default-testpage.pdf" exists 0.064
When I open "/home/amnesia/Persistent/default-testpage.pdf" with Evince 3.247
Then I see "CupsTestPage.png" after at most 40 seconds 3.081
And I can print the current document to "/home/amnesia/Persistent/output.pdf" 5.221
After features/support/hooks.rb:326 0.943
After features/support/hooks.rb:100 0.000
14.852
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 8.955
And I copy "/usr/share/cups/data/default-testpage.pdf" to "/home/amnesia/.gnupg" as user "amnesia" 0.182
Then the file "/home/amnesia/.gnupg/default-testpage.pdf" exists 0.052
Given I start monitoring the AppArmor log of "/usr/bin/evince" 0.161
And I try to open "/home/amnesia/.gnupg/default-testpage.pdf" with Evince 3.236
Then Evince tells me it cannot open "/home/amnesia/.gnupg/default-testpage.pdf" 2.119
And AppArmor has denied "/usr/bin/evince" from opening "/home/amnesia/.gnupg/default-testpage.pdf" 0.144
After features/support/hooks.rb:326 1.067
After features/support/hooks.rb:100 0.000