woodpecker-ci / woodpecker

Woodpecker is a simple, yet powerful CI/CD engine with great extensibility.
https://woodpecker-ci.org
Apache License 2.0
4.17k stars 360 forks source link

Woodpecker UI output not updating/out of sync #3716

Closed davidhazell-tst closed 3 months ago

davidhazell-tst commented 4 months ago

Component

web-ui

Describe the bug

I am attempting to use Woodpecker to build an image using the Cypress Factory docker image that can be used with docker args to generate a container with specific package versions. I am using the woodpecker docker buildx plugin to build the image.

When I run my build job and view the progress in the UI it appears the job is stuck installing GPG keys. However, when I look at the log output on the agent I can see that the GPG key installations are successful and the rest of the job steps are executed and the final image is published.

Additionally, the UI never marks the job as completed and the kubernetes builds pods stayed in a 'Completed' state until the job times out or is manually cancelled. When this happens the agents no longer pull new work from the server.

Steps to reproduce

  1. Create a Dockerfile using the Cypress factory image
    
    ARG NODE_VERSION='18.16.0'
    ARG YARN_VERSION='1.22.19'
    ARG CYPRESS_VERSION='13.7.1'
    ARG CHROME_VERSION='120.0.6099.71-1'
    ARG EDGE_VERSION='120.0.2210.61-1'
    ARG FIREFOX_VERSION='120.0.1'

FROM cypress/factory

2. Create a woodpecker job to build the image

steps:

Expected behavior

System Info

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

Additional context

No response

Validations

anbraten commented 4 months ago

Sounds to be related to #3468, #2072 & #2253