(output_path, error_path)
| 150 | |
| 151 | |
| 152 | def find_resume_offset(output_path, error_path): |
| 153 | if not os.path.exists(output_path): |
| 154 | return 0, 0, 0 |
| 155 | |
| 156 | success_count = count_lines(output_path) |
| 157 | error_count = count_lines(error_path) if os.path.exists(error_path) else 0 |
| 158 | return success_count + error_count, success_count, error_count |
| 159 | |
| 160 | |
| 161 | def validate_server(args, server_address, probe): |