No more CAMERA_FEEDBACK when flying a mission

We’re using MAVProxy on a companion computer to control our cameras, and on our new platform (running MAVProxy-1.8.29 and ArduCopter-4.0.4) our homegrown MAVProxy module can no longer receive any CAMERA_FEEDBACK messages to trigger all on-board cameras:

Old logfiles show that with ArduCopter-3.5.5 a MISSION_ITEM_REACHED message for a DO_DIGICAM_CONTROL mission item was immediately followed by a CAMERA_FEEDBACK message; this is no longer the case.

However, sending a cammsg command from the command line still gets me a CAMERA_FEEDBACK, just not when reaching a camera waypoint, e.g. mission item 5: the statustext Mission: 5 DigiCamCtrl is never followed by a corresponding CAMERA_FEEDBACK mavlink packet.

Any suggestions?

(Sorry, I have no idea which version of MAVProxy ran on our old drone – SITL logs in as APM:Copter V3.6-dev (1409f0ca), which seems to date from 2017-06-06)

(edited 2021-02-24 to clarify that the CAMERA_FEEDBACK messages are not only missing in SITL but in real flight as well)

Addendum: when running the autotests I get

Failure Summary:
test.Copter:
LoggerDocumentation (Test Onboard Logging Generation) (Command ‘[’/home/odroid/ardupilot/Tools/autotest/logger_metadata/parse.py’, ‘–vehicle’, ‘Copter’]’ returned non-zero exit status 1.) (see /home/odroid/buildlogs/ArduCopter-LoggerDocumentation.txt)
Logging (Test Onboard Logging) ([Errno 2] No such file or directory: ‘logs/00000002.BIN’) (see /home/odroid/buildlogs/ArduCopter-Logging.txt)
PrecisionLandingSITL (Precision Landing (SITL)) ([Errno 2] No such file or directory: ‘logs/00000007.BIN’) (see /home/odroid/buildlogs/ArduCopter-PrecisionLandingSITL.txt)
SimpleMode (Fly in SIMPLE mode) (Did not get home and disarm) (see /home/odroid/buildlogs/ArduCopter-SimpleMode.txt)
Flip (Fly Flip Mode) (Failed to attain Altitude want 19, reach 571.143000) (see /home/odroid/buildlogs/ArduCopter-Flip.txt)
VisionPosition (Fly Vision Position) (Expected MAV_RESULT_ACCEPTED got MAV_RESULT_FAILED) (see /home/odroid/buildlogs/ArduCopter-VisionPosition.txt)
GPSViconSwitching (Fly GPS and Vicon Switching) (Expected MAV_RESULT_ACCEPTED got MAV_RESULT_FAILED) (see /home/odroid/buildlogs/ArduCopter-GPSViconSwitching.txt)
BeaconPosition (Fly Beacon Position) (Expected MAV_RESULT_ACCEPTED got MAV_RESULT_FAILED) (see /home/odroid/buildlogs/ArduCopter-BeaconPosition.txt)
RTLSpeed (Fly RTL Speed) (Expected MAV_RESULT_ACCEPTED got MAV_RESULT_FAILED) (see /home/odroid/buildlogs/ArduCopter-RTLSpeed.txt)
Mount (Test Camera/Antenna Mount) (Expected MAV_RESULT_ACCEPTED got MAV_RESULT_FAILED) (see /home/odroid/buildlogs/ArduCopter-Mount.txt)
Button (Test Buttons) (Expected MAV_RESULT_ACCEPTED got MAV_RESULT_FAILED) (see /home/odroid/buildlogs/ArduCopter-Button.txt)
ShipTakeoff (Fly Simulated Ship Takeoff) (Expected MAV_RESULT_ACCEPTED got MAV_RESULT_FAILED) (see /home/odroid/buildlogs/ArduCopter-ShipTakeoff.txt)
RangeFinder (Test RangeFinder Basic Functionality) (%u format: a number is required, not NoneType) (see /home/odroid/buildlogs/ArduCopter-RangeFinder.txt)
SurfaceTracking (Test Surface Tracking) (Expected MAV_RESULT_ACCEPTED got MAV_RESULT_FAILED) (see /home/odroid/buildlogs/ArduCopter-SurfaceTracking.txt)
ParameterChecks (Test Arming Parameter Checks) (Expected MAV_RESULT_ACCEPTED got MAV_RESULT_FAILED) (see /home/odroid/buildlogs/ArduCopter-ParameterChecks.txt)
ManualThrottleModeChange (Check manual throttle mode changes denied on high throttle) (Expected MAV_RESULT_ACCEPTED got MAV_RESULT_FAILED) (see /home/odroid/buildlogs/ArduCopter-ManualThrottleModeChange.txt)
MANUAL_CONTROL (Test mavlink MANUAL_CONTROL) (Expected MAV_RESULT_ACCEPTED got MAV_RESULT_FAILED) (see /home/odroid/buildlogs/ArduCopter-MANUAL_CONTROL.txt)
ZigZag (Fly ZigZag Mode) (Expected MAV_RESULT_ACCEPTED got MAV_RESULT_FAILED) (see /home/odroid/buildlogs/ArduCopter-ZigZag.txt)
PosHoldTakeOff (Fly POSHOLD takeoff) (Expected MAV_RESULT_ACCEPTED got MAV_RESULT_FAILED) (see /home/odroid/buildlogs/ArduCopter-PosHoldTakeOff.txt)
FOLLOW (Fly follow mode) (Expected MAV_RESULT_ACCEPTED got MAV_RESULT_FAILED) (see /home/odroid/buildlogs/ArduCopter-FOLLOW.txt)
RangeFinderDrivers (Test rangefinder drivers) (Expected MAV_RESULT_ACCEPTED got MAV_RESULT_FAILED) (see /home/odroid/buildlogs/ArduCopter-RangeFinderDrivers.txt)
ParameterValidation (Test parameters are checked for validity) (Unexpected prearm failure (PreArm: Check firmware or FRAME_CLASS)) (see /home/odroid/buildlogs/ArduCopter-ParameterValidation.txt)
AltTypes (Test Different Altitude Types) (Expected MAV_RESULT_ACCEPTED got MAV_RESULT_FAILED) (see /home/odroid/buildlogs/ArduCopter-AltTypes.txt)
RichenPower (Test RichenPower generator) ([Errno 2] No such file or directory: ‘logs/00000002.BIN’) (see /home/odroid/buildlogs/ArduCopter-RichenPower.txt)
IE24 (Test IntelligentEnergy 2.4kWh generator) (Expected MAV_RESULT_ACCEPTED got MAV_RESULT_FAILED) (see /home/odroid/buildlogs/ArduCopter-IE24.txt)
FixedYawCalibration (Test Fixed Yaw Calibration) (Expected MAV_RESULT_ACCEPTED got MAV_RESULT_FAILED) (see /home/odroid/buildlogs/ArduCopter-FixedYawCalibration.txt)
SITLCompassCalibration (Test SITL onboard compass calibration) (Cannot receive enough MAG_CAL_PROGRESS) (see /home/odroid/buildlogs/ArduCopter-SITLCompassCalibration.txt)
MotorVibration (Fly motor vibration test) (Expected MAV_RESULT_ACCEPTED got MAV_RESULT_FAILED) (see /home/odroid/buildlogs/ArduCopter-MotorVibration.txt)
DynamicNotches (Fly Dynamic Notches) (Expected MAV_RESULT_ACCEPTED got MAV_RESULT_FAILED) (see /home/odroid/buildlogs/ArduCopter-DynamicNotches.txt)
GyroFFTHarmonic (Fly Gyro FFT Harmonic Matching) (Expected MAV_RESULT_ACCEPTED got MAV_RESULT_FAILED) (see /home/odroid/buildlogs/ArduCopter-GyroFFTHarmonic.txt)
CRSF (Test RC CRSF) (Expected MAV_RESULT_ACCEPTED got MAV_RESULT_FAILED) (see /home/odroid/buildlogs/ArduCopter-CRSF.txt)
MotorTest (Run Motor Tests) (Channel value condition not met) (see /home/odroid/buildlogs/ArduCopter-MotorTest.txt)
EKFSource (Check EKF Source Prearms work) (Expected MAV_RESULT_ACCEPTED got MAV_RESULT_FAILED) (see /home/odroid/buildlogs/ArduCopter-EKFSource.txt)
DataFlash (Test DataFlash Block backend) (Expected MAV_RESULT_ACCEPTED got MAV_RESULT_FAILED) (see /home/odroid/buildlogs/ArduCopter-DataFlash.txt)
DataFlashErase (Test DataFlash Block backend erase) (Expected MAV_RESULT_ACCEPTED got MAV_RESULT_FAILED) (see /home/odroid/buildlogs/ArduCopter-DataFlashErase.txt)
Replay (Test Replay) (Expected MAV_RESULT_ACCEPTED got MAV_RESULT_FAILED) (see /home/odroid/buildlogs/ArduCopter-Replay.txt)
FAILED 1 tests: [‘test.Copter’]

Seems unrelated at first sight, but might this have something to do with my problems?

Might this have something to do with logging, e.g. the LOG_BITMAP?