Project Number Date
test_Tails_ISO_feature-arti 33 18 Dec 2024, 16:36

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:33.189 Failed
Feature Time syncing
As a Tails user I want Tor to work properly And for that I need a reasonably accurate system clock
35.146
Before features/support/hooks.rb:269 0.002
Before features/support/hooks.rb:503 0.004
Given I have started Tails from DVD without network and logged in 8.817
When the network is plugged 10.638
And I successfully configure Tor 15.624
Then the system clock is less than 5 minutes incorrect 0.065
After features/support/hooks.rb:511 0.393
After features/support/hooks.rb:326 0.683
After features/support/hooks.rb:100 0.000
4:55.931
Scenario Clock with host's time while using bridges
Before features/support/hooks.rb:269 0.002
Before features/support/hooks.rb:503 0.003
Steps
Given I have started Tails from DVD without network and logged in 8.391
When the network is plugged 0.087
And the Tor Connection Assistant autostarts 4.016
And I configure some normal bridges in the Tor Connection Assistant 12.844
And I wait until Tor is ready 4:30.591
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:703:in `/^Tor has built a circuit$/'
./features/step_definitions/common_steps.rb:665: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:511 0.058
After features/support/hooks.rb:326 5.424

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

Chutney logs: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/33/artifact/build-artifacts/00:16:43_Clock_with_host_s_time_while_using_bridges_chutney-data

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/33/artifact/build-artifacts/00:16:43_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/33/artifact/build-artifacts/00:16:43_Clock_with_host_s_time_while_using_bridges.png

Tor logs: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/33/artifact/build-artifacts/00:16:43_Clock_with_host_s_time_while_using_bridges.tor

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/33/artifact/build-artifacts/00:16:43_Clock_with_host_s_time_while_using_bridges.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/33/artifact/build-artifacts/00:16:43_Clock_with_host_s_time_while_using_bridges.journal

After features/support/hooks.rb:100 0.000
4:58.503
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:503 0.003
Steps
Given I have started Tails from DVD without network and logged in 8.662
When I bump the system time with "+1 day" 0.260
And I capture all network traffic 0.007
And the network is plugged 0.145
And the Tor Connection Assistant autostarts 5.263
And I configure some obfs4 bridges in the Tor Connection Assistant in easy mode 12.869
And I wait until Tor is ready 4:31.295
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:703:in `/^Tor has built a circuit$/'
./features/step_definitions/common_steps.rb:665: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:511 0.034
After features/support/hooks.rb:326 5.350

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

Chutney logs: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/33/artifact/build-artifacts/00:21:47_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/33/artifact/build-artifacts/00:21:47_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/33/artifact/build-artifacts/00:21:47_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/33/artifact/build-artifacts/00:21:47_Clock_is_one_day_in_the_future_while_using_obfs4_bridges.tor

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/33/artifact/build-artifacts/00:21:47_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/33/artifact/build-artifacts/00:21:47_Clock_is_one_day_in_the_future_while_using_obfs4_bridges.journal

After features/support/hooks.rb:100 0.056
1:31.673
Before features/support/hooks.rb:269 0.002
Before features/support/hooks.rb:503 0.003
Given I have started Tails from DVD without network and logged in 8.140
When I bump the system time with "-15 days" 0.283
And I warm reboot the computer 0.025
And the computer reboots Tails 1:22.217
Then Tails' hardware clock is close to the host system's time 1.006
After features/support/hooks.rb:511 0.147
After features/support/hooks.rb:326 0.712
After features/support/hooks.rb:100 0.007
1:34.122
Before features/support/hooks.rb:269 0.003
Before features/support/hooks.rb:503 0.003
Given I have started Tails from DVD without network and logged in 8.377
When I bump the hardware clock's time with "-15 days" 1.742
And I warm reboot the computer 0.015
And the computer reboots Tails 1:23.831
Then the hardware clock is still off by "-15 days" 0.154
After features/support/hooks.rb:511 0.172
After features/support/hooks.rb:326 0.756
After features/support/hooks.rb:100 0.008
1:6.368
Before features/support/hooks.rb:269 0.004
Before features/support/hooks.rb:503 0.004
Given a computer 0.201
And the hardware clock is set to "01 Jan 2000 12:34:56" 0.027
And I start the computer 1.455
And the computer boots Tails 1:4.435
Then the system clock is just past Tails' source date 0.248
After features/support/hooks.rb:511 0.141
After features/support/hooks.rb:326 0.705
After features/support/hooks.rb:100 0.007
36.674
Before features/support/hooks.rb:269 0.003
Before features/support/hooks.rb:503 0.002
Given I have started Tails from DVD without network and logged in 8.735
And I make sure time sync before Tor connects times out 1.247
When the network is plugged 0.094
And I successfully configure Tor 26.509
Then the system clock is less than 5 minutes incorrect 0.086
After features/support/hooks.rb:511 0.615
After features/support/hooks.rb:326 1.067
After features/support/hooks.rb:100 0.001
5:29.159
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.003
Before features/support/hooks.rb:503 0.005
Steps
Given I have started Tails from DVD without network and logged in 8.873
When I bump the system time with "+8 hours +15 minutes" 0.252
And all notifications have disappeared 4.570
And I capture all network traffic 0.003
And I make sure time sync before Tor connects fails 0.163
And the network is plugged 0.101
And the Tor Connection Assistant autostarts 4.465
When I configure the default bridges in the Tor Connection Assistant in easy mode without connecting 5.480
And I click "Connect to Tor" 1.327
And the Tor Connection Assistant fails to connect to Tor 17.102
# The "Fix Clock" button allows users to recover from this bug
Then I set the time zone in Tor Connection to "Asia/Shanghai" 15.187
Then the system clock is less than 20 minutes incorrect 0.235
When I click "Connect to Tor" 1.189
Then I wait until Tor is ready 4:30.207
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:703:in `/^Tor has built a circuit$/'
./features/step_definitions/common_steps.rb:665: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:511 0.036
After features/support/hooks.rb:326 5.231

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:15)

Chutney logs: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/33/artifact/build-artifacts/00:32:15_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/33/artifact/build-artifacts/00:32:15_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/33/artifact/build-artifacts/00:32:15_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/33/artifact/build-artifacts/00:32:15_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/33/artifact/build-artifacts/00:32:15_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/33/artifact/build-artifacts/00:32:15_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.047
5:20.754
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:503 0.002
Steps
Given I have started Tails from DVD without network and logged in 8.225
When I bump the system time with "+8 hours +15 minutes" 0.262
And all notifications have disappeared 4.048
And I capture all network traffic 0.002
And the network is plugged 0.096
And the Tor Connection Assistant autostarts 3.749
# 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.362
And I click "Connect to Tor" 1.174
Then the Tor Connection Assistant reports that it failed to connect 11.799
# The "Fix Clock" button allows users to recover from this bug
When I set the time zone in Tor Connection to "Asia/Shanghai" 15.016
Then the system clock is less than 20 minutes incorrect 0.237
# "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.173
Then I wait until Tor is ready 4:30.213
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:703:in `/^Tor has built a circuit$/'
./features/step_definitions/common_steps.rb:665: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:511 0.036
After features/support/hooks.rb:326 5.285

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:41)

Chutney logs: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/33/artifact/build-artifacts/00:37:41_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/33/artifact/build-artifacts/00:37:41_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/33/artifact/build-artifacts/00:37:41_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/33/artifact/build-artifacts/00:37:41_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/33/artifact/build-artifacts/00:37:41_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/33/artifact/build-artifacts/00:37:41_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.037
24.856
Before features/support/hooks.rb:269 0.002
Before features/support/hooks.rb:503 0.002
Given I have started Tails from DVD without network and logged in 8.530
And I make sure time sync before Tor connects uses a fake connectivity check service 1.188
And the network is plugged 0.184
And Tor is ready 13.336
Then the fake connectivity check service has received a new HTTP request 0.000
When I make NetworkManager perform a connectivity check 1.613
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.003
After features/support/hooks.rb:511 0.645
After features/support/hooks.rb:326 0.673
After features/support/hooks.rb:100 0.000