Bug 723156 - hwcert bot should restore the needinfo flag on reviewer if the person who last updated the cert is not a reviewer.
Summary: hwcert bot should restore the needinfo flag on reviewer if the person who las...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Hardware Certification Program
Classification: Retired
Component: Reviewer Tools (work queues)
Version: 6.1
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ---
Assignee: Wei Shen
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-19 09:04 UTC by Jianwei Weng
Modified: 2014-06-23 01:33 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-10-27 02:32:24 UTC


Attachments (Terms of Use)

Description Jianwei Weng 2011-07-19 09:04:54 UTC
For now the bot will restore the needinfo on reviewer if the person who last updated the cert is non-redhat people,i think it's not accurate,sometime TAM will help to upload some packages on behalf of vendor or place some comments for reviewer for further action,but if they forget to set the needinfo on reviewer,bot will not help to do so since TAM is not non-redhat people.

-wjw

Comment 1 Rob Landry 2011-07-20 14:27:11 UTC
People are in accurate yes, however we should not have every non-reviewer action require a reviewer response.  If a package is uploaded the package review flag should be set such that the package is reviewed.  This is recorded separately from the needinfo which is only about dialog.  eg. that a question was asked of the review team.

Comment 2 Jianwei Weng 2011-07-21 02:11:52 UTC
(In reply to comment #1)
> People are in accurate yes, however we should not have every non-reviewer
> action require a reviewer response.  If a package is uploaded the package
> review flag should be set such that the package is reviewed.  This is recorded
> separately from the needinfo which is only about dialog.  eg. that a question
> was asked of the review team.
the certs with pack_review flag will not appear in the pack_review queue unless the needinfo is set on reviewer meantime,i confirmed this with Weishen.
Please see this cert https://hardware.redhat.com/show.cgi?id=722316#c8
The package was uploaded on 2011-07-15 14:03 but it's not included in next work queue or pack_review queue,hence we didn't process it in time.

Thanks
-wjw

Comment 3 Wei Shen 2011-07-21 07:53:53 UTC
I have applied a patch for this, please check it.

Comment 4 Rob Landry 2011-07-21 14:03:02 UTC
Then hwcertbot is broken and it should be fixed.  Needinfo is not a prerequisite to package review.

Which issue was addressed by the patch?

Comment 5 Wei Shen 2011-07-25 05:47:59 UTC
this is caused by the missing rule for this situation in hwcertbot code, in the patch I added a new rule as  No.5005 in the flagChecker.pl, which deals with this the person who last updated cert is a redhat people but not reviewer( tam, etc.),and there is already a needinfo pending on vendor, and there is no needinfo pending on reviewer, and the cert is not closed, in this condition, bot will add needinfo to reviewer.  As in the design, if the cert is pending on vendor's response, it does not show up in next work queue.

Comment 6 Rob Landry 2011-07-25 20:46:17 UTC
Ok, so the root issue is waiting for a vendor response may impede reviewer progress or it may not and the bot can't tell the difference so it defers to a review to take a look?

Comment 7 Wei Shen 2011-07-26 06:15:41 UTC
correct, tam may upload results for vendors and forget to set needinfo on reviewer

Comment 8 Wei Shen 2011-10-27 02:32:24 UTC
2 more rules have been added to address :
5006 last update person is vendor, and  needinfo on tam and no needinfo on reviewer
5007 last update person is redhat people, and no needinfo on reviewer, needinfo on tam

thus all cases of the bug should be covered. This has been implemented in 2.1-12, and working well now, I am closing this bug.


Note You need to log in before you can comment on or make changes to this bug.