Project Number Date
test_Tails_ISO_feature-arti 21 07 Apr 2025, 16:50

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Time syncing 68 4 8 0 0 80 6 4 10 26:13.266 Failed
Feature Time syncing
As a Tails user I want Tor to work properly And for that I need a reasonably accurate system clock
36.986
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Before features/support/hooks.rb:507 0.009
Given I have started Tails from DVD without network and logged in 9.111
When the network is plugged 10.711
And I successfully configure Tor 17.060
Then the system clock is less than 5 minutes incorrect 0.103
After features/support/hooks.rb:515 0.477
After features/support/hooks.rb:330 0.722
After features/support/hooks.rb:100 0.000
4:55.780
Scenario Clock with host's time while using bridges
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Before features/support/hooks.rb:507 0.002
Steps
Given I have started Tails from DVD without network and logged in 8.178
When the network is plugged 0.105
And the Tor Connection Assistant autostarts 3.720
And I configure some normal bridges in the Tor Connection Assistant 12.815
And I wait until Tor is ready 4:30.961
Tor
Tor failed to bootstrap (TorBootstrapFailure)
./features/support/helpers/misc_helpers.rb:272:in `rescue in wait_until_tor_is_working'
./features/support/helpers/misc_helpers.rb:254:in `wait_until_tor_is_working'
./features/step_definitions/common_steps.rb:710:in `/^Tor has built a circuit$/'
./features/step_definitions/common_steps.rb:672:in `/^I wait until Tor is ready$/'
features/time_syncing.feature:18:in `And I wait until Tor is ready'
Then the system clock is less than 5 minutes incorrect 0.000
After features/support/hooks.rb:515 0.041
After features/support/hooks.rb:330 5.236

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

Chutney logs: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/21/artifact/build-artifacts/00:17:04_Clock_with_host_s_time_while_using_bridges_chutney-data

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/21/artifact/build-artifacts/00:17:04_Clock_with_host_s_time_while_using_bridges.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/21/artifact/build-artifacts/00:17:04_Clock_with_host_s_time_while_using_bridges.png

Tor logs: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/21/artifact/build-artifacts/00:17:04_Clock_with_host_s_time_while_using_bridges.tor

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/21/artifact/build-artifacts/00:17:04_Clock_with_host_s_time_while_using_bridges.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/21/artifact/build-artifacts/00:17:04_Clock_with_host_s_time_while_using_bridges.journal

After features/support/hooks.rb:100 0.000
4:57.051
Scenario Clock is one day in the future while using obfs4 bridges
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Before features/support/hooks.rb:507 0.002
Steps
Given I have started Tails from DVD without network and logged in 8.523
When I bump the system time with "+1 day" 0.230
And I capture all network traffic 0.002
And the network is plugged 0.091
And the Tor Connection Assistant autostarts 4.861
And I configure some obfs4 bridges in the Tor Connection Assistant in easy mode 12.501
And I wait until Tor is ready 4:30.839
Tor
Tor failed to bootstrap (TorBootstrapFailure)
./features/support/helpers/misc_helpers.rb:272:in `rescue in wait_until_tor_is_working'
./features/support/helpers/misc_helpers.rb:254:in `wait_until_tor_is_working'
./features/step_definitions/common_steps.rb:710:in `/^Tor has built a circuit$/'
./features/step_definitions/common_steps.rb:672:in `/^I wait until Tor is ready$/'
features/time_syncing.feature:28:in `And I wait until Tor is ready'
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.044
After features/support/hooks.rb:330 5.262

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

Chutney logs: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/21/artifact/build-artifacts/00:22:07_Clock_is_one_day_in_the_future_while_using_obfs4_bridges_chutney-data

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/21/artifact/build-artifacts/00:22:07_Clock_is_one_day_in_the_future_while_using_obfs4_bridges.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/21/artifact/build-artifacts/00:22:07_Clock_is_one_day_in_the_future_while_using_obfs4_bridges.png

Tor logs: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/21/artifact/build-artifacts/00:22:07_Clock_is_one_day_in_the_future_while_using_obfs4_bridges.tor

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/21/artifact/build-artifacts/00:22:07_Clock_is_one_day_in_the_future_while_using_obfs4_bridges.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/21/artifact/build-artifacts/00:22:07_Clock_is_one_day_in_the_future_while_using_obfs4_bridges.journal

After features/support/hooks.rb:100 0.064
1:26.001
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Before features/support/hooks.rb:507 0.003
Given I have started Tails from DVD without network and logged in 8.563
When I bump the system time with "-15 days" 0.273
And I warm reboot the computer 0.023
And the computer reboots Tails 1:16.463
Then Tails' hardware clock is close to the host system's time 0.676
After features/support/hooks.rb:515 0.206
After features/support/hooks.rb:330 1.138
After features/support/hooks.rb:100 0.008
1:26.637
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Before features/support/hooks.rb:507 0.002
Given I have started Tails from DVD without network and logged in 8.795
When I bump the hardware clock's time with "-15 days" 1.840
And I warm reboot the computer 0.014
And the computer reboots Tails 1:15.310
Then the hardware clock is still off by "-15 days" 0.677
After features/support/hooks.rb:515 0.135
After features/support/hooks.rb:330 0.893
After features/support/hooks.rb:100 0.006
1:0.644
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Before features/support/hooks.rb:507 0.002
Given a computer 0.186
And the hardware clock is set to "01 Jan 2000 12:34:56" 0.028
And I start the computer 1.028
And the computer boots Tails 59.204
Then the system clock is just past Tails' source date 0.196
After features/support/hooks.rb:515 0.122
After features/support/hooks.rb:330 0.605
After features/support/hooks.rb:100 0.005
32.510
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Before features/support/hooks.rb:507 0.009
Given I have started Tails from DVD without network and logged in 8.436
And I make sure time sync before Tor connects times out 1.170
When the network is plugged 0.096
And I successfully configure Tor 22.729
Then the system clock is less than 5 minutes incorrect 0.076
After features/support/hooks.rb:515 0.540
After features/support/hooks.rb:330 0.694
After features/support/hooks.rb:100 0.000
5:26.775
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:266 0.000
Before features/support/hooks.rb:273 0.002
Before features/support/hooks.rb:507 0.002
Steps
Given I have started Tails from DVD without network and logged in 8.228
When I bump the system time with "+8 hours +15 minutes" 0.229
And all notifications have disappeared 4.189
And I capture all network traffic 0.003
And I make sure time sync before Tor connects fails 0.172
And the network is plugged 0.147
And the Tor Connection Assistant autostarts 3.835
When I configure the default bridges in the Tor Connection Assistant in easy mode without connecting 5.243
And I click "Connect to Tor" 1.150
And the Tor Connection Assistant fails to connect to Tor 16.932
# The "Fix Clock" button allows users to recover from this bug
Then I set the time zone in Tor Connection to "Asia/Shanghai" 14.926
Then the system clock is less than 20 minutes incorrect 0.344
When I click "Connect to Tor" 1.182
Then I wait until Tor is ready 4:30.189
Tor
Tor failed to bootstrap (TorBootstrapFailure)
./features/support/helpers/misc_helpers.rb:272:in `rescue in wait_until_tor_is_working'
./features/support/helpers/misc_helpers.rb:254:in `wait_until_tor_is_working'
./features/step_definitions/common_steps.rb:710:in `/^Tor has built a circuit$/'
./features/step_definitions/common_steps.rb:672:in `/^I wait until Tor is ready$/'
features/time_syncing.feature:77:in `Then I wait until Tor is ready'
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.026
After features/support/hooks.rb:330 5.328

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:32:09)

Chutney logs: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/21/artifact/build-artifacts/00:32:09_I_can_manually_recover_from_time_sync_failure_when_connecting_automatically_to_obfs4_bridges_with_a_clock_East_of_UTC_chutney-data

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/21/artifact/build-artifacts/00:32:09_I_can_manually_recover_from_time_sync_failure_when_connecting_automatically_to_obfs4_bridges_with_a_clock_East_of_UTC.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/21/artifact/build-artifacts/00:32:09_I_can_manually_recover_from_time_sync_failure_when_connecting_automatically_to_obfs4_bridges_with_a_clock_East_of_UTC.png

Tor logs: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/21/artifact/build-artifacts/00:32:09_I_can_manually_recover_from_time_sync_failure_when_connecting_automatically_to_obfs4_bridges_with_a_clock_East_of_UTC.tor

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/21/artifact/build-artifacts/00:32:09_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_feature-arti/21/artifact/build-artifacts/00:32:09_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.045
5:22.571
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:266 0.000
Before features/support/hooks.rb:273 0.002
Before features/support/hooks.rb:507 0.002
Steps
Given I have started Tails from DVD without network and logged in 8.994
When I bump the system time with "+8 hours +15 minutes" 0.222
And all notifications have disappeared 4.168
And I capture all network traffic 0.002
And the network is plugged 0.078
And the Tor Connection Assistant autostarts 4.225
# 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 4.633
And I click "Connect to Tor" 1.212
Then the Tor Connection Assistant reports that it failed to connect 12.015
# The "Fix Clock" button allows users to recover from this bug
When I set the time zone in Tor Connection to "Asia/Shanghai" 14.972
Then the system clock is less than 20 minutes incorrect 0.308
# "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.389
When I click "Connect to Tor" 1.172
Then I wait until Tor is ready 4:30.173
Tor
Tor failed to bootstrap (TorBootstrapFailure)
./features/support/helpers/misc_helpers.rb:272:in `rescue in wait_until_tor_is_working'
./features/support/helpers/misc_helpers.rb:254:in `wait_until_tor_is_working'
./features/step_definitions/common_steps.rb:710:in `/^Tor has built a circuit$/'
./features/step_definitions/common_steps.rb:672:in `/^I wait until Tor is ready$/'
features/time_syncing.feature:99:in `Then I wait until Tor is ready'
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.040
After features/support/hooks.rb:330 5.527

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

Chutney logs: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/21/artifact/build-artifacts/00:37:37_I_can_connect_to_obfs4_bridges_having_a_clock_East_of_UTC_while_hiding_that_I_am_using_Tor_chutney-data

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/21/artifact/build-artifacts/00:37:37_I_can_connect_to_obfs4_bridges_having_a_clock_East_of_UTC_while_hiding_that_I_am_using_Tor.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/21/artifact/build-artifacts/00:37:37_I_can_connect_to_obfs4_bridges_having_a_clock_East_of_UTC_while_hiding_that_I_am_using_Tor.png

Tor logs: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/21/artifact/build-artifacts/00:37:37_I_can_connect_to_obfs4_bridges_having_a_clock_East_of_UTC_while_hiding_that_I_am_using_Tor.tor

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/21/artifact/build-artifacts/00:37:37_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_feature-arti/21/artifact/build-artifacts/00:37:37_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.052
28.307
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Before features/support/hooks.rb:507 0.004
Given I have started Tails from DVD without network and logged in 9.825
And I make sure time sync before Tor connects uses a fake connectivity check service 1.168
And the network is plugged 0.082
And Tor is ready 15.637
Then the fake connectivity check service has received a new HTTP request 0.000
When I make NetworkManager perform a connectivity check 1.587
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.004
After features/support/hooks.rb:515 0.619
After features/support/hooks.rb:330 0.783
After features/support/hooks.rb:100 0.001