Skip to content

Checkout action randomly fails on self-hosted runner #333

Open
@return-tosleep

Description

@return-tosleep

Checkout action randomly fails on self-hosted runner with the following error message: ##[error]No such file or directory

My workflow:

on: push
name: ci
jobs:
  ci:
    name: Run CI
    runs-on: self-hosted
    steps:
    - uses: actions/checkout@v2

Error message on action run

Screenshot

Information about self-hosted runner:

$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 20.04 LTS
Release:	20.04
Codename:	focal
$ git --version
git version 2.28.0

This issue occurs randomly. Sometimes re-running the action fixes this.

Any steps to debug the issue and find the root cause? The error message is not very helpful, any way to verbosify it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions