[tor-bugs] #28845 [Core Tor/Tor]: evloop could be better at handling fork() in tests

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Dec 21 22:18:55 UTC 2018


#28845: evloop could be better at handling fork() in tests
--------------------------+------------------------------------
 Reporter:  ahf           |          Owner:  (none)
     Type:  enhancement   |         Status:  new
 Priority:  Medium        |      Milestone:  Tor: 0.4.0.x-final
Component:  Core Tor/Tor  |        Version:  Tor: unspecified
 Severity:  Normal        |     Resolution:
 Keywords:                |  Actual Points:
Parent ID:  #28179        |         Points:
 Reviewer:                |        Sponsor:  Sponsor8
--------------------------+------------------------------------

Comment (by ahf):

 The error can be seen here:

 https://travis-ci.org/ahf/tor/jobs/471094512

 {{{
 slow/process/callbacks: [forking] [warn] kevent: Bad file descriptor
 Dec 21 18:27:55.660 [err] libevent call with kqueue failed: Bad file
 descriptor [9]
   FAIL src/test/test_process_slow.c:188: assert(ret OP_EQ 0): -1 vs 0
   FAIL src/test/test_process_slow.c:243:
 assert(smartlist_len(process_data->stdout_data) OP_EQ 12): 0 vs 12
   [callbacks FAILED]
 slow/process/callbacks_terminate: [forking] [warn] kevent: Bad file
 descriptor
 Dec 21 18:27:56.036 [err] libevent call with kqueue failed: Bad file
 descriptor [9]
   FAIL src/test/test_process_slow.c:188: assert(ret OP_EQ 0): -1 vs 0
   FAIL src/test/test_process_slow.c:331: assert(process_data->did_exit)
   [callbacks_terminate FAILED]
 2/14 TESTS FAILED. (0 skipped)
 FAIL src/test/test-slow (exit status: 1)
 }}}

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


More information about the tor-bugs mailing list