Closed lmsurpre closed 3 years ago
Thanks @lmsurpre for reporting, I'll have a look into this.
@thomasdarimont can you pls also have a look at it, as this extension was contributed by you. Thanks.
@dasniko I think I have a sound fix for this issue now, would you mind having a look? :)
Thanks @thomasdarimont and @lmsurpre for figuring out and having a solution which works on all tested platforms. I'll review and merge the next hours/days.
I enabled the experimental testcontainers "withReuse" option and, after my tests completed, I went to check out the still-running container.
What I found is general flakiness. For example, after login, it would say the admin console page doesn't exist / couldn't be found. Then, after a refresh, it would work pretty well. Occasionally I would see an intermittent error on the UI, but it was still usage.
I dug into the logs to look for errors and I found the following output was repeated over and over again, basically drowning everything else out:
I'm not sure if the constantly reloading is a feature or a bug, but when I dug in I found that the reason it cannot delete the deployment marker file is that this file is a direct mount point.
When I fixed it locally, by mounting a directory instead of just the file, the container started to behave perfectly...no more wonkiness.