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
Time syncing 5 9 66 0 0 80 1 9 10 14:48.928 Failed
Feature Time syncing
As a Tails user I want Tor to work properly And for that I need a reasonably accurate system clock
1:31.816
Scenario Clock with host's time
Before features/support/hooks.rb:269 0.003
Before features/support/hooks.rb:507 0.003
Steps
Given I have started Tails from DVD without network and logged in 1:31.816
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/time_syncing.feature:8:in `Given I have started Tails from DVD without network and logged in'
When the network is plugged 0.000
And I successfully configure Tor 0.000
Then the system clock is less than 5 minutes incorrect 0.000
After features/support/hooks.rb:515 0.050
After features/support/hooks.rb:326 10.626

SCENARIO FAILED: 'Clock with host's time' (at time 00:12:45)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20575-disable-cups-browsed/9/artifact/build-artifacts/00:12:45_Clock_with_host_s_time.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20575-disable-cups-browsed/9/artifact/build-artifacts/00:12:45_Clock_with_host_s_time.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20575-disable-cups-browsed/9/artifact/build-artifacts/00:12:45_Clock_with_host_s_time.journal

After features/support/hooks.rb:100 0.000
1:31.816
Scenario Clock with host's time while using bridges
Before features/support/hooks.rb:269 0.002
Before features/support/hooks.rb:507 0.002
Steps
Given I have started Tails from DVD without network and logged in 1:31.816
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/time_syncing.feature:14:in `Given I have started Tails from DVD without network and logged in'
When the network is plugged 0.000
And the Tor Connection Assistant autostarts 0.000
And I configure some normal bridges in the Tor Connection Assistant 0.000
And I wait until Tor is ready 0.000
Then the system clock is less than 5 minutes incorrect 0.000
After features/support/hooks.rb:515 0.051
After features/support/hooks.rb:326 10.629

SCENARIO FAILED: 'Clock with host's time while using bridges' (at time 00:14:27)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20575-disable-cups-browsed/9/artifact/build-artifacts/00:14:27_Clock_with_host_s_time_while_using_bridges.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20575-disable-cups-browsed/9/artifact/build-artifacts/00:14:27_Clock_with_host_s_time_while_using_bridges.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20575-disable-cups-browsed/9/artifact/build-artifacts/00:14:27_Clock_with_host_s_time_while_using_bridges.journal

After features/support/hooks.rb:100 0.000
1:31.827
Scenario Clock is one day in the future while using obfs4 bridges
Before features/support/hooks.rb:269 0.002
Before features/support/hooks.rb:507 0.002
Steps
Given I have started Tails from DVD without network and logged in 1:31.827
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/time_syncing.feature:22:in `Given I have started Tails from DVD without network and logged in'
When I bump the system time with "+1 day" 0.000
And I capture all network traffic 0.000
And the network is plugged 0.000
And the Tor Connection Assistant autostarts 0.000
And I configure some obfs4 bridges in the Tor Connection Assistant in easy mode 0.000
And I wait until Tor is ready 0.000
Then the system clock is less than 5 minutes incorrect 0.000
And all Internet traffic has only flowed through the configured bridges or connectivity check service 0.000
After features/support/hooks.rb:515 0.039
After features/support/hooks.rb:326 10.627

SCENARIO FAILED: 'Clock is one day in the future while using obfs4 bridges' (at time 00:16:10)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20575-disable-cups-browsed/9/artifact/build-artifacts/00:16:10_Clock_is_one_day_in_the_future_while_using_obfs4_bridges.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20575-disable-cups-browsed/9/artifact/build-artifacts/00:16:10_Clock_is_one_day_in_the_future_while_using_obfs4_bridges.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20575-disable-cups-browsed/9/artifact/build-artifacts/00:16:10_Clock_is_one_day_in_the_future_while_using_obfs4_bridges.journal

After features/support/hooks.rb:100 0.000
1:31.901
Scenario The system time is not synced to the hardware clock
Before features/support/hooks.rb:269 0.002
Before features/support/hooks.rb:507 0.002
Steps
Given I have started Tails from DVD without network and logged in 1:31.901
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/time_syncing.feature:34:in `Given I have started Tails from DVD without network and logged in'
When I bump the system time with "-15 days" 0.000
And I warm reboot the computer 0.000
And the computer reboots Tails 0.000
Then Tails' hardware clock is close to the host system's time 0.000
After features/support/hooks.rb:515 0.034
After features/support/hooks.rb:326 10.640

SCENARIO FAILED: 'The system time is not synced to the hardware clock' (at time 00:17:52)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20575-disable-cups-browsed/9/artifact/build-artifacts/00:17:52_The_system_time_is_not_synced_to_the_hardware_clock.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20575-disable-cups-browsed/9/artifact/build-artifacts/00:17:52_The_system_time_is_not_synced_to_the_hardware_clock.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20575-disable-cups-browsed/9/artifact/build-artifacts/00:17:52_The_system_time_is_not_synced_to_the_hardware_clock.journal

After features/support/hooks.rb:100 0.000
1:31.819
Scenario Anti-test: Changes to the hardware clock are kept when rebooting
Before features/support/hooks.rb:269 0.002
Before features/support/hooks.rb:507 0.002
Steps
Given I have started Tails from DVD without network and logged in 1:31.819
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/time_syncing.feature:42:in `Given I have started Tails from DVD without network and logged in'
When I bump the hardware clock's time with "-15 days" 0.000
And I warm reboot the computer 0.000
And the computer reboots Tails 0.000
Then the hardware clock is still off by "-15 days" 0.000
After features/support/hooks.rb:515 0.039
After features/support/hooks.rb:326 10.674

SCENARIO FAILED: 'Anti-test: Changes to the hardware clock are kept when rebooting' (at time 00:19:35)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20575-disable-cups-browsed/9/artifact/build-artifacts/00:19:35_Anti-test:_Changes_to_the_hardware_clock_are_kept_when_rebooting.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20575-disable-cups-browsed/9/artifact/build-artifacts/00:19:35_Anti-test:_Changes_to_the_hardware_clock_are_kept_when_rebooting.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20575-disable-cups-browsed/9/artifact/build-artifacts/00:19:35_Anti-test:_Changes_to_the_hardware_clock_are_kept_when_rebooting.journal

After features/support/hooks.rb:100 0.000
1:2.326
Before features/support/hooks.rb:269 0.002
Before features/support/hooks.rb:507 0.002
Given a computer 0.239
And the hardware clock is set to "01 Jan 2000 12:34:56" 0.027
And I start the computer 0.979
And the computer boots Tails 1:0.902
Then the system clock is just past Tails' source date 0.177
After features/support/hooks.rb:515 0.115
After features/support/hooks.rb:326 0.639
After features/support/hooks.rb:100 0.005
1:31.865
Scenario On a clock with host's time, Tor Connection works even if time sync fails
Before features/support/hooks.rb:269 0.002
Before features/support/hooks.rb:507 0.002
Steps
Given I have started Tails from DVD without network and logged in 1:31.865
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/time_syncing.feature:56:in `Given I have started Tails from DVD without network and logged in'
And I make sure time sync before Tor connects times out 0.000
When the network is plugged 0.000
And I successfully configure Tor 0.000
Then the system clock is less than 5 minutes incorrect 0.000
After features/support/hooks.rb:515 0.039
After features/support/hooks.rb:326 10.582

SCENARIO FAILED: 'On a clock with host's time, Tor Connection works even if time sync fails' (at time 00:22:21)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20575-disable-cups-browsed/9/artifact/build-artifacts/00:22:21_On_a_clock_with_host_s_time,_Tor_Connection_works_even_if_time_sync_fails.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20575-disable-cups-browsed/9/artifact/build-artifacts/00:22:21_On_a_clock_with_host_s_time,_Tor_Connection_works_even_if_time_sync_fails.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20575-disable-cups-browsed/9/artifact/build-artifacts/00:22:21_On_a_clock_with_host_s_time,_Tor_Connection_works_even_if_time_sync_fails.journal

After features/support/hooks.rb:100 0.000
1:31.862
Scenario I can manually recover from time sync failure when connecting automatically to obfs4 bridges with a clock East of UTC
Before features/support/hooks.rb:269 0.002
Before features/support/hooks.rb:507 0.002
Steps
Given I have started Tails from DVD without network and logged in 1:31.862
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/time_syncing.feature:63:in `Given I have started Tails from DVD without network and logged in'
When I bump the system time with "+8 hours +15 minutes" 0.000
And all notifications have disappeared 0.000
And I capture all network traffic 0.000
And I make sure time sync before Tor connects fails 0.000
And the network is plugged 0.000
And the Tor Connection Assistant autostarts 0.000
When I configure the default bridges in the Tor Connection Assistant in easy mode without connecting 0.000
And I click "Connect to Tor" 0.000
And the Tor Connection Assistant fails to connect to Tor 0.000
# The "Fix Clock" button allows users to recover from this bug
Then I set the time zone in Tor Connection to "Asia/Shanghai" 0.000
Then the system clock is less than 20 minutes incorrect 0.000
When I click "Connect to Tor" 0.000
Then I wait until Tor is ready 0.000
And all Internet traffic has only flowed through the default bridges or fake connectivity check service 0.000
# check that htpdate has done its job
And the system clock is less than 5 minutes incorrect 0.000
After features/support/hooks.rb:515 0.054
After features/support/hooks.rb:326 10.635

SCENARIO FAILED: 'I can manually recover from time sync failure when connecting automatically to obfs4 bridges with a clock East of UTC' (at time 00:24:03)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20575-disable-cups-browsed/9/artifact/build-artifacts/00:24:03_I_can_manually_recover_from_time_sync_failure_when_connecting_automatically_to_obfs4_bridges_with_a_clock_East_of_UTC.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20575-disable-cups-browsed/9/artifact/build-artifacts/00:24:03_I_can_manually_recover_from_time_sync_failure_when_connecting_automatically_to_obfs4_bridges_with_a_clock_East_of_UTC.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20575-disable-cups-browsed/9/artifact/build-artifacts/00:24:03_I_can_manually_recover_from_time_sync_failure_when_connecting_automatically_to_obfs4_bridges_with_a_clock_East_of_UTC.journal

After features/support/hooks.rb:100 0.000
1:31.867
Scenario I can connect to obfs4 bridges having a clock East of UTC while hiding that I am using Tor
Before features/support/hooks.rb:269 0.002
Before features/support/hooks.rb:507 0.002
Steps
Given I have started Tails from DVD without network and logged in 1:31.867
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/time_syncing.feature:83:in `Given I have started Tails from DVD without network and logged in'
When I bump the system time with "+8 hours +15 minutes" 0.000
And all notifications have disappeared 0.000
And I capture all network traffic 0.000
And the network is plugged 0.000
And the Tor Connection Assistant autostarts 0.000
# Anti-test: Users east of UTC can't connect to obfs4 bridges
And I configure some obfs4 bridges in the Tor Connection Assistant in hide mode without connecting 0.000
And I click "Connect to Tor" 0.000
Then the Tor Connection Assistant reports that it failed to connect 0.000
# The "Fix Clock" button allows users to recover from this bug
When I set the time zone in Tor Connection to "Asia/Shanghai" 0.000
Then the system clock is less than 20 minutes incorrect 0.000
# "Asia/Shanghai" is UTC+08:00 all year long (no DST)
And the displayed clock is less than 20 minutes incorrect in "+08:00" 0.000
When I click "Connect to Tor" 0.000
Then I wait until Tor is ready 0.000
And all Internet traffic has only flowed through the configured bridges 0.000
# check that htpdate has done its job
And the system clock is less than 5 minutes incorrect 0.000
And the displayed clock is less than 5 minutes incorrect in "+08:00" 0.000
After features/support/hooks.rb:515 0.041
After features/support/hooks.rb:326 10.692

SCENARIO FAILED: 'I can connect to obfs4 bridges having a clock East of UTC while hiding that I am using Tor' (at time 00:25:46)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20575-disable-cups-browsed/9/artifact/build-artifacts/00:25:46_I_can_connect_to_obfs4_bridges_having_a_clock_East_of_UTC_while_hiding_that_I_am_using_Tor.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20575-disable-cups-browsed/9/artifact/build-artifacts/00:25:46_I_can_connect_to_obfs4_bridges_having_a_clock_East_of_UTC_while_hiding_that_I_am_using_Tor.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20575-disable-cups-browsed/9/artifact/build-artifacts/00:25:46_I_can_connect_to_obfs4_bridges_having_a_clock_East_of_UTC_while_hiding_that_I_am_using_Tor.journal

After features/support/hooks.rb:100 0.000
1:31.824
Scenario Time sync before Tor connects sets the same headers as the NetworkManager connectivity check
Before features/support/hooks.rb:269 0.002
Before features/support/hooks.rb:507 0.002
Steps
Given I have started Tails from DVD without network and logged in 1:31.824
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/time_syncing.feature:106:in `Given I have started Tails from DVD without network and logged in'
And I make sure time sync before Tor connects uses a fake connectivity check service 0.000
And the network is plugged 0.000
And Tor is ready 0.000
Then the fake connectivity check service has received a new HTTP request 0.000
When I make NetworkManager perform a connectivity check 0.000
Then the fake connectivity check service has received a new HTTP request 0.000
And the HTTP requests received by the fake connectivity check service are identical 0.000
After features/support/hooks.rb:515 0.029
After features/support/hooks.rb:326 10.653

SCENARIO FAILED: 'Time sync before Tor connects sets the same headers as the NetworkManager connectivity check' (at time 00:27:28)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20575-disable-cups-browsed/9/artifact/build-artifacts/00:27:28_Time_sync_before_Tor_connects_sets_the_same_headers_as_the_NetworkManager_connectivity_check.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20575-disable-cups-browsed/9/artifact/build-artifacts/00:27:28_Time_sync_before_Tor_connects_sets_the_same_headers_as_the_NetworkManager_connectivity_check.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20575-disable-cups-browsed/9/artifact/build-artifacts/00:27:28_Time_sync_before_Tor_connects_sets_the_same_headers_as_the_NetworkManager_connectivity_check.journal

After features/support/hooks.rb:100 0.000