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

Integration Testing Issue - Mariadb #614

Closed
tonykploomber opened this issue Jun 13, 2023 · 4 comments · Fixed by #618
Closed

Integration Testing Issue - Mariadb #614

tonykploomber opened this issue Jun 13, 2023 · 4 comments · Fixed by #618

Comments

@tonykploomber
Copy link

Source

We are seeing the integration testing is failing on that PR, I tested on local and it showed

 (2003, "Can't connect to MySQL server on 'localhost' ([Errno 61] Connection refused)")

when connecting to mariadb.

This happened since yesterday (or few a days ago?). I tested on normal mysql and it works fine.

What I tried:

  • Tried to downgrade the mariadb container version to 10.4, failed
  • Tried to downgrade the sqlalchemy version to 2.0.15, failed

Need to investigate more

@edublancas
Copy link

if we find out that it's a docker image version problem, let's pin one that's working so we don't have this issue again

@jinniw43805 jinniw43805 mentioned this issue Jun 14, 2023
4 tasks
@tonykploomber
Copy link
Author

I suspect the issue is they (mariadb docker) released recently:
MariaDB/mariadb-docker#510

@edublancas
Copy link

then switching to an old image should fix it.

@grooverdan
Copy link

Hi, I'm trying to work out the MariaDB issue you had with the Docker Official Images. I assume its something that happened on :latest / 11.0.2? Was it the removed mysql* named executable or something else?

I found https://github.com/ploomber/jupysql/actions/runs/5248219154/jobs/9479419853 as connection errors. Is the container failing to start or are the tests starting before the container is ready?

If the later there is a healthcheck.sh script in the container that can help with this (docs). If you need help just ask.

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

Successfully merging a pull request may close this issue.

3 participants