Skip to content
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

Approving pipeline returns 500 #4332

Open
3 tasks done
anbraten opened this issue Nov 6, 2024 · 1 comment
Open
3 tasks done

Approving pipeline returns 500 #4332

anbraten opened this issue Nov 6, 2024 · 1 comment
Labels
bug Something isn't working
Milestone

Comments

@anbraten
Copy link
Member

anbraten commented Nov 6, 2024

Component

server

Describe the bug

{"level":"error","error":"UNIQUE constraint failed: steps.pipeline_id, steps.pid","repo":"woodpecker-ci/woodpecker","time":"2024-11-06T17:17:05Z","message":"error persisting new steps for woodpecker-ci/woodpecker#22407 after approval"}
{"level":"error","error":"Error #01: UNIQUE constraint failed: steps.pipeline_id, steps.pid\n","ip":"94.31.107.125","latency":268.264422,"method":"POST","path":"/api/repos/3780/pipelines/22407/approve","status":500,"time":"2024-11-06T17:17:05Z","user-agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36","time":"2024-11-06T17:17:05Z"}
{"level":"error","error":"UNIQUE constraint failed: steps.pipeline_id, steps.pid","repo":"woodpecker-ci/woodpecker","time":"2024-11-06T17:17:27Z","message":"error persisting new steps for woodpecker-ci/woodpecker#22406 after approval"}
{"level":"error","error":"Error #01: UNIQUE constraint failed: steps.pipeline_id, steps.pid\n","ip":"94.31.107.125","latency":240.480705,"method":"POST","path":"/api/repos/3780/pipelines/22406/approve","status":500,"time":"2024-11-06T17:17:27Z","user-agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36","time":"2024-11-06T17:17:27Z"}
{"level":"error","error":"UNIQUE constraint failed: steps.pipeline_id, steps.pid","repo":"woodpecker-ci/woodpecker","time":"2024-11-06T17:17:48Z","message":"error persisting new steps for woodpecker-ci/woodpecker#22405 after approval"}
{"level":"error","error":"Error #01: UNIQUE constraint failed: steps.pipeline_id, steps.pid\n","ip":"94.31.107.125","latency":272.414072,"method":"POST","path":"/api/repos/3780/pipelines/22405/approve","status":500,"time":"2024-11-06T17:17:48Z","user-agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36","time":"2024-11-06T17:17:48Z"}

Steps to reproduce

Click on approving a pipeline

Expected behavior

No response

System Info

{"source":"https://github.com/woodpecker-ci/woodpecker","version":"next-f87e80381b"}

Additional context

No response

Validations

  • Read the docs.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Checked that the bug isn't fixed in the next version already [https://woodpecker-ci.org/faq#which-version-of-woodpecker-should-i-use]
@anbraten anbraten added the bug Something isn't working label Nov 6, 2024
@anbraten anbraten added this to the 3.0.0 milestone Nov 6, 2024
@qwerty287
Copy link
Contributor

Seems to work on ci.woodpecker-ci.org

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants