Project Number Date
test_Tails_ISO_20531-early-reporting-of-bad-devices 26 18 Dec 2024, 04:11

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 7:52.678 Failed
Feature Time syncing
As a Tails user I want Tor to work properly And for that I need a reasonably accurate system clock
26.402
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.134
When the network is plugged 0.205
And I successfully configure Tor 17.996
Then the system clock is less than 5 minutes incorrect 0.066
After features/support/hooks.rb:515 0.361
After features/support/hooks.rb:326 0.632
After features/support/hooks.rb:100 0.000
28.747
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 7.984
When the network is plugged 0.076
And the Tor Connection Assistant autostarts 4.113
And I configure some normal bridges in the Tor Connection Assistant 10.834
And I wait until Tor is ready 5.693
Then the system clock is less than 5 minutes incorrect 0.045
After features/support/hooks.rb:515 0.289
After features/support/hooks.rb:326 0.663
After features/support/hooks.rb:100 0.000
28.754
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.044
When I bump the system time with "+1 day" 0.197
And I capture all network traffic 0.003
And the network is plugged 0.073
And the Tor Connection Assistant autostarts 4.675
And I configure some obfs4 bridges in the Tor Connection Assistant in easy mode 12.181
And I wait until Tor is ready 2.946
Then the system clock is less than 5 minutes incorrect 0.075
And all Internet traffic has only flowed through the configured bridges or connectivity check service 0.555

Warning: these queries were allowed but not needed: ["fedoraproject.org."]

After features/support/hooks.rb:515 0.274
After features/support/hooks.rb:326 0.766
After features/support/hooks.rb:100 0.049
1:21.545
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.055
When I bump the system time with "-15 days" 0.279
And I warm reboot the computer 0.020
And the computer reboots Tails 1:12.134
Then Tails' hardware clock is close to the host system's time 1.055
After features/support/hooks.rb:515 0.116
After features/support/hooks.rb:326 0.639
After features/support/hooks.rb:100 0.006
1:21.213
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.079
When I bump the hardware clock's time with "-15 days" 1.137
And I warm reboot the computer 0.012
And the computer reboots Tails 1:10.970
Then the hardware clock is still off by "-15 days" 1.013
After features/support/hooks.rb:515 0.127
After features/support/hooks.rb:326 0.596
After features/support/hooks.rb:100 0.005
55.447
Before features/support/hooks.rb:269 0.002
Before features/support/hooks.rb:507 0.002
Given a computer 0.159
And the hardware clock is set to "01 Jan 2000 12:34:56" 0.025
And I start the computer 0.953
And the computer boots Tails 54.139
Then the system clock is just past Tails' source date 0.170
After features/support/hooks.rb:515 0.140
After features/support/hooks.rb:326 0.644
After features/support/hooks.rb:100 0.005
34.100
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.024
And I make sure time sync before Tor connects times out 1.159
When the network is plugged 0.072
And I successfully configure Tor 24.792
Then the system clock is less than 5 minutes incorrect 0.051
After features/support/hooks.rb:515 0.329
After features/support/hooks.rb:326 1.037
After features/support/hooks.rb:100 0.000
51.533
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:507 0.002
Steps
Given I have started Tails from DVD without network and logged in 8.415
When I bump the system time with "+8 hours +15 minutes" 0.288
And all notifications have disappeared 3.840
And I capture all network traffic 0.003
And I make sure time sync before Tor connects fails 0.103
And the network is plugged 0.072
And the Tor Connection Assistant autostarts 3.860
When I configure the default bridges in the Tor Connection Assistant in easy mode without connecting 5.031
And I click "Connect to Tor" 1.168
And the Tor Connection Assistant fails to connect to Tor 15.782
# The "Fix Clock" button allows users to recover from this bug
Then I set the time zone in Tor Connection to "Asia/Shanghai" 12.966
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:865: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.037
After features/support/hooks.rb:326 5.008

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

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_20531-early-reporting-of-bad-devices/26/artifact/build-artifacts/00:17:19_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_20531-early-reporting-of-bad-devices/26/artifact/build-artifacts/00:17:19_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_20531-early-reporting-of-bad-devices/26/artifact/build-artifacts/00:17:19_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_20531-early-reporting-of-bad-devices/26/artifact/build-artifacts/00:17:19_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.033
56.070
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.043
When I bump the system time with "+8 hours +15 minutes" 0.250
And all notifications have disappeared 4.082
And I capture all network traffic 0.002
And the network is plugged 0.064
And the Tor Connection Assistant autostarts 3.778
# 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.069
And I click "Connect to Tor" 1.180
Then the Tor Connection Assistant reports that it failed to connect 11.599
# The "Fix Clock" button allows users to recover from this bug
When I set the time zone in Tor Connection to "Asia/Shanghai" 14.878
Then the system clock is less than 20 minutes incorrect 0.253
# "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.370
When I click "Connect to Tor" 1.157
Then I wait until Tor is ready 5.452
And all Internet traffic has only flowed through the configured bridges 0.440
# 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.389
After features/support/hooks.rb:515 0.285
After features/support/hooks.rb:326 1.107
After features/support/hooks.rb:100 0.047
28.861
Before features/support/hooks.rb:269 0.002
Before features/support/hooks.rb:507 0.003
Given I have started Tails from DVD without network and logged in 8.968
And I make sure time sync before Tor connects uses a fake connectivity check service 1.167
And the network is plugged 0.080
And Tor is ready 17.088
Then the fake connectivity check service has received a new HTTP request 0.000
When I make NetworkManager perform a connectivity check 1.553
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:515 0.392
After features/support/hooks.rb:326 0.672
After features/support/hooks.rb:100 0.001