[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-bugs] #13331 [Tor]: tor's test-network hangs when used with make -j2



#13331: tor's test-network hangs when used with make -j2
----------------------+----------------------------------
 Reporter:  teor      |          Owner:
     Type:  defect    |         Status:  new
 Priority:  normal    |      Milestone:
Component:  Tor       |        Version:  Tor: unspecified
 Keywords:  tor-test  |  Actual Points:
Parent ID:            |         Points:
----------------------+----------------------------------
 (GNU) Make 3.81 has a bug/feature where if it is running processes in
 parallel using -j2 (or more), it waits until all descendent processes have
 exited before it returns to the shell.

 When a command like "make -j2 test-network" is run, this means that test-
 network apparently hangs until it either make or all the tor processes
 have exited.

 A workaround is to use make without -j, or make -j1 if there is an
 existing alias to "make -jn" in the shell.

 One way to resolve this bug in tor is to use "chutney stop" after "chutney
 verify" in test-network.sh. I'll post a github branch that does this
 shortly.

 Another, far more complex way would be to start another process group in
 chutney or something - but that would probably have unintended
 consequences.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/13331>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs