[tor-bugs] #31757 [Core Tor/Tor]: test_parseconf.sh: apparently not reliable on Appveyor

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Sep 16 13:27:24 UTC 2019


#31757: test_parseconf.sh: apparently not reliable on Appveyor
-----------------------------+------------------------------------
 Reporter:  nickm            |          Owner:  nickm
     Type:  defect           |         Status:  assigned
 Priority:  High             |      Milestone:  Tor: 0.4.2.x-final
Component:  Core Tor/Tor     |        Version:
 Severity:  Normal           |     Resolution:
 Keywords:  tor-ci 042-must  |  Actual Points:
Parent ID:                   |         Points:
 Reviewer:                   |        Sponsor:  Sponsor31-can
-----------------------------+------------------------------------

Comment (by nickm):

 For reference, here is an example of a failing test:
 {{{
 ops_1: cmp: EOF on /tmp/tor_parseconf_tests.1JMUV6/output.ops_1 which is
 empty
 FAIL
 Sep 16 13:21:31.759 [notice] Tor 0.4.2.0-alpha-dev (git-804260828b13e76a)
 running on Windows Server 2016 [or later] with Libevent 2.1.11-stable,
 OpenSSL 1.1.1c, Zlib 1.2.11, Liblzma 5.2.4, and Libzstd 1.4.2.
 Sep 16 13:21:31.759 [notice] Tor can't help you if you use it wrong! Learn
 how to be safe at https://www.torproject.org/download/download#warning
 Sep 16 13:21:31.759 [notice] This version is not a stable Tor release.
 Expect more bugs than usual.
 Sep 16 13:21:31.760 [notice] Read configuration file
 "C:\msys64\tmp\tor_parseconf_tests.1JMUV6\EMPTY".
 Sep 16 13:21:31.760 [notice] Read configuration file
 "C:\projects\tor\src\test\conf_examples\ops_1\torrc".
 Sep 16 13:21:31.769 [warn] Path for GeoIPFile (<default>) is relative and
 will resolve to C:\projects\tor\src\test\conf_examples\ops_1\<default>. Is
 this what you wanted?
 Sep 16 13:21:31.769 [warn] Path for GeoIPv6File (<default>) is relative
 and will resolve to
 C:\projects\tor\src\test\conf_examples\ops_1\<default>. Is this what you
 wanted?
 Sep 16 13:21:31.769 [notice] Your ContactInfo config option is not set.
 Please consider setting it, so we can contact you if your server is
 misconfigured or something else goes wrong.
 Sep 16 13:21:31.769 [notice] Based on detected system memory,
 MaxMemInQueues is set to 3749 MB. You can override this by setting
 MaxMemInQueues by hand.
 Sep 16 13:21:31.769 [notice] By default, Tor does not run as an exit
 relay. If you want to be an exit relay, set ExitRelay to 1. To suppress
 this message in the future, set ExitRelay to 0.
 --- ./expected  2019-09-16 13:09:34.157535000 +0000
 +++ /tmp/tor_parseconf_tests.1JMUV6/output.ops_1        2019-09-16
 13:21:31.650950300 +0000
 @@ -1,2 +0,0 @@
 -Nickname Unnamed
 -ORPort 1000
 FAIL src/test/test_parseconf.sh (exit status: 1)
 }}}

 https://ci.appveyor.com/project/torproject/tor/builds/27439727/job/4n0mtcayea8jwria

 Note that it is random which test fails, but the symptoms seem to be
 uniform: no actual error is logged, but the output file is empty.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/31757#comment:3>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list