Red Hat Bugzilla – Bug 846680
DATA LOST, tags at my test runs are lost
Last modified: 2016-05-22 18:59:42 EDT
Description of problem:
I uses tags at tcms test run, I was using colorDDDD, color6666 etc.
All of these tags were lost at all of my test run.
It was there yesterday or the day before yesterday.
Now its lost
Version-Release number of selected component (if applicable):
Nitrate 3.7.1 © 2012 Red Hat, Inc. All rights reserved.
Steps to Reproduce:
1. use tags at test runs
2. do nothing
Data lost is not user friendly and now I cannot determine if I didn't lost something more somewhere else.
I've met same situation longer time ago, many of my TestPlanRuns lost their tags,
nobody found whats wrong happened. Hope that now we found what happened there.
Do u guys find some step to reproduce this problem? So that we can debug more efficiently
(In reply to comment #0)
> Description of problem:
> I uses tags at tcms test run, I was using colorDDDD, color6666 etc.
> All of these tags were lost at all of my test run.
> It was there yesterday or the day before yesterday.
> Now its lost
First feel sorry to cause inconvenient,
And to solve this we also want some more information from you:
*how do you access your testrun, web or xmlrpc?
include using tags and updating testrun or testcase run
*can you provide some more tag names that lost?
we want to find out if they are really gone or dis-connected with your testrun.
tagname was: colorDDDD color9999
I access into tcms run over xmlrpc, time to time over web. Tags were there.
One of my last action was manually deleting last one run over web.
one more tag name what I used: color6666
(In reply to comment #4)
> tagname was: colorDDDD color9999
> I access into tcms run over xmlrpc, time to time over web. Tags were there.
> One of my last action was manually deleting last one run over web.
Thanks for your information, and we're working on it.
in my case it was tags tier and tiercandidate in testplanrun (it is longer time ago, several months) tried to solve it via tcms mailing list, didn't found reason whats happen. I also sometimes use removing testplanruns, but I think it is not connected together, due to I've used it still and nothing bad happen for several months.
I can imagine situation how it happened:
that there is some trigger, or cascade constrait, for example, that in case more testplanrun are deleted (in short period), that there can be some variable, or temporary table, which may be somehow damaged, when more deleting of testplanrun happen and something can think that there is no other testplan with similar tag, so cause removing testplanrun tag from all other runs?)
It is only some example, I don't know how tcms backend seems :-)
Thanks Petr and Honza for your detailed steps and kindly analysis.
Yes, we can reproduce this issue now. when deleting one test run with some tags, the other testruns from the same test plan will lose the tags.
We are fixing it now, and will provide a hot fix asap.
Verify 3.7.0-2 on stage -->PASS
1. Enter into one test plan.
2. Write two new runs, run1, run2.
3. Add some tags(tag1, tag2,...) to run1, run2.
4. Delete run1.
5. Check run2's tags.
All run2 tags are exist, and work well.