Skip to content

Retry htpdate when it fails

After #9516 (closed) our automated test suite has started reporting a lot of failures of this kind:

    ./features/step_definitions/common_steps.rb:344:in `/^the time has synced$/'

because the amount of Tor bootstrapping issues (that generally happens right before where the above error may appear) has decreased.

Just like with #9516 (closed), this is an actual problem with Tails, and not just a test suite issue. We should add some retrying logic around htpdate, possibly with a retry_for()-based shell wrapper. Or we implement that type of retry-logic (retries + timeouts) in htpdate’s Perl.

Feature Branch: bugfix/10494-retry-curl-in-htpdate

Subtasks

Related issues

Original created by @anonym on 10494 (Redmine)

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information