Skip to content

test: fix Jazzy launch_pytest collection on jazzy-picknik - #43

Merged
griswaldbrooks merged 2 commits into
jazzy-picknikfrom
fix/24286-jazzy-launch-tests
Nov 10, 2026
Merged

griswaldbrooks merged 2 commits into
jazzy-picknikfrom
fix/24286-jazzy-launch-tests

Conversation

@picknik-johnny-5-bot

@picknik-johnny-5-bot picknik-johnny-5-bot Bot commented Nov 6, 2026 •

Copy link
Copy Markdown

[written by AI]

Summary

Fix the three launch_pytest tests on jazzy-picknik by renaming their generate_test_description fixtures to launch_description and updating the explicit launch-marker references.

Jazzy launch_testing 3.4.12 intercepts the reserved name and rejects the fixture-injected test_proc argument before the tests run. The rename restores launch_pytest collection. Launch contents, readiness, timeouts, subprocesses, and exit-code assertions are unchanged.

This replaces #42, which targeted the legacy main branch. The fixture-only commit is cherry-picked with provenance. jazzy-picknik already uses Jazzy, so this PR does not carry the Rolling-to-Jazzy switch or change dependencies.

Refs PickNikRobotics/moveit_pro#24286

Validation

Final candidate: 9449e04e13dc1e64028fe2e948e08c9bdc5c47d3, based on accd11db0e2185504bdaa0c909353f141e55c042. Full Docker tests executed at fixture commit a249bba285424f3bd0fee603eff5d50f2b6263d7; the only later change is .gitmodules, with all build/test source and dependency pins unchanged. Independent review was refreshed for the final SHA.

Fresh local linux/amd64 Docker validation:

  • Baseline used docker build --pull --no-cache; candidate reused only pre-source dependency layers and rebuilt the complete colcon workspace from clean sources. Both built 15 packages with the same Jazzy image digest and identical installed-package inventories.
  • Full 13-package fuse suite: baseline colcon reported 849 tests, 0 errors, 6 failures, 121 skipped; candidate reported 849 tests, 0 errors, 0 failures, 121 skipped. These are colcon totals, not unique test identities; the baseline's three failed launch tests are counted in CTest and child xunit.
  • Parent independently reran the complete candidate suite: 849 tests, 0 errors, 0 failures, 121 skipped; exit 0.
  • Focused native-output run passed all four underlying gtests, including fixed-lag node initialization and shutdown.
  • Pinned changed-file hooks, source-hash verification, package-inventory comparison, entrypoint smoke test, and git diff --check passed.
  • Independent frozen-SHA review passed with no actionable findings. It verified unchanged test assertions/selection and authentic red/green evidence.

Hosted CI passed at final SHA 9449e04e13dc1e64028fe2e948e08c9bdc5c47d3: Build colcon workspace, Test colcon workspace, clang-tidy, and Format. Build/test run: https://github.com/PickNikRobotics/fuse/actions/runs/42311364884; format run: https://github.com/PickNikRobotics/fuse/actions/runs/42311364945. Existing coverage/event-loop warnings and 121 skipped tests remain. No arm64 or installed-product certification is claimed.

Scope and follow-up

The first hosted run failed during checkout because the pinned covariance submodule URL was private. This PR now uses public giafranchini/covariance_geometry_ros at the unchanged commit 15d25ecfa048160afca0a3bb818538e644c16819. Public and private objects have the identical tree bffc8172dd55e196549bcc6058d84bc555aee892. A fresh shallow submodule checkout passed, and final-SHA independent review passed.

No repository settings, runtime source, package version, apt build farm pin, or package-publication changes. Default-branch and branch-protection updates require repository-administration permission and remain tracked in #24286. The yaw fixes (#38/#39) are separate work under PickNikRobotics/moveit_pro#24308.

Release notes

None. Test-only fix.

launch_testing 3.4.12 on Jazzy collects any test module that defines
generate_test_description as a launch_testing test. The launch_pytest
fixtures in fuse_core and fuse_optimizers use that name, so launch_testing
tried to call them with no arguments and failed with "generate_test_description
has unexpected extra argument 'test_proc'". Naming them launch_description
leaves them to launch_pytest alone.

Refs PickNikRobotics/moveit_pro#24286

Co-Authored-By: Claude <noreply@anthropic.com>
(cherry picked from commit d76d7eb)
@griswaldbrooks
griswaldbrooks merged commit afec12e into jazzy-picknik Nov 10, 2026
4 checks passed
@griswaldbrooks
griswaldbrooks deleted the fix/24286-jazzy-launch-tests branch November 10, 2026 03:22
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