add retry to solve partition issue for linux - partition_format_tool.py