Yes, the stress came from interaction of the thin film with the substrate.
Strain=(a- ao)/ao a=the plane distance mesured from XRD of the thin film, for example (100), ao= the plane distance of the same plane (100) taken from ZnO crystal (standard data)