Project Number Date
test_Tails_ISO_21027-fix-interactive-debugging-context 1 16 Jun 2025, 17:44

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 16:17.800 Failed
Feature Time syncing
As a Tails user I want Tor to work properly And for that I need a reasonably accurate system clock
1:34.309
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Before features/support/hooks.rb:509 0.005
Given I have started Tails from DVD without network and logged in 47.626
When the network is plugged 16.630
And I successfully configure Tor 29.557
Then the system clock is less than 5 minutes incorrect 0.495
After features/support/hooks.rb:517 3.275
After features/support/hooks.rb:330 1.198
After features/support/hooks.rb:100 0.000
1:5.644
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Before features/support/hooks.rb:509 0.005
Given I have started Tails from DVD without network and logged in 28.966
When the network is plugged 0.572
And the Tor Connection Assistant autostarts 11.130
And I configure some normal bridges in the Tor Connection Assistant 22.211
And I wait until Tor is ready 2.673
Then the system clock is less than 5 minutes incorrect 0.088
After features/support/hooks.rb:517 0.489
After features/support/hooks.rb:330 0.648
After features/support/hooks.rb:100 0.000
1:12.661
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Before features/support/hooks.rb:509 0.002
Given I have started Tails from DVD without network and logged in 20.626
When I bump the system time with "+1 day" 2.897
And I capture all network traffic 0.253
And the network is plugged 3.454
And the Tor Connection Assistant autostarts 6.832
And I configure some obfs4 bridges in the Tor Connection Assistant in easy mode 23.714
And I wait until Tor is ready 12.893
Then the system clock is less than 5 minutes incorrect 0.272
And all Internet traffic has only flowed through the configured bridges or connectivity check service 1.716

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

After features/support/hooks.rb:517 0.338
After features/support/hooks.rb:330 0.779
After features/support/hooks.rb:100 0.034
2:40.832
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Before features/support/hooks.rb:509 0.003
Given I have started Tails from DVD without network and logged in 28.866
When I bump the system time with "-15 days" 2.570
And I warm reboot the computer 0.304
And the computer reboots Tails 2:8.345
Then Tails' hardware clock is close to the host system's time 0.745
After features/support/hooks.rb:517 0.119
After features/support/hooks.rb:330 0.834
After features/support/hooks.rb:100 0.007
2:51.902
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Before features/support/hooks.rb:509 0.005
Given I have started Tails from DVD without network and logged in 26.300
When I bump the hardware clock's time with "-15 days" 6.687
And I warm reboot the computer 0.616
And the computer reboots Tails 2:17.318
Then the hardware clock is still off by "-15 days" 0.980
After features/support/hooks.rb:517 1.459
After features/support/hooks.rb:330 1.883
After features/support/hooks.rb:100 0.053
1:42.335
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.012
Before features/support/hooks.rb:509 0.011
Given a computer 0.395
And the hardware clock is set to "01 Jan 2000 12:34:56" 0.072
And I start the computer 1.406
And the computer boots Tails 1:40.333
Then the system clock is just past Tails' source date 0.127
After features/support/hooks.rb:517 0.129
After features/support/hooks.rb:330 0.670
After features/support/hooks.rb:100 0.030
1:3.427
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Before features/support/hooks.rb:509 0.002
Given I have started Tails from DVD without network and logged in 27.225
And I make sure time sync before Tor connects times out 5.390
When the network is plugged 0.725
And I successfully configure Tor 30.037
Then the system clock is less than 5 minutes incorrect 0.048
After features/support/hooks.rb:517 0.590
After features/support/hooks.rb:330 0.749
After features/support/hooks.rb:100 0.000
49.914
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.002
Before features/support/hooks.rb:509 0.001
Steps
Given I have started Tails from DVD without network and logged in 20.605
When I bump the system time with "+8 hours +15 minutes" 0.235
And all notifications have disappeared 12.854
And I capture all network traffic 0.009
And I make sure time sync before Tor connects fails 0.438
And the network is plugged 0.106
And the Tor Connection Assistant autostarts 5.190
When I configure the default bridges in the Tor Connection Assistant in easy mode without connecting 10.472
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:517 0.125
After features/support/hooks.rb:330 6.037

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:35:14)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_21027-fix-interactive-debugging-context/1/artifact/build-artifacts/00:35:14_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_21027-fix-interactive-debugging-context/1/artifact/build-artifacts/00:35:14_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_21027-fix-interactive-debugging-context/1/artifact/build-artifacts/00:35:14_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_21027-fix-interactive-debugging-context/1/artifact/build-artifacts/00:35:14_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.032
1:58.049
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Before features/support/hooks.rb:509 0.004
Given I have started Tails from DVD without network and logged in 11.762
When I bump the system time with "+8 hours +15 minutes" 1.267
And all notifications have disappeared 6.584
And I capture all network traffic 0.004
And the network is plugged 0.089
And the Tor Connection Assistant autostarts 5.087
# 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 12.680
And I click "Connect to Tor" 1.218
Then the Tor Connection Assistant reports that it failed to connect 13.563
# The "Fix Clock" button allows users to recover from this bug
When I set the time zone in Tor Connection to "Asia/Shanghai" 17.330
Then the system clock is less than 20 minutes incorrect 1.729
# "Asia/Shanghai" is UTC+08:00 all year long (no DST)
And the displayed clock is less than 20 minutes incorrect in "+08:00" 3.041
When I click "Connect to Tor" 1.833
Then I wait until Tor is ready 39.882
And all Internet traffic has only flowed through the configured bridges 1.470
# check that htpdate has done its job
And the system clock is less than 5 minutes incorrect 0.073
And the displayed clock is less than 5 minutes incorrect in "+08:00" 0.430
After features/support/hooks.rb:517 0.482
After features/support/hooks.rb:330 1.148
After features/support/hooks.rb:100 0.032
1:18.723
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Before features/support/hooks.rb:509 0.002
Given I have started Tails from DVD without network and logged in 27.077
And I make sure time sync before Tor connects uses a fake connectivity check service 2.275
And the network is plugged 0.207
And Tor is ready 47.483
Then the fake connectivity check service has received a new HTTP request 0.000
When I make NetworkManager perform a connectivity check 1.673
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:517 0.628
After features/support/hooks.rb:330 1.240
After features/support/hooks.rb:100 0.002