[tor-bugs] #29573 [Core Tor/Tor]: Tests fail without network interface configured

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Apr 17 09:32:58 UTC 2019


#29573: Tests fail without network interface configured
-------------------------------------------------+-------------------------
 Reporter:  atsampson                            |          Owner:  rl1987
     Type:  defect                               |         Status:
                                                 |  accepted
 Priority:  Low                                  |      Milestone:  Tor:
                                                 |  unspecified
Component:  Core Tor/Tor                         |        Version:  Tor:
                                                 |  0.3.5.8
 Severity:  Normal                               |     Resolution:
 Keywords:  041-proposed 040-backport            |  Actual Points:
  035-backport                                   |
Parent ID:                                       |         Points:
 Reviewer:                                       |        Sponsor:
-------------------------------------------------+-------------------------
Changes (by rl1987):

 * status:  new => accepted
 * owner:  (none) => rl1987


Comment:

 When I run `sudo unshare --net make test`, it fails with the following
 error:
 {{{
 util/socketpair_ersatz: [forking]
   FAIL src/test/test_util.c:5402: assert(0 OP_EQ socketpair_result): 0 vs
 -101
   [socketpair_ersatz FAILED]
 }}}

 The above test cases does not fail on my Vagrant machine. Tested with
 current git master (ef97e6c5534c1e0266056aa063f0467d37bd8347).

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


More information about the tor-bugs mailing list