--- id: "bug-446" status: "fixed" status_updated: "2026-09-24" status_note: "" component: "controller" severity: "unknown" timestamp: "2026-06-12T09:30:00Z" last_seen: "2026-09-19T09:00:00Z" occurrences: 1 files: ["src/controller/testsuite/test_commit_barrier_reply.c"] tags: ["testsuite", "jobj", "fixture", "ha-commit-barrier-rollout"] related: [] legacy: true --- # bug-446: makeJob() returns NULL (Expected Non-NULL) in commit-barrier reply fixture ## Description makeJob() returns NULL (Expected Non-NULL) in commit-barrier reply fixture ## Environment _Not recorded (migrated from buglog.json)._ ## Reproduction _Not recorded (migrated from buglog.json)._ ## Root cause job_init (lib/jobj.c) returns -EINVAL when xce_job_t.submit == NULL, and makeJobsub requires job_obj_init() module tables which no controller test group initialises. ## Fix Fixture calls job_obj_init(64, 64) once per process (static guard) and provides a zeroed static job_submit_data_t as jdef.submit. ## Verification _Not recorded (migrated from buglog.json)._ ## References _Not recorded (migrated from buglog.json)._