Project Number Date
test_Tails_ISO_devel 3895 03 Jul 2025, 15:03

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Time syncing 71 1 8 0 0 80 9 1 10 13:59.305 Failed
Feature Time syncing
As a Tails user I want Tor to work properly And for that I need a reasonably accurate system clock
46.421
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.008
Before features/support/hooks.rb:507 0.012
Given I have started Tails from DVD without network and logged in 10.527
When the network is plugged 12.051
And I successfully configure Tor 23.748
Then the system clock is less than 5 minutes incorrect 0.094
After features/support/hooks.rb:515 0.400
After features/support/hooks.rb:330 0.925
After features/support/hooks.rb:100 0.000
51.969
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Before features/support/hooks.rb:507 0.010
Given I have started Tails from DVD without network and logged in 16.292
When the network is plugged 0.130
And the Tor Connection Assistant autostarts 5.023
And I configure some normal bridges in the Tor Connection Assistant 22.689
And I wait until Tor is ready 7.645
Then the system clock is less than 5 minutes incorrect 0.188
After features/support/hooks.rb:515 1.734
After features/support/hooks.rb:330 2.005
After features/support/hooks.rb:100 0.000
43.929
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.013
Before features/support/hooks.rb:507 0.008
Given I have started Tails from DVD without network and logged in 8.711
When I bump the system time with "+1 day" 0.290
And I capture all network traffic 0.005
And the network is plugged 0.606
And the Tor Connection Assistant autostarts 8.224
And I configure some obfs4 bridges in the Tor Connection Assistant in easy mode 23.175
And I wait until Tor is ready 2.134
Then the system clock is less than 5 minutes incorrect 0.061
And all Internet traffic has only flowed through the configured bridges or connectivity check service 0.718

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

After features/support/hooks.rb:515 0.408
After features/support/hooks.rb:330 1.065
After features/support/hooks.rb:100 0.033
2:27.812
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Before features/support/hooks.rb:507 0.003
Given I have started Tails from DVD without network and logged in 26.071
When I bump the system time with "-15 days" 2.580
And I warm reboot the computer 0.351
And the computer reboots Tails 1:57.045
Then Tails' hardware clock is close to the host system's time 1.763
After features/support/hooks.rb:515 4.086
After features/support/hooks.rb:330 1.501
After features/support/hooks.rb:100 0.047
2:20.336
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.037
Before features/support/hooks.rb:507 0.022
Given I have started Tails from DVD without network and logged in 10.330
When I bump the hardware clock's time with "-15 days" 4.062
And I warm reboot the computer 0.200
And the computer reboots Tails 2:4.481
Then the hardware clock is still off by "-15 days" 1.261
After features/support/hooks.rb:515 0.552
After features/support/hooks.rb:330 1.377
After features/support/hooks.rb:100 0.012
1:40.788
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Before features/support/hooks.rb:507 0.003
Given a computer 0.201
And the hardware clock is set to "01 Jan 2000 12:34:56" 0.024
And I start the computer 1.046
And the computer boots Tails 1:39.305
Then the system clock is just past Tails' source date 0.211
After features/support/hooks.rb:515 0.181
After features/support/hooks.rb:330 0.744
After features/support/hooks.rb:100 0.007
1:1.263
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Before features/support/hooks.rb:507 0.002
Given I have started Tails from DVD without network and logged in 25.740
And I make sure time sync before Tor connects times out 4.381
When the network is plugged 1.341
And I successfully configure Tor 29.620
Then the system clock is less than 5 minutes incorrect 0.178
After features/support/hooks.rb:515 0.689
After features/support/hooks.rb:330 1.339
After features/support/hooks.rb:100 0.002
1:6.367
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:266 0.000
Before features/support/hooks.rb:273 0.006
Before features/support/hooks.rb:507 0.006
Steps
Given I have started Tails from DVD without network and logged in 43.176
When I bump the system time with "+8 hours +15 minutes" 2.995
And all notifications have disappeared 7.944
And I capture all network traffic 0.010
And I make sure time sync before Tor connects fails 0.219
And the network is plugged 0.122
And the Tor Connection Assistant autostarts 4.625
When I configure the default bridges in the Tor Connection Assistant in easy mode without connecting 7.274
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:828:in `click_connect_to_tor'
./features/step_definitions/tor.rb:637:in `block (2 levels) in <top (required)>'
./features/step_definitions/tor.rb:499:in `tca_configure'
./features/step_definitions/tor.rb:628:in `/^I configure (?:some|the) (persistent )?(\w+) bridges (from a QR code )?in the Tor Connection Assistant(?: in (easy|hide) mode)?( without connecting|)$/'
features/time_syncing.feature:70:in `When I configure the default bridges in the Tor Connection Assistant in easy mode without connecting'
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:515 0.085
After features/support/hooks.rb:330 8.264

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:26:43)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3895/artifact/build-artifacts/00:26:43_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_devel/3895/artifact/build-artifacts/00:26:43_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/3895/artifact/build-artifacts/00:26:43_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_devel/3895/artifact/build-artifacts/00:26:43_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.040
1:59.918
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Before features/support/hooks.rb:507 0.004
Given I have started Tails from DVD without network and logged in 26.841
When I bump the system time with "+8 hours +15 minutes" 0.825
And all notifications have disappeared 11.122
And I capture all network traffic 0.012
And the network is plugged 0.140
And the Tor Connection Assistant autostarts 4.560
# 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 15.265
And I click "Connect to Tor" 1.511
Then the Tor Connection Assistant reports that it failed to connect 14.527
# The "Fix Clock" button allows users to recover from this bug
When I set the time zone in Tor Connection to "Asia/Shanghai" 18.458
Then the system clock is less than 20 minutes incorrect 1.441
# "Asia/Shanghai" is UTC+08:00 all year long (no DST)
And the displayed clock is less than 20 minutes incorrect in "+08:00" 2.138
When I click "Connect to Tor" 1.308
Then I wait until Tor is ready 17.538
And all Internet traffic has only flowed through the configured bridges 3.390
# check that htpdate has done its job
And the system clock is less than 5 minutes incorrect 0.130
And the displayed clock is less than 5 minutes incorrect in "+08:00" 0.704
After features/support/hooks.rb:515 0.383
After features/support/hooks.rb:330 0.982
After features/support/hooks.rb:100 0.039
1:0.497
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Before features/support/hooks.rb:507 0.002
Given I have started Tails from DVD without network and logged in 28.738
And I make sure time sync before Tor connects uses a fake connectivity check service 4.082
And the network is plugged 0.424
And Tor is ready 25.549
Then the fake connectivity check service has received a new HTTP request 0.000
When I make NetworkManager perform a connectivity check 1.686
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.014
After features/support/hooks.rb:515 0.547
After features/support/hooks.rb:330 1.100
After features/support/hooks.rb:100 0.001