cli icon indicating copy to clipboard operation
cli copied to clipboard

tests/integration: fix the address in use error

Open ilgooz opened this issue 4 years ago • 2 comments

We see this happening a lot in the CI check.

failed to listen on 0.0.0.0:36893: listen tcp 0.0.0.0:36893: bind: address already in use

ilgooz avatar Sep 23 '21 11:09 ilgooz

Port check and enhancement to the test was added recently in this PR. Issue is quite old, so it would be good to check the state of how addresses are being used.

salmad3 avatar Feb 29 '24 16:02 salmad3

Hey @salmad3 it is not clear where the error reported by @ilgooz is originated from. The description says

in the CI check

but it does not provide any indications in which CI jobs. Furthermore the message is quite outdated. Also the https://github.com/ignite/cli/pull/3621 does not provide any indications on that specific error and its reproducibility.

I would need more elements to drag the issue. If the error does not happen anymore then we can conclude that it has been fixed and close the issue.

In the case that this issue relates only to

It would still be good to check the state of how addresses are being used.

I would need to ask which part exactly of the integration tests relate to. Which is the component that open a TCP connection?

mazzy89 avatar Feb 29 '24 17:02 mazzy89

I fixed with new pkg to check open ports

Pantani avatar Apr 22 '24 21:04 Pantani