Compatibilities between obstructions and infinitesimal extensions