Closed Bug 704472 Opened 13 years ago Closed 13 years ago

Cannot push to TryServer

Categories

(mozilla.org Graveyard :: Server Operations, task)

x86
macOS
task
Not set
blocker

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Yoric, Assigned: bhearsum)

References

Details

Attachments

(1 file)

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://hg.mozilla.org/try
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 http://trychooser.pub.build.mozilla.org/ 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 http://mercurial.selenic.com/bts/
remote: ** or mercurial@selenic.com
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:     mercurial.dispatch.run()
remote:   File "/usr/lib/python2.4/site-packages/mercurial/dispatch.py", line 16, in run
remote:     sys.exit(dispatch(sys.argv[1:]))
remote:   File "/usr/lib/python2.4/site-packages/mercurial/dispatch.py", line 30, in dispatch
remote:     return _runcatch(u, args)
remote:   File "/usr/lib/python2.4/site-packages/mercurial/dispatch.py", line 50, in _runcatch
remote:     return _dispatch(ui, args)
remote:   File "/usr/lib/python2.4/site-packages/mercurial/dispatch.py", line 471, in _dispatch
remote:     return runcommand(lui, repo, cmd, fullargs, ui, options, d)
remote:   File "/usr/lib/python2.4/site-packages/mercurial/dispatch.py", line 341, in runcommand
remote:     ret = _runcommand(ui, options, cmd, d)
remote:   File "/usr/lib/python2.4/site-packages/mercurial/dispatch.py", line 522, in _runcommand
remote:     return checkargs()
remote:   File "/usr/lib/python2.4/site-packages/mercurial/dispatch.py", line 476, in checkargs
remote:     return cmdfunc()
remote:   File "/usr/lib/python2.4/site-packages/mercurial/dispatch.py", line 470, in <lambda>
remote:     d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
remote:   File "/usr/lib/python2.4/site-packages/mercurial/util.py", line 401, in check
remote:     return func(*args, **kwargs)
remote:   File "/usr/lib/python2.4/site-packages/mercurial/commands.py", line 2904, in serve
remote:     s.serve_forever()
remote:   File "/usr/lib/python2.4/site-packages/mercurial/sshserver.py", line 45, in serve_forever
remote:     while self.serve_one():
remote:   File "/usr/lib/python2.4/site-packages/mercurial/sshserver.py", line 57, in serve_one
remote:     impl()
remote:   File "/usr/lib/python2.4/site-packages/mercurial/sshserver.py", line 208, in do_unbundle
remote:     r = self.repo.addchangegroup(fp, 'serve', self.client_url())
remote:   File "/usr/lib/python2.4/site-packages/mercurial/localrepo.py", line 2120, in addchangegroup
remote:     url=url, pending=p)
remote:   File "/usr/lib/python2.4/site-packages/mercurial/localrepo.py", line 152, in hook
remote:     return hook.hook(self.ui, self, name, throw, **args)
remote:   File "/usr/lib/python2.4/site-packages/mercurial/hook.py", 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/hook.py", line 68, in _pythonhook
remote:     r = obj(ui=ui, repo=repo, hooktype=name, **args)
remote:   File "/usr/lib/python2.4/site-packages/mozhghooks/pushlog.py", 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://hg.mozilla.org/try
searching for changes
^Cinterrupted!
remote: waiting for lock on repository /repo/hg/mozilla/try held by 'dm-svn02.mozilla.org:24496'
remote: Killed by signal 2.

Subsequent attempts yielded similar results.
Assignee: nobody → server-ops
Component: Hg: Customizations → Server Operations
QA Contact: hg.customizations → cshields
Attached file Full backtrace
Additional notes:
- I can push to my queue without any problem
   ssh://hg.mozilla.org/users/dteller_mozilla.com/queue
- on my latest attempt, it gave up after 13 minutes, with the attached message.
Rail, might this be bug 697802 at it was checked in in this morning?
More reports of this on #developers, raising to blocker.
Severity: normal → blocker
Assignee: server-ops → ashish
(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.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Dammit, removing those commits from the pushlog seems to have broken the pollers. Working to fix that.
Assignee: ashish → bhearsum
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Fixed the poller through the manhole:
>>> master.change_svc.services[24].branch
'try'
>>> master.change_svc.services[24].lastChangeset
u'673eca27d6c7260e24624098c1ce0f5196e1feb1'
>>> master.change_svc.services[24].lastChangeset = u'587bd6d86427'


Jobs are running now.
Status: REOPENED → RESOLVED
Closed: 13 years ago13 years ago
Resolution: --- → FIXED
Product: mozilla.org → mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: