Although the knock sensor trouble codes have not trigged the check engine light on (yet) they will cause a smog check failure if the codes exist within the ECU during the smog inspection. Knock sensor trouble codes P0325 and P0330 are usually 2 trip codes. Before they trigger the check engine light on they must be verified at least twice. In this specific case it appears there is either an engine problem causing these fault codes to trigger or possibly something wrong with the knock sensor(s) themselves.