Locating underground pipeline leaks can be challenging due to their hidden nature and variable terrain conditions. To sample soil gas, solid-phase microextraction (SPME) was employed, and a portable gas chromatography/mass spectrometry (GC/MS) was…