Conversation
|
It looks like the runners in this pool aren't ready yet to take containerized CI jobs. They all failed like this at startup:
Some reasons I can think of that that might be happening:
|
|
As of the changes in 8782505, there's now a new error in all of these jobs:
|
|
/AzurePipelines run |
|
After changing some settings of the agent pool, it is now ready for use. Can you please check this PR again? @jameslamb @StrikerRUS Thanks. |
StrikerRUS
left a comment
There was a problem hiding this comment.
Seems that the process still is not stable:
/bin/docker pull ubuntu:22.04
Error response from daemon: toomanyrequests: You have reached your pull rate limit as '1eshostedagent': dckr_jti_eSn-7El0p7W-Tp4xffsIAv-Abcc=. You may increase the limit by upgrading. https://www.docker.com/increase-rate-limit
I think we can use Google Docker Mirror to overcome request limits: https://cloud.google.com/artifact-registry/docs/pull-cached-dockerhub-images#cli
|
I need to figure out how to by-pass the rate limit of image pulling from Azure Container Registry. |
Thanks for the suggestion. Let me try. |
|
This works now. Please check. If there's no problem. We can merge this. @StrikerRUS @jameslamb |
| containers: | ||
| - container: linux-artifact-builder | ||
| image: lightgbm/vsts-agent:manylinux_2_28_x86_64 | ||
| image: lightgbm.azurecr.io/vsts-agent:manylinux_2_28_x86_64 |
There was a problem hiding this comment.
For my understanding... what is lightgbm.azurecr.io? Did you manually push the image from https://hub.docker.com/r/lightgbm/vsts-agent there?
I'm wondering what we'd need to do the next time we make changes at https://github.com/guolinke/lightgbm-ci-docker
There was a problem hiding this comment.
I merged this to restore full CI, but I would still like an answer to this @shiyu1994
There was a problem hiding this comment.
@shiyu1994 I would still like an answer to these questions, please.
There was a problem hiding this comment.
@shiyu1994 can you please answer this? I'm sorry to keep @-ing you but it's a big risk to the project that we don't know how to update the container images used in CI.
There was a problem hiding this comment.
For my understanding... what is
lightgbm.azurecr.io? Did you manually push the image from https://hub.docker.com/r/lightgbm/vsts-agent there?I'm wondering what we'd need to do the next time we make changes at https://github.com/guolinke/lightgbm-ci-docker
Yes, lightgbm.azurecr.io is a new container registry on Azure Container Registry. And I pushed the image manually there.
There was a problem hiding this comment.
Thanks for that. That's fine as a short-term workaround but at some point we will need to update the images again, and we need a plan for that.
I've put up a proposal in #7011, please comment when you have time.
|
On the latest commit, all but 1 job passed! The I doubt that's related to changes in this PR, maybe it's something similar to #4074 . Restarting it. |
jameslamb
left a comment
There was a problem hiding this comment.
Ok looks like this is working! Thank you @shiyu1994 !!
If this passes I'll merge it.
When I wrote this, I forgot that @StrikerRUS had left a blocking review. I'd like to give him a chance to re-review before we merge this.
StrikerRUS
left a comment
There was a problem hiding this comment.
Thanks for giving a chance to re-review and for finally finishing this PR!
Update to 1ES ubuntu image pool for ubuntu agents in Azure DevOps.