Bug #16793

Test suite saves incomplete tor log to $scenario.tor

Added by intrigeri 2019-06-09 15:39:05 . Updated 2019-07-03 08:06:46 .

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Test suite
Target version:
Start date:
Due date:
% Done:

100%

Feature Branch:
test/16793-save-all-tor-logs
Type of work:
Code
Blueprint:

Starter:
Affected tool:
Deliverable for:

Description

commit:cd0d51390932083835f749fa5b0ddab6e6e4e9ba says it will do this: “When Tor fails to bootstrap, save Tor logs”. But it only saves bits of the Journal, i.e. the initial logs sent by tor to syslog before our Log notice file /var/log/tor/log is taken into account (commit:419517551cec8deeb322d8fa6fd18da258576066). So the resulting $scenario.tor file contains very little info, and typically not the info we need to debug stuff.


Subtasks


Related issues

Blocks Tails - Feature #16209: Core work: Foundations Team Confirmed

History

#1 Updated by intrigeri 2019-06-09 15:39:26

#2 Updated by intrigeri 2019-06-09 15:39:39

  • Assignee set to intrigeri

#3 Updated by intrigeri 2019-06-09 15:53:28

  • Feature Branch set to test/16793-save-all-tor-logs

#4 Updated by intrigeri 2019-06-09 15:53:34

  • Status changed from Confirmed to In Progress

Applied in changeset commit:tails|b7eb54d3c98cfebc2d428ec63824a9034ecc3145.

#5 Updated by intrigeri 2019-06-09 16:31:38

(This makes it more painful than it should be to work on Bug #16471 and friends.)

#6 Updated by intrigeri 2019-06-09 16:31:50

  • Target version set to Tails_3.15

#7 Updated by intrigeri 2019-06-11 07:05:02

  • Status changed from In Progress to Needs Validation
  • Assignee changed from intrigeri to anonym

Works! See for example https://jenkins.tails.boum.org/view/Tails_ISO/job/test_Tails_ISO_bugfix-16471-drop-time-synchronization-hacks-force-all-tests/4/artifact/build-artifacts/00%3A26%3A27_Clock_is_2_days_in_the_future_and_tor_syncs_the_clock.tor/*view*/.

@anonym, please review and merge :)

#8 Updated by anonym 2019-06-11 11:10:17

  • Status changed from Needs Validation to Fix committed
  • Assignee deleted (anonym)
  • % Done changed from 0 to 100

intrigeri wrote:
> Works! See for example https://jenkins.tails.boum.org/view/Tails_ISO/job/test_Tails_ISO_bugfix-16471-drop-time-synchronization-hacks-force-all-tests/4/artifact/build-artifacts/00%3A26%3A27_Clock_is_2_days_in_the_future_and_tor_syncs_the_clock.tor/*view*/.

Thanks for pointing directly to this!

> anonym, please review and merge :)

Looks good → merged!

#9 Updated by intrigeri 2019-07-03 08:06:46

  • Status changed from Fix committed to Resolved
  • Target version changed from Tails_3.15 to Tails_3.14.1