Failure analysis of natural gas pipes