Project Number Date
test_Tails_ISO_feature-arti 90 16 Jun 2025, 17:36

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Time syncing 50 5 25 0 0 80 5 5 10 21:59.730 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:0.617
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 16.223
When the network is plugged 17.336
And I successfully configure Tor 27.003
Then the system clock is less than 5 minutes incorrect 0.053
After features/support/hooks.rb:517 0.521
After features/support/hooks.rb:330 0.732
After features/support/hooks.rb:100 0.000
5:9.627
Scenario Clock with host's time while using bridges
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Before features/support/hooks.rb:509 0.003
Steps
Given I have started Tails from DVD without network and logged in 12.098
When the network is plugged 1.723
And the Tor Connection Assistant autostarts 5.957
And I configure some normal bridges in the Tor Connection Assistant 18.854
And I wait until Tor is ready 4:30.994
Tor
Tor failed to bootstrap (TorBootstrapFailure)
./features/support/helpers/misc_helpers.rb:272:in `rescue in wait_until_tor_is_working'
./features/support/helpers/misc_helpers.rb:254:in `wait_until_tor_is_working'
./features/step_definitions/common_steps.rb:710:in `/^Tor has built a circuit$/'
./features/step_definitions/common_steps.rb:672:in `/^I wait until Tor is ready$/'
features/time_syncing.feature:18:in `And I wait until Tor is ready'
Then the system clock is less than 5 minutes incorrect 0.000
After features/support/hooks.rb:517 0.035
After features/support/hooks.rb:330 8.722

SCENARIO FAILED: 'Clock with host's time while using bridges' (at time 00:22:58)

Failed to copy Chutney data: No such file or directory @ rb_file_s_lstat - /tmp/TailsToaster/chutney-data/nodes.1750065111/018relay/diff-cache/1251

Chutney logs: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/90/artifact/build-artifacts/00:22:58_Clock_with_host_s_time_while_using_bridges_chutney-data

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/90/artifact/build-artifacts/00:22:58_Clock_with_host_s_time_while_using_bridges.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/90/artifact/build-artifacts/00:22:58_Clock_with_host_s_time_while_using_bridges.png

Tor logs: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/90/artifact/build-artifacts/00:22:58_Clock_with_host_s_time_while_using_bridges.tor

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/90/artifact/build-artifacts/00:22:58_Clock_with_host_s_time_while_using_bridges.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/90/artifact/build-artifacts/00:22:58_Clock_with_host_s_time_while_using_bridges.journal

After features/support/hooks.rb:100 0.000
5:37.381
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.007
Before features/support/hooks.rb:509 0.013
Steps
Given I have started Tails from DVD without network and logged in 29.719
When I bump the system time with "+1 day" 1.382
And I capture all network traffic 0.012
And the network is plugged 0.212
And the Tor Connection Assistant autostarts 9.943
And I configure some obfs4 bridges in the Tor Connection Assistant in easy mode 25.146
And I wait until Tor is ready 4:30.963
Tor
Tor failed to bootstrap (TorBootstrapFailure)
./features/support/helpers/misc_helpers.rb:272:in `rescue in wait_until_tor_is_working'
./features/support/helpers/misc_helpers.rb:254:in `wait_until_tor_is_working'
./features/step_definitions/common_steps.rb:710:in `/^Tor has built a circuit$/'
./features/step_definitions/common_steps.rb:672:in `/^I wait until Tor is ready$/'
features/time_syncing.feature:28:in `And I wait until Tor is ready'
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:517 0.066
After features/support/hooks.rb:330 5.888

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

Chutney logs: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/90/artifact/build-artifacts/00:28:44_Clock_is_one_day_in_the_future_while_using_obfs4_bridges_chutney-data

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/90/artifact/build-artifacts/00:28:44_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_feature-arti/90/artifact/build-artifacts/00:28:44_Clock_is_one_day_in_the_future_while_using_obfs4_bridges.png

Tor logs: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/90/artifact/build-artifacts/00:28:44_Clock_is_one_day_in_the_future_while_using_obfs4_bridges.tor

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/90/artifact/build-artifacts/00:28:44_Clock_is_one_day_in_the_future_while_using_obfs4_bridges.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/90/artifact/build-artifacts/00:28:44_Clock_is_one_day_in_the_future_while_using_obfs4_bridges.journal

After features/support/hooks.rb:100 0.054
3:29.235
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Before features/support/hooks.rb:509 0.008
Given I have started Tails from DVD without network and logged in 47.016
When I bump the system time with "-15 days" 2.884
And I warm reboot the computer 1.005
And the computer reboots Tails 2:36.645
Then Tails' hardware clock is close to the host system's time 1.683
After features/support/hooks.rb:517 3.674
After features/support/hooks.rb:330 2.337
After features/support/hooks.rb:100 0.038
1:19.297
Scenario Anti-test: Changes to the hardware clock are kept when rebooting
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.015
Before features/support/hooks.rb:509 0.010
Steps
Given I have started Tails from DVD without network and logged in 1:19.297
Failed to restore snapshot (RuntimeError)
./features/step_definitions/common_steps.rb:91:in `rescue in post_snapshot_restore_hook'
./features/step_definitions/common_steps.rb:74:in `post_snapshot_restore_hook'
./features/step_definitions/snapshots.rb:167:in `reach_checkpoint'
./features/step_definitions/common_steps.rb:97:in `rescue in post_snapshot_restore_hook'
./features/step_definitions/common_steps.rb:74:in `post_snapshot_restore_hook'
./features/step_definitions/snapshots.rb:167:in `reach_checkpoint'
./features/step_definitions/common_steps.rb:97:in `rescue in post_snapshot_restore_hook'
./features/step_definitions/common_steps.rb:74:in `post_snapshot_restore_hook'
./features/step_definitions/snapshots.rb:167:in `reach_checkpoint'
./features/step_definitions/common_steps.rb:97:in `rescue in post_snapshot_restore_hook'
./features/step_definitions/common_steps.rb:74:in `post_snapshot_restore_hook'
./features/step_definitions/snapshots.rb:167:in `reach_checkpoint'
./features/step_definitions/snapshots.rb:173:in `/^I\ have\ started\ Tails\ from\ DVD\ without\ network\ and\ logged\ in$/'
features/time_syncing.feature:42:in `Given I have started Tails from DVD without network and logged in'
When I bump the hardware clock's time with "-15 days" 0.000
And I warm reboot the computer 0.000
And the computer reboots Tails 0.000
Then the hardware clock is still off by "-15 days" 0.000
After features/support/hooks.rb:517 0.044
After features/support/hooks.rb:330 6.380

SCENARIO FAILED: 'Anti-test: Changes to the hardware clock are kept when rebooting' (at time 00:33:45)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/90/artifact/build-artifacts/00:33:45_Anti-test:_Changes_to_the_hardware_clock_are_kept_when_rebooting.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/90/artifact/build-artifacts/00:33:45_Anti-test:_Changes_to_the_hardware_clock_are_kept_when_rebooting.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/90/artifact/build-artifacts/00:33:45_Anti-test:_Changes_to_the_hardware_clock_are_kept_when_rebooting.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/90/artifact/build-artifacts/00:33:45_Anti-test:_Changes_to_the_hardware_clock_are_kept_when_rebooting.journal

After features/support/hooks.rb:100 0.000
1:55.748
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Before features/support/hooks.rb:509 0.012
Given a computer 0.335
And the hardware clock is set to "01 Jan 2000 12:34:56" 0.052
And I start the computer 1.366
And the computer boots Tails 1:53.899
Then the system clock is just past Tails' source date 0.094
After features/support/hooks.rb:517 0.130
After features/support/hooks.rb:330 0.753
After features/support/hooks.rb:100 0.006
42.764
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Before features/support/hooks.rb:509 0.003
Given I have started Tails from DVD without network and logged in 14.728
And I make sure time sync before Tor connects times out 1.900
When the network is plugged 0.145
And I successfully configure Tor 25.926
Then the system clock is less than 5 minutes incorrect 0.062
After features/support/hooks.rb:517 0.799
After features/support/hooks.rb:330 1.132
After features/support/hooks.rb:100 0.003
48.941
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.004
Before features/support/hooks.rb:509 0.003
Steps
Given I have started Tails from DVD without network and logged in 19.582
When I bump the system time with "+8 hours +15 minutes" 0.226
And all notifications have disappeared 13.528
And I capture all network traffic 0.010
And I make sure time sync before Tor connects fails 0.459
And the network is plugged 0.101
And the Tor Connection Assistant autostarts 4.832
When I configure the default bridges in the Tor Connection Assistant in easy mode without connecting 10.198
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.094
After features/support/hooks.rb:330 5.652

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:37:23)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/90/artifact/build-artifacts/00:37:23_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_feature-arti/90/artifact/build-artifacts/00:37:23_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_feature-arti/90/artifact/build-artifacts/00:37:23_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_feature-arti/90/artifact/build-artifacts/00:37:23_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.045
52.689
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.009
Before features/support/hooks.rb:509 0.007
Steps
Given I have started Tails from DVD without network and logged in 26.429
When I bump the system time with "+8 hours +15 minutes" 2.270
And all notifications have disappeared 10.425
And I capture all network traffic 0.004
And the network is plugged 0.084
And the Tor Connection Assistant autostarts 5.199
# 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 8.275
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
Hooks
After features/support/hooks.rb:517 0.039
After features/support/hooks.rb:330 3.890
execution expired (RemoteShell::SocketReadTimeout)
./features/support/hooks.rb:339:in `sleep'
./features/support/hooks.rb:339:in `After'
After features/support/hooks.rb:100 0.050
1:3.427
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 I have started Tails from DVD without network and logged in 30.442
And I make sure time sync before Tor connects uses a fake connectivity check service 3.919
And the network is plugged 1.461
And Tor is ready 25.926
Then the fake connectivity check service has received a new HTTP request 0.004
When I make NetworkManager perform a connectivity check 1.660
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.012
After features/support/hooks.rb:517 0.702
After features/support/hooks.rb:330 1.106
After features/support/hooks.rb:100 0.002