Web container created with service name wtb instead of web? #5470
-
In the last few days, we've started to have an odd error in our GitHub actions running ddev. It's not consistent. For example, we have a matrix build to run automated tests, and all of the code to this point is the same. Yet, some of the jobs will get past the part fine, while others will fail. The key bit is the container name. Note it's
Our first thought was that this was somehow related to the 1.22.4 release as the timing lines up, but no one has seen this happen on a local. I searched the ddev code for any possible typos of Error summary
|
Beta Was this translation helpful? Give feedback.
Replies: 9 comments 28 replies
-
This is pretty concerning. I think the way to test it is by running the test manually using tmate and seeing if you can recreate it there. I've seen some weird results in the nightly build on https://github.com/ddev/ddev-platformsh recently, but they seem to be intermittent and I havent chased them. But at least one of them looked like data corruption, but IIRC it wasn't anything like what you're seeing here. Thanks for raising it, happy to help you look, we can do a screenshare and do tmate. If you don't have tmate set up, you'll want it. All the add-ons have it by default and most of ddev's tests have it. |
Beta Was this translation helpful? Give feedback.
-
Here's my locally compiled 1.22.4: ddev.tar.gz |
Beta Was this translation helpful? Give feedback.
-
We upgraded back to 1.22.4 in CI because we wanted to omit the database container in some jobs and there was a bugfix for that. So far things have been working fine again, though we're now seeing the runner image is version |
Beta Was this translation helpful? Give feedback.
-
We upgraded to 1.22.5 a few days ago and are now seeing the same class of bug, but a different string! It's also not consistent and IMO is somehow an issue with the runners.
Note |
Beta Was this translation helpful? Give feedback.
-
😱 we've now seen this happen in our Linode hosted runners. I guess I can stop being annoyed at GitHub 😅 .
We're going to capture the .ddev directory as an artifact. While I can't be 100% sure though (because I'm not taking runners offline), it doesn't appear that the YAML file on disk is corrupt. Next steps I see are:
|
Beta Was this translation helpful? Give feedback.
-
Oooooh I have seen this happen randomly in GitHub Actions as well, it's always a one-letter difference in the service name and it won't start correctly. |
Beta Was this translation helpful? Give feedback.
-
This just happened in a public PR, so at least we can now share everything. Failed: https://github.com/Lullabot/drainpipe/actions/runs/7727308894/job/21065661055 |
Beta Was this translation helpful? Give feedback.
-
Is it always the docker image name Is it always the BASE_IMAGE that's broken in .ddev/.ddev-docker-compose-full.yaml?
It would be pretty easy to sprinkle some greps into your test to try to find out where it's getting corrupted. You've probably already done that. But just I also note that that line is created from DDEV_WEBIMAGE is set here: Line 2106 in 94d7750 Although it's discouraged, and not even in docs any more I don't think, there is a |
Beta Was this translation helpful? Give feedback.
-
I got to the bottom if this and it's a bug introduced in 1.22.4. PR up at #5893. |
Beta Was this translation helpful? Give feedback.
I got to the bottom if this and it's a bug introduced in 1.22.4. PR up at #5893.