Skip to content

[test/DNM] ci: run the cri-o suite with bats --timing - #683

Draft
kolyshkin wants to merge 1 commit into
containers:mainfrom
kolyshkin:dnm-crio-timing
Draft

[test/DNM] ci: run the cri-o suite with bats --timing#683
kolyshkin wants to merge 1 commit into
containers:mainfrom
kolyshkin:dnm-crio-timing

Conversation

@kolyshkin

Copy link
Copy Markdown
Collaborator

Not for merge -- a measurement run.

The cri-o critest=0 job takes about 40 minutes and we would like to know where they go. Its TAP output is buffered (ordered output with --jobs), so wall-clock timestamps only tell us when a result was printed, not how long the test took: in a recent run 334 results were flushed in the same microsecond, after a 28 minute silence held by a single test.

So: cut the matrix to that one job, drop the conmon job, and patch cri-o's test_runner.sh to run bats --timing, which puts a duration on every TAP line.

Results will be used to decide which test files are worth skipping in this repo's CI (it already skips seccomp*, image, policy and crio-wipe), and to look into the one test that appears to take half an hour on its own.

Not for merge. Cuts the matrix down to the one job that takes 40 minutes
(stable, critest=0), drops the conmon job, and patches cri-o's
test_runner.sh to pass --timing, so that the TAP output carries a
duration per test instead of having to be reconstructed from the
timestamps of buffered output.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
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.

1 participant