[Buildbot] #3366: Problems caused by caching build requests

Buildbot trac trac at buildbot.net
Mon Oct 12 13:25:53 UTC 2015


#3366: Problems caused by caching build requests
-------------------+-------------------
Reporter:  ian     |      Owner:
    Type:  defect  |     Status:  new
Priority:  major   |  Milestone:  0.9.0
 Version:  master  |   Keywords:
-------------------+-------------------
 I have a config where I might different generate 'changes' for the same
 revision at different times. In particular, it is the dictionary of
 properties attached to the change which is likely to differ.

 When I tried this, I seemed to be getting old dictionaries in the new
 changes. As far as I can tell there was some caching going on, I think of
 'build request's, I think based on 'ssid'.

 I tried moving the revision into the properties dictionary and setting the
 revision to None, but even then I seemed to be getting properties cached
 for the None ssid.

 Finally I set the revision to str(properties) and that worked around the
 problem.

 I don't fully understand what's being cached, how or why, but I would
 expect that at the very least changes with revision None would not be
 cached, and ideally the properties would be taken into account with the
 caching.

--
Ticket URL: <http://trac.buildbot.net/ticket/3366>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the bugs mailing list