-
Notifications
You must be signed in to change notification settings - Fork 40
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
Fix failing go-dbhub CI test #322
Conversation
Ugh. This is making absolutely no sense to me at all. The local DBHub.io daemons are clearly running and available for the
Seeding the database works fine when testing locally in my system, and also works fine in the Cypress CI testing run for this PR. So why the hell is it failing when it's run as part of the go-dbhub library test?
|
Ok, it looks like the problem also happens when trying to seed the database manually using curl:
This feels like some change in the GitHub infrastructure has happened, breaking stuff. Not sure what yet. |
So, whatever the problem is... it's not an IPv4 vs IPv6 thing as connecting to |
Ok, so it looks like TLS/SSL itself is completely broken somehow:
Hmmm. Maybe it'll work if we use http instead of https? |
Nope, that didn't work either:
It's almost like the calls to port 9443 are being intercepted by some other non-DBHub.io process, fucking everything up. |
That's interesting. It looks like it started the docker DBHub.io daemons on the old port, even though this PR has updated it. Sounds like it's not testing the source code in this PR (maybe using |
I've just created an Ubuntu 20.04 VM on my local development pc, and set that up as a GitHub Runner. Going to debug this further using that local GitHub Runner, as I can log in directly to that VM and try to figure out what is going wrong. |
Aarrrrgh. This makes no sense. When running the curl command to seed the database via the GitHub Action, it's failing on my local VM just the same as with the GitHub hosted runners:
But running the exact same command (cut-and-pasted!) from the exact same user manually... works completely fine. WHAT THE HELL IS GOING ON? |
Holy crap. It actually passed this time around. Now to figure out why exactly... 😉 |
k. It looks like the actual problem was the DBHub.io daemons needed more time to start in the Docker container. At least that's an easy thing to fix... after spending hours trying to figure out what the problem was. 😄 |
Looks like the issue has been resolved, Thank you. :) |
Yeah, finally figured it out. 😄 |
Ignore this for now.
The CI tests are failing, so this PR is just a way for me to trigger the CI tests while trying to figure out what's going on.