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

mysql end-to-end source test: port is already allocated #6953

Closed
lmatz opened this issue Dec 19, 2022 · 7 comments
Closed

mysql end-to-end source test: port is already allocated #6953

lmatz opened this issue Dec 19, 2022 · 7 comments
Assignees

Comments

@lmatz
Copy link
Contributor

lmatz commented Dec 19, 2022

Is your feature request related to a problem? Please describe.

How often should we expect port is already allocated error?

Right now, we (re)-try three times in total.
But if it fails, sort of waste as the end-to-end source test is one of the last ones in the test pipeline, which fails the entire pipeline at the very last.

If it fails very often, then it wastes a lot(time particularly).

Describe the solution you'd like

Options:

  1. retry a lot
  2. random the port number in scripts/in e2e_test/source SQL files.

Describe alternatives you've considered

No response

Additional context

SCR-20221219-l47

@github-actions github-actions bot added this to the release-0.1.16 milestone Dec 19, 2022
@lmatz
Copy link
Contributor Author

lmatz commented Dec 19, 2022

As discussed with @tabVersion , probably because the environment that triggers timeout is not cleaned immediately, thus a re-try leads to a port is already allocation error, let's see

@lmatz
Copy link
Contributor Author

lmatz commented Dec 21, 2022

Happen in sink test: https://buildkite.com/risingwavelabs/main/builds/2571#018533ce-ea2d-48c3-b584-d4fcb874afa4
seems this time without timeout

@lmatz
Copy link
Contributor Author

lmatz commented Dec 22, 2022

mergify bot pushed a commit that referenced this issue Dec 22, 2022
Try to fix the port already allocated issue. #6953


Approved-By: lmatz

Co-Authored-By: xxchan <xxchan22f@gmail.com>
@xxchan
Copy link
Member

xxchan commented Dec 22, 2022

Obviously my trivial attempt doesn't work https://buildkite.com/risingwavelabs/main/builds/2594#01853a6f-0745-48ba-97a4-3f242f9e3d28 😄

@huangjw806
Copy link
Contributor

huangjw806 commented Dec 23, 2022

It feels like a issue with docker-compose itself, which was also mentioned docker/compose#9117, but it has not been resolved.

Let's try some of the methods mentioned docker/compose#4950.

@lmatz
Copy link
Contributor Author

lmatz commented Dec 23, 2022

Let's wait for several weeks, if it does not happen again, we close this issue.

@lmatz
Copy link
Contributor Author

lmatz commented Jan 16, 2023

not happening again, close it now.

@lmatz lmatz closed this as completed Jan 16, 2023
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

3 participants