Last modified: 2013-02-01 13:59:55 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T45485, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 43485 - Code merged for core without verified score shown
Code merged for core without verified score shown
Status: NEW
Product: Wikimedia
Classification: Unclassified
Git/Gerrit (Other open bugs)
wmf-deployment
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
https://gerrit.wikimedia.org/r/#/c/40...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-12-28 13:12 UTC by Siebrand Mazeland
Modified: 2013-02-01 13:59 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
Screenshot showing the web page with scores. Verified checks missing (152.61 KB, image/png)
2012-12-28 13:12 UTC, Siebrand Mazeland
Details

Description Siebrand Mazeland 2012-12-28 13:12:44 UTC
Created attachment 11565 [details]
Screenshot showing the web page with scores. Verified checks missing

Something's wrong in Jenkins/Gerrit for core.

In https://gerrit.wikimedia.org/r/#/c/40994/ code is merged without any scores on verified.

As IAlex has probably made the actions that have led to this, I hope he can add some information on what went down.
Comment 1 Chad H. 2012-12-28 13:16:55 UTC
The Verified score is certainly there, it's just not showing (for some reason). Here's the relevant entries for patch_set_approvals:

gerrit> select * from patch_set_approvals where change_id = 40944;
 value | granted               | change_open | change_sort_key  | change_id | patch_set_id | account_id | category_id
 ------+-----------------------+-------------+------------------+-----------+--------------+------------+------------
 2     | 2012-12-27 21:33:30.0 | N           | 0022088d00009ff0 | 40944     | 1            | 137        | CRVW
 1     | 2012-12-27 21:33:30.0 | N           | 0022088d00009ff0 | 40944     | 1            | 137        | SUBM
 2     | 2012-12-27 21:33:30.0 | N           | 0022088d00009ff0 | 40944     | 1            | 137        | VRIF
(3 rows; 1 ms)

Still interesting why it wouldn't show.
Comment 2 Siebrand Mazeland 2012-12-28 13:30:57 UTC
Looking at https://gerrit.wikimedia.org/r/#/q/status:merged+project:mediawiki/core,n,z this seems to happen more often lately.
Comment 3 Alexandre Emsenhuber [IAlex] 2012-12-28 13:56:20 UTC
Verified was there when I merged the change. You can see the "Patch Set 2: No score" by jenkins-bot on the comment just after the merge that removed it.
Comment 4 Chad H. 2012-12-28 14:28:16 UTC
(In reply to comment #3)
> Verified was there when I merged the change. You can see the "Patch Set 2: No
> score" by jenkins-bot on the comment just after the merge that removed it.

But it didn't actually remove it (see the sql above). Scores of 0 aren't recorded in patch_set_approvals.
Comment 5 Chad H. 2013-02-01 13:59:55 UTC
This is a race condition that happens when Jenkins has already V+2 a commit, you CR+2 & Submit. Jenkins clears its review (V+0) for gate-and-submit jobs.

So yeah, Gerrit should handle this race condition better, but it's not a huge deal (stuff isn't getting merged that shouldn't be merged). Lowering priority a bit.

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


Navigation
Links