Project Number Date
test_Tails_ISO_21027-fix-interactive-debugging-context 11 26 Jun 2025, 21:27

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Time syncing 69 1 10 0 0 80 9 1 10 17:13.276 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:38.658
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Before features/support/hooks.rb:509 0.009
Given I have started Tails from DVD without network and logged in 27.549
When the network is plugged 17.295
And I successfully configure Tor 53.742
Then the system clock is less than 5 minutes incorrect 0.071
After features/support/hooks.rb:517 0.541
After features/support/hooks.rb:330 0.940
After features/support/hooks.rb:100 0.000
1:2.782
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Before features/support/hooks.rb:509 0.004
Given I have started Tails from DVD without network and logged in 27.584
When the network is plugged 2.604
And the Tor Connection Assistant autostarts 8.017
And I configure some normal bridges in the Tor Connection Assistant 22.517
And I wait until Tor is ready 1.982
Then the system clock is less than 5 minutes incorrect 0.075
After features/support/hooks.rb:517 0.312
After features/support/hooks.rb:330 1.109
After features/support/hooks.rb:100 0.000
56.888
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Before features/support/hooks.rb:509 0.003
Given I have started Tails from DVD without network and logged in 20.342
When I bump the system time with "+1 day" 0.240
And I capture all network traffic 0.003
And the network is plugged 0.158
And the Tor Connection Assistant autostarts 9.211
And I configure some obfs4 bridges in the Tor Connection Assistant in easy mode 21.113
And I wait until Tor is ready 4.884
Then the system clock is less than 5 minutes incorrect 0.078
And all Internet traffic has only flowed through the configured bridges or connectivity check service 0.856

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

After features/support/hooks.rb:517 0.709
After features/support/hooks.rb:330 0.802
After features/support/hooks.rb:100 0.047
2:50.081
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.008
Before features/support/hooks.rb:509 0.008
Given I have started Tails from DVD without network and logged in 43.799
When I bump the system time with "-15 days" 1.981
And I warm reboot the computer 0.368
And the computer reboots Tails 2:2.471
Then Tails' hardware clock is close to the host system's time 1.460
After features/support/hooks.rb:517 1.035
After features/support/hooks.rb:330 3.543
After features/support/hooks.rb:100 0.012
2:49.250
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.008
Before features/support/hooks.rb:509 0.008
Given I have started Tails from DVD without network and logged in 28.897
When I bump the hardware clock's time with "-15 days" 3.589
And I warm reboot the computer 2.492
And the computer reboots Tails 2:13.513
Then the hardware clock is still off by "-15 days" 0.757
After features/support/hooks.rb:517 2.525
After features/support/hooks.rb:330 4.104
After features/support/hooks.rb:100 0.207
1:45.524
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.084
Before features/support/hooks.rb:509 0.026
Given a computer 1.209
And the hardware clock is set to "01 Jan 2000 12:34:56" 0.104
And I start the computer 3.046
And the computer boots Tails 1:40.909
Then the system clock is just past Tails' source date 0.253
After features/support/hooks.rb:517 0.144
After features/support/hooks.rb:330 0.946
After features/support/hooks.rb:100 0.013
1:41.271
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Before features/support/hooks.rb:509 0.005
Given I have started Tails from DVD without network and logged in 1:7.498
And I make sure time sync before Tor connects times out 5.492
When the network is plugged 0.397
And I successfully configure Tor 27.701
Then the system clock is less than 5 minutes incorrect 0.180
After features/support/hooks.rb:517 0.737
After features/support/hooks.rb:330 0.696
After features/support/hooks.rb:100 0.000
1:53.204
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Before features/support/hooks.rb:509 0.003
Given I have started Tails from DVD without network and logged in 21.683
When I bump the system time with "+8 hours +15 minutes" 2.287
And all notifications have disappeared 11.796
And I capture all network traffic 0.008
And I make sure time sync before Tor connects fails 0.368
And the network is plugged 0.083
And the Tor Connection Assistant autostarts 4.312
When I configure the default bridges in the Tor Connection Assistant in easy mode without connecting 16.396
And I click "Connect to Tor" 1.322
And the Tor Connection Assistant fails to connect to Tor 16.943
# The "Fix Clock" button allows users to recover from this bug
Then I set the time zone in Tor Connection to "Asia/Shanghai" 16.399
Then the system clock is less than 20 minutes incorrect 1.197
When I click "Connect to Tor" 1.326
Then I wait until Tor is ready 14.866
And all Internet traffic has only flowed through the default bridges or fake connectivity check service 4.115
# check that htpdate has done its job
And the system clock is less than 5 minutes incorrect 0.096
After features/support/hooks.rb:517 0.547
After features/support/hooks.rb:330 1.040
After features/support/hooks.rb:100 0.037
1:32.171
Scenario I can connect to obfs4 bridges having a clock East of UTC while hiding that I am using Tor
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Before features/support/hooks.rb:509 0.003
Steps
Given I have started Tails from DVD without network and logged in 1:8.762
When I bump the system time with "+8 hours +15 minutes" 2.022
And all notifications have disappeared 10.566
And I capture all network traffic 0.003
And the network is plugged 0.089
And the Tor Connection Assistant autostarts 4.388
# 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 6.338
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:90:in `And I configure some obfs4 bridges in the Tor Connection Assistant in hide mode without connecting'
And I click "Connect to Tor" 0.000
Then the Tor Connection Assistant reports that it failed to connect 0.000
# The "Fix Clock" button allows users to recover from this bug
When 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
# "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.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 configured bridges 0.000
# check that htpdate has done its job
And the system clock is less than 5 minutes incorrect 0.000
And the displayed clock is less than 5 minutes incorrect in "+08:00" 0.000
After features/support/hooks.rb:517 0.061
After features/support/hooks.rb:330 7.093

SCENARIO FAILED: 'I can connect to obfs4 bridges having a clock East of UTC while hiding that I am using Tor' (at time 00:35:22)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_21027-fix-interactive-debugging-context/11/artifact/build-artifacts/00:35:22_I_can_connect_to_obfs4_bridges_having_a_clock_East_of_UTC_while_hiding_that_I_am_using_Tor.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_21027-fix-interactive-debugging-context/11/artifact/build-artifacts/00:35:22_I_can_connect_to_obfs4_bridges_having_a_clock_East_of_UTC_while_hiding_that_I_am_using_Tor.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_21027-fix-interactive-debugging-context/11/artifact/build-artifacts/00:35:22_I_can_connect_to_obfs4_bridges_having_a_clock_East_of_UTC_while_hiding_that_I_am_using_Tor.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_21027-fix-interactive-debugging-context/11/artifact/build-artifacts/00:35:22_I_can_connect_to_obfs4_bridges_having_a_clock_East_of_UTC_while_hiding_that_I_am_using_Tor.journal

After features/support/hooks.rb:100 0.051
1:3.441
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Before features/support/hooks.rb:509 0.003
Given I have started Tails from DVD without network and logged in 33.058
And I make sure time sync before Tor connects uses a fake connectivity check service 4.700
And the network is plugged 1.180
And Tor is ready 22.608
Then the fake connectivity check service has received a new HTTP request 0.000
When I make NetworkManager perform a connectivity check 1.874
Then the fake connectivity check service has received a new HTTP request 0.001
And the HTTP requests received by the fake connectivity check service are identical 0.016
After features/support/hooks.rb:517 0.951
After features/support/hooks.rb:330 1.921
After features/support/hooks.rb:100 0.001