Skip to content

[BUG] Task executes but step seems to hang for 3 minutes before it completes #105

Closed
@komish

Description

@komish

Version

Download action repository 'redhat-actions/openshift-tools-installer@v1' (SHA:2de9a80cf012ad0601021515481d433b91ef8fd5)

Describe the bug

Around 2024 July 04, I started seeing a consistent 3 minute runtime for openshift-tools-installer. Two separate calls, installing separate tools. We were previously seeing this take anywhere from 1-15 seconds, but now we're consistently seeing it take 3 minutes.

From the logs, I can see that all of the actual "work" being executed by the task completes almost immediately (within the 1-15 seconds), but the actions step just ... hangs until the 3m timer completes. Then it halts (green check, successful).

This is causing issues with some of our e2e workloads causing them to hit GitHub Actions timeouts.

Steps to reproduce, workflow links, screenshots

Here's a test repo demonstrating the problem.
https://github.com/komish/actions-workflow-call-test/actions/runs/9847203226

It installs oc and chart-verifier. In both cases, it's skipping the cache. oc comes the mirror, and chart-verifier comes from github.

Here's the same happening against all active Ubuntu images available in GHA. Ignore the failed one (running on 20.04). It's unrelated.

https://github.com/komish/actions-workflow-call-test/actions/runs/9847235069

Here's the last time we saw a short runtime. Both under 15s (respectively).

https://github.com/openshift-helm-charts/sandbox/actions/runs/9788116992/job/27025670858#step:14:1 (oc)
https://github.com/openshift-helm-charts/sandbox/actions/runs/9788116992/job/27025670858#step:12:1 (chart-verifier)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions