Project Number Date
test_Tails_ISO_19139-arti-bridges 1 16 Nov 2024, 21:48

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Time syncing 40 7 33 0 0 80 3 7 10 12:10.554 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:19.903
Scenario Clock with host's time
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.074
When the network is plugged 10.552
And I successfully configure Tor 1:1.276
TCA
TCA did not start (TorBootstrapFailure)
./features/step_definitions/tor.rb:375:in `rescue in block in <top (required)>'
./features/step_definitions/tor.rb:371:in `/^the Tor Connection Assistant (?:autostarts|is running)$/'
./features/step_definitions/common_steps.rb:656:in `/^I successfully configure Tor$/'
features/time_syncing.feature:10:in `And I successfully configure Tor'
Then the system clock is less than 5 minutes incorrect 0.000
After features/support/hooks.rb:511 0.048
After features/support/hooks.rb:326 8.322

SCENARIO FAILED: 'Clock with host's time' (at time 00:11:47)

Chutney logs: https://jenkins.tails.boum.org/job/test_Tails_ISO_19139-arti-bridges/1/artifact/build-artifacts/00:11:47_Clock_with_host_s_time_chutney-data

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_19139-arti-bridges/1/artifact/build-artifacts/00:11:47_Clock_with_host_s_time.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_19139-arti-bridges/1/artifact/build-artifacts/00:11:47_Clock_with_host_s_time.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_19139-arti-bridges/1/artifact/build-artifacts/00:11:47_Clock_with_host_s_time.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_19139-arti-bridges/1/artifact/build-artifacts/00:11:47_Clock_with_host_s_time.journal

After features/support/hooks.rb:100 0.000
1:8.303
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.223
When the network is plugged 0.079
And the Tor Connection Assistant autostarts 1:0.001
TCA
TCA did not start (TorBootstrapFailure)
./features/step_definitions/tor.rb:375:in `rescue in block in <top (required)>'
./features/step_definitions/tor.rb:371:in `/^the Tor Connection Assistant (?:autostarts|is running)$/'
features/time_syncing.feature:16:in `And the Tor Connection Assistant autostarts'
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:511 0.036
After features/support/hooks.rb:326 8.635

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

Chutney logs: https://jenkins.tails.boum.org/job/test_Tails_ISO_19139-arti-bridges/1/artifact/build-artifacts/00:13:04_Clock_with_host_s_time_while_using_bridges_chutney-data

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_19139-arti-bridges/1/artifact/build-artifacts/00:13: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_19139-arti-bridges/1/artifact/build-artifacts/00:13:04_Clock_with_host_s_time_while_using_bridges.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_19139-arti-bridges/1/artifact/build-artifacts/00:13:04_Clock_with_host_s_time_while_using_bridges.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_19139-arti-bridges/1/artifact/build-artifacts/00:13:04_Clock_with_host_s_time_while_using_bridges.journal

After features/support/hooks.rb:100 0.000
1:8.364
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.002
Steps
Given I have started Tails from DVD without network and logged in 8.086
When I bump the system time with "+1 day" 0.207
And I capture all network traffic 0.003
And the network is plugged 0.065
And the Tor Connection Assistant autostarts 1:0.000
TCA
TCA did not start (TorBootstrapFailure)
./features/step_definitions/tor.rb:375:in `rescue in block in <top (required)>'
./features/step_definitions/tor.rb:371:in `/^the Tor Connection Assistant (?:autostarts|is running)$/'
features/time_syncing.feature:26:in `And the Tor Connection Assistant autostarts'
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:511 0.029
After features/support/hooks.rb:326 8.532

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

Chutney logs: https://jenkins.tails.boum.org/job/test_Tails_ISO_19139-arti-bridges/1/artifact/build-artifacts/00:14:21_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/1/artifact/build-artifacts/00:14:21_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/1/artifact/build-artifacts/00:14:21_Clock_is_one_day_in_the_future_while_using_obfs4_bridges.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_19139-arti-bridges/1/artifact/build-artifacts/00:14:21_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/1/artifact/build-artifacts/00:14:21_Clock_is_one_day_in_the_future_while_using_obfs4_bridges.journal

After features/support/hooks.rb:100 0.062
1:23.591
Before features/support/hooks.rb:269 0.006
Before features/support/hooks.rb:503 0.004
Given I have started Tails from DVD without network and logged in 8.444
When I bump the system time with "-15 days" 0.292
And I warm reboot the computer 0.026
And the computer reboots Tails 1:14.653
Then Tails' hardware clock is close to the host system's time 0.174
After features/support/hooks.rb:511 0.110
After features/support/hooks.rb:326 0.595
After features/support/hooks.rb:100 0.006
1:24.279
Before features/support/hooks.rb:269 0.002
Before features/support/hooks.rb:503 0.001
Given I have started Tails from DVD without network and logged in 8.059
When I bump the hardware clock's time with "-15 days" 1.236
And I warm reboot the computer 0.013
And the computer reboots Tails 1:14.118
Then the hardware clock is still off by "-15 days" 0.851
After features/support/hooks.rb:511 0.134
After features/support/hooks.rb:326 0.603
After features/support/hooks.rb:100 0.006
55.937
Before features/support/hooks.rb:269 0.002
Before features/support/hooks.rb:503 0.003
Given a computer 0.167
And the hardware clock is set to "01 Jan 2000 12:34:56" 0.021
And I start the computer 0.982
And the computer boots Tails 54.573
Then the system clock is just past Tails' source date 0.192
After features/support/hooks.rb:511 0.124
After features/support/hooks.rb:326 0.675
After features/support/hooks.rb:100 0.007
1:12.464
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:503 0.003
Steps
Given I have started Tails from DVD without network and logged in 8.311
And I make sure time sync before Tor connects times out 1.260
When the network is plugged 0.067
And I successfully configure Tor 1:2.825
TCA
TCA did not start (TorBootstrapFailure)
./features/step_definitions/tor.rb:375:in `rescue in block in <top (required)>'
./features/step_definitions/tor.rb:371:in `/^the Tor Connection Assistant (?:autostarts|is running)$/'
./features/step_definitions/common_steps.rb:656:in `/^I successfully configure Tor$/'
features/time_syncing.feature:59:in `And I successfully configure Tor'
Then the system clock is less than 5 minutes incorrect 0.000
After features/support/hooks.rb:511 0.052
After features/support/hooks.rb:326 8.224

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

Chutney logs: https://jenkins.tails.boum.org/job/test_Tails_ISO_19139-arti-bridges/1/artifact/build-artifacts/00:19:28_On_a_clock_with_host_s_time,_Tor_Connection_works_even_if_time_sync_fails_chutney-data

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_19139-arti-bridges/1/artifact/build-artifacts/00:19:28_On_a_clock_with_host_s_time,_Tor_Connection_works_even_if_time_sync_fails.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_19139-arti-bridges/1/artifact/build-artifacts/00:19:28_On_a_clock_with_host_s_time,_Tor_Connection_works_even_if_time_sync_fails.png

Tor logs: https://jenkins.tails.boum.org/job/test_Tails_ISO_19139-arti-bridges/1/artifact/build-artifacts/00:19:28_On_a_clock_with_host_s_time,_Tor_Connection_works_even_if_time_sync_fails.tor

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_19139-arti-bridges/1/artifact/build-artifacts/00:19:28_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_19139-arti-bridges/1/artifact/build-artifacts/00:19:28_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:12.921
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:503 0.002
Steps
Given I have started Tails from DVD without network and logged in 8.170
When I bump the system time with "+8 hours +15 minutes" 0.192
And all notifications have disappeared 4.374
And I capture all network traffic 0.003
And I make sure time sync before Tor connects fails 0.102
And the network is plugged 0.077
And the Tor Connection Assistant autostarts 1:0.001
TCA
TCA did not start (TorBootstrapFailure)
./features/step_definitions/tor.rb:375:in `rescue in block in <top (required)>'
./features/step_definitions/tor.rb:371:in `/^the Tor Connection Assistant (?:autostarts|is running)$/'
features/time_syncing.feature:69:in `And the Tor Connection Assistant autostarts'
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:511 0.034
After features/support/hooks.rb:326 8.134

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:20:49)

Chutney logs: https://jenkins.tails.boum.org/job/test_Tails_ISO_19139-arti-bridges/1/artifact/build-artifacts/00:20:49_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/1/artifact/build-artifacts/00:20:49_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/1/artifact/build-artifacts/00:20:49_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_19139-arti-bridges/1/artifact/build-artifacts/00:20:49_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/1/artifact/build-artifacts/00:20:49_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.052
1:12.450
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.042
When I bump the system time with "+8 hours +15 minutes" 0.224
And all notifications have disappeared 4.103
And I capture all network traffic 0.002
And the network is plugged 0.073
And the Tor Connection Assistant autostarts 1:0.003
TCA
TCA did not start (TorBootstrapFailure)
./features/step_definitions/tor.rb:375:in `rescue in block in <top (required)>'
./features/step_definitions/tor.rb:371:in `/^the Tor Connection Assistant (?:autostarts|is running)$/'
features/time_syncing.feature:88:in `And the Tor Connection Assistant autostarts'
# 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:511 0.039
After features/support/hooks.rb:326 8.470

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

Chutney logs: https://jenkins.tails.boum.org/job/test_Tails_ISO_19139-arti-bridges/1/artifact/build-artifacts/00:22:10_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/1/artifact/build-artifacts/00:22:10_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/1/artifact/build-artifacts/00:22:10_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_19139-arti-bridges/1/artifact/build-artifacts/00:22:10_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/1/artifact/build-artifacts/00:22:10_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.036
1:12.338
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:503 0.002
Steps
Given I have started Tails from DVD without network and logged in 8.315
And I make sure time sync before Tor connects uses a fake connectivity check service 1.227
And the network is plugged 0.067
And Tor is ready 1:2.727
TCA
TCA did not start (TorBootstrapFailure)
./features/step_definitions/tor.rb:375:in `rescue in block in <top (required)>'
./features/step_definitions/tor.rb:371:in `/^the Tor Connection Assistant (?:autostarts|is running)$/'
./features/step_definitions/common_steps.rb:656:in `/^I successfully configure Tor$/'
./features/step_definitions/common_steps.rb:611:in `/^Tor is ready$/'
features/time_syncing.feature:109:in `And Tor is ready'
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:511 0.050
After features/support/hooks.rb:326 8.125

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

Chutney logs: https://jenkins.tails.boum.org/job/test_Tails_ISO_19139-arti-bridges/1/artifact/build-artifacts/00:23:31_Time_sync_before_Tor_connects_sets_the_same_headers_as_the_NetworkManager_connectivity_check_chutney-data

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_19139-arti-bridges/1/artifact/build-artifacts/00:23:31_Time_sync_before_Tor_connects_sets_the_same_headers_as_the_NetworkManager_connectivity_check.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_19139-arti-bridges/1/artifact/build-artifacts/00:23:31_Time_sync_before_Tor_connects_sets_the_same_headers_as_the_NetworkManager_connectivity_check.png

Tor logs: https://jenkins.tails.boum.org/job/test_Tails_ISO_19139-arti-bridges/1/artifact/build-artifacts/00:23:31_Time_sync_before_Tor_connects_sets_the_same_headers_as_the_NetworkManager_connectivity_check.tor

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_19139-arti-bridges/1/artifact/build-artifacts/00:23:31_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_19139-arti-bridges/1/artifact/build-artifacts/00:23:31_Time_sync_before_Tor_connects_sets_the_same_headers_as_the_NetworkManager_connectivity_check.journal

After features/support/hooks.rb:100 0.000