Created on 2008-04-17.14:28:47 by mithrandi1, last changed 2009-10-23.22:39:26 by admin.
msg4244 (view) |
Author: mithrandi |
Date: 2008-04-17.14:28:45 |
|
After converting my repos to hashed inventory using darcs 2.0.0, I get
the following output from darcs check --verify-hashes:
darcs failed: Hash failed hash: /home/mithrandi/code/Fusion/trunk/_darcs/inventories/0000000820-a7b262b6d7c6d5acc790c8ac075bc4dfef04051fcfb02c66c8c87b3a47fea734
--
mithrandi, i Ainil en-Balandor, a faer Ambar
|
msg4299 (view) |
Author: zooko |
Date: 2008-04-22.18:35:01 |
|
mithrandi1: let's try to make a minimal test case out of this. Can you identify
what patch is it (perhaps by examining the file named in the failure message
that you quote) and generate a repository containing that patch and little else?
|
msg4304 (view) |
Author: mithrandi |
Date: 2008-04-22.20:28:28 |
|
* Zooko <bugs@darcs.net> [2008-04-22 18:35:03 -0000]:
> mithrandi1: let's try to make a minimal test case out of this. Can you identify
> what patch is it (perhaps by examining the file named in the failure message
> that you quote) and generate a repository containing that patch and little else?
Maybe I'm not understanding the failure message correctly; I thought it
indicated that the inventory file itself had the incorrect hash?
--
mithrandi, i Ainil en-Balandor, a faer Ambar
|
msg4413 (view) |
Author: kowey |
Date: 2008-04-30.19:42:14 |
|
mithrandi: Any chance you could attach the inventory file in question?
|
msg4415 (view) |
Author: mithrandi |
Date: 2008-04-30.21:14:00 |
|
* Eric Kow <bugs@darcs.net> [2008-04-30 19:42:15 -0000]:
> mithrandi: Any chance you could attach the inventory file in question?
It seems I don't have the exact repository that I reported on before,
but an equivalent error happens in the version I do have now:
darcs failed: Hash failed hash: /home/mithrandi/code/Fusion/trunk/_darcs/inventories/0000016680-0189c456ec9ada98141d31d7c7904c16fc67d192c1a6593012ad552c19c9595d
I'm attaching that inventory file.
--
mithrandi, i Ainil en-Balandor, a faer Ambar
Attachments
|
msg7001 (view) |
Author: thorkilnaur |
Date: 2009-01-06.16:52:22 |
|
Any volunteers willing to look further into this?
Thanks and best regards
Thorkil
|
msg8696 (view) |
Author: kowey |
Date: 2009-09-04.23:00:54 |
|
I piped Tristan's (mithrandi1) inventory file through gunzip | shasum -a 256 and
the hash matched.
So I don't have a good idea what we can do to get to the bottom of this. In the
meantime, Tristan, do you still get a hash verification failure with the latest
darcs? Maybe having the whole repository could give us some more clues?
In the meantime, I don't have a very good idea what bits of code actually
perform the hash check. I wasn't able to find the string 'hash failed' in the
source code for 2.0.2. I wonder how we're getting this message exactly.
Perhaps somebody could look into this and clarify?
|
msg8729 (view) |
Author: mithrandi |
Date: 2009-09-07.09:35:47 |
|
On Sat, Sep 5, 2009 at 1:00 AM, Eric Kow <bugs@darcs.net> wrote:
> So I don't have a good idea what we can do to get to the bottom of this. In the
> meantime, Tristan, do you still get a hash verification failure with the latest
> darcs? Maybe having the whole repository could give us some more clues?
The version I now have on my system is "2.3.0 (release)", which
doesn't appear to have "darcs check --verify-hashes" at all anymore.
Perhaps the code that implemented this was just buggy, but has since
been removed? I don't really understand what it was doing to begin
with, it just seemed like a useful thing to run as part of verifying
that everything went well with the conversion.
|
msg8730 (view) |
Author: kowey |
Date: 2009-09-07.09:47:05 |
|
On Mon, Sep 07, 2009 at 11:02:30 +0200, Tristan Seligmann wrote:
> The version I now have on my system is "2.3.0 (release)", which
> doesn't appear to have "darcs check --verify-hashes" at all anymore.
> Perhaps the code that implemented this was just buggy, but has since
> been removed? I don't really understand what it was doing to begin
> with, it just seemed like a useful thing to run as part of verifying
> that everything went well with the conversion.
Thanks! It looks like the feature was indeed removed with this patch:
Tue Apr 29 18:23:03 CEST 2008 David Roundy <droundy@darcs.net>
* remove unneeded --verify-hash flag (we always verify hashes).
Using darcs changes --tag . --from-p 'remove unneeded --verify'
I determined that this was likely removed in Darcs 2.0.2
Now the interesting thing is that we now claim that we're always
verifying these hashes. I'm not clear on what always means concretely,
but the fact that you haven't gotten a complaint from darcs since makes
me think it's safe to mark this bug presumed-dead (I'd say resolved, but
we don't know what actually got fixed).
|
|
Date |
User |
Action |
Args |
2008-04-17 14:28:48 | mithrandi1 | create | |
2008-04-19 17:14:44 | zooko | link | issue798 superseder |
2008-04-22 18:35:03 | zooko | set | priority: bug nosy:
+ zooko status: unread -> unknown messages:
+ msg4299 |
2008-04-22 20:28:30 | mithrandi1 | set | nosy:
tommy, beschmi, kowey, zooko, mithrandi1 messages:
+ msg4304 |
2008-04-30 19:42:15 | kowey | set | nosy:
+ dagit messages:
+ msg4413 |
2008-04-30 21:14:03 | mithrandi1 | set | files:
+ 0000016680-0189c456ec9ada98141d31d7c7904c16fc67d192c1a6593012ad552c19c9595d nosy:
tommy, beschmi, kowey, zooko, dagit, mithrandi1 messages:
+ msg4415 |
2009-01-06 16:52:25 | thorkilnaur | set | status: unknown -> needs-reproduction nosy:
+ dmitry.kurochkin, simon, thorkilnaur messages:
+ msg7001 |
2009-08-06 21:02:32 | admin | set | nosy:
- beschmi |
2009-08-11 00:10:22 | admin | set | nosy:
- dagit |
2009-08-25 17:38:15 | admin | set | nosy:
+ darcs-devel, - simon |
2009-08-27 14:14:28 | admin | set | nosy:
tommy, kowey, darcs-devel, zooko, thorkilnaur, dmitry.kurochkin, mithrandi1 |
2009-09-04 23:00:58 | kowey | set | status: needs-reproduction -> waiting-for nosy:
tommy, kowey, darcs-devel, zooko, thorkilnaur, dmitry.kurochkin, mithrandi1 topic:
+ Hashed messages:
+ msg8696 assignedto: mithrandi1 |
2009-09-07 09:35:49 | mithrandi1 | set | nosy:
tommy, kowey, darcs-devel, zooko, thorkilnaur, dmitry.kurochkin, mithrandi1 messages:
+ msg8729 |
2009-09-07 09:47:07 | kowey | set | status: waiting-for -> given-up nosy:
tommy, kowey, darcs-devel, zooko, thorkilnaur, dmitry.kurochkin, mithrandi1 messages:
+ msg8730 |
2009-10-23 22:39:24 | admin | set | assignedto: mithrandi1 -> mithrandi nosy:
+ mithrandi |
2009-10-23 22:39:26 | admin | set | nosy:
- mithrandi1 |
|