Skip to content

GitHub Actions

Troubleshoot CI jobs

Fix flockvm GitHub Actions runners: jobs that stay queued, public repository refusals, unavailable sizes, timeouts and errors while connecting GitHub.

Start from the Jobs list of flockvm.com/dashboard/ci. A job that failed on flockvm's side shows its reason in red under its name; GitHub › opens the same job on GitHub.

The job stays queued on GitHub

GitHub shows Waiting for a runner to pick up this job… and nothing moves. Check these in order.

The job does not show on the CI page

flockvm never took it. Either its labels are not flockvm's, or the repository is not connected.

  1. Check the labels. runs-on must hold exactly one flockvm label, plus optionally self-hosted, linux, x64. Any other label, or two flockvm labels, leaves the job to GitHub. See Label rules.

    runs-on: flockvm                    # ok
    runs-on: [self-hosted, flockvm]     # ok
    runs-on: [flockvm, ubuntu-latest]   # not flockvm's
  2. Check that the App is installed on that repository. On the CI page, open Repositories on GitHub › next to the account and make sure the repository is selected. A repository added later needs to be added there too.

  3. Check that GitHub is connected to your organization. The GitHub panel of the CI page must list the account the repository belongs to. If it shows Suspended on GitHub, the App was suspended in the account's GitHub settings: unsuspend it there. If the panel is missing, connect GitHub.

  4. Check that your organization's plan has started. Before the free trial or the plan, the CI page asks to start the trial and GitHub cannot be connected. During the trial, jobs are held: CI starts with the paid plan. See CI during the trial.

The job shows as queued on the CI page

flockvm took it and is waiting for room.

  • All runner slots are busy. At most 4 runner VMs run at once on the host, and its 8 vCPUs hold only 4 flockvm-small, 2 flockvm or 1 flockvm-large job at once. Your job starts when one ends. See Limits.
  • The host is full for that size. A big job waits until enough RAM and vCPU are free; smaller jobs may start before it.

A queued job costs nothing. If it waits too long for you, cancel the run on GitHub or move the job to a smaller label.

The job shows as starting for a long time

The VM is up and waiting for GitHub to hand it the job. GitHub may hold the job for its own reasons: a concurrency: group or an environment that needs approval. flockvm checks such a job with GitHub after 10 minutes, then every 10 minutes, and ends the VM if GitHub gave the job elsewhere or finished it. Starting time is billed, so look at the job on GitHub for what it waits on.

"public repository"

The job failed on the CI page with:

public repository: flockvm runs jobs of private repositories only on this host (FLOCK_CI_PUBLIC_REPOS)

flockvm runs jobs of private repositories only. The job got no VM and cost nothing. On GitHub it stays queued until you cancel it. Run that repository's jobs on GitHub-hosted runners, or make the repository private. Security explains why.

"size … is not available on this host"

size xlarge is not available on this host

The host cannot hold that size at all, so the job failed as soon as it was queued, with no VM and no cost. Today's host in France holds every size, flockvm-xlarge included, so you should not see this. If you do, switch the job to a smaller label, and cancel the run on GitHub: GitHub keeps the job queued until you cancel it or until its own 24-hour limit, since flockvm does not have the permission to cancel it.

The job timed out

the job ran over 6h0m0s (FLOCK_CI_JOB_TIMEOUT)

The job hit flockvm's 6-hour limit: its VM was deleted and the job failed. Look at its last log lines on GitHub to see where it hung. Add timeout-minutes so the next stuck run stops sooner, or split the job. If GitHub's conclusion says timed out instead, your own timeout-minutes stopped it.

Other failure reasons

Reason on the CI page What happened What to do
the runner VM powered off before GitHub gave it the job The VM ended before the job reached it Cancel the run on GitHub if it is still queued, then re-run it
the runner VM was deleted The VM went away during the job Re-run the job on GitHub
GitHub gave the job to the runner …, not flockvm's Another runner with matching labels took the job Make sure no other self-hosted runner carries flockvm labels
the GitHub App installation is no longer linked to a flockvm organization GitHub was disconnected while the job was queued Connect GitHub again, then re-run the job
GitHub JIT runner config: … GitHub refused or did not answer when flockvm registered the runner; flockvm retries If it keeps failing, check that the App still has its permissions on GitHub

If the job failed on GitHub with a conclusion such as failure, it ran and one of your steps failed: read its log on GitHub, as with any runner.

Connecting GitHub

The CI page shows these notices when you come back from GitHub.

"GitHub did not confirm which installations your GitHub account can access"

flockvm could not check your GitHub account's access, so nothing was connected. Usually the authorization step was skipped or refused. Press Connect GitHub again and authorize the flockvm App when GitHub asks.

"Your GitHub account does not administer the account this installation is on"

Your GitHub account can see the installation but does not administer its account. To connect:

  • an installation on a GitHub organization must be connected by an owner of that organization. Members and outside collaborators cannot.
  • an installation on a personal account must be connected by that GitHub user.

Ask the right person to press Connect GitHub from your flockvm organization. They need to be an owner or admin there too; see Members.

Other notices

Notice Fix
The way back from GitHub took more than 15 minutes. Press Connect GitHub again and finish within 15 minutes
The answer from GitHub could not be checked. Press Connect GitHub again
You were signed out on the way. Sign in, then press Connect GitHub again
Someone else started this connection. Press Connect GitHub yourself, signed in as you
Only owners and admins can connect GitHub to this organization. Ask an owner or admin, or ask for the role (Members)
GitHub connects once the 7-day free trial or the plan has started: start it in Settings › Billing. CI jobs run from the paid plan. Start the free trial in Settings › Billing (Free trial)
This GitHub installation is already connected to another flockvm organization. Disconnect it from that organization first
flockvm does not know this installation yet. Wait a few seconds, then press Connect GitHub again
GitHub asked the account's owners to approve the install. An owner of the GitHub organization approves it, then you press Connect GitHub again

"CI is not configured"

The CI page says CI is not configured when the deployment you are on has no GitHub App set up, so nothing can be connected. On flockvm.com this should not happen: if you see it, write to hello@flockvm.com.

Still stuck?

Write to hello@flockvm.com with the job's link on GitHub and its number from the CI page (the # under the repository name). See Support.