Created
June 5, 2023 22:09
-
-
Save adrianobrito/f9891796130d6752abdccaaf272d8a2a to your computer and use it in GitHub Desktop.
very first apatheia PING/FIND NODE test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[info] Loading global plugins from /home/dev/.sbt/1.0/plugins | |
[info] Loading settings for project apatheia-network-build-build from metals.sbt ... | |
[info] Loading project definition from /home/dev/env/labs/apatheia/apatheia-network/project/project | |
[info] Loading settings for project apatheia-network-build from metals.sbt ... | |
[info] Loading project definition from /home/dev/env/labs/apatheia/apatheia-network/project | |
[success] Generated .bloop/apatheia-network-build.json | |
[success] Total time: 1 s, completed Jun 6, 2023, 12:07:17 AM | |
[info] Loading settings for project root from build.sbt ... | |
[info] Set current project to apatheia-network (in build file:/home/dev/env/labs/apatheia/apatheia-network/) | |
00:07:20,309 |-INFO in ch.qos.logback.classic.LoggerContext[default] - This is logback-classic version 1.4.5 | |
00:07:20,315 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml] | |
00:07:20,323 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [file:/home/dev/env/labs/apatheia/apatheia-network/target/scala-2.13/test-classes/logback.xml] | |
00:07:20,324 |-WARN in ch.qos.logback.classic.util.DefaultJoranConfigurator@3a24a3ce - Resource [logback.xml] occurs multiple times on the classpath. | |
00:07:20,324 |-WARN in ch.qos.logback.classic.util.DefaultJoranConfigurator@3a24a3ce - Resource [logback.xml] occurs at [file:/home/dev/env/labs/apatheia/apatheia-network/target/scala-2.13/classes/logback.xml] | |
00:07:20,324 |-WARN in ch.qos.logback.classic.util.DefaultJoranConfigurator@3a24a3ce - Resource [logback.xml] occurs at [jar:file:/home/dev/.cache/coursier/v1/https/maven.pkg.github.com/apatheia-org/apatheia-p2p-network/org/apatheia/apatheia-p2p-protocol_2.13/0.0.9-alpha/apatheia-p2p-protocol_2.13-0.0.9-alpha.jar!/logback.xml] | |
00:07:20,324 |-WARN in ch.qos.logback.classic.util.DefaultJoranConfigurator@3a24a3ce - Resource [logback.xml] occurs at [file:/home/dev/env/labs/apatheia/apatheia-network/target/scala-2.13/test-classes/logback.xml] | |
00:07:20,419 |-INFO in ch.qos.logback.core.model.processor.AppenderModelHandler - Processing appender named [console] | |
00:07:20,420 |-INFO in ch.qos.logback.core.model.processor.AppenderModelHandler - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender] | |
00:07:20,430 |-INFO in ch.qos.logback.core.model.processor.ImplicitModelHandler - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property | |
00:07:20,461 |-INFO in ch.qos.logback.classic.model.processor.RootLoggerModelHandler - Setting level of ROOT logger to DEBUG | |
00:07:20,468 |-INFO in ch.qos.logback.core.model.processor.AppenderRefModelHandler - Attaching appender named [console] to Logger[ROOT] | |
00:07:20,469 |-INFO in ch.qos.logback.core.model.processor.DefaultProcessor@1b5bb200 - End of configuration. | |
00:07:20,470 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@68ef7c90 - Registering current configuration as safe fallback point | |
2023-06-06 00:07:21,480 INFO [io-compute-6] o.a.n.server.impl.DefaultUDPServer - Starging up server at port 3333 | |
2023-06-06 00:07:21,505 INFO [io-compute-6] o.a.n.server.impl.DefaultUDPServer - UDP Server receiving datagrams at port 3333 | |
2023-06-06 00:07:22,481 INFO [io-compute-5] o.a.n.server.impl.DefaultUDPServer - Starging up server at port 6666 | |
2023-06-06 00:07:22,496 INFO [io-compute-5] o.a.n.server.impl.DefaultUDPServer - UDP Server receiving datagrams at port 6666 | |
2023-06-06 00:07:23,497 INFO [io-compute-3] o.a.s.impl.FindNodeIntegrationSpec - Sending request to Contact(NodeId(2),6666,127.0.0.1)/NodeId(2)) | |
2023-06-06 00:07:23,540 DEBUG [io-compute-3] o.a.n.client.impl.DefaultUDPClient - Sending UDP request to /127.0.0.1:6666 | |
2023-06-06 00:07:23,559 DEBUG [NioProcessor-2] o.a.n.c.impl.UDPClientHandlerAdapter - UDP Client Session created: #/127.0.0.1:6666 | |
2023-06-06 00:07:23,560 DEBUG [io-compute-3] o.a.n.client.impl.DefaultUDPClient - Await for connection to /127.0.0.1:6666 | |
2023-06-06 00:07:23,570 DEBUG [NioProcessor-2] o.a.n.c.impl.UDPClientHandlerAdapter - UDP Datagram message was sent to /127.0.0.1:6666 | |
2023-06-06 00:07:23,574 DEBUG [NioProcessor-2] o.a.n.c.impl.UDPClientHandlerAdapter - UDP Client Session closed: #/127.0.0.1:6666 | |
2023-06-06 00:07:23,596 DEBUG [io-compute-3] o.a.n.s.impl.UDPServerHandlerAdapter - Receiving new message | |
2023-06-06 00:07:23,604 DEBUG [io-compute-3] o.a.n.s.impl.UDPServerHandlerAdapter - Receiving datagram: /127.0.0.1:50450. DefaultKademliaDatagramServerReceiver(DefaultLocalhostMetadataRef(cats.effect.std.AtomicCell$Impl@284c047a),DefaultUDPClient(MaxClientBufferSize(10240),MaxClientTimeout(10))) | |
2023-06-06 00:07:23,606 DEBUG [io-compute-3] o.a.n.s.i.DefaultKademliaDatagramServerReceiver - Processing incoming Kademlia UDP datagram: /127.0.0.1:50450 | |
2023-06-06 00:07:23,619 DEBUG [io-compute-3] o.a.n.s.i.DefaultKademliaDatagramServerReceiver - Parsed kademlia package: KadDatagramPackage(KadHeaders(NodeId(1),NodeId(2),OpId(fa690de2-aad0-4ee4-9287-4289c3e055fe),Some(ServerPort(3333))),KadDatagramPayload(FindNode,[B@366a3725)) | |
2023-06-06 00:07:23,626 DEBUG [io-compute-3] o.a.n.client.impl.DefaultUDPClient - Sending UDP request to localhost/127.0.0.1:3333 | |
2023-06-06 00:07:23,628 DEBUG [io-compute-3] o.a.n.client.impl.DefaultUDPClient - Await for connection to localhost/127.0.0.1:3333 | |
2023-06-06 00:07:23,628 DEBUG [NioProcessor-13] o.a.n.c.impl.UDPClientHandlerAdapter - UDP Client Session created: #localhost/127.0.0.1:3333 | |
2023-06-06 00:07:23,628 DEBUG [NioProcessor-13] o.a.n.c.impl.UDPClientHandlerAdapter - UDP Datagram message was sent to localhost/127.0.0.1:3333 | |
2023-06-06 00:07:23,629 DEBUG [NioProcessor-13] o.a.n.c.impl.UDPClientHandlerAdapter - UDP Client Session closed: #localhost/127.0.0.1:3333 | |
2023-06-06 00:07:23,629 DEBUG [io-compute-3] o.a.n.s.impl.UDPServerHandlerAdapter - UDP Datagram successfully received: localhost/127.0.0.1:50450 | |
2023-06-06 00:07:23,630 DEBUG [io-compute-4] o.a.n.s.impl.UDPServerHandlerAdapter - Receiving new message | |
2023-06-06 00:07:23,630 DEBUG [io-compute-4] o.a.n.s.impl.UDPServerHandlerAdapter - Receiving datagram: /127.0.0.1:39454. KadResponseDatagramReceiver(DefaultResponseStoreRef(cats.effect.std.AtomicCell$Impl@64b9e435)) | |
2023-06-06 00:07:23,635 DEBUG [io-compute-4] o.a.n.c.r.KadResponseDatagramReceiver - Receiving response datagram: /127.0.0.1:39454 | |
2023-06-06 00:07:23,638 DEBUG [io-compute-4] o.a.n.s.impl.UDPServerHandlerAdapter - UDP Datagram successfully received: /127.0.0.1:39454 | |
2023-06-06 00:07:24,642 INFO [io-compute-7] o.a.s.impl.FindNodeIntegrationSpec - Received the remote contact as response: List(Contact(NodeId(2),6666,127.0.0.1\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00)) | |
[info] FindNodeIntegrationSpec: | |
[info] DefaultKademliaDatagramServerReceiver | |
[info] - should process kademlia requests from a FindNodeClient | |
[info] Run completed in 4 seconds, 858 milliseconds. | |
[info] Total number of tests run: 1 | |
[info] Suites: completed 1, aborted 0 | |
[info] Tests: succeeded 1, failed 0, canceled 0, ignored 0, pending 0 | |
[info] All tests passed. | |
[success] Total time: 6 s, completed Jun 6, 2023, 12:07:24 AM |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment