-
-
Notifications
You must be signed in to change notification settings - Fork 371
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
Server crashes after job runs #1322
Comments
Did everything work in the backend? Means does your pipeline ran correctly? This looks like something you can actually ignore if everything works. I can look for a solution though. |
Okay so yeah with the |
This crash only affects a HTP request. If it crashes within responding to a request, it shouldn't crash completely, but print the message. Did it really crash or is there just this message? ("Crash" means it exits after printing the stacktrace) |
Is it posible to test next ? PS: please backup db as downgrade is not posible |
It really crashed. If I didn't have the docker restart always up, the webpage would also be down and the agent is in a loop trying to connect to the server.
Test what? |
Test the |
Hello, I also meet this problem:
Woodpecker version: The panic may be caused after a pipeline outputs colored texts like this: But after I tried to reproduce this problem, the problem went away by itself, even if I reverted the changes back to before. My pipeline:
test:
image: alpine
commands:
- ./print-some-colored-text.sh
#!/bin/sh
echo -e "\033[0;31mtest\033[0m" Can you try? |
Can reproduce with high reliability with the following pipeline:
server and agent version:
EDIT: removing the escape sequences seems to fix it, however there are still warnings in the agent's log:
|
well it should not be possible to crash the server with any log output ... |
@waldner I can not reproduce the issue at |
should be fixed by #1616 and is unrelated ... |
Schould be fixed by #1802 |
Component
server
Describe the bug
After I run a simple rust test job, the server crashes because of
Write called after Handler finished
.This is a new instance, trying to follow the docs as much as possible, on a digital ocean docker container instance.
System Info
version:
docker-compose:
.woodpecker.yml:
Additional context
Validations
The text was updated successfully, but these errors were encountered: