Project Number Date
test_Tails_ISO_test-suite-options 9 25 Jun 2025, 22:19

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 15:4.363 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:4.538
Scenario Clock with host's time
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Before features/support/hooks.rb:507 0.008
Steps
Given I have started Tails from DVD without network and logged in 21.095
When the network is plugged 30.948
And I successfully configure Tor 12.494
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:512:in `/^I configure a direct connection in the Tor Connection Assistant$/'
./features/step_definitions/common_steps.rb:653:in `/^I successfully configure Tor$/'
features/time_syncing.feature:10:in `And I successfully configure Tor'
Then the system clock is less than 5 minutes incorrect 0.000
After features/support/hooks.rb:515 0.068
After features/support/hooks.rb:330 9.332

SCENARIO FAILED: 'Clock with host's time' (at time 00:18:35)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_test-suite-options/9/artifact/build-artifacts/00:18:35_Clock_with_host_s_time.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_test-suite-options/9/artifact/build-artifacts/00:18:35_Clock_with_host_s_time.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_test-suite-options/9/artifact/build-artifacts/00:18:35_Clock_with_host_s_time.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_test-suite-options/9/artifact/build-artifacts/00:18:35_Clock_with_host_s_time.journal

After features/support/hooks.rb:100 0.000
1:5.289
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Before features/support/hooks.rb:507 0.002
Given I have started Tails from DVD without network and logged in 27.861
When the network is plugged 1.483
And the Tor Connection Assistant autostarts 11.757
And I configure some normal bridges in the Tor Connection Assistant 17.696
And I wait until Tor is ready 6.431
Then the system clock is less than 5 minutes incorrect 0.059
After features/support/hooks.rb:515 0.257
After features/support/hooks.rb:330 1.648
After features/support/hooks.rb:100 0.000
57.290
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.101
Before features/support/hooks.rb:507 0.084
Given I have started Tails from DVD without network and logged in 18.654
When I bump the system time with "+1 day" 0.543
And I capture all network traffic 0.042
And the network is plugged 2.933
And the Tor Connection Assistant autostarts 9.074
And I configure some obfs4 bridges in the Tor Connection Assistant in easy mode 18.576
And I wait until Tor is ready 5.973
Then the system clock is less than 5 minutes incorrect 0.134
And all Internet traffic has only flowed through the configured bridges or connectivity check service 1.357

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

After features/support/hooks.rb:515 0.413
After features/support/hooks.rb:330 0.686
After features/support/hooks.rb:100 0.038
2:33.750
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 20.666
When I bump the system time with "-15 days" 2.044
And I warm reboot the computer 0.439
And the computer reboots Tails 2:9.620
Then Tails' hardware clock is close to the host system's time 0.979
After features/support/hooks.rb:515 0.147
After features/support/hooks.rb:330 0.727
After features/support/hooks.rb:100 0.023
3:5.865
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Before features/support/hooks.rb:507 0.004
Given I have started Tails from DVD without network and logged in 45.383
When I bump the hardware clock's time with "-15 days" 2.904
And I warm reboot the computer 0.475
And the computer reboots Tails 2:16.758
Then the hardware clock is still off by "-15 days" 0.342
After features/support/hooks.rb:515 2.852
After features/support/hooks.rb:330 4.510
After features/support/hooks.rb:100 0.020
1:34.828
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.012
Before features/support/hooks.rb:507 0.008
Given a computer 0.767
And the hardware clock is set to "01 Jan 2000 12:34:56" 0.269
And I start the computer 2.823
And the computer boots Tails 1:29.265
Then the system clock is just past Tails' source date 1.702
After features/support/hooks.rb:515 3.507
After features/support/hooks.rb:330 1.796
After features/support/hooks.rb:100 0.020
50.881
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Before features/support/hooks.rb:507 0.010
Given I have started Tails from DVD without network and logged in 14.529
And I make sure time sync before Tor connects times out 5.439
When the network is plugged 0.882
And I successfully configure Tor 29.952
Then the system clock is less than 5 minutes incorrect 0.075
After features/support/hooks.rb:515 0.362
After features/support/hooks.rb:330 5.706
After features/support/hooks.rb:100 0.003
37.975
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.096
Before features/support/hooks.rb:507 0.087
Steps
Given I have started Tails from DVD without network and logged in 13.915
When I bump the system time with "+8 hours +15 minutes" 1.163
And all notifications have disappeared 11.505
And I capture all network traffic 0.004
And I make sure time sync before Tor connects fails 0.321
And the network is plugged 0.077
And the Tor Connection Assistant autostarts 4.466
When I configure the default bridges in the Tor Connection Assistant in easy mode without connecting 6.522
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.110
After features/support/hooks.rb:330 7.069

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:29:55)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_test-suite-options/9/artifact/build-artifacts/00:29:55_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-suite-options/9/artifact/build-artifacts/00:29:55_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-suite-options/9/artifact/build-artifacts/00:29:55_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-suite-options/9/artifact/build-artifacts/00:29:55_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.037
2:10.287
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 48.709
When I bump the system time with "+8 hours +15 minutes" 4.710
And all notifications have disappeared 8.690
And I capture all network traffic 0.003
And the network is plugged 0.089
And the Tor Connection Assistant autostarts 4.744
# 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 13.518
And I click "Connect to Tor" 1.190
Then the Tor Connection Assistant reports that it failed to connect 11.248
# The "Fix Clock" button allows users to recover from this bug
When I set the time zone in Tor Connection to "Asia/Shanghai" 18.186
Then the system clock is less than 20 minutes incorrect 3.085
# "Asia/Shanghai" is UTC+08:00 all year long (no DST)
And the displayed clock is less than 20 minutes incorrect in "+08:00" 1.985
When I click "Connect to Tor" 1.518
Then I wait until Tor is ready 7.992
And all Internet traffic has only flowed through the configured bridges 0.507
# check that htpdate has done its job
And the system clock is less than 5 minutes incorrect 0.070
And the displayed clock is less than 5 minutes incorrect in "+08:00" 4.035
After features/support/hooks.rb:515 7.767
After features/support/hooks.rb:330 1.535
After features/support/hooks.rb:100 0.044
1:3.657
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 29.093
And I make sure time sync before Tor connects uses a fake connectivity check service 5.759
And the network is plugged 0.988
And Tor is ready 25.924
Then the fake connectivity check service has received a new HTTP request 0.000
When I make NetworkManager perform a connectivity check 1.887
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:515 0.953
After features/support/hooks.rb:330 0.889
After features/support/hooks.rb:100 0.000