[p4dti-discussion] (P4DTI-8603) Job 'bug25580' overwritten by issue'25580'???????

Jason D. Byttow jasondb at CollectiveStudios.Com
Thu Sep 20 00:38:50 BST 2007


I would take a look at the jobspec (p4 jobspec) and see if they're any
fields that are trying to set something as 'ignore'. It seems to then
propagate into Bugzilla, but is being rejected due to improper field
matching.

Hope this helps.

Jason Byttow
The Collective Inc.

  

-----Original Message-----
From: p4dti-discussion-bounces at ravenbrook.com
[mailto:p4dti-discussion-bounces at ravenbrook.com] On Behalf Of Hamid
Ghassemi
Sent: Wednesday, September 19, 2007 4:29 PM
To: support at peforce.com; p4dti-discussion at ravenbrook.com
Subject: [p4dti-discussion] (P4DTI-8603) Job 'bug25580' overwritten by
issue'25580'???????

I am rather puzzled with this error message.  I do not see any problems
in Bugzilla issue or Perforce Job.  I an not sure where 'ignore' is
coming from.

P4DTI admin documents states that someone must have changed
configure_bugzilla.py and broken it, where I am the only one that can
change that file and have not even touched it.

Any help is appreciated.

Thanks

Hamid Ghassemi

-----Original Message-----
From: bugs at uievolution.com [mailto:bugs at uievolution.com] 
Sent: Wednesday, September 19, 2007 4:07 PM
To: Hamid Ghassemi; Hamid Ghassemi
Subject: (P4DTI-8603) Job 'bug25580' overwritten by issue '25580'.

(P4DTI-8658)  This is an automatically generated e-mail from the
Perforce Defect
Tracking Integration replicator 'replicator0'.

(P4DTI-8512)  The replicator failed to replicate Perforce job 'bug25580'
to
defect tracker issue '25580', because of the following problem:

(P4DTI-5106)  No Bugzilla status corresponding to Perforce status
'ignore'.

(P4DTI-8614)  The replicator has therefore overwritten Perforce job
'bug25580'
with defect tracker issue '25580'.  See section 2.2 of the P4DTI User
Guide for
more information.

(P4DTI-8625)  The job looked like this before being overwritten:

Assigned_To: hghassemi
Component:
	Source Control
Date: 2007/09/19 16:06:43
Description:
	Check in p4dti in perforce.
	
	------- Hamid Ghassemi <hghassemi at uievolution.com> at 2007-09-19
13:46:42 -------
	config.py and p4.py need to reflect changes for UIE
	
	------- Hamid Ghassemi <hghassemi at uievolution.com> at 2007-09-19
13:51:40 -------
	Code is verified
	
	------- Hamid Ghassemi <hghassemi at uievolution.com> at 2007-09-19
13:53:34 -------
	Closed
	
	------- Append additional comments below -------
Job: bug25580
P4DTI-issue-id: 25580
P4DTI-rid: replicator0
P4DTI-user: hghassemi
Priority: TRIAGE
Product:
	Infrastructure
Resolution: FIXED
Severity: trivial
Status: ignore
Summary:
	Check in p4dti

(P4DTI-8523)  Here's a full Python traceback:

Exception:
Bugzilla module error: (P4DTI-5106)  No Bugzilla status corresponding to
Perforce status 'ignore'.
Traceback (innermost last):
  File "/opt/p4dti/replicator.py", line 1448, in replicate
    self.replicate_issue_p4_to_dt(issue, job)
    locals:
      force: False
      self: <replicator.replicator instance at 0xb7cb1e0c>
      changed: 'p4'
      jobname: 'bug25580'
      job: {'Status': 'bugzilla_closed', 'P4DTI-user': 'hghassemi',
'Product': 'Infrastructure\n', 'code': 'stat', 'Description': 'Check in
p4dti in perforce.\n\n------- Hamid Ghassemi <hghassemi at uievolution.com>
at 2007-09-19 13:46:42 -------\nconfig.py and p4.py need to reflect
changes for UIE\n\n------- Hamid Ghassemi <hghassemi at uievolution.com> at
2007-09-19 13:51:40 -------\nCode is verified\n\n------- Hamid Ghassemi
<hghassemi at uievolution.com> at 2007-09-19 13:53:34
-------\nClosed\n\n------- Append additional comments below -------\n',
'P4DTI-rid': 'replicator0', 'Component': 'Source Control\n', 'Summary':
'Check in p4dti\n', 'Priority': 'TRIAGE', 'Job': 'bug25580',
'Assigned_To': 'hghassemi', 'Date': '2007/09/19 16:06:43',
'P4DTI-issue-id': '25580', 'Resolution': 'FIXED', 'Severity': 'trivial'}
      issuename: '25580'
      issue: {'p4dti': {'bug_id': 25580, 'migrated': None, 'rid':
'replicator0', 'jobname': 'bug25580', 'sid': 'perforce0'}, 'bug':
{'status_whiteboard': '', 'reporter_accessible': 1, 'groups': [],
'bug_file_loc': '', 'rep_platform': 'Other', 'lastdiffed': '2007-09-19
13:53:34', 'deadline': None, 'keywords': '', 'votes': 0,
'cclist_accessible': 1, 'bug_status': 'CLOSED', 'short_desc': 'Check in
p4dti', 'priority': 'TRIAGE', 'estimated_time': 0.0, 'version':
'unspecified', 'cf_uie_found_in': '', 'product': 'Infrastructure',
'qa_contact': 96, 'reporter': 127, 'component': 'Source Control',
'bug_severity': 'trivial', 'remaining_time': 0.0, 'bug_id': 25580,
'delta_ts': '2007-09-19 13:53:34', 'creation_ts': '2007-09-19 12:45:06',
'target_milestone': '---', 'everconfirmed': 1, 'cf_uie_fixed_in': '',
'longdesc': 'Check in p4dti in perforce.\n\n------- Hamid Ghassemi
<hghassemi at uievolution.com> at 2007-09-19 13:46:42 -------\nconfig.py
and p4.py need to reflect changes for UIE\n\n------- Hamid Ghassemi
<hghassemi at uievolution.com> at 2007-09-19 13:51:40 -------\nCode is
verified\n\n------- Hamid Ghassemi <hghassemi at uievolution.com> at
2007-09-19 13:53:34 -------\nClosed\n\n------- Append additional
comments below -------', 'alias': None, 'assigned_to': 96, 'resolution':
'FIXED', 'op_sys': 'Windows XP'}}
  File "/opt/p4dti/replicator.py", line 1706, in
replicate_issue_p4_to_dt
    changes = self.translate_issue_p4_to_dt(issue, job)
    locals:
      job: {'Status': 'bugzilla_closed', 'P4DTI-user': 'hghassemi',
'Product': 'Infrastructure\n', 'code': 'stat', 'Description': 'Check in
p4dti in perforce.\n\n------- Hamid Ghassemi <hghassemi at uievolution.com>
at 2007-09-19 13:46:42 -------\nconfig.py and p4.py need to reflect
changes for UIE\n\n------- Hamid Ghassemi <hghassemi at uievolution.com> at
2007-09-19 13:51:40 -------\nCode is verified\n\n------- Hamid Ghassemi
<hghassemi at uievolution.com> at 2007-09-19 13:53:34
-------\nClosed\n\n------- Append additional comments below -------\n',
'P4DTI-rid': 'replicator0', 'Component': 'Source Control\n', 'Summary':
'Check in p4dti\n', 'Priority': 'TRIAGE', 'Job': 'bug25580',
'Assigned_To': 'hghassemi', 'Date': '2007/09/19 16:06:43',
'P4DTI-issue-id': '25580', 'Resolution': 'FIXED', 'Severity': 'trivial'}
      issue: {'p4dti': {'bug_id': 25580, 'migrated': None, 'rid':
'replicator0', 'jobname': 'bug25580', 'sid': 'perforce0'}, 'bug':
{'status_whiteboard': '', 'reporter_accessible': 1, 'groups': [],
'bug_file_loc': '', 'rep_platform': 'Other', 'lastdiffed': '2007-09-19
13:53:34', 'deadline': None, 'keywords': '', 'votes': 0,
'cclist_accessible': 1, 'bug_status': 'CLOSED', 'short_desc': 'Check in
p4dti', 'priority': 'TRIAGE', 'estimated_time': 0.0, 'version':
'unspecified', 'cf_uie_found_in': '', 'product': 'Infrastructure',
'qa_contact': 96, 'reporter': 127, 'component': 'Source Control',
'bug_severity': 'trivial', 'remaining_time': 0.0, 'bug_id': 25580,
'delta_ts': '2007-09-19 13:53:34', 'creation_ts': '2007-09-19 12:45:06',
'target_milestone': '---', 'everconfirmed': 1, 'cf_uie_fixed_in': '',
'longdesc': 'Check in p4dti in perforce.\n\n------- Hamid Ghassemi
<hghassemi at uievolution.com> at 2007-09-19 13:46:42 -------\nconfig.py
and p4.py need to reflect changes for UIE\n\n------- Hamid Ghassemi
<hghassemi at uievolution.com> at 2007-09-19 13:51:40 -------\nCode is
verified\n\n------- Hamid Ghassemi <hghassemi at uievolution.com> at
2007-09-19 13:53:34 -------\nClosed\n\n------- Append additional
comments below -------', 'alias': None, 'assigned_to': 96, 'resolution':
'FIXED', 'op_sys': 'Windows XP'}}
      self: <replicator.replicator instance at 0xb7cb1e0c>
  File "/opt/p4dti/replicator.py", line 1871, in
translate_issue_p4_to_dt
    dt_value = trans.translate_1_to_0(
    locals:
      dt_field: 'bug_status'
      dt_value: 'Infrastructure'
      issue: {'p4dti': {'bug_id': 25580, 'migrated': None, 'rid':
'replicator0', 'jobname': 'bug25580', 'sid': 'perforce0'}, 'bug':
{'status_whiteboard': '', 'reporter_accessible': 1, 'groups': [],
'bug_file_loc': '', 'rep_platform': 'Other', 'lastdiffed': '2007-09-19
13:53:34', 'deadline': None, 'keywords': '', 'votes': 0,
'cclist_accessible': 1, 'bug_status': 'CLOSED', 'short_desc': 'Check in
p4dti', 'priority': 'TRIAGE', 'estimated_time': 0.0, 'version':
'unspecified', 'cf_uie_found_in': '', 'product': 'Infrastructure',
'qa_contact': 96, 'reporter': 127, 'component': 'Source Control',
'bug_severity': 'trivial', 'remaining_time': 0.0, 'bug_id': 25580,
'delta_ts': '2007-09-19 13:53:34', 'creation_ts': '2007-09-19 12:45:06',
'target_milestone': '---', 'everconfirmed': 1, 'cf_uie_fixed_in': '',
'longdesc': 'Check in p4dti in perforce.\n\n------- Hamid Ghassemi
<hghassemi at uievolution.com> at 2007-09-19 13:46:42 -------\nconfig.py
and p4.py need to reflect changes for UIE\n\n------- Hamid Ghassemi
<hghassemi at uievolution.com> at 2007-09-19 13:51:40 -------\nCode is
verified\n\n------- Hamid Ghassemi <hghassemi at uievolution.com> at
2007-09-19 13:53:34 -------\nClosed\n\n------- Append additional
comments below -------', 'alias': None, 'assigned_to': 96, 'resolution':
'FIXED', 'op_sys': 'Windows XP'}}
      p4_value: 'ignore'
      job: {'Status': 'bugzilla_closed', 'P4DTI-user': 'hghassemi',
'Product': 'Infrastructure\n', 'code': 'stat', 'Description': 'Check in
p4dti in perforce.\n\n------- Hamid Ghassemi <hghassemi at uievolution.com>
at 2007-09-19 13:46:42 -------\nconfig.py and p4.py need to reflect
changes for UIE\n\n------- Hamid Ghassemi <hghassemi at uievolution.com> at
2007-09-19 13:51:40 -------\nCode is verified\n\n------- Hamid Ghassemi
<hghassemi at uievolution.com> at 2007-09-19 13:53:34
-------\nClosed\n\n------- Append additional comments below -------\n',
'P4DTI-rid': 'replicator0', 'Component': 'Source Control\n', 'Summary':
'Check in p4dti\n', 'Priority': 'TRIAGE', 'Job': 'bug25580',
'Assigned_To': 'hghassemi', 'Date': '2007/09/19 16:06:43',
'P4DTI-issue-id': '25580', 'Resolution': 'FIXED', 'Severity': 'trivial'}
      p4_field: 'Status'
      trans: <dt_bugzilla.status_translator instance at 0xb7cb1d2c>
      changes: {}
      self: <replicator.replicator instance at 0xb7cb1e0c>
  File "/opt/p4dti/dt_bugzilla.py", line 999, in translate_1_to_0
    raise error, catalog.msg(510, p4_status)
    locals:
      p4: <replicator.dt_perforce instance at 0xb7cb1c0c>
      self: <dt_bugzilla.status_translator instance at 0xb7cb1d2c>
      p4_status: 'ignore'
      job: {'Status': 'bugzilla_closed', 'P4DTI-user': 'hghassemi',
'Product': 'Infrastructure\n', 'code': 'stat', 'Description': 'Check in
p4dti in perforce.\n\n------- Hamid Ghassemi <hghassemi at uievolution.com>
at 2007-09-19 13:46:42 -------\nconfig.py and p4.py need to reflect
changes for UIE\n\n------- Hamid Ghassemi <hghassemi at uievolution.com> at
2007-09-19 13:51:40 -------\nCode is verified\n\n------- Hamid Ghassemi
<hghassemi at uievolution.com> at 2007-09-19 13:53:34
-------\nClosed\n\n------- Append additional comments below -------\n',
'P4DTI-rid': 'replicator0', 'Component': 'Source Control\n', 'Summary':
'Check in p4dti\n', 'Priority': 'TRIAGE', 'Job': 'bug25580',
'Assigned_To': 'hghassemi', 'Date': '2007/09/19 16:06:43',
'P4DTI-issue-id': '25580', 'Resolution': 'FIXED', 'Severity': 'trivial'}
      issue: {'p4dti': {'bug_id': 25580, 'migrated': None, 'rid':
'replicator0', 'jobname': 'bug25580', 'sid': 'perforce0'}, 'bug':
{'status_whiteboard': '', 'reporter_accessible': 1, 'groups': [],
'bug_file_loc': '', 'rep_platform': 'Other', 'lastdiffed': '2007-09-19
13:53:34', 'deadline': None, 'keywords': '', 'votes': 0,
'cclist_accessible': 1, 'bug_status': 'CLOSED', 'short_desc': 'Check in
p4dti', 'priority': 'TRIAGE', 'estimated_time': 0.0, 'version':
'unspecified', 'cf_uie_found_in': '', 'product': 'Infrastructure',
'qa_contact': 96, 'reporter': 127, 'component': 'Source Control',
'bug_severity': 'trivial', 'remaining_time': 0.0, 'bug_id': 25580,
'delta_ts': '2007-09-19 13:53:34', 'creation_ts': '2007-09-19 12:45:06',
'target_milestone': '---', 'everconfirmed': 1, 'cf_uie_fixed_in': '',
'longdesc': 'Check in p4dti in perforce.\n\n------- Hamid Ghassemi
<hghassemi at uievolution.com> at 2007-09-19 13:46:42 -------\nconfig.py
and p4.py need to reflect changes for UIE\n\n------- Hamid Ghassemi
<hghassemi at uievolution.com> at 2007-09-19 13:51:40 -------\nCode is
verified\n\n------- Hamid Ghassemi <hghassemi at uievolution.com> at
2007-09-19 13:53:34 -------\nClosed\n\n------- Append additional
comments below -------', 'alias': None, 'assigned_to': 96, 'resolution':
'FIXED', 'op_sys': 'Windows XP'}}
      bz: <dt_bugzilla.dt_bugzilla instance at 0xb7cb1ccc>


(P4DTI-8534)  If you are having continued problems, please contact your
P4DTI
administrator <hghassemi at uievolution.com>.

_______________________________________________
P4DTI-discussion mailing list
P4DTI-discussion at ravenbrook.com
http://mailman.ravenbrook.com/mailman/listinfo/p4dti-discussion



More information about the P4DTI-discussion mailing list