Repository navigation
arisrv: run the identity and rcon tests in CI (they were never defined there) - #1537
Merged
Merged
Conversation
…ob runs them The client identity block (arisrv_whoami..., arisrv_rcon, arisrv_client_limits, arisrv_world_regenerate) needs TARGET ari AND Python3_EXECUTABLE. Only pycvc and arisrvx look Python up, so package-linux / libcvc-release-grpc, which builds ari and arisrv but neither of those, never defined these tests. Look up an interpreter there, and say so when none is found.
This was referenced Nov 26, 2026
transfix
added a commit
that referenced
this pull request
Nov 27, 2026
…1567) package-linux / libcvc-debug-grpc has failed arisrv_world_regenerate 3/3 on every master run since the test first ran there (#1537): the client's load gives up after its 10 s join with "admitted no room 'ctest' in time". The relay listens before it loads its --doc, and its room steps (and is sent to clients) only after. world_regen_server.ari's generated world makes its dataset at load: timed in a local Debug build, 5.8 s of load are the world 1.25 s (the roads' grade stage 0.85 s), painting the bundle's 2048x2048 ground.png 3.3 s, encoding it as a PNG 1.2 s, and the GLB 0.07 s. Debug with coverage on CI, under ctest --parallel, takes it past 10 s. arisrv now prints "serving room '<room>'" just before its loop, and relay_pair.py starts the client once it reads that line (or the relay has stopped), within 90 s. Under a job object capping the test at half a core (the relay's load then takes 21 s), the old relay_pair fails exactly as CI does, and the new one passes: the client's 4 tests in 17.4 s, the pair in 40.6 s, inside the test's 120 s.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
arisrv's client identity tests have never run in CI. That covers ID1–ID4:
arisrv_rcon,arisrv_client_limits, the guest password tests, and GB5'sarisrv_world_regeneratefrom #1527.Why
The block in
src/arisrv/CMakeLists.txtis guarded byif(TARGET ari AND Python3_EXECUTABLE), becausetests/relay_pair.pyruns the relay and the client. Only pycvc and arisrvx callfind_package(Python3 ...). The one CI job that builds arisrv,package-linux / libcvc-release-grpc, buildsari(itsari_server_*tests run) but neither pycvc nor arisrvx. SoPython3_EXECUTABLEwas empty and none of these tests existed: no failure, no skip, nothing in the log.Fix
When
ariis built and no interpreter is known yet, look one up withfind_package(Python3 QUIET COMPONENTS Interpreter). If none is found, say so in a configure message, so the tests can't silently vanish again.Watch for
This is the first CI run of these tests, so any of them may fail on something that's been broken all along. I'll fix what turns up here. I couldn't run them locally, because this machine's build has no gRPC and so no arisrv.