Had the same problem listed here on my iMac Pro, and it turns out that if you have a firmware password set, then the hardware diagnostics system won't work at all, and there is no indication of this, but a nice fellow named Felix from Apple was able to suss that out with me.
To fix this,disable firmware password or find out if that's your issuecheck its status, you need to restart the system while holding down Cmd+R. Note: If a firmware password is set, a screen will show and ask you to input the password. Once you do that, you're greeted with some options for dealing with your OS, but you want to cancel that, and then you will be givenvarious options (either in a dialoglike Disk Utility or in the menu) to change firmware securityInstall macOS. You canIgnore them and follow the instructions herebelow:
https://www.makeuseof.com/how-to-set-up-firmware-password-mac/
Note: this only applies to Intel Macs AFAIK, since the Intel chips have firmware security built-in.
- Select Utilities > Startup Security Utility from the menu bar
- Select Enter macOS Password and enter your Mac’s admin password (for newer macs/macOS)
- Select Turn Off Firmware Password
- Enter the current firmware password
- Exit the Startup Security Utility.
- Open the Apple menu and select Restart to exit macOS Recovery.