Error while submiting result(pass/fail) for any test cases

Ask community to help.

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
rohitbobde
TestLink user
Posts: 1
Joined: Mon Dec 20, 2010 5:35 am

Error while submiting result(pass/fail) for any test cases

Post by rohitbobde »

Error: After executing testcases while saving the execution i.e. say Pass, Fail or Blocked we get the below error:
1062 - Duplicate entry '65221' for key 1 - INSERT INTO executions (build_id,tester_id,status,testplan_id,tcversion_id,execution_ts,notes) VALUES ( 192, 20, 'p',166700, 157209,'2010-12-17 16:57:32','')

Do you why this has caused and how to resolve this?
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Re: Error while submiting result(pass/fail) for any test cas

Post by fman »

jack090
Advanced user
Posts: 39
Joined: Tue Dec 21, 2010 4:16 pm

Re: Error while submiting result(pass/fail) for any test cas

Post by jack090 »

You may want do some SQL investigation by running the command directly against your sql db manually. I had a few problems using MSSQL and I had to declare the full path to my DB in the inserts. Such as: insert into dbo.testlink.executions (blah blah blah....)
Post Reply