Federal pipeline rules require gas in distribution lines to be odorized so a person with a normal sense of smell can detect it at one-fifth of the concentration where it becomes flammable (49 CFR §192.625). That margin is the reason the smell works as a warning. But the odorant isn't permanent. SDG&E says it can fade through adsorption, absorption or oxidation, especially in new steel pipe, in higher-pressure lines with little or intermittent flow, and where rust, moisture or cutting oil are present (SDG&E).
People vary, too. A cold or allergies, or stronger smells in the room, can hide the odor (SDG&E). That's why SDG&E's list includes sounds and sights, and why a carbon monoxide alarm belongs on every floor of a home with gas appliances. State law already requires an approved CO device in any dwelling unit with a fossil-fuel heater or appliance, a fireplace or an attached garage (H&S Code §17926).