Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

testnet-sanity panic: solana-jsonrpchttp.worker3 panic: Address already in use #1005

Closed
mvines opened this issue Aug 18, 2018 · 3 comments
Closed
Assignees

Comments

@mvines
Copy link
Member

mvines commented Aug 18, 2018

#960 appears to have caused an issue with testnet-sanity. See https://buildkite.com/solana-labs/testnet-sanity/builds/871#33874f3a-91d2-4ccf-b033-522ca0883939

INFO 2018-08-18T22:28:42.715169657Z: solana::fullnode: creating bank...
--
  | INFO 2018-08-18T22:28:44.214224018Z: solana::fullnode: processing ledger...
  | INFO 2018-08-18T22:28:49.156724865Z: solana::fullnode: processed 4321 ledger...
  | INFO 2018-08-18T22:28:49.156766150Z: solana::fullnode: creating networking stack...
  | INFO 2018-08-18T22:28:49.156777967Z: solana::fullnode: starting... local gossip address: 0.0.0.0:9001 (advertising 10.138.15.237:9001)
  | thread 'thread 'solana-jsonrpchttp.worker3' panicked at '' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 98, kind: AddrInUse, message: "Address already in use" }Server initialization awaits local address.: "SendError(..)"', ', libcore/result.rslibcore/result.rs::945945::55

In the mean time, I've set

NO_VALIDATOR_SANITY=1

to keep us going. Ref: https://github.com/solana-labs/solana/blob/master/ci/testnet-sanity.sh#L54

@mvines mvines added this to the v0.8.0 milestone Aug 18, 2018
@CriesofCarrots CriesofCarrots self-assigned this Aug 18, 2018
@CriesofCarrots
Copy link
Contributor

@mvines , just to make sure I understand properly, testnet-sanity ran fine with #960 incorporated four times (builds 863, 865, 867, 869), correct?

So far I've only been able to reproduce the panic by binding to the RPC port with another application before starting a fullnode. Leader and validators on the same machine just yoink the port from each other.

I wonder if this testnet-sanity build might have been running into something at the end of the previous testnet-deploy build, since they started 2min apart instead of the usual 5min. Would you be completely opposed to re-enabling the validator sanity test for half a day or so to see how often the issue recurs in your scheduled builds?

That said, I will add in a non-panicky way to handle an RPC port conflict regardless...

@mvines
Copy link
Member Author

mvines commented Aug 19, 2018

Yep, no problem. I've removed the NO_VALIDATOR_SANITY=1 again.
There's a couple other issues in sanity though (ledger verification and wallet airdrops are not 100%) so the noise level is a little high right now :-/

You're right though, this issue doesn't seem to reproduce 100% of the time. I've actually only seen it occur once

@mvines
Copy link
Member Author

mvines commented Aug 20, 2018

vkomenda pushed a commit to vkomenda/solana that referenced this issue Aug 29, 2021
Bumps [console](https://github.com/mitsuhiko/console) from 0.13.0 to 0.14.0.
- [Release notes](https://github.com/mitsuhiko/console/releases)
- [Changelog](https://github.com/mitsuhiko/console/blob/master/CHANGELOG.md)
- [Commits](console-rs/console@0.13.0...0.14.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
brooksprumo added a commit to brooksprumo/solana that referenced this issue Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants