-
-
Notifications
You must be signed in to change notification settings - Fork 383
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
Unnecessary errors in the log output of Woodpecker agent with the Docker backend using a Podman socket #4366
Comments
In other words, you are requesting support for podman backend? So, duplicate? :) |
Even though I would really like a native Podman backend, I'm fine with the current state of support as mentioned in the docs: https://woodpecker-ci.org/docs/administration/backends/docker#podman-support For a simple pipeline that doesn't do anything Podman-specific, I still expect my setup to work without producing error messages. So I do not believe this to be a duplicate issue. |
If you was fine, there won't be the issue.
"support" 🤣 It was a hack. It works until it doesn't. The same was with Forgejo/Gitea. Will Drone plugins work with Woodpecker? How long? What is the level of support? However, I agree with you, there is a bug in documentation.
Good time to start. Won't start, won't have. |
@zc-devs Your last comment reads quite snarky. @IvoWingelaar Only reported something he observed which doesn't seem alright, even being aware of non-native podman support. It is surely better to do so than not, and users should be encouraged to do so rather than their report being mangled into pieces (especially if it was well written in the first place). @IvoWingelaar AFAIK nobody is actively working on extending the current podman support. So nothing will change in the near future. Contributions are always welcome, of course. As there isn't any official support for it, this is likely not a bug but more likely a FR. I'll leave it up to you to select the label. |
That is what I
OK.
Maybe. It is, how it is, but true. Sadly, it often ends with that excuse. I wasn't Go dev also, nor DevOps. BTW, Agent really is a good starting point. |
Addresses woodpecker-ci#4366
I do not want to derail the topic of this issue, but I am scratching my head on this:
I do not want to misinterpret this, but this is important: is Woodpecker's support for Forgejo considered a "hack"? My impression, per the docs is that the support is considered experimental ATM. Calling it experimental gives me the impression that there is at least an intention within the project towards eventual stabilization and support, calling it a hack does not give me the confidence to say the same. I am asking because I am running Woodpecker + Forgejo, even though I am aware of Forgejo Actions. I specifically and knowingly chose Woodpecker as a CI tool over Forgejo Actions, as I'm convinced that the execution model of Actions is badly designed. I would very much prefer to be able to use Forgejo with Woodpecker in the long run. |
No. I said it was, see explanation below.
Why? As I can see there was experimental warning in
There was no Forgejo, right? Obviously, no support. |
Thanks for the clarification @zc-devs, I do admit to not having clicked on the |
Can we close this? There's a note in the docs now about this. |
Component
agent
Describe the bug
The logs produced by the Woodpecker agent misleadingly contain unnecessary error entries when running the Docker backend with Podman.
Similar to: #85 (comment)
Steps to reproduce
Expected behavior
I expect to see no error messages in the Woodpecker agent logs if the pipeline succeeds fully and the environment managed by the agent is cleaned up afterwards. However, during cleanup, the following output is produced:
As mentioned earlier, in my research I found the following: #85 (comment)
I believe making the
contains
call in theisErrContainerNotFoundOrNotRunning
function case-insensitive would fix this issue, but I do not have any Go experience to test / fix it.System Info
Output of
https://woodpecker-server/version
:Podman version (distro package installed with
# apt install
):OS-info:
Additional context
No response
Validations
next
version already [https://woodpecker-ci.org/faq#which-version-of-woodpecker-should-i-use]The text was updated successfully, but these errors were encountered: