gerrit seams to fail accepting my patches due to multiple accounts merged in the past

Description

Gerrit seams to fail accepting my patches due to multiple accounts merged in the past with this error:
[stirabos@t440s ovirt-setup-lib] $ git push gerrit.ovirt.org:ovirt-setup-lib HEAD:refs/for/master/interface
Counting objects: 5, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (5/5), done.
Writing objects: 100% (5/5), 626 bytes | 0 bytes/s, done.
Total 5 (delta 3), reused 0 (delta 0)
remote: Resolving deltas: 100% (3/3)
remote: Processing changes: refs: 2, done
To gerrit.ovirt.org:ovirt-setup-lib
! [remote rejected] HEAD -> refs/for/master/interface (internal server error: java.lang.IllegalArgumentException: expected one element but was: <1000926, 1000532, 1000798>)
error: failed to push some refs to 'gerrit.ovirt.org:ovirt-setup-lib'

Where 1000926, 1000532, 1000798 are my identities merged in the past.
A lot of web actions (edit a patch, rebasing and so on) are failing as well due to the same issue.

The patch, at the end, instead is in gerrit but bugzilla didn't get automatically updated as expected.

Activity

Show:

Simone Tiraboschi May 24, 2017 at 4:08 PM

OK, it seams fine now. Thanks!

Former user May 24, 2017 at 2:16 PM

Hi,

There were 3 accounts (1 active and the other 2 inactive) with preferred_email (the 'reviewers' plugin has problem to handle accounts with more than one preferred email)
I updated the preferred_email of the 2 inactive accounts to NULL (this should solve the issue)

Please let me know if you need any further assistance.

BR,

Shlomi Ben-David

Eyal Edri May 24, 2017 at 1:41 PM

You have only one active identity:
account_id | full_name | preferred_email | registered_on | inactive | ex_ids | changes | comments
--------------------------------------------------+---------------------------------------------------------------
1000532 | Simone Tiraboschi | stirabos@redhat.com | 2014-01-19 17:13:11.13-05 | N | 7 | 905 | 5799
1000798 | Simone Tiraboschi | stirabos@redhat.com | 2015-04-22 03:43:10.411-04 | Y | 0 | 0 | 0
1000926 | Simone Tiraboschi | stirabos@redhat.com | 2015-06-11 03:28:14.148-04 | Y | 0 | 0 | 0

so 1000532 should be the active and relevant one, can you verify this is the one you're logged in with?

Fixed

Details

Assignee

Reporter

Components

Priority

Created May 24, 2017 at 1:32 PM
Updated June 1, 2017 at 11:31 AM
Resolved May 24, 2017 at 4:08 PM