Project Number Date
test_Tails_ISO_19139-arti-bridges 22 05 Dec 2024, 22:42

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 25:55.318 Failed
Feature Time syncing
As a Tails user I want Tor to work properly And for that I need a reasonably accurate system clock
34.819
Before features/support/hooks.rb:269 0.002
Before features/support/hooks.rb:503 0.007
Given I have started Tails from DVD without network and logged in 8.080
When the network is plugged 10.549
And I successfully configure Tor 16.110
Then the system clock is less than 5 minutes incorrect 0.077
After features/support/hooks.rb:511 0.414
After features/support/hooks.rb:326 0.687
After features/support/hooks.rb:100 0.000
4:57.255
Scenario Clock with host's time while using bridges
Before features/support/hooks.rb:269 0.003
Before features/support/hooks.rb:503 0.003
Steps
Given I have started Tails from DVD without network and logged in 8.022
When the network is plugged 0.085
And the Tor Connection Assistant autostarts 4.191
And I configure some normal bridges in the Tor Connection Assistant 14.107
And I wait until Tor is ready 4:30.848
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.038
After features/support/hooks.rb:326 5.122

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

Chutney logs: https://jenkins.tails.boum.org/job/test_Tails_ISO_19139-arti-bridges/22/artifact/build-artifacts/00:16:05_Clock_with_host_s_time_while_using_bridges_chutney-data

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_19139-arti-bridges/22/artifact/build-artifacts/00:16:05_Clock_with_host_s_time_while_using_bridges.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_19139-arti-bridges/22/artifact/build-artifacts/00:16:05_Clock_with_host_s_time_while_using_bridges.png

Tor logs: https://jenkins.tails.boum.org/job/test_Tails_ISO_19139-arti-bridges/22/artifact/build-artifacts/00:16:05_Clock_with_host_s_time_while_using_bridges.tor

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_19139-arti-bridges/22/artifact/build-artifacts/00:16:05_Clock_with_host_s_time_while_using_bridges.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_19139-arti-bridges/22/artifact/build-artifacts/00:16:05_Clock_with_host_s_time_while_using_bridges.journal

After features/support/hooks.rb:100 0.000
4:57.371
Scenario Clock is one day in the future while using obfs4 bridges
Before features/support/hooks.rb:269 0.005
Before features/support/hooks.rb:503 0.004
Steps
Given I have started Tails from DVD without network and logged in 8.150
When I bump the system time with "+1 day" 0.270
And I capture all network traffic 0.005
And the network is plugged 0.120
And the Tor Connection Assistant autostarts 4.336
And I configure some obfs4 bridges in the Tor Connection Assistant in easy mode 13.991
And I wait until Tor is ready 4:30.495
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.029
After features/support/hooks.rb:326 5.164

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

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

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_19139-arti-bridges/22/artifact/build-artifacts/00:21:08_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_19139-arti-bridges/22/artifact/build-artifacts/00:21:08_Clock_is_one_day_in_the_future_while_using_obfs4_bridges.png

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

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

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

After features/support/hooks.rb:100 0.050
1:22.912
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.128
When I bump the system time with "-15 days" 0.297
And I warm reboot the computer 0.014
And the computer reboots Tails 1:14.104
Then Tails' hardware clock is close to the host system's time 0.367
After features/support/hooks.rb:511 0.108
After features/support/hooks.rb:326 0.584
After features/support/hooks.rb:100 0.008
1:24.287
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 7.933
When I bump the hardware clock's time with "-15 days" 1.352
And I warm reboot the computer 0.012
And the computer reboots Tails 1:14.357
Then the hardware clock is still off by "-15 days" 0.630
After features/support/hooks.rb:511 0.144
After features/support/hooks.rb:326 0.609
After features/support/hooks.rb:100 0.006
57.039
Before features/support/hooks.rb:269 0.002
Before features/support/hooks.rb:503 0.002
Given a computer 0.152
And the hardware clock is set to "01 Jan 2000 12:34:56" 0.029
And I start the computer 1.026
And the computer boots Tails 55.645
Then the system clock is just past Tails' source date 0.184
After features/support/hooks.rb:511 0.122
After features/support/hooks.rb:326 0.622
After features/support/hooks.rb:100 0.006
32.354
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.249
And I make sure time sync before Tor connects times out 1.249
When the network is plugged 0.074
And I successfully configure Tor 22.668
Then the system clock is less than 5 minutes incorrect 0.112
After features/support/hooks.rb:511 0.465
After features/support/hooks.rb:326 0.724
After features/support/hooks.rb:100 0.001
5:25.798
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.122
When I bump the system time with "+8 hours +15 minutes" 0.218
And all notifications have disappeared 3.938
And I capture all network traffic 0.002
And I make sure time sync before Tor connects fails 0.126
And the network is plugged 0.059
And the Tor Connection Assistant autostarts 3.545
When I configure the default bridges in the Tor Connection Assistant in easy mode without connecting 5.127
And I click "Connect to Tor" 1.179
And the Tor Connection Assistant fails to connect to Tor 17.066
# The "Fix Clock" button allows users to recover from this bug
Then I set the time zone in Tor Connection to "Asia/Shanghai" 14.935
Then the system clock is less than 20 minutes incorrect 0.185
When I click "Connect to Tor" 1.166
Then I wait until Tor is ready 4:30.122
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.039
After features/support/hooks.rb:326 5.305

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:30:59)

Chutney logs: https://jenkins.tails.boum.org/job/test_Tails_ISO_19139-arti-bridges/22/artifact/build-artifacts/00:30:59_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_19139-arti-bridges/22/artifact/build-artifacts/00:30:59_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_19139-arti-bridges/22/artifact/build-artifacts/00:30:59_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_19139-arti-bridges/22/artifact/build-artifacts/00:30:59_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_19139-arti-bridges/22/artifact/build-artifacts/00:30:59_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_19139-arti-bridges/22/artifact/build-artifacts/00:30:59_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.036
5:20.372
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 7.991
When I bump the system time with "+8 hours +15 minutes" 0.182
And all notifications have disappeared 4.078
And I capture all network traffic 0.002
And the network is plugged 0.066
And the Tor Connection Assistant autostarts 3.609
# 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.507
And I click "Connect to Tor" 1.182
Then the Tor Connection Assistant reports that it failed to connect 11.801
# The "Fix Clock" button allows users to recover from this bug
When I set the time zone in Tor Connection to "Asia/Shanghai" 14.928
Then the system clock is less than 20 minutes incorrect 0.257
# "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.419
When I click "Connect to Tor" 1.143
Then I wait until Tor is ready 4:30.202
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.030
After features/support/hooks.rb:326 5.361

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

Chutney logs: https://jenkins.tails.boum.org/job/test_Tails_ISO_19139-arti-bridges/22/artifact/build-artifacts/00:36:25_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_19139-arti-bridges/22/artifact/build-artifacts/00:36:25_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_19139-arti-bridges/22/artifact/build-artifacts/00:36:25_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_19139-arti-bridges/22/artifact/build-artifacts/00:36:25_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_19139-arti-bridges/22/artifact/build-artifacts/00:36:25_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_19139-arti-bridges/22/artifact/build-artifacts/00:36:25_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.066
23.108
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.345
And I make sure time sync before Tor connects uses a fake connectivity check service 1.197
And the network is plugged 0.093
And Tor is ready 11.984
Then the fake connectivity check service has received a new HTTP request 0.000
When I make NetworkManager perform a connectivity check 1.482
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.585
After features/support/hooks.rb:326 0.671
After features/support/hooks.rb:100 0.000