Below is the failure report generated by the code you posted minus your notebook's serial number.
Failure ID Tag Checksum HP Serial Number Test Date Failure Code Device Includes Error Message
6APFPD-7TAAAH-MFPWMF-60VQ03 | OK | XXXXXXXXXX | 12/2/20 | 303 | Storage | Floppy Drive, Hard Drive, Memory Drive, Optical Drive, SCSI, Tape Drive | Hard Disk 1 Quick Test Failure |
You will need to install a new hard drive and reinstall the operating system.
Below is the link to the service manual, where you can find the hard drive removal and replacement procedure.
h10032.www1.hp.com/ctg/Manual/c04763947
After you replace the hard drive, you can reinstall W10 for free by making bootable installation media using the media creation tool from the link below.
Download Windows 10 (microsoft.com)
After W10 has completed installing, you can install the drivers and available software from your notebook's support page.
HP Notebook - 15-f272wm (ENERGY STAR) Software and Driver Downloads | HP® Customer Support