Project Number Date
test_Tails_ISO_20268-more-early-patch-functionality 73 15 May 2024, 06:43

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Time syncing 78 1 1 0 0 80 9 1 10 9:5.036 Failed
Feature Time syncing
As a Tails user I want Tor to work properly And for that I need a reasonably accurate system clock
28.330
Before features/support/hooks.rb:259 0.002
Before features/support/hooks.rb:456 0.011
Given I have started Tails from DVD without network and logged in 8.161
When the network is plugged 0.195
And I successfully configure Tor 19.907
Then the system clock is less than 5 minutes incorrect 0.066
After features/support/hooks.rb:464 0.567
After features/support/hooks.rb:305 0.667
After features/support/hooks.rb:89 0.000
29.261
Before features/support/hooks.rb:259 0.002
Before features/support/hooks.rb:456 0.002
Given I have started Tails from DVD without network and logged in 9.667
When the network is plugged 0.088
And the Tor Connection Assistant autostarts 4.261
And I configure some normal bridges in the Tor Connection Assistant 10.730
And I wait until Tor is ready 4.442
Then the system clock is less than 5 minutes incorrect 0.071
After features/support/hooks.rb:464 0.479
After features/support/hooks.rb:305 0.724
After features/support/hooks.rb:89 0.000
34.042
Before features/support/hooks.rb:259 0.003
Before features/support/hooks.rb:456 0.003
Given I have started Tails from DVD without network and logged in 9.187
When I bump the system time with "+1 day" 0.273
And I capture all network traffic 0.002
And the network is plugged 0.037
And the Tor Connection Assistant autostarts 4.966
And I configure some obfs4 bridges in the Tor Connection Assistant in easy mode 12.370
And I wait until Tor is ready 6.087
Then the system clock is less than 5 minutes incorrect 0.057
And all Internet traffic has only flowed through the configured bridges or connectivity check service 1.060
After features/support/hooks.rb:464 0.581
After features/support/hooks.rb:305 0.941
After features/support/hooks.rb:89 0.052
1:34.834
Before features/support/hooks.rb:259 0.004
Before features/support/hooks.rb:456 0.003
Given I have started Tails from DVD without network and logged in 8.136
When I bump the system time with "-15 days" 0.215
And I warm reboot the computer 0.014
And the computer reboots Tails 1:26.236
Then Tails' hardware clock is close to the host system's time 0.231
After features/support/hooks.rb:464 0.127
After features/support/hooks.rb:305 0.675
After features/support/hooks.rb:89 0.008
1:32.176
Before features/support/hooks.rb:259 0.003
Before features/support/hooks.rb:456 0.004
Given I have started Tails from DVD without network and logged in 8.588
When I bump the hardware clock's time with "-15 days" 1.597
And I warm reboot the computer 0.018
And the computer reboots Tails 1:21.210
Then the hardware clock is still off by "-15 days" 0.761
After features/support/hooks.rb:464 0.114
After features/support/hooks.rb:305 0.640
After features/support/hooks.rb:89 0.017
1:7.008
Before features/support/hooks.rb:259 0.002
Before features/support/hooks.rb:456 0.003
Given a computer 0.160
And the hardware clock is set to "01 Jan 2000 12:34:56" 0.023
And I start the computer 1.003
And the computer boots Tails 1:5.615
Then the system clock is just past Tails' source date 0.206
After features/support/hooks.rb:464 0.125
After features/support/hooks.rb:305 0.655
After features/support/hooks.rb:89 0.006
19.200
Scenario On a clock with host's time, Tor Connection works even if time sync fails
Before features/support/hooks.rb:259 0.002
Before features/support/hooks.rb:456 0.002
Steps
Given I have started Tails from DVD without network and logged in 8.307
And I make sure time sync before Tor connects times out 1.235
When the network is plugged 0.038
And I successfully configure Tor 9.618
try_for() timeout expired (Timeout::Error)
./features/support/helpers/misc_helpers.rb:146:in `rescue in try_for'
./features/support/helpers/misc_helpers.rb:52:in `try_for'
./features/step_definitions/tor.rb:811:in `click_connect_to_tor'
./features/step_definitions/tor.rb:483:in `tca_configure'
./features/step_definitions/tor.rb:493:in `/^I configure a direct connection in the Tor Connection Assistant$/'
./features/step_definitions/common_steps.rb:645: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:464 0.050
After features/support/hooks.rb:305 4.012

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

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20268-more-early-patch-functionality/73/artifact/build-artifacts/00:16:53_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_20268-more-early-patch-functionality/73/artifact/build-artifacts/00:16:53_On_a_clock_with_host_s_time,_Tor_Connection_works_even_if_time_sync_fails.mkv

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_20268-more-early-patch-functionality/73/artifact/build-artifacts/00:16:53_On_a_clock_with_host_s_time,_Tor_Connection_works_even_if_time_sync_fails.boot-log

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20268-more-early-patch-functionality/73/artifact/build-artifacts/00:16:53_On_a_clock_with_host_s_time,_Tor_Connection_works_even_if_time_sync_fails.journal

After features/support/hooks.rb:89 0.001
1:4.299
Before features/support/hooks.rb:259 0.008
Before features/support/hooks.rb:456 0.006
Given I have started Tails from DVD without network and logged in 8.043
When I bump the system time with "+8 hours +15 minutes" 0.205
And all notifications have disappeared 3.690
And I capture all network traffic 0.003
And I make sure time sync before Tor connects fails 0.130
And the network is plugged 0.037
And the Tor Connection Assistant autostarts 3.329
When I configure the default bridges in the Tor Connection Assistant in easy mode without connecting 5.651
And I click "Connect to Tor" 1.178
And the Tor Connection Assistant fails to connect to Tor 15.834
# The "Fix Clock" button allows users to recover from this bug
Then I set the time zone in Tor Connection to "Asia/Shanghai" 14.992
Then the system clock is less than 20 minutes incorrect 0.255
When I click "Connect to Tor" 1.189
Then I wait until Tor is ready 8.865
And all Internet traffic has only flowed through the default bridges or fake connectivity check service 0.830
# check that htpdate has done its job
And the system clock is less than 5 minutes incorrect 0.059
After features/support/hooks.rb:464 0.481
After features/support/hooks.rb:305 0.688
After features/support/hooks.rb:89 0.041
1:29.611
Before features/support/hooks.rb:259 0.005
Before features/support/hooks.rb:456 0.006
Given I have started Tails from DVD without network and logged in 8.290
When I bump the system time with "+8 hours +15 minutes" 0.235
And all notifications have disappeared 4.013
And I capture all network traffic 0.003
And the network is plugged 0.049
And the Tor Connection Assistant autostarts 3.992
# 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 4.319
And I click "Connect to Tor" 1.160
Then the Tor Connection Assistant reports that it failed to connect 11.692
# The "Fix Clock" button allows users to recover from this bug
When I set the time zone in Tor Connection to "Asia/Shanghai" 15.018
Then the system clock is less than 20 minutes incorrect 0.339
# "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.408
When I click "Connect to Tor" 1.149
Then I wait until Tor is ready 36.713
And all Internet traffic has only flowed through the configured bridges 1.733
# check that htpdate has done its job
And the system clock is less than 5 minutes incorrect 0.084
And the displayed clock is less than 5 minutes incorrect in "+08:00" 0.405
After features/support/hooks.rb:464 0.886
After features/support/hooks.rb:305 0.878
After features/support/hooks.rb:89 0.056
26.269
Before features/support/hooks.rb:259 0.002
Before features/support/hooks.rb:456 0.002
Given I have started Tails from DVD without network and logged in 8.521
And I make sure time sync before Tor connects uses a fake connectivity check service 1.228
And the network is plugged 0.040
And Tor is ready 14.911
Then the fake connectivity check service has received a new HTTP request 0.000
When I make NetworkManager perform a connectivity check 1.563
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:464 0.679
After features/support/hooks.rb:305 0.776
After features/support/hooks.rb:89 0.001