Skip to content

Run gdalinfo from the ODM image and add runner checks - #16

Merged
smathermather merged 3 commits into
masterfrom
ci-runner-checks
Sep 9, 2026
Merged

smathermather merged 3 commits into
masterfrom
ci-runner-checks

Conversation

@MJohnson459

Copy link
Copy Markdown
Collaborator

There are two failures in oats:

  1. gdalinfo is used to test that the files generated from ODM are valid which works locally. However on the runner there is a conflicting version that made it fail (undefined symbol: sqlite3_total_changes64). Instead I've added a wrapper function to use the version inside the ODM image.
  2. Some runs ran out of space on / or /tmp and I'm not sure why. I added a new manual-only workflow to measure disk space, and added some df output to the main one.

With 1. oats runs should now pass most of the time. If it doesn't 2. should tell us why.

The brighton "all flags" check called whatever gdalinfo the runner had
on PATH. On the CI runner that resolves to a miniconda GDAL whose
libgdal fails to load (undefined symbol sqlite3_total_changes64), so the
test failed after ODM had exited 0.

odm_tool runs a command from the image under test with the output
directory mounted at /dataset, so the check uses the GDAL that ODM was
built against and the host no longer needs GDAL installed. It sources
the pixi shell hook where the image has one and otherwise adds
SuperBuild/install/bin to PATH, so it works against both the pixi images
(edge) and the 3.6.x images that latest still points at. ./run's
environment check and docs/ci.md drop gdalinfo from the requirements.
The 2026-08-25 run failed every test with ENOSPC creating bats' tmpdir.
The runner had warned "Free space left: 0 MB" during the edge pull, but
the log gave no way to tell which filesystem filled or by how much.

Print df and docker system df before the pull, and drop dangling layers
from earlier pulls first.
Prints df, docker system df, the Docker data root, the image list and
the host tools on PATH, and prunes Docker when the prune input is set.
Shares the OATS concurrency group so a prune cannot remove the image a
suite run is using between datasets.
@smathermather
smathermather merged commit 8e927f9 into master Sep 9, 2026
2 checks passed
@MJohnson459
MJohnson459 deleted the ci-runner-checks branch September 9, 2026 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants