Project Number Date
test_Tails_ISO_codespell 9 23 Jun 2025, 12:02

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Time syncing 68 2 10 0 0 80 8 2 10 16:11.314 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:36.334
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Before features/support/hooks.rb:507 0.006
Given I have started Tails from DVD without network and logged in 11.056
When the network is plugged 25.080
And I successfully configure Tor 59.713
Then the system clock is less than 5 minutes incorrect 0.484
After features/support/hooks.rb:515 2.214
After features/support/hooks.rb:330 1.370
After features/support/hooks.rb:100 0.000
42.245
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.008
Before features/support/hooks.rb:507 0.009
Given I have started Tails from DVD without network and logged in 9.528
When the network is plugged 2.365
And the Tor Connection Assistant autostarts 9.064
And I configure some normal bridges in the Tor Connection Assistant 18.468
And I wait until Tor is ready 2.740
Then the system clock is less than 5 minutes incorrect 0.079
After features/support/hooks.rb:515 0.340
After features/support/hooks.rb:330 1.253
After features/support/hooks.rb:100 0.000
50.586
Scenario Clock is one day in the future while using obfs4 bridges
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Before features/support/hooks.rb:507 0.005
Steps
Given I have started Tails from DVD without network and logged in 26.846
When I bump the system time with "+1 day" 3.271
And I capture all network traffic 0.388
And the network is plugged 2.493
And the Tor Connection Assistant autostarts 5.097
And I configure some obfs4 bridges in the Tor Connection Assistant in easy mode 12.489
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:502: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:27:in `And I configure some obfs4 bridges in the Tor Connection Assistant in easy mode'
And I wait until Tor is ready 0.000
Then the system clock is less than 5 minutes incorrect 0.000
And all Internet traffic has only flowed through the configured bridges or connectivity check service 0.000
After features/support/hooks.rb:515 0.061
After features/support/hooks.rb:330 6.100

SCENARIO FAILED: 'Clock is one day in the future while using obfs4 bridges' (at time 00:20:48)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_codespell/9/artifact/build-artifacts/00:20:48_Clock_is_one_day_in_the_future_while_using_obfs4_bridges.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_codespell/9/artifact/build-artifacts/00:20:48_Clock_is_one_day_in_the_future_while_using_obfs4_bridges.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_codespell/9/artifact/build-artifacts/00:20:48_Clock_is_one_day_in_the_future_while_using_obfs4_bridges.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_codespell/9/artifact/build-artifacts/00:20:48_Clock_is_one_day_in_the_future_while_using_obfs4_bridges.journal

After features/support/hooks.rb:100 0.041
2:44.536
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 28.755
When I bump the system time with "-15 days" 2.811
And I warm reboot the computer 0.830
And the computer reboots Tails 2:11.819
Then Tails' hardware clock is close to the host system's time 0.319
After features/support/hooks.rb:515 0.304
After features/support/hooks.rb:330 1.530
After features/support/hooks.rb:100 0.147
2:46.797
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.083
Before features/support/hooks.rb:507 0.075
Given I have started Tails from DVD without network and logged in 22.079
When I bump the hardware clock's time with "-15 days" 4.744
And I warm reboot the computer 0.245
And the computer reboots Tails 2:18.066
Then the hardware clock is still off by "-15 days" 1.661
After features/support/hooks.rb:515 4.489
After features/support/hooks.rb:330 0.758
After features/support/hooks.rb:100 0.011
1:42.773
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 a computer 0.174
And the hardware clock is set to "01 Jan 2000 12:34:56" 0.027
And I start the computer 0.973
And the computer boots Tails 1:41.441
Then the system clock is just past Tails' source date 0.157
After features/support/hooks.rb:515 0.152
After features/support/hooks.rb:330 0.840
After features/support/hooks.rb:100 0.010
1:19.229
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Before features/support/hooks.rb:507 0.005
Given I have started Tails from DVD without network and logged in 45.061
And I make sure time sync before Tor connects times out 3.919
When the network is plugged 0.841
And I successfully configure Tor 29.338
Then the system clock is less than 5 minutes incorrect 0.067
After features/support/hooks.rb:515 0.524
After features/support/hooks.rb:330 1.152
After features/support/hooks.rb:100 0.006
1:9.558
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.013
Before features/support/hooks.rb:507 0.013
Steps
Given I have started Tails from DVD without network and logged in 41.549
When I bump the system time with "+8 hours +15 minutes" 0.346
And all notifications have disappeared 10.447
And I capture all network traffic 0.080
And I make sure time sync before Tor connects fails 1.057
And the network is plugged 0.423
And the Tor Connection Assistant autostarts 4.317
When I configure the default bridges in the Tor Connection Assistant in easy mode without connecting 8.165
And I click "Connect to Tor" 3.169
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:840:in `/^(?:I click "Connect to Tor"|I retry connecting to Tor)$/'
features/time_syncing.feature:71:in `And I click "Connect to Tor"'
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.080
After features/support/hooks.rb:330 6.161

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:30:49)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_codespell/9/artifact/build-artifacts/00:30:49_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_codespell/9/artifact/build-artifacts/00:30:49_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_codespell/9/artifact/build-artifacts/00:30:49_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_codespell/9/artifact/build-artifacts/00:30:49_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
2:38.961
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Before features/support/hooks.rb:507 0.002
Given I have started Tails from DVD without network and logged in 47.317
When I bump the system time with "+8 hours +15 minutes" 1.964
And all notifications have disappeared 11.113
And I capture all network traffic 0.002
And the network is plugged 0.075
And the Tor Connection Assistant autostarts 4.998
# 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 14.972
And I click "Connect to Tor" 1.204
Then the Tor Connection Assistant reports that it failed to connect 11.339
# The "Fix Clock" button allows users to recover from this bug
When I set the time zone in Tor Connection to "Asia/Shanghai" 19.951
Then the system clock is less than 20 minutes incorrect 1.426
# "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.612
When I click "Connect to Tor" 1.291
Then I wait until Tor is ready 39.028
And all Internet traffic has only flowed through the configured bridges 1.187
# check that htpdate has done its job
And the system clock is less than 5 minutes incorrect 0.057
And the displayed clock is less than 5 minutes incorrect in "+08:00" 0.416
After features/support/hooks.rb:515 0.531
After features/support/hooks.rb:330 0.771
After features/support/hooks.rb:100 0.058
40.291
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Before features/support/hooks.rb:507 0.003
Given I have started Tails from DVD without network and logged in 16.756
And I make sure time sync before Tor connects uses a fake connectivity check service 1.220
And the network is plugged 0.086
And Tor is ready 20.564
Then the fake connectivity check service has received a new HTTP request 0.000
When I make NetworkManager perform a connectivity check 1.658
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.906
After features/support/hooks.rb:330 0.942
After features/support/hooks.rb:100 0.000