Project Number Date
test_Tails_ISO_test-snapshot-restore-improvements 4 21 Aug 2026, 22:02

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Time syncing 69 2 9 0 0 80 8 2 10 5:17.860 Failed
Feature Time syncing
As a Tails user I want Tor to work properly And for that I need a reasonably accurate system clock
18.725
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.002
Before features/support/hooks.rb:527 0.011
Given I have started Tails from DVD without network and logged in 3.453
When the network is plugged 0.031
And I successfully configure Tor 15.126
Then the system clock is less than 5 minutes incorrect 0.113
After features/support/hooks.rb:535 0.259
After features/support/hooks.rb:339 0.801
After features/support/hooks.rb:108 0.000
49.354
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.001
Before features/support/hooks.rb:527 0.001
Given I have started Tails from DVD without network and logged in 3.372
When the network is plugged 0.416
And the Tor Connection Assistant autostarts 4.718
And I configure some normal bridges in the Tor Connection Assistant 10.701
And I wait until Tor is ready 30.125
Then the system clock is less than 5 minutes incorrect 0.020
After features/support/hooks.rb:535 0.228
After features/support/hooks.rb:339 0.505
After features/support/hooks.rb:108 0.000
21.810
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.001
Before features/support/hooks.rb:527 0.001
Given I have started Tails from DVD without network and logged in 3.267
When I bump the system time with "+1 day" 0.241
And I capture all network traffic 0.001
And the network is plugged 0.028
And the Tor Connection Assistant autostarts 4.388
And I configure some obfs4 bridges in the Tor Connection Assistant in easy mode 12.693
And I wait until Tor is ready 0.797
Then the system clock is less than 5 minutes incorrect 0.028
And all Internet traffic has only flowed through the configured bridges or connectivity check service 0.361

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

After features/support/hooks.rb:535 0.203
After features/support/hooks.rb:339 0.674
After features/support/hooks.rb:108 0.070
47.941
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.001
Before features/support/hooks.rb:527 0.004
Given I have started Tails from DVD without network and logged in 3.334
When I bump the system time with "-15 days" 0.254
And I warm reboot the computer 0.005
And the computer reboots Tails 43.389
Then Tails' hardware clock is close to the host system's time 0.956
After features/support/hooks.rb:535 0.241
After features/support/hooks.rb:339 1.126
After features/support/hooks.rb:108 0.005
49.590
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.006
Before features/support/hooks.rb:527 0.020
Given I have started Tails from DVD without network and logged in 3.550
When I bump the hardware clock's time with "-15 days" 2.048
And I warm reboot the computer 0.004
And the computer reboots Tails 43.484
Then the hardware clock is still off by "-15 days" 0.501
After features/support/hooks.rb:535 0.206
After features/support/hooks.rb:339 0.865
After features/support/hooks.rb:108 0.004
29.825
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.001
Before features/support/hooks.rb:527 0.001
Given a computer 0.076
And the hardware clock is set to "01 Jan 2000 12:34:56" 0.011
And I start the computer 0.600
And the computer boots Tails 29.094
Then the system clock is just past Tails' source date 0.043
After features/support/hooks.rb:535 0.269
After features/support/hooks.rb:339 0.549
After features/support/hooks.rb:108 0.013
19.060
Scenario On a clock with host's time, Tor Connection works even if time sync fails
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.001
Before features/support/hooks.rb:527 0.001
Steps
Given I have started Tails from DVD without network and logged in 3.595
And I make sure time sync before Tor connects times out 1.076
When the network is plugged 0.024
And I successfully configure Tor 14.365
The
The Dogtail init script raised: SearchError: descendant of [application | Tor Connection]: child with name='Connect to Tor automatically' roleName='radio button'
STDOUT:

STDERR:

 (Dogtail::Failure)
./features/support/helpers/dogtail.rb:93:in `run'
./features/support/helpers/dogtail.rb:339:in `initialize'
./features/support/helpers/dogtail.rb:268:in `new'
./features/support/helpers/dogtail.rb:268:in `call_tree_api_method'
./features/support/helpers/dogtail.rb:276:in `child'
./features/step_definitions/tor.rb:533:in `tca_configure'
./features/step_definitions/tor.rb:553:in `/^I configure a direct connection in the Tor Connection Assistant$/'
./features/step_definitions/common_steps.rb:718: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:535 0.034
After features/support/hooks.rb:339 4.861

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

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_test-snapshot-restore-improvements/4/artifact/build-artifacts/00:19:03_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_test-snapshot-restore-improvements/4/artifact/build-artifacts/00:19:03_On_a_clock_with_host_s_time,_Tor_Connection_works_even_if_time_sync_fails.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_test-snapshot-restore-improvements/4/artifact/build-artifacts/00:19:03_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_test-snapshot-restore-improvements/4/artifact/build-artifacts/00:19:03_On_a_clock_with_host_s_time,_Tor_Connection_works_even_if_time_sync_fails.journal

After features/support/hooks.rb:108 0.000
19.082
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:274 0.000
Before features/support/hooks.rb:281 0.001
Before features/support/hooks.rb:527 0.001
Steps
Given I have started Tails from DVD without network and logged in 3.444
When I bump the system time with "+8 hours +15 minutes" 0.167
And all notifications have disappeared 3.176
And I capture all network traffic 0.002
And I make sure time sync before Tor connects fails 0.059
And the network is plugged 0.075
And the Tor Connection Assistant autostarts 1.706
When I configure the default bridges in the Tor Connection Assistant in easy mode without connecting 10.450
The
The Dogtail init script raised: SearchError: descendant of [application | Tor Connection]: child with name='Connect to Tor automatically' roleName='radio button'
STDOUT:

STDERR:

 (Dogtail::Failure)
./features/support/helpers/dogtail.rb:93:in `run'
./features/support/helpers/dogtail.rb:339:in `initialize'
./features/support/helpers/dogtail.rb:268:in `new'
./features/support/helpers/dogtail.rb:268:in `call_tree_api_method'
./features/support/helpers/dogtail.rb:276:in `child'
./features/step_definitions/tor.rb:533:in `tca_configure'
./features/step_definitions/tor.rb:670: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:535 0.034
After features/support/hooks.rb:339 4.888

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

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_test-snapshot-restore-improvements/4/artifact/build-artifacts/00:19:27_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_test-snapshot-restore-improvements/4/artifact/build-artifacts/00:19:27_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_test-snapshot-restore-improvements/4/artifact/build-artifacts/00:19:27_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_test-snapshot-restore-improvements/4/artifact/build-artifacts/00:19:27_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:108 0.050
48.244
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.001
Before features/support/hooks.rb:527 0.001
Given I have started Tails from DVD without network and logged in 3.276
When I bump the system time with "+8 hours +15 minutes" 0.202
And all notifications have disappeared 3.326
And I capture all network traffic 0.002
And the network is plugged 0.034
And the Tor Connection Assistant autostarts 2.309
# 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 3.936
And I click "Connect to Tor" 1.134
Then the Tor Connection Assistant reports that it failed to connect 11.325
# The "Fix Clock" button allows users to recover from this bug
When I set the time zone in Tor Connection to "Asia/Shanghai" 14.446
Then the system clock is less than 20 minutes incorrect 0.252
# "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.140
When I click "Connect to Tor" 1.093
Then I wait until Tor is ready 5.875
And all Internet traffic has only flowed through the configured bridges 0.538
# check that htpdate has done its job
And the system clock is less than 5 minutes incorrect 0.045
And the displayed clock is less than 5 minutes incorrect in "+08:00" 0.302
After features/support/hooks.rb:535 0.341
After features/support/hooks.rb:339 0.563
After features/support/hooks.rb:108 0.041
14.223
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.002
Before features/support/hooks.rb:527 0.002
Given I have started Tails from DVD without network and logged in 3.643
And I make sure time sync before Tor connects uses a fake connectivity check service 1.091
And the network is plugged 0.040
And Tor is ready 8.990
Then the fake connectivity check service has received a new HTTP request 0.000
When I make NetworkManager perform a connectivity check 0.453
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.003
After features/support/hooks.rb:535 0.292
After features/support/hooks.rb:339 0.739
After features/support/hooks.rb:108 0.000