The migration has exceeded the maximum switchover time of 135 second(s).
[YYYY-MM-DDTHH:MM:SS] In(05) vmx - Migrate: Attempting to continue running on the source.
[YYYY-MM-DDTHH:MM:SS] In(05) vmx - OBJLIB-FILEBE : FileBEOpen: can't open '<VM_NAME>.nvram' : Failed to lock the file (262146).
[YYYY-MM-DDTHH:MM:SS] In(05) vmx - NVRAMMGR: NvmanReopen: Failed to reopen NVRAM: Failed to lock the file
[YYYY-MM-DDTHH:MM:SS] Wa(03) vmx - MigrateResumeVM: Failed to reopen nvram file.
This issue is resolved in VMware ESXi 8.0 U3b . To download go to - Download Broadcom products and software
To workaround this issue change the Host-Local Swap configuration to the same directory as the virtual machine. For more information refer to Using Swap Files with vSphere