guix gc --verify=repair,contents does not repair store

OpenSubmitted by Jack Hill.
Details
2 participants
  • Jack Hill
  • Tobias Geerinckx-Rice
Owner
unassigned
Severity
normal
J
J
Jack Hill wrote on 27 Feb 22:54 +0100
(address . bug-guix@gnu.org)
alpine.DEB.2.21.2202271650480.9433@marsh.hcoop.net
Hi Guix,

Repeated invocations of `guix gc --verify=repair,contents` repeatedly
tries to repair the same store items, but they don't actually seem to be
repaired. My store is on btrfs and the btrfs tools seem to report a
healthy filesystem. I've attached the contents of one of the problematic
items.

Best,
Jack

"""
jackhill@leyden ~$ sudo btrfs scrub start /
Password:
scrub started on /, fsid c88f1821-33e9-4722-aa7e-11c02d965c09 (pid=25320)
jackhill@leyden ~$ sudo btrfs scrub status /
UUID: c88f1821-33e9-4722-aa7e-11c02d965c09
Scrub started: Sun Feb 27 16:45:05 2022
Status: finished
Duration: 0:00:15
Total to scrub: 19.89GiB
Rate: 1.33GiB/s
Error summary: no errors found
jackhill@leyden ~$ sudo guix gc --verify=contents,repair
reading the store...
checking path existence...
checking hashes...
path `/gnu/store/ds4za93rjs58lm7wbpsi8b9ikhc1jpp0-guix-system' was modified! expected hash `58daf21fb016b504cb197176ac52feb90b6f43321e01e09c91c0e5216b37582b', got `13a0fc8605b813ac19e398c9403125838764c34a753b220fdc259899da5b68e6'
fetching path `/gnu/store/ds4za93rjs58lm7wbpsi8b9ikhc1jpp0-guix-system'...
guix-system 5.7MiB 1.2MiB/s 00:05 [##################] 100.0%

path `/gnu/store/gfgqkqqd8xqbizjsamkc65jhz7i2630d-guix-system' was modified! expected hash `3ed547a38286905a532f64b59838e926f35ec312156e3175cd93f45bf8bfced0', got `e11c1741db142e2221e651ca79b1703b34c17a3f94315090ba46412be51051f6'
fetching path `/gnu/store/gfgqkqqd8xqbizjsamkc65jhz7i2630d-guix-system'...
guix-system 5.7MiB 3.7MiB/s 00:02 [##################] 100.0%

path `/gnu/store/hdxvwlsr85lib2g1q402dq39v50la5pb-guix-07c3a4395-modules' was modified! expected hash `4f229fb7d1843e0bc66403de592c0d1e70bbe36efbc31c37f0dacddba5bd0501', got `fe6d804265cd521fe508f5695a3660c729624ce18134449d253c4ddbcacbc536'
fetching path `/gnu/store/hdxvwlsr85lib2g1q402dq39v50la5pb-guix-07c3a4395-modules'...
guix-07c3a4395-modules 25.2MiB 4.3MiB/s 00:06 [##################] 100.0%

path `/gnu/store/js55nbs8ahamysqqmirgidwxb66qbcky-guix-packages-base' was modified! expected hash `27f5dd7e8d808ecf54ebe859e1aa2deec8a14db218151382910b12f418430ad8', got `8735e8e436cac162ee3081f7205f335f0f4939cd57ddfee607761678ed1ff958'
fetching path `/gnu/store/js55nbs8ahamysqqmirgidwxb66qbcky-guix-packages-base'...
guix-packages-base 13.6MiB 1.0MiB/s 00:14 [##################] 100.0%

path `/gnu/store/lhgdljbqr3l97q07sax22dllwx65ag3n-guix-d1ca5b837-modules' was modified! expected hash `e3cd4fb27e842fc1e8992a9cfa2807ef290d15e7ea572f7cf05cb9055223391c', got `8d287e1d055bf844e43213fc796e8826546e252d2d1f5ec751ad54228eb6e49b'
fetching path `/gnu/store/lhgdljbqr3l97q07sax22dllwx65ag3n-guix-d1ca5b837-modules'...
guix-d1ca5b837-modules 25.1MiB 1.6MiB/s 00:15 [##################] 100.0%

path `/gnu/store/z4b29xz5zkky3y09bmzb3wc5ksvblv9s-guix-packages-base' was modified! expected hash `24275dac5f96a3b1d82431f8b608fe5536a4215a5502b559c0a75d760a4040d5', got `afac28abcbaea987b28216ed7ce476e12af6ce1fb18b223ab1ef3672ea67a713'
fetching path `/gnu/store/z4b29xz5zkky3y09bmzb3wc5ksvblv9s-guix-packages-base'...
guix-packages-base 13.6MiB 1.1MiB/s 00:12 [##################] 100.0%

jackhill@leyden ~$ sudo guix gc --verify=contents,repair
reading the store...
checking path existence...
checking hashes...
path `/gnu/store/ds4za93rjs58lm7wbpsi8b9ikhc1jpp0-guix-system' was modified! expected hash `58daf21fb016b504cb197176ac52feb90b6f43321e01e09c91c0e5216b37582b', got `13a0fc8605b813ac19e398c9403125838764c34a753b220fdc259899da5b68e6'
fetching path `/gnu/store/ds4za93rjs58lm7wbpsi8b9ikhc1jpp0-guix-system'...
guix-system 5.7MiB 2.6MiB/s 00:02 [##################] 100.0%

path `/gnu/store/gfgqkqqd8xqbizjsamkc65jhz7i2630d-guix-system' was modified! expected hash `3ed547a38286905a532f64b59838e926f35ec312156e3175cd93f45bf8bfced0', got `e11c1741db142e2221e651ca79b1703b34c17a3f94315090ba46412be51051f6'
fetching path `/gnu/store/gfgqkqqd8xqbizjsamkc65jhz7i2630d-guix-system'...
guix-system 5.7MiB 3.4MiB/s 00:02 [##################] 100.0%

path `/gnu/store/hdxvwlsr85lib2g1q402dq39v50la5pb-guix-07c3a4395-modules' was modified! expected hash `4f229fb7d1843e0bc66403de592c0d1e70bbe36efbc31c37f0dacddba5bd0501', got `fe6d804265cd521fe508f5695a3660c729624ce18134449d253c4ddbcacbc536'
fetching path `/gnu/store/hdxvwlsr85lib2g1q402dq39v50la5pb-guix-07c3a4395-modules'...
guix-07c3a4395-modules 25.2MiB 1.4MiB/s 00:18 [##################] 100.0%

path `/gnu/store/js55nbs8ahamysqqmirgidwxb66qbcky-guix-packages-base' was modified! expected hash `27f5dd7e8d808ecf54ebe859e1aa2deec8a14db218151382910b12f418430ad8', got `8735e8e436cac162ee3081f7205f335f0f4939cd57ddfee607761678ed1ff958'
fetching path `/gnu/store/js55nbs8ahamysqqmirgidwxb66qbcky-guix-packages-base'...
guix-packages-base 13.6MiB 4.0MiB/s 00:03 [##################] 100.0%

path `/gnu/store/lhgdljbqr3l97q07sax22dllwx65ag3n-guix-d1ca5b837-modules' was modified! expected hash `e3cd4fb27e842fc1e8992a9cfa2807ef290d15e7ea572f7cf05cb9055223391c', got `8d287e1d055bf844e43213fc796e8826546e252d2d1f5ec751ad54228eb6e49b'
fetching path `/gnu/store/lhgdljbqr3l97q07sax22dllwx65ag3n-guix-d1ca5b837-modules'...
guix-d1ca5b837-modules 25.1MiB 1.6MiB/s 00:16 [##################] 100.0%

path `/gnu/store/z4b29xz5zkky3y09bmzb3wc5ksvblv9s-guix-packages-base' was modified! expected hash `24275dac5f96a3b1d82431f8b608fe5536a4215a5502b559c0a75d760a4040d5', got `afac28abcbaea987b28216ed7ce476e12af6ce1fb18b223ab1ef3672ea67a713'
fetching path `/gnu/store/z4b29xz5zkky3y09bmzb3wc5ksvblv9s-guix-packages-base'...
guix-packages-base 13.6MiB 3.8MiB/s 00:04 [##################] 100.0%

jackhill@leyden ~$
"""
T
T
Tobias Geerinckx-Rice wrote on 28 Feb 16:37 +0100
(address . 54192@debbugs.gnu.org)
1b6954617d95a8e4c37ef151b74fe781@tobias.gr
Hi Jack,

nckx here. Thanks for reporting this bug, and thanks for including
information that might help fix it.

Unfortunately — another word for ‘base64’ — this makes your message a
whopping 20 MiB in size. We really can't send that out to all
subscribers, some of which might be on slow and/or expensive
connections.

That's all right: your report is still accessible at
https://issues.guix.gnu.org/54192, including the attachment. It's a
bit slow to render here but I think the extra info's worth it.

Kind regards,

T G-R

Sent from a Web browser. Excuse or enjoy my brevity.
?