Project Number Date
test_Tails_ISO_20634-greeter-tps-upgrade-failure-fix 4 26 Oct 2024, 17:02

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 2:17.210 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.286
Before features/support/hooks.rb:269 0.006
Given I create sample videos 0.286
Tags: @product
49.698
Given I have started Tails from DVD without network and logged in 9.235
And I plug and mount a USB drive containing sample videos 15.549
And I copy the sample videos to "/home/amnesia" as user "amnesia" 0.097
And the file "/home/amnesia/video.mp4" exists 0.086
Given I start monitoring the AppArmor log of "/usr/bin/totem" 0.169
When I open "/home/amnesia/video.mp4" with Totem 3.200
Then I see "SampleLocalMp4VideoFrame.png" after at most 40 seconds 6.162
And AppArmor has not denied "/usr/bin/totem" from opening "/home/amnesia/video.mp4" 0.121
Given I close Totem 0.179
And I copy the sample videos to "/home/amnesia/.gnupg" as user "amnesia" 0.073
And the file "/home/amnesia/.gnupg/video.mp4" exists 0.061
And I restart monitoring the AppArmor log of "/usr/bin/totem" 0.108
When I try to open "/home/amnesia/.gnupg/video.mp4" with Totem 2.184
Then Totem tells me it is not allowed to open this file 1.703
And AppArmor has denied "/usr/bin/totem" from opening "/home/amnesia/.gnupg/video.mp4" 0.076
Given I close Totem 0.177
And the file "/lib/live/mount/overlay/rw/home/amnesia/.gnupg/video.mp4" exists 0.099
And I restart monitoring the AppArmor log of "/usr/bin/totem" 0.125
When I try to open "/lib/live/mount/overlay/rw/home/amnesia/.gnupg/video.mp4" with Totem 2.164
Then Totem tells me it is not allowed to open this file 0.940
And AppArmor has denied "/usr/bin/totem" from opening "/usr/lib/live/mount/overlay/rw/home/amnesia/.gnupg/video.mp4" 0.081
Given I close Totem 0.208
And the file "/live/overlay/rw/home/amnesia/.gnupg/video.mp4" exists 0.081
And I restart monitoring the AppArmor log of "/usr/bin/totem" 0.131
When I try to open "/live/overlay/rw/home/amnesia/.gnupg/video.mp4" with Totem 2.184
Then Totem tells me it is not allowed to open this file 1.003
# 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.073
Given I close Totem 0.128
And I copy "/home/amnesia/video.mp4" to "/home/amnesia/.purple/otr.private_key" as user "amnesia" 0.093
And the file "/home/amnesia/.purple/otr.private_key" exists 0.064
And I restart monitoring the AppArmor log of "/usr/bin/totem" 0.138
When I try to open "/home/amnesia/.purple/otr.private_key" with Totem 2.155
Then Totem tells me it is not allowed to open this file 0.763
And AppArmor has denied "/usr/bin/totem" from opening "/home/amnesia/.purple/otr.private_key" 0.069
After features/support/hooks.rb:326 0.789
After features/support/hooks.rb:100 0.000
0.259
Before features/support/hooks.rb:269 0.006
Before features/support/hooks.rb:507 0.004
Given I create sample videos 0.259
37.638
Given I have started Tails from DVD and logged in and the network is connected 25.001
Then I can watch a WebM video over HTTPs 12.637
After features/support/hooks.rb:515 0.432
After features/support/hooks.rb:326 1.149
After features/support/hooks.rb:100 0.000
0.246
Before features/support/hooks.rb:269 0.004
Given I create sample videos 0.246
Tags: @product
49.080
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 49.080
The
The Dogtail init script raised: SearchError: descendent of [application | Welcome to Tails!]: child with name="Your Persistent Storage is unlocked. Its content will be available until you shut down Tails." roleName='label'
STDOUT:

STDERR:

 (Dogtail::Failure)
./features/support/helpers/dogtail.rb:93:in `run'
./features/support/helpers/dogtail.rb:339:in `initialize'
./features/support/helpers/dogtail.rb:268:in `new'
./features/support/helpers/dogtail.rb:268:in `call_tree_api_method'
./features/support/helpers/dogtail.rb:276:in `child'
./features/step_definitions/usb.rb:695:in `/^persistence is successfully enabled$/'
./features/step_definitions/usb.rb:702: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 5.285

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

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_20634-greeter-tps-upgrade-failure-fix/4/artifact/build-artifacts/03:22:46_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_20634-greeter-tps-upgrade-failure-fix/4/artifact/build-artifacts/03:22:46_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_20634-greeter-tps-upgrade-failure-fix/4/artifact/build-artifacts/03:22:46_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_20634-greeter-tps-upgrade-failure-fix/4/artifact/build-artifacts/03:22:46_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