/usr/bin/hp-diagnose_plugin is in hplip-gui 3.17.10+repack0-5.
This file is owned by root:root, with mode 0o777.
It is a symlink to /usr/bin/../share/hplip/diagnose_plugin.py
/usr/bin/../share/hplip/diagnose_plugin.py