get_running_builds(): intermittent 'node[%s] does not exist exception' while running on Cloudbees:
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Python Jenkins |
New
|
Undecided
|
Unassigned |
Bug Description
The below exception happens intermittently.
I guess that this may be caused when an agent is released from a Client Master in the same time the API call are happening:
This is the full trace:
Traceback (most recent call last):
File "/usr/local/
return self._response_
File "/usr/local/
response.
File "/usr/lib/
raise HTTPError(
requests.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/
response = self.jenkins_
File "/usr/local/
return self.jenkins_
File "/usr/local/
raise NotFoundExcepti
jenkins.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/scripts/amp.py", line 2524, in <module>
check_
File "/scripts/amp.py", line 2230, in check_running_jobs
jenkins_
File "/scripts/amp.py", line 1727, in jenkins_
builds=
File "/usr/local/
info = self.get_
File "/usr/local/
raise JenkinsExceptio
jenkins.