anyone can give a hint or advice on this issue I stumbled across ? somehwere I did go wrong ? I
the hg gate has a changegroup.update hook defined in the gates .hg/hgrc file: [hooks] changegroup.update = /builds/batschul/zoss-gate/zoss-merge/.hg/incoming-hook the hook does email and this: # Update the repository working image to the tip hg update I wanted to have this hook run whenever a "push" is being made to this gate, I was not aware that it also fires o hg recommit (it did not on hg commit) now it happened that I went to merge with the master gate and during this I saw: kodiak.batschul./builds/batschul/zoss-gate/zoss-merge.=> hg merge merging usr/src/lib/libzonecfg/common/libzonecfg.c 1160 files updated, 1 files merged, 129 files removed, 0 files unresolved (branch merge, don't forget to commit) kodiak.batschul./builds/batschul/zoss-gate/zoss-merge.=> hg commit kodiak.batschul./builds/batschul/zoss-gate/zoss-merge.=> hg recommit Do you want to backup files first? [Y/n]: y 227 changesets found saving bundle to /builds/batschul/zoss-gate/zoss-merge/.hg/strip-backup/5229a88f4fd3-temp waiting for lock on working directory of /builds/batschul/zoss-gate/zoss-merge held by 'kodiak:20516' abort: working directory of /builds/batschul/zoss-gate/zoss-merge: timed out waiting for lock held by kodiak:20516 and it stalled, looking at the procs I see: ps -eafd | grep 20516 batschul 17701 7167 0 01:59:16 pts/24 0:00 grep 20516 batschul 20516 20446 0 01:52:04 pts/5 1:06 /usr/bin/python2.4 /usr/bin/hg recommit batschul 22102 20516 0 01:55:29 pts/5 0:00 /bin/sh /builds/batschul/zoss-gate/zoss-merge/.hg/incoming-hook kodiak.batschul./home/batschul.=> truss -efal -p 22102 22102/1: psargs: /bin/sh /builds/batschul/zoss-gate/zoss-merge/.hg/incoming-hook 22102/1: waitid(P_ALL, 0, 0xFFBFE568, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED) (sleeping...) ^Ckodiak.batschul./home/batschul.=> truss -efal -p 20516 20516/1: psargs: /usr/bin/python2.4 /usr/bin/hg recommit 20516/1: waitid(P_PID, 22102, 0xFFBFC688, WEXITED|WTRAPPED) (sleeping...) kodiak.batschul./home/batschul.=> ptree 20516 1306 /usr/lib/ssh/sshd 29418 /usr/lib/ssh/sshd 29488 /usr/lib/ssh/sshd 1942 -csh 20446 /bin/csh 20516 /usr/bin/python2.4 /usr/bin/hg recommit 22102 /bin/sh /builds/batschul/zoss-gate/zoss-merge/.hg/incoming-hook 22106 /usr/bin/python2.4 /usr/bin/hg update and the hg update proc trying todo: kodiak.batschul./home/batschul.=> truss -efal -p 22106 22106/1: psargs: /usr/bin/python2.4 /usr/bin/hg update 22106/1: pollsys(0xFFBFC6A8, 0, 0xFFBFC710, 0x00000000) = 0 22106/1: getpid() = 22106 [22102] 22106/1: symlink("kodiak:22106", "/builds/batschul/zoss-gate/zoss-merge/.hg/wlock") Err#17 EEXIST 22106/1: readlink("/builds/batschul/zoss-gate/zoss-merge/.hg/wlock", "kodiak:20516", 1024) = 12 22106/1: kill(20516, SIG#0) = 0 eventually it gave up: abort: working directory of /builds/batschul/zoss-gate/zoss-merge: timed out waiting for lock held by kodiak:20516 SCM detected: mercurial File list from: hg-active -p file:///builds/batschul/zoss-gate/onnv ...Traceback (most recent call last): File "/ws/onnv-tools/onbld/bin/hg-active", line 125, in ? main(sys.argv[1:]) File "/ws/onnv-tools/onbld/bin/hg-active", line 86, in main act = ws.active(parentpath) File "/opt/onbld/lib/python/onbld/Scm/WorkSpace.py", line 624, in active localtip = self._localtip(outnodes, self.workingctx()) File "/opt/onbld/lib/python/onbld/Scm/WorkSpace.py", line 492, in _localtip if (wctx.files() or len(wctx.parents()) > 1 or File "/usr/lib/python2.4/vendor-packages/mercurial/context.py", line 578, in files return sorted(self._status[0] + self._status[1] + self._status[2]) File "/usr/lib/python2.4/vendor-packages/mercurial/util.py", line 150, in __get__ result = self.func(obj) File "/usr/lib/python2.4/vendor-packages/mercurial/context.py", line 554, in _status return self._repo.status(unknown=True) File "/usr/lib/python2.4/vendor-packages/mercurial/localrepo.py", line 995, in status ctx1 = self[node1] File "/usr/lib/python2.4/vendor-packages/mercurial/localrepo.py", line 123, in __getitem__ return context.changectx(self, changeid) File "/usr/lib/python2.4/vendor-packages/mercurial/context.py", line 28, in __init__ self._rev = self._repo.changelog.rev(self._node) File "/usr/lib/python2.4/vendor-packages/mercurial/revlog.py", line 509, in rev raise LookupError(node, self.indexfile, _('no node')) mercurial.error.LookupError: 00changelo...@987d62193e02: no node /usr/bin/nawk: can't open file /tmp/18514.active source line number 6 Done. Can't open /tmp/18514.active Traceback (most recent call last): File "/ws/onnv-tools/onbld/bin/hg-active", line 125, in ? main(sys.argv[1:]) File "/ws/onnv-tools/onbld/bin/hg-active", line 86, in main act = ws.active(parentpath) File "/opt/onbld/lib/python/onbld/Scm/WorkSpace.py", line 624, in active localtip = self._localtip(outnodes, self.workingctx()) File "/opt/onbld/lib/python/onbld/Scm/WorkSpace.py", line 492, in _localtip if (wctx.files() or len(wctx.parents()) > 1 or File "/usr/lib/python2.4/vendor-packages/mercurial/context.py", line 578, in files return sorted(self._status[0] + self._status[1] + self._status[2]) File "/usr/lib/python2.4/vendor-packages/mercurial/util.py", line 150, in __get__ result = self.func(obj) File "/usr/lib/python2.4/vendor-packages/mercurial/context.py", line 554, in _status return self._repo.status(unknown=True) File "/usr/lib/python2.4/vendor-packages/mercurial/localrepo.py", line 995, in status ctx1 = self[node1] File "/usr/lib/python2.4/vendor-packages/mercurial/localrepo.py", line 123, in __getitem__ return context.changectx(self, changeid) File "/usr/lib/python2.4/vendor-packages/mercurial/context.py", line 28, in __init__ self._rev = self._repo.changelog.rev(self._node) File "/usr/lib/python2.4/vendor-packages/mercurial/revlog.py", line 509, in rev raise LookupError(node, self.indexfile, _('no node')) mercurial.error.LookupError: 00changelo...@987d62193e02: no node -- This message posted from opensolaris.org _______________________________________________ tools-discuss mailing list tools-discuss@opensolaris.org