-
-
Notifications
You must be signed in to change notification settings - Fork 395
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
Loading / importing / require 'gitlab' very slow #633
Comments
I found some output which might help when running Here's the output from the "fast" development machine:
And from the "slow" CI runner:
|
I'm new to ruby and maybe doing something wrong... Running |
The plot thickens... It seems the output from the ruby script isn't an accurate reflection of what code is being/has been executed... Watch this space :/ |
Turns out it was a DNS issue. Weird though as Is there anyway to debug what might be happening with DNS resolution in ruby to cause this? |
You can use env variable |
On my development machine it's fine, but when running in CI it takes about 20 minutes to complete the single line of code.
My script starts:
a and b get output to the console, but it hangs waiting for c (eventually completing after roughly 20 minutes).
I'm using docker image
ruby:2.7.5-slim
but tried a few other to no avail.I've tried a bunch of different mechanisms for executing the ruby script:
None seem to make any difference.
Any bright ideas what's going on or how I can troubleshoot?
Thanks!
The text was updated successfully, but these errors were encountered: