Project Number Date
test_Tails_ISO_devel 3356 19 Apr 2024, 12:29

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Time syncing 74 1 5 0 0 80 9 1 10 8:17.078 Failed
Feature Time syncing
As a Tails user I want Tor to work properly And for that I need a reasonably accurate system clock
29.088
Before features/support/hooks.rb:259 0.002
Before features/support/hooks.rb:456 0.011
Given I have started Tails from DVD without network and logged in 8.815
When the network is plugged 0.222
And I successfully configure Tor 19.995
Then the system clock is less than 5 minutes incorrect 0.055
After features/support/hooks.rb:464 0.613
After features/support/hooks.rb:305 0.666
After features/support/hooks.rb:89 0.000
30.051
Before features/support/hooks.rb:259 0.002
Before features/support/hooks.rb:456 0.003
Given I have started Tails from DVD without network and logged in 8.519
When the network is plugged 0.052
And the Tor Connection Assistant autostarts 5.460
And I configure some normal bridges in the Tor Connection Assistant 10.749
And I wait until Tor is ready 5.209
Then the system clock is less than 5 minutes incorrect 0.059
After features/support/hooks.rb:464 0.440
After features/support/hooks.rb:305 0.708
After features/support/hooks.rb:89 0.000
32.720
Before features/support/hooks.rb:259 0.002
Before features/support/hooks.rb:456 0.003
Given I have started Tails from DVD without network and logged in 8.487
When I bump the system time with "+1 day" 0.261
And I capture all network traffic 0.002
And the network is plugged 0.039
And the Tor Connection Assistant autostarts 5.891
And I configure some obfs4 bridges in the Tor Connection Assistant in easy mode 15.374
And I wait until Tor is ready 1.696
Then the system clock is less than 5 minutes incorrect 0.039
And all Internet traffic has only flowed through the configured bridges or connectivity check service 0.929
After features/support/hooks.rb:464 0.519
After features/support/hooks.rb:305 0.791
After features/support/hooks.rb:89 0.049
1:19.239
Before features/support/hooks.rb:259 0.002
Before features/support/hooks.rb:456 0.002
Given I have started Tails from DVD without network and logged in 8.526
When I bump the system time with "-15 days" 0.305
And I warm reboot the computer 0.021
And the computer reboots Tails 1:10.237
Then Tails' hardware clock is close to the host system's time 0.148
After features/support/hooks.rb:464 0.113
After features/support/hooks.rb:305 0.658
After features/support/hooks.rb:89 0.006
1:32.204
Before features/support/hooks.rb:259 0.003
Before features/support/hooks.rb:456 0.002
Given I have started Tails from DVD without network and logged in 9.133
When I bump the hardware clock's time with "-15 days" 2.073
And I warm reboot the computer 0.011
And the computer reboots Tails 1:20.126
Then the hardware clock is still off by "-15 days" 0.859
After features/support/hooks.rb:464 0.104
After features/support/hooks.rb:305 0.640
After features/support/hooks.rb:89 0.006
58.121
Before features/support/hooks.rb:259 0.003
Before features/support/hooks.rb:456 0.002
Given a computer 0.173
And the hardware clock is set to "01 Jan 2000 12:34:56" 0.027
And I start the computer 1.004
And the computer boots Tails 56.687
Then the system clock is just past Tails' source date 0.228
After features/support/hooks.rb:464 0.092
After features/support/hooks.rb:305 0.619
After features/support/hooks.rb:89 0.006
35.405
Before features/support/hooks.rb:259 0.003
Before features/support/hooks.rb:456 0.002
Given I have started Tails from DVD without network and logged in 9.009
And I make sure time sync before Tor connects times out 1.227
When the network is plugged 0.063
And I successfully configure Tor 25.038
Then the system clock is less than 5 minutes incorrect 0.066
After features/support/hooks.rb:464 0.560
After features/support/hooks.rb:305 0.687
After features/support/hooks.rb:89 0.000
53.919
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:259 0.002
Before features/support/hooks.rb:456 0.002
Steps
Given I have started Tails from DVD without network and logged in 8.964
When I bump the system time with "+8 hours +15 minutes" 0.270
And all notifications have disappeared 4.364
And I capture all network traffic 0.004
And I make sure time sync before Tor connects fails 0.128
And the network is plugged 0.760
And the Tor Connection Assistant autostarts 4.270
When I configure the default bridges in the Tor Connection Assistant in easy mode without connecting 5.192
And I click "Connect to Tor" 1.185
And the Tor Connection Assistant fails to connect to Tor 15.704
# The "Fix Clock" button allows users to recover from this bug
Then I set the time zone in Tor Connection to "Asia/Shanghai" 13.073
try_for() timeout expired (Timeout::Error)
./features/support/helpers/misc_helpers.rb:146:in `rescue in try_for'
./features/support/helpers/misc_helpers.rb:52:in `try_for'
./features/step_definitions/tor.rb:850:in `/^I set the time zone in Tor Connection to "([^"]*)"$/'
features/time_syncing.feature:74:in `Then I set the time zone in Tor Connection to "Asia/Shanghai"'
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:464 0.037
After features/support/hooks.rb:305 4.187

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:17:25)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3356/artifact/build-artifacts/00:17:25_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_devel/3356/artifact/build-artifacts/00:17:25_I_can_manually_recover_from_time_sync_failure_when_connecting_automatically_to_obfs4_bridges_with_a_clock_East_of_UTC.mkv

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3356/artifact/build-artifacts/00:17:25_I_can_manually_recover_from_time_sync_failure_when_connecting_automatically_to_obfs4_bridges_with_a_clock_East_of_UTC.boot-log

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3356/artifact/build-artifacts/00:17:25_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:89 0.062
1:0.508
Before features/support/hooks.rb:259 0.003
Before features/support/hooks.rb:456 0.002
Given I have started Tails from DVD without network and logged in 8.159
When I bump the system time with "+8 hours +15 minutes" 0.714
And all notifications have disappeared 3.934
And I capture all network traffic 0.003
And the network is plugged 0.103
And the Tor Connection Assistant autostarts 4.837
# 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.319
And I click "Connect to Tor" 1.211
Then the Tor Connection Assistant reports that it failed to connect 11.773
# The "Fix Clock" button allows users to recover from this bug
When I set the time zone in Tor Connection to "Asia/Shanghai" 14.839
Then the system clock is less than 20 minutes incorrect 0.225
# "Asia/Shanghai" is UTC+08:00 all year long (no DST)
And the displayed clock is less than 20 minutes incorrect in "+08:00" 1.328
When I click "Connect to Tor" 1.138
Then I wait until Tor is ready 6.533
And all Internet traffic has only flowed through the configured bridges 0.879
# check that htpdate has done its job
And the system clock is less than 5 minutes incorrect 0.062
And the displayed clock is less than 5 minutes incorrect in "+08:00" 0.443
After features/support/hooks.rb:464 0.596
After features/support/hooks.rb:305 0.731
After features/support/hooks.rb:89 0.043
25.818
Before features/support/hooks.rb:259 0.003
Before features/support/hooks.rb:456 0.003
Given I have started Tails from DVD without network and logged in 8.773
And I make sure time sync before Tor connects uses a fake connectivity check service 1.192
And the network is plugged 0.034
And Tor is ready 14.273
Then the fake connectivity check service has received a new HTTP request 0.000
When I make NetworkManager perform a connectivity check 1.541
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.002
After features/support/hooks.rb:464 0.707
After features/support/hooks.rb:305 0.581
After features/support/hooks.rb:89 0.000