Status Graveyard
Server Operations
6 years ago
3 years ago


(Reporter: Yoric, Assigned: bhearsum)




(1 attachment)

I have just attempted twice to push to tryserver. I was rejected both times, with the following message:

$hg push -f try
pushing to ssh://
searching for changes
remote: adding changesets
remote: adding manifests
remote: adding file changes
remote: added 1 changesets with 9 changes to 10 files (+1 heads)
remote: Looks like you used try syntax, going ahead with the push.
remote: If you don't get what you expected, check for help with building your trychooser request.
remote: Thanks for helping save resources, you're the best!
remote: Trying to insert into pushlog.
remote: Please do not interrupt...
remote: error: pretxnchangegroup.z_loghistory hook raised an exception: column rev is not unique
remote: transaction abort!
remote: rollback completed
remote: ** unknown exception encountered, details follow
remote: ** report bug details to
remote: ** or
remote: ** Python 2.4.3 (#1, Apr 14 2011, 20:42:01) [GCC 4.1.2 20080704 (Red Hat 4.1.2-50)]
remote: ** Mercurial Distributed SCM (version 1.5.4)
remote: ** Extensions loaded: hgwebjson, pushlog-feed, buglink
remote: Traceback (most recent call last):
remote:   File "/usr/bin/hg", line 27, in ?
remote:   File "/usr/lib/python2.4/site-packages/mercurial/", line 16, in run
remote:     sys.exit(dispatch(sys.argv[1:]))
remote:   File "/usr/lib/python2.4/site-packages/mercurial/", line 30, in dispatch
remote:     return _runcatch(u, args)
remote:   File "/usr/lib/python2.4/site-packages/mercurial/", line 50, in _runcatch
remote:     return _dispatch(ui, args)
remote:   File "/usr/lib/python2.4/site-packages/mercurial/", line 471, in _dispatch
remote:     return runcommand(lui, repo, cmd, fullargs, ui, options, d)
remote:   File "/usr/lib/python2.4/site-packages/mercurial/", line 341, in runcommand
remote:     ret = _runcommand(ui, options, cmd, d)
remote:   File "/usr/lib/python2.4/site-packages/mercurial/", line 522, in _runcommand
remote:     return checkargs()
remote:   File "/usr/lib/python2.4/site-packages/mercurial/", line 476, in checkargs
remote:     return cmdfunc()
remote:   File "/usr/lib/python2.4/site-packages/mercurial/", line 470, in <lambda>
remote:     d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
remote:   File "/usr/lib/python2.4/site-packages/mercurial/", line 401, in check
remote:     return func(*args, **kwargs)
remote:   File "/usr/lib/python2.4/site-packages/mercurial/", line 2904, in serve
remote:     s.serve_forever()
remote:   File "/usr/lib/python2.4/site-packages/mercurial/", line 45, in serve_forever
remote:     while self.serve_one():
remote:   File "/usr/lib/python2.4/site-packages/mercurial/", line 57, in serve_one
remote:     impl()
remote:   File "/usr/lib/python2.4/site-packages/mercurial/", line 208, in do_unbundle
remote:     r = self.repo.addchangegroup(fp, 'serve', self.client_url())
remote:   File "/usr/lib/python2.4/site-packages/mercurial/", line 2120, in addchangegroup
remote:     url=url, pending=p)
remote:   File "/usr/lib/python2.4/site-packages/mercurial/", line 152, in hook
remote:     return hook.hook(self.ui, self, name, throw, **args)
remote:   File "/usr/lib/python2.4/site-packages/mercurial/", line 142, in hook
remote:     r = _pythonhook(ui, repo, name, hname, hookfn, args, throw) or r
remote:   File "/usr/lib/python2.4/site-packages/mercurial/", line 68, in _pythonhook
remote:     r = obj(ui=ui, repo=repo, hooktype=name, **args)
remote:   File "/usr/lib/python2.4/site-packages/mozhghooks/", line 79, in log
remote:     (pushid, ctx.rev(), hex(ctx.node())))
remote: pysqlite2.dbapi2.IntegrityError: column rev is not unique
abort: unexpected response: empty string

On my side, I have Mercurial 1.9.1, on a Macintosh, from the Paris office, on wifi Mozilla.

I have tested again after a successful hg pull && hg update. After 7 minutes without activity, I interrupted the communication:

$hg push -f try
pushing to ssh://
searching for changes
remote: waiting for lock on repository /repo/hg/mozilla/try held by ''
remote: Killed by signal 2.

Subsequent attempts yielded similar results.
Assignee: nobody → server-ops
Component: Hg: Customizations → Server Operations
QA Contact: hg.customizations → cshields
Created attachment 576150 [details]
Full backtrace

Additional notes:
- I can push to my queue without any problem
- on my latest attempt, it gave up after 13 minutes, with the attached message.

Comment 2

6 years ago
Rail, might this be bug 697802 at it was checked in in this morning?

Comment 3

6 years ago
More reports of this on #developers, raising to blocker.
Severity: normal → blocker
Assignee: server-ops → ashish

Comment 4

6 years ago
(In reply to Ed Morley [:edmorley] from comment #2)
> Rail, might this be bug 697802 at it was checked in in this morning?

I don't think this is related to that - it doesn't touch the hg server side of things at all.
Removed the bogus commits. Should be able to push to try now.
Last Resolved: 6 years ago
Resolution: --- → FIXED

Comment 6

6 years ago
Dammit, removing those commits from the pushlog seems to have broken the pollers. Working to fix that.
Assignee: ashish → bhearsum
Resolution: FIXED → ---

Comment 7

6 years ago
Fixed the poller through the manhole:
>>>[24].lastChangeset = u'587bd6d86427'

Jobs are running now.
Last Resolved: 6 years ago6 years ago
Resolution: --- → FIXED
Product: → Graveyard
You need to log in before you can comment on or make changes to this bug.