Project Number Date
test_Tails_ISO_15451-support-manual-fsck-on-error 4 25 Jul 2024, 18:04

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Using Totem 39 1 10 0 0 50 2 1 3 3:28.916 Failed
Tags: @product
Feature Using Totem
As a Tails user I want to watch local and remote videos in Totem And AppArmor should prevent Totem from doing dangerous things And all Internet traffic should flow only through Tor
0.250
Before features/support/hooks.rb:269 0.005
Given I create sample videos 0.250
Tags: @product
53.589
Given I have started Tails from DVD without network and logged in 8.694
And I plug and mount a USB drive containing sample videos 16.350
And I copy the sample videos to "/home/amnesia" as user "amnesia" 0.221
And the file "/home/amnesia/video.mp4" exists 0.062
Given I start monitoring the AppArmor log of "/usr/bin/totem" 0.160
When I open "/home/amnesia/video.mp4" with Totem 3.502
Then I see "SampleLocalMp4VideoFrame.png" after at most 40 seconds 8.474
And AppArmor has not denied "/usr/bin/totem" from opening "/home/amnesia/video.mp4" 0.570
Given I close Totem 0.168
And I copy the sample videos to "/home/amnesia/.gnupg" as user "amnesia" 0.065
And the file "/home/amnesia/.gnupg/video.mp4" exists 0.053
And I restart monitoring the AppArmor log of "/usr/bin/totem" 0.113
When I try to open "/home/amnesia/.gnupg/video.mp4" with Totem 2.187
Then Totem tells me it is not allowed to open this file 2.280
And AppArmor has denied "/usr/bin/totem" from opening "/home/amnesia/.gnupg/video.mp4" 0.083
Given I close Totem 0.150
And the file "/lib/live/mount/overlay/rw/home/amnesia/.gnupg/video.mp4" exists 0.055
And I restart monitoring the AppArmor log of "/usr/bin/totem" 0.127
When I try to open "/lib/live/mount/overlay/rw/home/amnesia/.gnupg/video.mp4" with Totem 2.171
Then Totem tells me it is not allowed to open this file 0.780
And AppArmor has denied "/usr/bin/totem" from opening "/usr/lib/live/mount/overlay/rw/home/amnesia/.gnupg/video.mp4" 0.092
Given I close Totem 0.145
And the file "/live/overlay/rw/home/amnesia/.gnupg/video.mp4" exists 0.063
And I restart monitoring the AppArmor log of "/usr/bin/totem" 0.123
When I try to open "/live/overlay/rw/home/amnesia/.gnupg/video.mp4" with Totem 2.199
Then Totem tells me it is not allowed to open this file 0.940
# Due to our AppArmor aliases, /live/overlay will be treated
# as /usr/lib/live/mount/overlay.
And AppArmor has denied "/usr/bin/totem" from opening "/usr/lib/live/mount/overlay/rw/home/amnesia/.gnupg/video.mp4" 0.075
Given I close Totem 0.143
And I copy "/home/amnesia/video.mp4" to "/home/amnesia/.purple/otr.private_key" as user "amnesia" 0.070
And the file "/home/amnesia/.purple/otr.private_key" exists 0.064
And I restart monitoring the AppArmor log of "/usr/bin/totem" 0.141
When I try to open "/home/amnesia/.purple/otr.private_key" with Totem 2.190
Then Totem tells me it is not allowed to open this file 0.977
And AppArmor has denied "/usr/bin/totem" from opening "/home/amnesia/.purple/otr.private_key" 0.085
After features/support/hooks.rb:326 0.941
After features/support/hooks.rb:100 0.000
0.258
Before features/support/hooks.rb:269 0.008
Before features/support/hooks.rb:507 0.007
Given I create sample videos 0.258
25.190
Given I have started Tails from DVD and logged in and the network is connected 12.455
Then I can watch a WebM video over HTTPs 12.734
After features/support/hooks.rb:515 0.661
After features/support/hooks.rb:326 1.335
After features/support/hooks.rb:100 0.000
0.253
Before features/support/hooks.rb:269 0.006
Given I create sample videos 0.253
Tags: @product
2:9.374
Scenario Watching MP4 videos stored on the persistent volume should work as expected given our AppArmor confinement
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 2:9.374
try_for() timeout expired
Last ignored exception was: Dogtail::Failure: The Dogtail init script raised: SearchError: descendent of [application | Welcome to Tails!]: child with name="Unlock Encryption" roleName='push button'
STDOUT:

STDERR:


./features/support/helpers/dogtail.rb:93:in `run'
./features/support/helpers/dogtail.rb:335:in `initialize'
./features/support/helpers/dogtail.rb:264:in `new'
./features/support/helpers/dogtail.rb:264:in `call_tree_api_method'
./features/support/helpers/dogtail.rb:272:in `child'
./features/step_definitions/usb.rb:685:in `block (2 levels) in <top (required)>'
./features/support/helpers/misc_helpers.rb:78:in `block (2 levels) in try_for'
./features/support/helpers/misc_helpers.rb:66:in `loop'
./features/support/helpers/misc_helpers.rb:66:in `block in try_for'
./features/support/helpers/misc_helpers.rb:65:in `try_for'
./features/step_definitions/usb.rb:684:in `block in <top (required)>'
./features/step_definitions/usb.rb:708:in `block in <top (required)>'
./features/step_definitions/snapshots.rb:153:in `block in reach_checkpoint'
./features/step_definitions/snapshots.rb:150:in `each'
./features/step_definitions/snapshots.rb:150:in `reach_checkpoint'
./features/step_definitions/snapshots.rb:173:in `block (2 levels) in <top (required)>' (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/usb.rb:684:in `/^persistence is successfully enabled$/'
./features/step_definitions/usb.rb:708:in `/^I enable persistence( with the changed passphrase)?$/'
./features/step_definitions/snapshots.rb:153:in `block in reach_checkpoint'
./features/step_definitions/snapshots.rb:150:in `each'
./features/step_definitions/snapshots.rb:150:in `reach_checkpoint'
./features/step_definitions/snapshots.rb:173:in `/^I\ have\ started\ Tails\ without\ network\ from\ a\ USB\ drive\ with\ a\ persistent\ partition\ enabled\ and\ logged\ in$/'
features/totem.feature:55:in `Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in'
And I plug and mount a USB drive containing sample videos 0.000
And I copy the sample videos to "/home/amnesia/Persistent" as user "amnesia" 0.000
When I open "/home/amnesia/Persistent/video.mp4" with Totem 0.000
Then I see "SampleLocalMp4VideoFrame.png" after at most 40 seconds 0.000
Given I close Totem 0.000
And I start monitoring the AppArmor log of "/usr/bin/totem" 0.000
And I copy the sample videos to "/home/amnesia/.gnupg" as user "amnesia" 0.000
When I try to open "/home/amnesia/.gnupg/video.mp4" with Totem 0.000
Then Totem tells me it is not allowed to open this file 0.000
And AppArmor has denied "/usr/bin/totem" from opening "/home/amnesia/.gnupg/video.mp4" 0.000
After features/support/hooks.rb:326 6.658

SCENARIO FAILED: 'Watching MP4 videos stored on the persistent volume should work as expected given our AppArmor confinement' (at time 04:28:29)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_15451-support-manual-fsck-on-error/4/artifact/build-artifacts/04:28:29_Watching_MP4_videos_stored_on_the_persistent_volume_should_work_as_expected_given_our_AppArmor_confinement.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_15451-support-manual-fsck-on-error/4/artifact/build-artifacts/04:28:29_Watching_MP4_videos_stored_on_the_persistent_volume_should_work_as_expected_given_our_AppArmor_confinement.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_15451-support-manual-fsck-on-error/4/artifact/build-artifacts/04:28:29_Watching_MP4_videos_stored_on_the_persistent_volume_should_work_as_expected_given_our_AppArmor_confinement.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_15451-support-manual-fsck-on-error/4/artifact/build-artifacts/04:28:29_Watching_MP4_videos_stored_on_the_persistent_volume_should_work_as_expected_given_our_AppArmor_confinement.journal

After features/support/hooks.rb:100 0.000