Ticket #867 (closed defect: fixed)
p4 poller triggers assertion in _process_changes(self, result) and no more builds are scheduled
| Reported by: | phil | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 0.8.0 |
| Version: | 0.7.12 | Keywords: | p4 p4poller |
| Cc: |
Description (last modified by dustin) (diff)
Error output: [-] P4 poll failed: [Failure instance: Traceback: exceptions.AssertionError?: Invalid file line: '... depot/testbad#1 move/add'
Description: The "p4 describe -s changelistnumber" command can contain changelist entries such as:
"... depot/testok#1 edit" "... depot/testbad#1 move/add" "... depot/testbad2#1 move/delete"
The regex for the changelist lines is incorrect if the changelist entries are ending with "move/add" or "move/delete" instead of just "edit" or "add". More specifically the '/' is missing in the regex expression.
Proposed solution (based on p4poller.py 0.7.12): change p4poller.py(37):
file_re = re.compile(r"^... (?P<path>[^#]+)#d+ w+$")
into
file_re = re.compile(r"^... (?P<path>[^#]+)#d+ [w/]+$")
Change History
Note: See
TracTickets for help on using
tickets.
![[Buildbot Logo]](/chrome/site/header-text-transparent.png)