XRPLF / rippled

Decentralized cryptocurrency blockchain daemon implementing the XRP Ledger protocol in C++
https://xrpl.org
ISC License
4.51k stars 1.46k forks source link

./rippled --unittest failed output #5024

Closed Xtinc-T closed 4 months ago

Xtinc-T commented 4 months ago

Issue Description

I am building the rippled release repo on my VM (Ubuntu 22.04) and when I ran ran test, initially they were going as expected. But at the end the output was something else and I am not sure what should I make of it, did the testing went well? did it gave out errors and stopped the testing?

Steps to Reproduce

Expected Result

Absolutely no idea what to expect as this is my first time working with Rippled.

Actual Result

I am attaching some of the final output lines, I literally have no clue what happened and I am learning. Screenshot 2024-05-21 174625

Environment

Ubuntu 22.04 Jammy everything else is above the requirements.

Supporting Files

dangell7 commented 4 months ago

"Address already in use". Are you running other services on that computer?

Xtinc-T commented 4 months ago

Yes I checked these is nothing running, I even killed the running service which was rippled itself but everytime i killed it, it just gets assigned with different PID and goes to (LISTEN). I killed the process, then I kill again so at time I get no process running as expect but when I lsof, I see its created automatically as if it is binded. Screenshot 2024-05-22 124449

legleux commented 4 months ago

Yes I checked these is nothing running,

How'd you do that? You must have missed it because 51235 is the example config's peer port.

How are you "killing the service"? It wont restart if you ask it nicely. Although if you built it from source, I'd expect you probably didn't install it as a service.

Xtinc-T commented 4 months ago

I see, I got it resolved though. Turns out just needed to end the rippled service instead of service running on that port. Thanks for the help