Summary
when commiting to the svn repo, the post-commit hook seems to fail
Metadata
- Id: adeb7108299a7f7bf912115f7c109419f4d8a27f
- Trac id: 259
- Type: defect
- Reporter: felix
- Owner: mario
- Cc:
- Status: closed
- Component: infrastructure
- Estimated difficulty:
- Resolution: fixed
- Priority: major
- Milestone:
- Version:
- Changetime: 2010-06-04 13:53:00 UTC
- Created: 2010-05-31 11:14:28 UTC
- Keywords: svn post-commit
Description
From a NetBSD machine:
% svn ci -m "tagged awk 1.2" Adding tags Adding tags/1.2 Committed revision 18265. Warning: post-commit hook failed (exit code 1) with no output.
Changes and comments
[2010-05-31 12:25:59 UTC] mario changed status from new to closed
[2010-05-31 12:25:59 UTC] mario set resolution to worksforme
[2010-05-31 12:25:59 UTC] mario wrote:
Hmmm. Weird. I can't reproduce this problem. The error you get may be because of some temporary network failure which made the connection to Moritz machine (which runs vandusen) fail.
I'll set this bug as worksforme and I'll try do do something to handle network failures better in post-commit-hook.
[2010-05-31 13:22:21 UTC] syn wrote:
Yes, it was my fault, I crashed vandusen yesterday and was too much in a hurry to make him work again. Mario will make the hook scripts handle situtations like this more gracefully. Sorry for the noise :)
[2010-06-03 09:29:57 UTC] felix changed priority from major to minor
[2010-06-03 09:29:57 UTC] felix changed status from closed to reopened
[2010-06-03 09:29:57 UTC] felix removed resolution worksforme
[2010-06-03 09:29:57 UTC] felix wrote:
Still happens.
[2010-06-03 09:57:53 UTC] felix changed priority from minor to major
[2010-06-03 09:57:53 UTC] felix wrote:
The git hook returns with an error as well:
% git push origin experimental
Counting objects: 15, done.
Compressing objects: 100% (9/9), done.
Writing objects: 100% (9/9), 1.46 KiB, done.
Total 9 (delta 7), reused 0 (delta 0)
error: hooks/post-receive exited with error code 1
To chicken@galinha.ucpel.tche.br:chicken-core.git
e1e8917..1dac007 experimental -> experimental
[2010-06-03 15:52:41 UTC] mario wrote:
I've set the SVN post-commit hook and Git post-receive hook to report success even if vandusen fails. Just tested on SVN and it seems to be working.
Let's see if this fix things.
[2010-06-04 13:53:00 UTC] felix changed status from reopened to closed
[2010-06-04 13:53:00 UTC] felix set resolution to fixed
[2010-06-04 13:53:00 UTC] felix wrote:
Looks good. Thanks very much, Mario.