Skip to content

CI: pass --deployment-config int_config.json to reference integration tests - #27

Merged
LeStarch merged 1 commit into
fprime-community:develfrom
JPL-Devin:devin/1789071153-ci-deployment-config
Sep 10, 2026
Merged

LeStarch merged 1 commit into
fprime-community:develfrom
JPL-Devin:devin/1789071153-ci-deployment-config

Conversation

@lestarch-autobot

Copy link
Copy Markdown
Contributor

Summary

Fixes the "Reference Build and Integration Tests" job, which has failed on every devel push since 2026-08-06.

The reference tests (fprime_cfs_reference/test/int) resolve component instances via fprime_test_api.get_mnemonic("Svc.CommandDispatcher"), which maps through a deployment-config JSON (test/int/int_config.json → CfsCore.cmdDisp). Without --deployment-config, get_mnemonic falls back to returning the type name verbatim, so pytest looks up Svc.CommandDispatcher.CMD_NO_OP and fails:

KeyError: "The command mnemonic, Svc.CommandDispatcher.CMD_NO_OP, wasn't in the dictionary"

fprime_cfs_reference#17 introduced int_config.json and added the flag to the reference repo's own workflow; this copy of the invocation in ci.yml was never updated.

 pytest-args: >-
   --dictionary .../FPrimeDeploymentTopologyDictionary.json
+  --deployment-config ${{ github.workspace }}/test/int/int_config.json

Verified locally against the built reference (core-cpu1 + fprime-gds): 5/5 fail with the exact CI KeyErrors without the flag, 5/5 pass with it.

… tests

Co-Authored-By: michael.d.starch <michael.d.starch@jpl.nasa.gov>
@LeStarch
LeStarch merged commit d22bbad into fprime-community:devel Sep 10, 2026
3 checks passed
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