I have a similar polling issue that is introduced in 1.527, but is for Mercurial repository. Maybe it might shed more light into this issue as the symptom is similar to the one that is described, ie polling broken after 1.527 and launching a build works fine. My setup is as followed:
- Linux environment
- Mercurial repository workspace
- Owner of the repository is different to Jenkins, as it is on a NFS mount
- /etc/mercurial/hgrc is modified to trust the owner of the repository
Symptom after upgrading to 1.527, and subsequent releases up to 1.531, is that on polling it doesn't trust the owner of the .hg/hgrc and therefore caused an exception when polling, resulting in no builds being triggered. Downgraded to 1.526, polling works again. I don't have the exception stacktrace but managed to capture the top error instead:
ERROR: Expected to get an id but got 'not trusting file /scratch/jenkins/workspace/****/.hg/hgrc from untrusted user scratch, group scratch not trusting file /scratch/jenkins/workspace/****/.hg/hgrc from untrusted user scratch, group scratch
a519e87a23d76389995bcdc0a1c3195983e0303f' instead.
I have a similar polling issue that is introduced in 1.527, but is for Mercurial repository. Maybe it might shed more light into this issue as the symptom is similar to the one that is described, ie polling broken after 1.527 and launching a build works fine. My setup is as followed:
Symptom after upgrading to 1.527, and subsequent releases up to 1.531, is that on polling it doesn't trust the owner of the .hg/hgrc and therefore caused an exception when polling, resulting in no builds being triggered. Downgraded to 1.526, polling works again. I don't have the exception stacktrace but managed to capture the top error instead:
ERROR: Expected to get an id but got 'not trusting file /scratch/jenkins/workspace/****/.hg/hgrc from untrusted user scratch, group scratch not trusting file /scratch/jenkins/workspace/****/.hg/hgrc from untrusted user scratch, group scratch
a519e87a23d76389995bcdc0a1c3195983e0303f' instead.