Failure analysis and mechanical performance of an oil pipeline