View Issue Details

IDProjectCategoryView StatusLast Update
0002201GNUnetARM servicepublic2012-06-02 19:15
ReporterBart Polot Assigned ToChristian Grothoff  
PriorityurgentSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version0.9.2 
Target Version0.9.3Fixed in Version0.9.3 
Summary0002201: gnunet-arm -e does not detect gnunet-sercive-arm shutting down.
DescriptionThe gnunet-arm command line does not detect that the gnunet-arm-service has shut down and keeps waiting.

Many gnunet-arm -e, no gnunet-service-arm running anymore:
[bart@saturn ~/oldgnunet-nsedata/src/nse]$ ps aux | grep gnunet
bart 12596 0.0 0.0 26496 1596 pts/14 S+ 18:42 0:00 gnunet-arm -L DEBUG -c /tmp/nse-profiler//2644//gnunet-testing-config21j7iz -e -q -T 1500000
bart 12597 0.0 0.0 26496 1592 pts/14 S+ 18:42 0:00 gnunet-arm -L DEBUG -c /tmp/nse-profiler//3829//gnunet-testing-config9Sswiv -e -q -T 1500000
bart 12598 0.2 0.0 26496 1596 pts/14 S+ 18:42 0:00 gnunet-arm -L DEBUG -c /tmp/nse-profiler//3767//gnunet-testing-configCx5bcL -e -q -T 1500000
bart 12599 0.0 0.0 26496 1592 pts/14 S+ 18:42 0:00 gnunet-arm -L DEBUG -c /tmp/nse-profiler//126//gnunet-testing-configiBcR9c -e -q -T 1500000
bart 12600 0.0 0.0 26496 1596 pts/14 S+ 18:42 0:00 gnunet-arm -L DEBUG -c /tmp/nse-profiler//284//gnunet-testing-configwI59wr -e -q -T 1500000
bart 12601 0.0 0.0 26496 1596 pts/14 S+ 18:42 0:00 gnunet-arm -L DEBUG -c /tmp/nse-profiler//285//gnunet-testing-config01rMaz -e -q -T 1500000
bart 12602 0.2 0.0 26496 1596 pts/14 S+ 18:42 0:00 gnunet-arm -L DEBUG -c /tmp/nse-profiler//1126//gnunet-testing-config6WZEBO -e -q -T 1500000
bart 12603 0.0 0.0 26496 1596 pts/14 S+ 18:42 0:00 gnunet-arm -L DEBUG -c /tmp/nse-profiler//1048//gnunet-testing-configvuj701 -e -q -T 1500000
bart 12604 0.0 0.0 26496 1596 pts/14 S+ 18:42 0:00 gnunet-arm -L DEBUG -c /tmp/nse-profiler//1047//gnunet-testing-configIbcyuT -e -q -T 1500000
bart 12605 0.0 0.0 26496 1596 pts/14 S+ 18:42 0:00 gnunet-arm -L DEBUG -c /tmp/nse-profiler//1046//gnunet-testing-configgHs3XK -e -q -T 1500000
bart 12606 0.0 0.0 26496 1592 pts/14 S+ 18:42 0:00 gnunet-arm -L DEBUG -c /tmp/nse-profiler//2008//gnunet-testing-config5DZSRK -e -q -T 1500000
bart 12607 0.0 0.0 26496 1596 pts/14 S+ 18:42 0:00 gnunet-arm -L DEBUG -c /tmp/nse-profiler//3007//gnunet-testing-configSLwVSF -e -q -T 1500000
bart 12608 0.0 0.0 26496 1596 pts/14 S+ 18:42 0:00 gnunet-arm -L DEBUG -c /tmp/nse-profiler//1419//gnunet-testing-configwh4xBl -e -q -T 1500000
bart 12609 0.0 0.0 26496 1592 pts/14 S+ 18:42 0:00 gnunet-arm -L DEBUG -c /tmp/nse-profiler//348//gnunet-testing-config0hRiLm -e -q -T 1500000
bart 12610 0.0 0.0 26496 1596 pts/14 S+ 18:42 0:00 gnunet-arm -L DEBUG -c /tmp/nse-profiler//3716//gnunet-testing-configA83YB9 -e -q -T 1500000
bart 12611 0.0 0.0 26496 1596 pts/14 S+ 18:42 0:00 gnunet-arm -L DEBUG -c /tmp/nse-profiler//1045//gnunet-testing-configPE7CrC -e -q -T 1500000
bart 12612 0.0 0.0 26496 1596 pts/14 S+ 18:42 0:00 gnunet-arm -L DEBUG -c /tmp/nse-profiler//1044//gnunet-testing-configGnehVt -e -q -T 1500000
bart 12613 0.0 0.0 26496 1596 pts/14 S+ 18:42 0:00 gnunet-arm -L DEBUG -c /tmp/nse-profiler//2750//gnunet-testing-configBAvKBr -e -q -T 1500000
bart 12614 0.0 0.0 26496 1596 pts/14 S+ 18:42 0:00 gnunet-arm -L DEBUG -c /tmp/nse-profiler//2371//gnunet-testing-configgOEniv -e -q -T 1500000
bart 12615 0.0 0.0 26496 1596 pts/14 S+ 18:42 0:00 gnunet-arm -L DEBUG -c /tmp/nse-profiler//2372//gnunet-testing-configH0Q6mF -e -q -T 1500000
bart 12617 0.0 0.0 10596 1108 pts/15 S+ 18:42 0:00 grep --color=auto gnunet
bart 15547 3.1 1.5 412796 378004 pts/14 S+ 17:48 1:43 /home/bart/svn/gnunet/src/nse/.libs/lt-gnunet-nse-profiler -c nse_profiler_test.conf
[bart@saturn ~/oldgnunet-nsedata/src/nse]$


Output from test terminal:
Error communicating with ARM service.
Mär 07 18:47:23-426560 arm-api-12746 WARNING Failed to transmit shutdown request to client.
[...]
Mär 07 18:47:25-404469 arm-api-12764 WARNING Failed to transmit shutdown request to client.
Error communicating with ARM service.
Steps To ReproduceHappens when running a test with 4k peers and shutting down by Ctrl-C.
Additional InformationIt could be a bug in the util library, or in the testing framework...
TagsNo tags attached.

Relationships

related to 0002197 closedChristian Grothoff Assertion failed at statistics_api.c:426. 

Activities

Bart Polot

2012-03-07 18:54

manager   ~0005578

If the gnunet-arm process is killed, testing restarts it, and the new gnunet-arm hangs in there (probably waiting to *connect* to the gnunet-service-arm to shut it down).

Christian Grothoff

2012-03-09 12:40

manager   ~0005583

Problem was 40s timeout even if the connection failed (whereas the desired timeout should only apply for the termination confirmation AFTER connection succeeded). Fixed in SVN 20397.

Issue History

Date Modified Username Field Change
2012-03-07 18:49 Bart Polot New Issue
2012-03-07 18:54 Bart Polot Note Added: 0005578
2012-03-07 18:54 Bart Polot Relationship added related to 0002197
2012-03-09 00:34 Christian Grothoff Target Version => 0.9.3
2012-03-09 00:35 Christian Grothoff Assigned To => Christian Grothoff
2012-03-09 00:35 Christian Grothoff Status new => assigned
2012-03-09 00:37 Christian Grothoff Priority normal => urgent
2012-03-09 12:40 Christian Grothoff Note Added: 0005583
2012-03-09 12:40 Christian Grothoff Status assigned => resolved
2012-03-09 12:40 Christian Grothoff Fixed in Version => 0.9.3
2012-03-09 12:40 Christian Grothoff Resolution open => fixed
2012-06-02 19:15 Christian Grothoff Status resolved => closed