------------------------ networkPingPong TEST START --------------------- [Fatal Error] :1:1: Fin prématurée du fichier. [Fatal Error] :1:1: Contenu non autorisé dans le prologue. [Fatal Error] :1:1: Contenu non autorisé dans le prologue. [Fatal Error] :1:1: Fin prématurée du fichier. [Fatal Error] :1:1: Contenu non autorisé dans le prologue. [Fatal Error] :1:1: Contenu non autorisé dans le prologue. [Fatal Error] :1:1: Contenu non autorisé dans le prologue. [MadkitKernel-1] Le plus précis : MadkitKernel-1 (NOT_LAUNCHED) launching MadkitKernel-1 (NOT_LAUNCHED) by Thread[main,5,main] [MadkitKernel-1] Plus précis : ** entrée dans ACTIVATE ** [MadkitKernel-1] Précis : ****** Launching GUI Manager ****** [MadkitKernel-1] Le plus précis : MadkitKernel-1 (ACTIVATED) launching GUIManagerAgent-2 (NOT_LAUNCHED) by Thread[ACTIVATED-1,6,DAEMON] [MadkitKernel-1] Précis : ****** GUI Manager launched ****** [MadkitKernel-1] Le plus précis : MadkitKernel-1 (ACTIVATED) launching NetworkAgent-3 (NOT_LAUNCHED) by Thread[ACTIVATED-1,6,DAEMON] [NetworkAgent-3] Plus précis : ** entrée dans ACTIVATE ** [NetworkAgent-3] Config : ----- MaDKit server activated on /192.168.1.10:4444 -- WAN : 88.168.136.54 ------ [NetworkAgent-3] Config : ----- MaDKit MulticastListener activated on /239.29.8.58 ------ [NetworkAgent-3] Infos : ----- @MK-39092 network started on /192.168.1.10:4444 -- WAN : 88.168.136.54 ------ [MadkitKernel-1] Précis : ****** Network agent launched ****** [MadkitKernel-1] Plus précis : ** sortie de ACTIVATE ** [MadkitKernel-1] Plus précis : ** entrée dans LIVE ** [MadkitKernel-1] Précis : ** LAUNCHING XML CONFIGS ** [MadkitKernel-1] Précis : ** LAUNCHING CONFIG AGENTS ** [MadkitKernel-1] Plus précis : Launching 1 instance(s) of madkit.kernel.AbstractAgent with GUI = false [MadkitKernel-1] Le plus précis : MadkitKernel-1 (LIVING) launching networkPingPong (NOT_LAUNCHED) by Thread[main,5,main] [MadkitKernel-1] Le plus précis : waitNextMessage... [MadkitKernel-1] Le plus précis : MadkitKernel-1 (LIVING) launching AbstractAgent-4 (NOT_LAUNCHED) by Thread[Thread-5,4,LIFE@MK-39092] [AbstractAgent-4] Plus précis : ** entrée dans ACTIVATE ** [AbstractAgent-4] Plus précis : ** sortie de ACTIVATE ** [MadkitKernel-5] Le plus précis : MadkitKernel-5 (NOT_LAUNCHED) launching MadkitKernel-5 (NOT_LAUNCHED) by Thread[ACTIVATED-0,4,LIFE@MK-39092] [MadkitKernel-5] Plus précis : ** entrée dans ACTIVATE ** [MadkitKernel-5] Précis : ****** Launching GUI Manager ****** [MadkitKernel-5] Le plus précis : MadkitKernel-5 (ACTIVATED) launching GUIManagerAgent-6 (NOT_LAUNCHED) by Thread[ACTIVATED-5,4,DAEMON] [MadkitKernel-5] Précis : ****** GUI Manager launched ****** [MadkitKernel-5] Le plus précis : MadkitKernel-5 (ACTIVATED) launching NetworkAgent-7 (NOT_LAUNCHED) by Thread[ACTIVATED-5,4,DAEMON] [NetworkAgent-7] Le plus précis : REQUEST_ROLE OK : rôle <local,network,net agent> using null as passKey [NetworkAgent-7] Le plus précis : GET_AGENT_WITH_ROLE rôle <local,network,manager> : 5@(local,network,manager)@MK-39093 [NetworkAgent-7] Le plus précis : CREATE_GROUP OK : groupe <Cloud,net> distribution ON with no access control [NetworkAgent-7] Le plus précis : REQUEST_ROLE OK : rôle <Cloud,net,net agent> using null as passKey [NetworkAgent-7] Config : ----- MaDKit server activated on /192.168.1.10:4445 -- WAN : 88.168.136.54 ------ [NetworkAgent-7] Config : ----- MaDKit MulticastListener activated on /239.29.8.58 ------ [NetworkAgent-7] Le plus précis : Waiting for some connections first [NetworkAgent-7] Le plus précis : Waiting next message during 400 milliseconds... [NetworkAgent-7] Le plus précis : waitNextMessage->nouveau message: CGRSynchro.4: 5@(local,network,updater)@MK-39093 -> 7@(local,network,net agent)@MK-39093 content: {7@(Cloud,net,manager)@MK-39093} CREATE_GROUP on 7@(Cloud,net,manager)@MK-39093 [NetworkAgent-7] Le plus précis : Waiting for some connections first [NetworkAgent-7] Le plus précis : Waiting next message during 400 milliseconds... [NetworkAgent-7] Le plus précis : waitNextMessage->nouveau message: CGRSynchro.5: 5@(local,network,updater)@MK-39093 -> 7@(local,network,net agent)@MK-39093 content: {7@(Cloud,net,net agent)@MK-39093} REQUEST_ROLE on 7@(Cloud,net,net agent)@MK-39093 [NetworkAgent-7] Le plus précis : Waiting for some connections first [NetworkAgent-7] Le plus précis : Waiting next message during 400 milliseconds... [NetworkAgent-3] Précis : Contacting peer: /192.168.1.10 port = 4445 -> opening KernelConnection [NetworkAgent-7] Le plus précis : waitNextMessage->nouveau message: NetworkMessage.7 content: {[Ljava.lang.Object;@60260627} command: NEW_PEER_REQUEST {[Socket[addr=/192.168.1.10,port=35877,localport=4445]]} [NetworkAgent-7] Précis : Contacted by peer Socket[addr=/192.168.1.10,port=35877,localport=4445] -> opening kernel connection [NetworkAgent-7] Plus précis : KC opened: 192.168.1.10 dka = NA sending connection INFO [NetworkAgent-7] Précis : Sending connection info to Socket[addr=/192.168.1.10,port=35877,localport=4445] [NetworkAgent-7] Plus précis : Local org is {Cloud={net={manager=[7@(Cloud,net,manager)@MK-39093], net agent=[7@(Cloud,net,net agent)@MK-39093]}}, local={kernels={manager=[5@(local,kernels,manager)@MK-39093]}}} [NetworkAgent-7] Précis : Connection info sent, now waiting reply from Socket[addr=/192.168.1.10,port=35877,localport=4445]... [NetworkAgent-7] Le plus précis : Waiting distant kernel address... [MadkitKernel-1] Plus précis : Importing org...{Cloud={net={manager=[7@(Cloud,net,manager)@MK-39093], net agent=[7@(Cloud,net,net agent)@MK-39093]}}, local={kernels={manager=[5@(local,kernels,manager)@MK-39093]}}} [NetworkAgent-3] Précis : Sending connection info to @MK-39093 [NetworkAgent-3] Infos : ----- @MK-39092 now connected with @MK-39093------ [NetworkAgent-7] Le plus précis : ... Distant Kernel Address is @MK-39092 Waiting distant organization info... [MadkitKernel-5] Plus précis : Importing org...{Cloud={net={manager=[3@(Cloud,net,manager)@MK-39092], net agent=[3@(Cloud,net,net agent)@MK-39092]}}, local={kernels={manager=[1@(local,kernels,manager)@MK-39092]}}} [NetworkAgent-7] Infos : ----- @MK-39093 now connected with @MK-39092------ [NetworkAgent-7] Le plus précis : Waiting for some connections first [NetworkAgent-7] Le plus précis : Waiting next message during 400 milliseconds... [NetworkAgent-7] Le plus précis : waitNextMessage time out ! [NetworkAgent-7] Le plus précis : Now purge mailbox [NetworkAgent-7] Plus précis : Local CGR update Broadcasting to [192.168.1.10 dka = @MK-39092]CGRSynchro.4: 5@(local,network,updater)@MK-39093 -> 7@(local,network,net agent)@MK-39093 content: {7@(Cloud,net,manager)@MK-39093} CREATE_GROUP on 7@(Cloud,net,manager)@MK-39093 [NetworkAgent-7] Plus précis : Local CGR update Broadcasting to [192.168.1.10 dka = @MK-39092]CGRSynchro.5: 5@(local,network,updater)@MK-39093 -> 7@(local,network,net agent)@MK-39093 content: {7@(Cloud,net,net agent)@MK-39093} REQUEST_ROLE on 7@(Cloud,net,net agent)@MK-39093 [NetworkAgent-7] Le plus précis : Now activating all connections [NetworkAgent-7] Infos : ----- @MK-39093 network started on /192.168.1.10:4445 -- WAN : 88.168.136.54 ------ [NetworkAgent-7] Plus précis : ** sortie de ACTIVATE ** [NetworkAgent-7] Plus précis : ** entrée dans LIVE ** [NetworkAgent-7] Le plus précis : waitNextMessage... [MadkitKernel-5] Précis : ****** Network agent launched ****** [MadkitKernel-5] Plus précis : ** sortie de ACTIVATE ** [MadkitKernel-5] Plus précis : ** entrée dans LIVE ** [MadkitKernel-5] Précis : ** LAUNCHING XML CONFIGS ** [MadkitKernel-5] Précis : ** LAUNCHING CONFIG AGENTS ** [MadkitKernel-5] Plus précis : Launching 1 instance(s) of madkit.networking.Denier with GUI = false [MadkitKernel-5] Le plus précis : waitNextMessage... [MadkitKernel-5] Le plus précis : MadkitKernel-5 (LIVING) launching Denier-8 (NOT_LAUNCHED) by Thread[Thread-14,4,LIFE@MK-39093] [NetworkAgent-7] Le plus précis : ...nouveau message: CGRSynchro.8: 5@(local,network,updater)@MK-39093 -> 7@(local,network,net agent)@MK-39093 content: {8@(Tcommunity,Tgroup,manager)@MK-39093} CREATE_GROUP on 8@(Tcommunity,Tgroup,manager)@MK-39093 [NetworkAgent-7] Plus précis : Local CGR update Broadcasting to [192.168.1.10 dka = @MK-39092]CGRSynchro.8: 5@(local,network,updater)@MK-39093 -> 7@(local,network,net agent)@MK-39093 content: {8@(Tcommunity,Tgroup,manager)@MK-39093} CREATE_GROUP on 8@(Tcommunity,Tgroup,manager)@MK-39093 [NetworkAgent-7] Le plus précis : waitNextMessage... [MadkitKernel-1] Le plus précis : MadkitKernel-1 (LIVING) launching -9 (NOT_LAUNCHED) by Thread[ACTIVATED-0,4,LIFE@MK-39092] [NetworkAgent-7] Le plus précis : ...nouveau message: CGRSynchro.9: 1@(local,network,updater)@MK-39092 -> 3@(local,network,net agent)@MK-39092 content: {9@(local,kernels,ma)@MK-39092} REQUEST_ROLE on 9@(local,kernels,ma)@MK-39092 [NetworkAgent-7] Plus précis : Injecting distant CGR REQUEST_ROLE on 9@(local,kernels,ma)@MK-39092 [NetworkAgent-7] Le plus précis : waitNextMessage... [NetworkAgent-7] Le plus précis : ...nouveau message: ObjectMessage.11: 1@(local,network,emmiter)@MK-39092 -> 3@(local,network,net agent)@MK-39092 content: {RequestRoleSecure.10-@MK-39092: 9@(local,kernels,ma)@MK-39092 -> 5@(local,kernels,manager)@MK-39093 content: {null}} [NetworkAgent-7] Plus précis : Injecting distant message LIVING : ObjectMessage.11: 1@(local,network,emmiter)@MK-39092 -> 3@(local,network,net agent)@MK-39092 content: {RequestRoleSecure.10-@MK-39092: 9@(local,kernels,ma)@MK-39092 -> 5@(local,kernels,manager)@MK-39093 content: {null}} [NetworkAgent-7] Le plus précis : waitNextMessage... [MadkitKernel-5] Le plus précis : ...nouveau message: RequestRoleSecure.10-@MK-39092: 9@(local,kernels,ma)@MK-39092 -> 5@(local,kernels,manager)@MK-39093 content: {null} [MadkitKernel-5] Le plus précis : waitNextMessage... [NetworkAgent-7] Le plus précis : ...nouveau message: ObjectMessage.13: 5@(local,network,emmiter)@MK-39093 -> 7@(local,network,net agent)@MK-39093 content: {BooleanMessage.10-@MK-39092: 5@(local,kernels,manager)@MK-39093 -> 9@(local,kernels,ma)@MK-39092 content: {false}} [NetworkAgent-7] Plus précis : sending to @MK-39092ObjectMessage.13: 5@(local,network,emmiter)@MK-39093 -> 7@(local,network,net agent)@MK-39093 content: {BooleanMessage.10-@MK-39092: 5@(local,kernels,manager)@MK-39093 -> 9@(local,kernels,ma)@MK-39092 content: {false}} [NetworkAgent-7] Le plus précis : waitNextMessage... [-0] Plus précis : ** sortie de LIVE ** [-0] Plus précis : ** entrée dans END ** ------------------------ networkPingPong TEST FINISHED --------------------- [-0] Plus précis : ** sortie de END ** [MadkitKernel-1] Le plus précis : [networkPingPong (TERMINATED), MadkitKernel-1 (LIVING)] [-0] Le plus précis : ** TERMINATED ** [MadkitKernel-1] Le plus précis : [MadkitKernel-1 (LIVING)] [MadkitKernel-5] Le plus précis : ...nouveau message: KernelMessage.15 content: {[Ljava.lang.Object;@7ba28b34} command: STOP_NETWORK {[]} [MadkitKernel-1] Le plus précis : ...nouveau message: KernelMessage.14 content: {[Ljava.lang.Object;@786d2928} command: EXIT {[]} [MadkitKernel-1] Le plus précis : proceeding command message KernelMessage.14 content: {[Ljava.lang.Object;@786d2928} command: EXIT {[]} [MadkitKernel-5] Le plus précis : proceeding command message KernelMessage.15 content: {[Ljava.lang.Object;@7ba28b34} command: STOP_NETWORK {[]} [MadkitKernel-5] Précis : ****** Network stopped ****** [MadkitKernel-5] Le plus précis : waitNextMessage... [MadkitKernel-1] Le plus précis : pause 10 ms. [MadkitKernel-5] Le plus précis : ...nouveau message: KernelMessage.17 content: {[Ljava.lang.Object;@2171145e} command: EXIT {[]} [NetworkAgent-7] Le plus précis : ...nouveau message: KernelMessage.19: 5@(local,network,kernel)@MK-39093 -> 7@(local,network,net agent)@MK-39093 content: {[Ljava.lang.Object;@50b937e} command: STOP_NETWORK {[]} [MadkitKernel-5] Le plus précis : proceeding command message KernelMessage.17 content: {[Ljava.lang.Object;@2171145e} command: EXIT {[]} [NetworkAgent-7] Le plus précis : proceeding command message KernelMessage.19: 5@(local,network,kernel)@MK-39093 -> 7@(local,network,net agent)@MK-39093 content: {[Ljava.lang.Object;@50b937e} command: STOP_NETWORK {[]} [NetworkAgent-7] Infos : ----- @MK-39093 network closed ------ [NetworkAgent-3] Infos : ----- @MK-39092 network closed ------ [NetworkAgent-7] Plus précis : Closing all connections : [192.168.1.10 dka = @MK-39092] [NetworkAgent-3] Infos : ----- @MK-39092 deconnected from @MK-39093------ [NetworkAgent-7] Infos : ----- @MK-39093 deconnected from @MK-39092------ [MadkitKernel-5] Le plus précis : pause 10 ms. [NetworkAgent-7] Plus précis : Closing multicast listener and kernel server [MadkitKernel-5] Le plus précis : [MadkitKernel-5 (LIVING), Denier-8 (LIVING)] [MadkitKernel-1] Le plus précis : [MadkitKernel-1 (LIVING)] [MadkitKernel-1] Le plus précis : [MadkitKernel-1 (LIVING)] [NetworkAgent-7] Le plus précis : socket closed on @MK-39092 ** java.net.SocketException: Socket closed at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:152) at java.net.SocketInputStream.read(SocketInputStream.java:122) at java.net.SocketInputStream.read(SocketInputStream.java:210) at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2293) at java.io.ObjectInputStream$BlockDataInputStream.peek(ObjectInputStream.java:2586) at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2596) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1505) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1771) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1350) at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1990) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1915) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1798) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1350) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370) at madkit.kernel.KernelConnection.run(Unknown Source) [NetworkAgent-7] Le plus précis : LEAVE_GROUP OK : groupe <Cloud,net> [NetworkAgent-7] Le plus précis : waitNextMessage... [NetworkAgent-7] Le plus précis : ...nouveau message: KernelMessage.21: 5@(local,network,kernel)@MK-39093 -> 7@(local,network,net agent)@MK-39093 content: {[Ljava.lang.Object;@20bab550} command: EXIT {[]} [NetworkAgent-7] Le plus précis : proceeding command message KernelMessage.21: 5@(local,network,kernel)@MK-39093 -> 7@(local,network,net agent)@MK-39093 content: {[Ljava.lang.Object;@20bab550} command: EXIT {[]} [NetworkAgent-7] Plus précis : ** sortie de LIVE ** [NetworkAgent-7] Plus précis : ** entrée dans END ** [NetworkAgent-7] Infos : ----- @MK-39093 network closed ------ [NetworkAgent-7] Plus précis : Closing all connections : [] [NetworkAgent-7] Plus précis : Closing multicast listener and kernel server [NetworkAgent-7] Avertissement : LEAVE_GROUP ÉCHEC : ** madkit.kernel.OrganizationWarning: la communauté n'existe pas : communauté <Cloud> at madkit.kernel.NetworkAgent.stopNetwork(Unknown Source) at madkit.kernel.NetworkAgent.end(Unknown Source) [NetworkAgent-7] Plus précis : ** sortie de END ** [NetworkAgent-7] Le plus précis : ** TERMINATED ** [MadkitKernel-5] Le plus précis : [MadkitKernel-5 (LIVING), Denier-8 (LIVING)] [MadkitKernel-1] Plus précis : ***** SHUTINGDOWN MADKIT ******** [MadkitKernel-1] Le plus précis : pause 10 ms. [MadkitKernel-5] Plus précis : ***** SHUTINGDOWN MADKIT ******** [MadkitKernel-5] Plus précis : ACTIVATED already done on Denier-8 (LIVING) [MadkitKernel-5] Plus précis : Hard kill on Denier-8 (LIVING) LIVING-8 [MadkitKernel-5] Plus précis : now waiting for LIVING to end on Denier-8 (LIVING) [MadkitKernel-5] Plus précis : ENDING already done on Denier-8 (TERMINATED) [MadkitKernel-5] Le plus précis : [] [MadkitKernel-5] Le plus précis : pause 10 ms. [MadkitKernel-1] Plus précis : ** entrée dans END ** [MadkitKernel-1] Plus précis : ** sortie de END ** [MadkitKernel-1] Le plus précis : ** TERMINATED ** [MadkitKernel-5] Plus précis : ** entrée dans END ** [MadkitKernel-5] Plus précis : ** sortie de END ** [MadkitKernel-5] Le plus précis : ** TERMINATED ** ------------Cleaning help instances done ---------------------