Project Number Date
test_Tails_ISO_stable 4941 15 Jul 2024, 12:13

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:25.006 Failed
Feature Time syncing
As a Tails user I want Tor to work properly And for that I need a reasonably accurate system clock
27.820
Before features/support/hooks.rb:269 0.002
Before features/support/hooks.rb:507 0.004
Given I have started Tails from DVD without network and logged in 9.086
When the network is plugged 0.154
And I successfully configure Tor 18.531
Then the system clock is less than 5 minutes incorrect 0.047
After features/support/hooks.rb:515 0.561
After features/support/hooks.rb:326 0.634
After features/support/hooks.rb:100 0.000
28.882
Before features/support/hooks.rb:269 0.002
Before features/support/hooks.rb:507 0.002
Given I have started Tails from DVD without network and logged in 10.254
When the network is plugged 0.069
And the Tor Connection Assistant autostarts 3.823
And I configure some normal bridges in the Tor Connection Assistant 12.876
And I wait until Tor is ready 1.800
Then the system clock is less than 5 minutes incorrect 0.058
After features/support/hooks.rb:515 0.356
After features/support/hooks.rb:326 0.677
After features/support/hooks.rb:100 0.000
30.896
Before features/support/hooks.rb:269 0.002
Before features/support/hooks.rb:507 0.002
Given I have started Tails from DVD without network and logged in 8.165
When I bump the system time with "+1 day" 0.327
And I capture all network traffic 0.003
And the network is plugged 0.039
And the Tor Connection Assistant autostarts 4.799
And I configure some obfs4 bridges in the Tor Connection Assistant in easy mode 15.008
And I wait until Tor is ready 1.671
Then the system clock is less than 5 minutes incorrect 0.055
And all Internet traffic has only flowed through the configured bridges or connectivity check service 0.825
After features/support/hooks.rb:515 0.463
After features/support/hooks.rb:326 0.601
After features/support/hooks.rb:100 0.053
1:37.606
Before features/support/hooks.rb:269 0.003
Before features/support/hooks.rb:507 0.003
Given I have started Tails from DVD without network and logged in 8.090
When I bump the system time with "-15 days" 0.365
And I warm reboot the computer 0.021
And the computer reboots Tails 1:28.150
Then Tails' hardware clock is close to the host system's time 0.978
After features/support/hooks.rb:515 0.099
After features/support/hooks.rb:326 0.624
After features/support/hooks.rb:100 0.062
1:26.198
Before features/support/hooks.rb:269 0.002
Before features/support/hooks.rb:507 0.002
Given I have started Tails from DVD without network and logged in 9.876
When I bump the hardware clock's time with "-15 days" 1.323
And I warm reboot the computer 0.019
And the computer reboots Tails 1:13.974
Then the hardware clock is still off by "-15 days" 1.004
After features/support/hooks.rb:515 0.131
After features/support/hooks.rb:326 0.646
After features/support/hooks.rb:100 0.009
1:4.619
Before features/support/hooks.rb:269 0.004
Before features/support/hooks.rb:507 0.004
Given a computer 0.155
And the hardware clock is set to "01 Jan 2000 12:34:56" 0.026
And I start the computer 1.146
And the computer boots Tails 1:3.085
Then the system clock is just past Tails' source date 0.205
After features/support/hooks.rb:515 0.123
After features/support/hooks.rb:326 0.706
After features/support/hooks.rb:100 0.006
34.336
Before features/support/hooks.rb:269 0.001
Before features/support/hooks.rb:507 0.002
Given I have started Tails from DVD without network and logged in 9.054
And I make sure time sync before Tor connects times out 1.157
When the network is plugged 0.031
And I successfully configure Tor 24.031
Then the system clock is less than 5 minutes incorrect 0.061
After features/support/hooks.rb:515 0.444
After features/support/hooks.rb:326 0.644
After features/support/hooks.rb:100 0.001
52.959
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:507 0.003
Steps
Given I have started Tails from DVD without network and logged in 8.291
When I bump the system time with "+8 hours +15 minutes" 0.253
And all notifications have disappeared 4.209
And I capture all network traffic 0.003
And I make sure time sync before Tor connects fails 0.122
And the network is plugged 0.030
And the Tor Connection Assistant autostarts 3.974
When I configure the default bridges in the Tor Connection Assistant in easy mode without connecting 5.056
And I click "Connect to Tor" 1.202
And the Tor Connection Assistant fails to connect to Tor 16.051
# The "Fix Clock" button allows users to recover from this bug
Then I set the time zone in Tor Connection to "Asia/Shanghai" 13.764
try_for() timeout expired (Timeout::Error)
./features/support/helpers/misc_helpers.rb:145:in `rescue in try_for'
./features/support/helpers/misc_helpers.rb:51: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:515 0.031
After features/support/hooks.rb:326 5.006

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

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4941/artifact/build-artifacts/00:17:47_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_stable/4941/artifact/build-artifacts/00:17:47_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_stable/4941/artifact/build-artifacts/00:17:47_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_stable/4941/artifact/build-artifacts/00:17:47_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.048
59.296
Before features/support/hooks.rb:269 0.003
Before features/support/hooks.rb:507 0.003
Given I have started Tails from DVD without network and logged in 8.715
When I bump the system time with "+8 hours +15 minutes" 0.387
And all notifications have disappeared 4.112
And I capture all network traffic 0.003
And the network is plugged 0.037
And the Tor Connection Assistant autostarts 3.966
# 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.241
And I click "Connect to Tor" 1.164
Then the Tor Connection Assistant reports that it failed to connect 11.781
# The "Fix Clock" button allows users to recover from this bug
When I set the time zone in Tor Connection to "Asia/Shanghai" 14.988
Then the system clock is less than 20 minutes incorrect 0.230
# "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.397
When I click "Connect to Tor" 1.137
Then I wait until Tor is ready 6.875
And all Internet traffic has only flowed through the configured bridges 0.823
# check that htpdate has done its job
And the system clock is less than 5 minutes incorrect 0.056
And the displayed clock is less than 5 minutes incorrect in "+08:00" 0.376
After features/support/hooks.rb:515 0.475
After features/support/hooks.rb:326 0.682
After features/support/hooks.rb:100 0.035
22.388
Before features/support/hooks.rb:269 0.003
Before features/support/hooks.rb:507 0.003
Given I have started Tails from DVD without network and logged in 8.132
And I make sure time sync before Tor connects uses a fake connectivity check service 1.229
And the network is plugged 0.036
And Tor is ready 11.428
Then the fake connectivity check service has received a new HTTP request 0.000
When I make NetworkManager perform a connectivity check 1.556
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.646
After features/support/hooks.rb:326 0.819
After features/support/hooks.rb:100 0.000