Skip to content

Test servers

Test servers run the tests you declare in your repository. Each job in a test run gets its own machine, checks out the commit, runs its steps inside a container image you choose, and streams its output back to Reoclo. When the job ends, Reoclo deletes the machine.

Reoclo creates test machines in your own cloud account, through a cloud credential you choose. It never creates machines in an account of its own. Test runs do not need GitHub Actions, Gitea Actions or Woodpecker. Reoclo reads the test files from your repository with the git provider connection you already have.

For a walkthrough from an empty organization to a passing run, see Run tests on test servers. For copy-paste files, see Test examples.

Test servers are enabled for your organization by Reoclo. When they are on, you see Test servers under Infrastructure and Tests next to Deployments.

  1. A push, a pull request or a manual start creates a run from a test file at a commit.
  2. Jobs with no unmet needs ask their pool for a machine. Jobs that do not depend on each other run in parallel, each on its own machine, up to the pool’s machine limit.
  3. Each machine clones the commit, pulls the job’s image and runs the steps in order. A job stops at its first failing step.
  4. A job that finishes releases its machine. Jobs that need it start next. If a job fails, the jobs that depend on it are skipped.
  5. When every job has finished, the run passes if all jobs passed. Otherwise it fails.

Steps run inside the job’s container, never on the machine itself. The repository is mounted at the working directory. Your production application variables and secrets never reach a test job, and by default the container has no access to Docker.

A job that needs Docker, for Testcontainers or docker compose, opts in with docker: true in the test file (see Docker in a job). Reoclo then mounts the machine’s Docker socket into the job’s container, so the job controls that machine’s Docker: it can start and stop any container on the machine and mount the machine’s files into containers it starts. Each job has a machine of its own, created for it in your cloud account and deleted when the job ends, so what a job leaves behind goes with the machine. Bind mounts from the checkout work: Reoclo mounts the checkout at its real path on the machine and runs the steps from there, so use relative paths or $PWD, not /workspace, as a bind mount source. Only set docker: true on tests whose code you trust. A job without the key never gets Docker.

A test pool sets the machine type, the size limits, the budget and the variables for the jobs that select it. Test pools are separate from build pools. One machine never serves both, and each pool is sized on its own.

Create pools under Test servers in the dashboard. Pools need an active organization credential for AWS or Hetzner. A Hetzner token needs the same read and write access as for builders. An AWS key needs the test servers permissions in its policy; build it in AWS policy below.

SettingWhat it does
Name and SlugThe slug is how a test file selects the pool (pool: loadtest). It is unique in your organization and cannot change after the pool is created.
CredentialThe AWS or Hetzner credential machines are created with. It must belong to your organization.
Location or RegionWhere machines run. On Hetzner you pick a location, such as fsn1. On AWS you pick one of the credential’s regions.
Server type or Instance typeThe machine size, such as cx33 on Hetzner or m7i.large on AWS. Pick a large type for load generators. On AWS, Reoclo prices the m7i, c7i, m6i, c6i, m5 and c5 families up to 2xlarge, along with t3, t4g, c7a, c7g and m7g sizes. A size AWS does not sell in the pool’s region is refused when you save the pool.
Fallback typesTried in order when the provider has no capacity for the main type. Up to 10.
Architectureamd64 or arm64. Job images must support it.
MarketAWS only. On-demand is the default. Spot asks AWS for spot instances, which cost less and can be taken back by AWS at any time. See Spot instances. A Hetzner pool has no spot market.
Snapshot image or AMIOptional. Machines use Ubuntu 24.04 when it is empty.
Maximum machinesHow many machines the pool runs at once, from 1 to 50. The default is 2.
Job time limitThe longest a job in this pool may run, from 5 to 7,200 minutes. The default is 360. A job’s own timeout_minutes is capped by this value.
Root volumeAWS only. gp3 storage from 20 to 500 GB, 50 GB by default.
Monthly budgetA spending cap you set on every pool. Reoclo stops creating machines when the next machine hour would take the month’s spend over the budget. Running jobs finish. The budget is always saved and shown, even when your organization does not see cost figures.
VariablesEnvironment variables passed to every job in the pool. Mark a variable as secret to store it encrypted.
Private registriesPull-only registry credentials of your organization, up to 10. Jobs log in to these registries before they pull their image. See Private images.
StorageOptional. A bucket in your own S3-compatible account where jobs keep caches and upload artifacts. See Storage bucket.

Test variables are set on the pool, not in the test file. A job receives the plain env values from its test file, the pool’s variables, and the variables Reoclo sets for every run.

A variable name starts with a letter or underscore, uses letters, digits and underscores, and is at most 128 characters. A value is at most 8,192 characters, a pool holds up to 100 variables, and a name can appear only once. Names that start with REOCLO_ are reserved for Reoclo. If a pool variable has the same name as a key in the test file’s env, the pool variable wins.

Secret values are write-only. After you save a secret, the dashboard never shows it again. To change one, type a new value. To remove one, delete the variable. Reoclo also masks secret values in job output, so a command that prints one shows *** instead.

A job’s image can live in a private registry. Pick the registry credentials the pool should use under Private registries in the pool form. Before a job pulls its image, its machine logs in to every registry you picked, so image: ghcr.io/acme/test-runner:1 works without making the image public. Images on public registries need no credential.

The credentials come from Registry credentials:

  • A pool takes up to 10 credentials. Each must belong to your organization and be pull-only. A credential that can push is refused, because a test machine never receives push access.
  • Two credentials for the same registry host cannot share a pool. Pick the one the jobs need.
  • A credential that a pool uses cannot be deleted. Remove it from the pool first.
  • For AWS ECR, Reoclo exchanges the stored AWS key for a short-lived registry login each time a job starts.

A docker: true job gets the same logins for the containers it starts. Reoclo mounts them read-only in the job’s container and sets DOCKER_CONFIG to them, so docker pull, docker compose and Testcontainers can pull private images through the machine’s Docker. See Docker in a job.

How the logins are handled:

  • The pool never shows a credential’s password, in the dashboard or the API. Reoclo decrypts it only when a job starts, and sends it with the job to that job’s machine.
  • The machine writes the logins to a private folder that only its runner can read, uses it for the pull, and deletes it when the job ends. A job without docker: true loses it as soon as the image is pulled, so its steps never see it.
  • Reoclo masks the passwords in job output, so a command that prints one shows ***.
  • A job in a docker: true test can read the logins, because its Docker reads them. Use a credential that can pull only the images your tests need, and only pick credentials for pools whose tests you trust. Steps of a pull request run come from the pull request’s head commit.
  • Test machines need runner 1.49.0 or later to use registry credentials. A machine started by Reoclo has it. A job on an older runner errors before it starts, with a message that names the version.
VariableValue
REOCLO_RUN_IDThe run’s ID.
REOCLO_COMMITThe full SHA of the commit under test.
REOCLO_REFThe branch the run was started for.
REOCLO_JOBThe ID of the job, as written in the test file.
REOCLO_BASE_REFPull request runs only. The branch the pull request merges into.
REOCLO_BASE_SHAPull request runs only. The commit that branch pointed at when the run started. The checkout holds it, so git diff "$REOCLO_BASE_SHA"...HEAD works.

A job waits instead of failing when its pool cannot start a machine:

  • The pool is at its maximum machines. The job starts when another job finishes.
  • The pool’s budget is used up. No new machines start until the month rolls over or the budget goes up. Raise the budget with Edit budget on the Costs page, or Monthly budget, net in the pool form.
  • The provider has no room. Reoclo tries the fallback types, then waits and retries. The job shows the reason while it waits.

While a machine starts, the job shows Starting a test machine, then Waiting for the test machine’s runner to register with the time at which it gives up on that machine. A machine that never registers within 6 minutes is deleted, and the job starts again once on a new machine. If the second machine does not register either, the job errors. A machine that outlives the pool’s job time limit is deleted regardless of what it is running.

A spot pool asks AWS for a one-time spot instance for each job. Spot capacity is spare EC2 capacity sold at a discount, and AWS can take it back when it needs it.

Launch. When AWS has no spot capacity for the instance type, or refuses the spot request because of price or your account’s spot limit, Reoclo launches an on-demand instance of the same type in the same attempt. The job starts either way. The machine list shows the market each machine got: Spot, On-demand, or On-demand (spot fallback) when the pool asked for spot and AWS had none.

When AWS takes a machine back. Reoclo checks the spot machines that are running jobs with EC2 about every 30 seconds. If AWS reclaimed a machine while its job ran, Reoclo runs the job again from its first step on an on-demand machine. The job says so: AWS reclaimed the spot machine (Server.SpotInstanceTermination). Retrying once on an on-demand machine. The log then shows the new attempt only, because the output of the interrupted attempt is dropped. To test it, interrupt a spot machine while its job runs with AWS Fault Injection Service (the aws:ec2:send-spot-instance-interruptions action): Reoclo treats that as a reclaim, and the note names instance-terminated-by-experiment.

A job is retried once. These end the job as Errored with a message that names the cause:

  • The on-demand machine is lost too. The message says the job already used its one retry.
  • A spot machine is terminated for another reason, for example by someone in the AWS console. The message carries the reason AWS gives.

Spot suits jobs that are cheap to run twice. A retry starts the job over, so anything a job changes outside its machine, such as a deploy or a write to a shared database, happens again.

Cost. The pool’s estimate and each spot machine’s cost use the current spot price for the instance type in the pool’s region, read when the machine is created. AWS has no single price for a region, so Reoclo uses the highest current price among its zones. The estimate also shows the on-demand price a failed spot request falls back to. A machine that fell back is priced on-demand, and so is a spot machine when AWS’s price cannot be read. AWS bills the spot price as it changes, so the figure is an estimate. The monthly budget check reserves the on-demand price for the next hour, because a fallback launches on-demand.

Permissions. The first spot request in an AWS account needs the EC2 Spot service-linked role. AWS creates it when the key may. The policy builder below adds that one permission when Test servers is ticked: iam:CreateServiceLinkedRole, limited to spot.amazonaws.com. Spot prices use the read access the policy already has. A key built before spot pools needs its policy built again, or you can create the role once yourself with aws iam create-service-linked-role --aws-service-name spot.amazonaws.com. Until the role exists, a spot pool whose key cannot create it runs its jobs on on-demand machines, which the machine list shows as On-demand (spot fallback). The jobs run, but at the on-demand price.

An AWS test pool needs a key that can launch EC2 instances in the pool’s region and delete them when the job ends. A spot pool also needs permission to create the Spot service-linked role, which the policy includes. Test servers is ticked below; tick Build servers as well to get one policy for both kinds of pool. Add every region your test pools use, and add the same regions to the credential’s Regions.

Permissions
Regions
  • us-east-1 N. Virginia

Write actions are limited to these regions. Read-only calls stay account-wide, because EC2 does not scope them by region.

Each build or test pool runs its machines in one of the credential's regions. Include every region your pools use.

Scope and names
{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "ReocloEC2Read",
      "Effect": "Allow",
      "Action": "ec2:Describe*",
      "Resource": "*"
    },
    {
      "Sid": "ReocloTestMachineLaunchTagged",
      "Effect": "Allow",
      "Action": "ec2:RunInstances",
      "Resource": [
        "arn:aws:ec2:us-east-1:*:instance/*",
        "arn:aws:ec2:us-east-1:*:volume/*"
      ],
      "Condition": {
        "StringEquals": {
          "aws:RequestTag/reoclo-managed": "true"
        }
      }
    },
    {
      "Sid": "ReocloTestMachineLaunchResources",
      "Effect": "Allow",
      "Action": "ec2:RunInstances",
      "Resource": [
        "arn:aws:ec2:us-east-1::image/*",
        "arn:aws:ec2:us-east-1:*:subnet/*",
        "arn:aws:ec2:us-east-1:*:network-interface/*",
        "arn:aws:ec2:us-east-1:*:security-group/*"
      ]
    },
    {
      "Sid": "ReocloTestMachineTagOnLaunch",
      "Effect": "Allow",
      "Action": "ec2:CreateTags",
      "Resource": "arn:aws:ec2:us-east-1:*:*/*",
      "Condition": {
        "StringEquals": {
          "ec2:CreateAction": "RunInstances"
        }
      }
    },
    {
      "Sid": "ReocloTestMachineLifecycle",
      "Effect": "Allow",
      "Action": "ec2:TerminateInstances",
      "Resource": "arn:aws:ec2:us-east-1:*:instance/*",
      "Condition": {
        "StringEquals": {
          "aws:ResourceTag/reoclo-managed": "true"
        }
      }
    },
    {
      "Sid": "ReocloTestMachineSpotRole",
      "Effect": "Allow",
      "Action": "iam:CreateServiceLinkedRole",
      "Resource": "arn:aws:iam::*:role/aws-service-role/spot.amazonaws.com/AWSServiceRoleForEC2Spot",
      "Condition": {
        "StringEquals": {
          "iam:AWSServiceName": "spot.amazonaws.com"
        }
      }
    },
    {
      "Sid": "ReocloVerify",
      "Effect": "Allow",
      "Action": "sts:GetCallerIdentity",
      "Resource": "*"
    }
  ]
}

Policy size: 1,359 of 6,144 characters.

Test machines carry the reoclo-managed=true tag, and the policy only lets the key delete tagged instances. AWS setup covers creating the IAM user, the access key and the credential.

Every job starts on a fresh machine and deletes everything when it ends, so a job has no cache and keeps no files. To change that, give the pool a Storage bucket. Jobs can then restore a cache before their first step and upload artifacts after their last. The bucket is in your own account, so you control the data, the cost and the retention. A job whose test file asks for a cache or artifacts on a pool without a bucket errors before it starts, with a message that says so.

Any S3-compatible service works: AWS S3, Hetzner Object Storage, Cloudflare R2 and others. Storage is set up in two places. A storage credential holds the access key and is stored once for your organization. Each pool picks a credential and names its own bucket, key prefix and retention.

Open Storage credentials under Infrastructure. Admins add, edit and delete credentials. Anyone who can edit pools can pick one.

SettingWhat it does
NameHow the credential is listed and picked, unique in your organization.
EndpointLeave empty for AWS S3. Other services need their endpoint, always over https://. The endpoint must resolve to a public address.
Access key ID and Secret keyThe key Reoclo uses. The secret key is encrypted when you save it and is never shown again.
DescriptionOptional, for your team.

The bucket is not part of a credential. One key often reaches several buckets, and each pool needs its own bucket, prefix and retention, so those stay on the pool. For the same reason, saving a credential cannot check a bucket: Reoclo checks one when a pool saves.

To rotate a key, edit the credential and type the new secret key, and the new access key ID if it changed. Reoclo tries the new key on the bucket of every pool that uses the credential, and saves it only when every bucket accepts it. If one refuses, nothing changes and the message names that pool. To keep the saved secret key, leave the field empty. You must type it again when you change the endpoint or the access key ID.

A credential that a pool uses cannot be deleted. The message lists the pools. Switch them to another credential first.

Pools that stored a key of their own before storage credentials existed were moved over: Reoclo made one credential for each endpoint and access key ID, named after the service and the key ID, for example AWS S3 AKIAIOSF. Nothing changes for those pools, and you can rename the credentials. The API still accepts an endpoint, access key ID and secret key sent on a pool, and turns them into a credential.

Set these in the Storage section of the pool form:

SettingWhat it does
Storage credentialThe credential that reaches the bucket.
RegionThe bucket’s region, such as eu-west-1. Hetzner uses the location code, such as fsn1. Cloudflare R2 uses auto.
BucketThe bucket’s name.
Key prefixOptional, for example ci/. Reoclo writes only below <prefix>reoclo-test/, so you can share a bucket.
Cache retentionHow many days a cache stays in the bucket before the sweep deletes it. 7 by default, 1 to 365.
Artifact retentionHow many days an artifact stays before the sweep deletes it. 30 by default, 1 to 365.

When you save, Reoclo checks the bucket with the credential’s key: it writes, reads and deletes a small object under <prefix>reoclo-test/.probe/. If any step fails, the pool is not saved and the form shows the reason, for example that the bucket does not exist or the key is not allowed to write. Changing only the retention does not check the bucket again. To stop using the bucket, switch Storage off. Objects already in the bucket stay until their retention runs out or you delete them.

Your keys never reach a test machine. For each job, Reoclo creates time-limited links for exactly the objects the job may read or write. They are valid for the job’s time limit plus 15 minutes, and the job log never shows them. Reoclo keeps the sweep within <prefix>reoclo-test/, so it never deletes anything else in your bucket.

Objects are laid out as <prefix>reoclo-test/cache/... for caches and <prefix>reoclo-test/artifacts/... for artifacts. Use a bucket that is not public.

When a run’s jobs use a cache, the run page has a Caches section. It lists what the pool’s bucket holds for that test, grouped by job, with each cache’s key string, size, when it was written and when retention deletes it.

A job restores its exact cache when its key files are unchanged. When that cache does not exist, it restores the most recently written cache saved under the same key string, marked Fallback, and saves a new exact cache when it finishes. A cache listed as Key string unknown is one that no recent job of the pool carries a key for.

After a slow run, check whether the job restored a fallback. After a broken run, check whether a stale cache is the cause. Admins can purge one cache, every cache of a job, or every cache of the test. A purge deletes the objects from the bucket at once, and the next job that needs a purged cache starts without it and takes longer that one time. The list shows the newest 1000 caches.

Deleting a pool also deletes its cache and artifact objects from your bucket, which the delete confirmation tells you. Reoclo removes everything your organization has under <prefix>reoclo-test/cache/ and <prefix>reoclo-test/artifacts/ in the background, so the delete itself never waits for the bucket. It is best effort: if the bucket cannot be reached at that moment, or the credential was deleted first, the objects stay and you can delete them yourself. Another pool of your organization that uses the same bucket and prefix keeps the objects. Nothing outside those two folders is touched. Switching Storage off on a pool does not delete anything.

  1. In S3, create a bucket with Block all public access on. Pick the region your test machines run in to avoid transfer charges.
  2. In IAM, create a user for Reoclo and an access key for it.
  3. Attach this policy to the user. Replace BUCKET with the bucket’s name and PREFIX with your key prefix including the trailing slash, for example ci/, or with nothing when you use no prefix.
IAM policy
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "ReoclotestObjects",
"Effect": "Allow",
"Action": ["s3:PutObject", "s3:GetObject", "s3:DeleteObject"],
"Resource": "arn:aws:s3:::BUCKET/PREFIXreoclo-test/*"
},
{
"Sid": "ReoclotestList",
"Effect": "Allow",
"Action": "s3:ListBucket",
"Resource": "arn:aws:s3:::BUCKET",
"Condition": { "StringLike": { "s3:prefix": "PREFIXreoclo-test/*" } }
}
]
}

You can put the same statements in the bucket’s policy instead, with "Principal": { "AWS": "arn:aws:iam::ACCOUNT_ID:user/reoclo-tests" } added to each statement.

  1. Under Storage credentials, add a credential with the access key ID and the secret key, and leave Endpoint empty. In the pool form, pick it and enter the bucket’s region and name and the key prefix.

The list permission lets Reoclo tell a missing object from a forbidden one, find the most recent cache, and show and purge caches. Deleting objects uses the delete permission already in the policy. As a second safety net you can add an S3 lifecycle rule that expires objects under PREFIXreoclo-test/ after your longest retention.

  1. In the Hetzner Console, open Object Storage in the project you want to use and create a bucket in a location, for example Falkenstein (fsn1). Keep it private.
  2. Create S3 credentials for the project. Hetzner credentials work for every bucket in the project, so use a dedicated project for test storage if other buckets live in it.
  3. Under Storage credentials, add a credential with Endpoint set to https://fsn1.your-objectstorage.com, using your location’s code in place of fsn1, and the access key and secret key. In the pool form, pick it, set Region to the same location code, and enter the bucket name and the key prefix.
  1. In the Cloudflare dashboard, open R2 and create a bucket. Leave public access off.
  2. Open Manage R2 API Tokens and create a token with the Object Read & Write permission, scoped to this bucket. Copy the access key ID and the secret access key.
  3. Under Storage credentials, add a credential with Endpoint set to https://ACCOUNT_ID.r2.cloudflarestorage.com, using your Cloudflare account ID, and the access key ID and secret access key. In the pool form, pick it, set Region to auto, and enter the bucket name and the key prefix.

A test file runs commands from your repository, so anyone who can push to the repository can run commands on machines in your cloud account. For that reason, tests are off for every repository until an organization admin turns them on.

  1. Open Tests and choose the repository.
  2. Turn on Run tests from this repository and confirm.

Reoclo records who enabled tests and when. Until then, the Tests page lists the test files it finds but does not run them. Turn the setting off at any time to stop new runs.

Put test files in ci/reoclo/tests/ in your repository. See Test files for the format. Reoclo shows each file with its validation result, so a mistake is visible before anything runs.

Reoclo reads the copy of each test file on the default branch to decide which branches and pull requests may trigger it. A branch cannot give itself a run by editing the file. The run itself uses the file at the commit being tested.

On push. When a test file lists on.push.branches, a push to a matching branch starts a run at the pushed commit. Reoclo refreshes its list of test files when you push to the default branch.

By hand. Choose Run next to a test on the Tests page, enter a branch, and start the run. A manual run uses the head of that branch. If the test file declares inputs, the dialog shows one field for each, read from the file at that branch. Required inputs are marked and secret inputs are password fields.

On a pull request. When a test file lists on.pull_request.branches, a pull request that is opened, gets new commits or is reopened against a matching target branch starts a run at the pull request’s head commit. The run page shows the pull request number with a link to it, and the commit status goes on the head commit. Pull request triggers work with GitHub repositories.

Pull request runs follow stricter trust rules, because a pull request is code from someone else:

  • Tests must be enabled for the repository.
  • The default branch’s copy of the file decides whether the test runs on pull requests and for which target branches.
  • The steps come from the pull request’s head commit.
  • A pull request from a fork never starts a run. Only pull requests from a branch in the same repository do.

Newer runs replace older ones. A new push run cancels the older unfinished runs of the same test for the same branch, and a new pull request run cancels the older unfinished runs for the same pull request. The cancelled run shows the reason Superseded by run #N, its machines are deleted and its commit status is updated. Runs you start by hand are not cancelled this way. Set cancel_superseded: false in the test file to keep every run.

Closing a pull request stops its runs. When a pull request is merged or closed, its unfinished runs are cancelled with the reason Pull request #N was merged or Pull request #N was closed. Their machines are deleted and their commit statuses are updated. Push runs and manual runs are not affected.

Only the jobs a change needs. A test file can list paths for the whole file or for a single job. A job whose paths match none of the changed files is skipped, and its card says why. Manual runs always run every job. See Path filters for the rules, including what happens when the changed files cannot be read.

If a test file fails validation, a push creates a run in the Errored state that shows the reason, and no machines start.

Open a run from the Tests page. The run page shows the commit, branch, trigger, state, duration and cost, then each job in dependency order with its machine, its steps and their exit codes.

Each job has a log viewer. Output appears live while the job runs and stays available afterwards, and you can download it. Reoclo keeps test logs for 30 days.

Run stateMeaning
QueuedThe run is waiting to start.
RunningAt least one job is active.
PassedEvery job passed.
FailedA job failed.
CancellingYou cancelled the run and Reoclo is stopping its jobs.
CancelledThe run was cancelled, by you or because a newer run replaced it. The run page shows the reason.
ErroredThe run could not complete, for example because the test file was invalid or a runner stopped reporting.

Jobs use the same words, plus Waiting (held for a machine), Provisioning, Starting and Skipped (a job it needs did not pass or was skipped, or no changed file matches its paths).

Cancel run stops running jobs, cancels the rest and deletes their machines. Re-run starts a new run of the same test at the same commit.

GET /tenants/<org id>/test-runs/<run id>/jobs/<job id>/logs returns a job’s output one page at a time, for scripts that check a result line. reoclo tests logs and the MCP tool get_test_job_logs read the same pages.

QueryMeaning
after_seqReturn lines after this sequence number. Default -1, the start of the log.
limitLines per page, 1 to 5,000. Default 500.

The response is {"items": [...], "next_after_seq": 41}. Pass next_after_seq as after_seq to read the next page; while the job runs, new lines keep arriving after it. Each item is one line of output:

FieldTypeMeaning
stepintegerThe step that wrote the line, counted from 0 in the order of the test file. Lines from the checkout and the image pull before the first step carry step 0.
seqintegerThe line’s position in the job’s log. It only grows.
tsstringWhen the runner read the line, as an ISO 8601 time in UTC. A value without an offset is UTC too.
streamstringstdout or stderr.
textstringThe line itself without its newline. Secret values are already masked.

Read the line you check from text, and stream when stderr matters. GET .../logs/download returns the whole log as plain text.

Reoclo posts a status named reoclo/test/<name> on the commit, for GitHub and Gitea repositories. It is pending as soon as the run is created, with the description Test run #N queued, then success, failure or error when it ends. Because the pending status exists from the start, a check that requires it cannot pass in the gap before the run begins. A superseded run ends with error and the reason in the description. For a pull request run, the status is on the pull request’s head commit. The status links to the run page. You can require it in branch protection like any other check.

Test machines bill to your cloud account, not to Reoclo. On Hetzner, a machine is billed for every hour it has started. On AWS, it is billed per second while it runs, plus its volume. A spot pool’s machines bill at the spot price; see Spot instances.

The pool’s page shows an estimate for one machine per hour, and each machine records its billed time and cost. A run’s cost adds up the machines its jobs used. Reoclo deletes each machine as soon as its job ends, so no machine sits idle between jobs.

The organization’s Costs page adds test machines to the spend of each provider and lists every test pool with its budget, next to the build pools. See Costs and budgets. Admins get a notice when a test pool reaches 80% of its budget.

A job waits and never starts. Read the reason on the job. A pool at its maximum machines frees up as jobs finish. A spent budget needs a higher monthly budget, set on the pool. A provider limit needs a quota increase with AWS or Hetzner, or fallback types on the pool.

The run is Errored with a validation reason. Fix the test file and push again, or start a manual run once the default branch has the fix. The Test files page lists every key and limit.

A pull request did not start a run. Check that tests are enabled for the repository, that the test file on the default branch lists on.pull_request.branches with the pull request’s target branch, and that the pull request comes from a branch in the same repository. Pull requests from forks never run. Adding the trigger in the pull request itself has no effect until the file is on the default branch.

A run was cancelled with “Superseded by run #N”. A newer run of the same test for the same branch or pull request replaced it. Set cancel_superseded: false in the test file to keep older runs.

A job was skipped and says no changed file matches its paths. The job’s paths (or the file’s) match none of the files the push or pull request changed. Change the globs, or start a manual run, which runs every job.

Every job ran although paths are set. Reoclo runs everything when it cannot read the list of changed files, for example on a new branch or a very large change. Manual runs also ignore paths.

The Run button is disabled. Tests are not enabled for the repository, or the file failed validation.

A job fails on its first step. The step’s output is in the job’s log. Check that the image exists, that it can run sh, and that it supports the pool’s architecture.

A job fails with “docker pull failed”. The image name is wrong, or the registry refused the pull. For a private image, check that the pool lists a credential for that registry and that the credential can pull the repository. Test the credential under Registry credentials.

A job is Errored with “A registry credential of this pool no longer exists” or “cannot be used”. The pool still lists a credential that was changed or removed. Open the pool, clear or replace the credential, and run again.

A job is Errored with “The runner stopped reporting”. The machine stopped sending output after the job timeout plus a short grace period. Reoclo deletes the machine. Start the run again, and raise the job time limit if the job needs longer.

A job on a spot pool restarted by itself. AWS took its spot machine back, and Reoclo retried the job once on an on-demand machine. The job’s page shows the reason. If it happens often for an instance type, add fallback types or switch the pool to on-demand.

A job is Errored with “The job already used its one retry”. AWS reclaimed its spot machine, and the on-demand machine for the retry was lost too. Start the run again.

A spot pool never gets spot machines. The machine list shows On-demand (spot fallback) when AWS has no spot capacity for the type, or your account’s spot limit is reached. Try another instance type or region, or raise the spot vCPU quota with AWS. If every machine falls back and the capacity is not the cause, your account may have no EC2 Spot service-linked role and the key cannot create it. Create the role once with aws iam create-service-linked-role --aws-service-name spot.amazonaws.com, or build the key’s policy again so it can create the role itself.

Saving a Hetzner pool as spot fails. Spot is an AWS market. Hetzner pools run on-demand.

The pool will not save with a bucket. Reoclo writes, reads and deletes a small object to check the bucket, and shows the first step that failed. A missing bucket, a region that does not match the bucket, a key id Reoclo’s endpoint does not know, a secret key that does not match, and a policy that does not allow the action each give a different message. Check the endpoint and region first, then the policy in Storage bucket.

A key rotation is refused. Reoclo tries the new key on every pool that uses the credential, and the message names the first pool whose bucket refused it. Fix the key or that pool’s policy, then save again. Nothing was changed.

A storage credential will not delete. A test pool still uses it, and the message names the pools. Switch them to another credential, or delete them, first.

A run is Errored and says the pool has no storage bucket. A job in the test file uses cache or artifacts, and its pool has no bucket. Add one in the pool form, or remove the keys from the job.

A job says the cache is unavailable, or an upload failed. The job still runs, and the setup lines in its log give the reason. The usual causes are a policy that changed after the pool was saved, or a bucket that was deleted. Fix the policy and run again.

A job errors saying it needs runner 1.50.0 or later. The job uses a cache or artifacts, and the test machine’s runner is older. Machines created from current Reoclo images have a current runner.

A job errors saying the runner restarted and lost the job. The runner on the test machine restarted while it held the job. Reoclo starts a job again once on the same machine when it had not run a step yet, and says so in the job’s note. If the job had already started a step, or the runner restarted a second time, the job errors. Run the test again.

A pool cannot be deleted. A pool with live machines or active runs cannot be deleted. Wait for them to finish, or cancel the runs.