From 28949db47e56fa276bcc8f25fd9482a8c4eb155e Mon Sep 17 00:00:00 2001 From: Karmanyaah Malhotra Date: Sun, 5 Feb 2023 18:31:04 -0600 Subject: [PATCH] nixos/kubo: reenable FUSE test with workaround Update comment notice on broken fuse Co-authored-by: Luflosi --- nixos/tests/kubo.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/nixos/tests/kubo.nix b/nixos/tests/kubo.nix index 94aa24a9204f..9fba5e2d1f3c 100644 --- a/nixos/tests/kubo.nix +++ b/nixos/tests/kubo.nix @@ -50,12 +50,13 @@ import ./make-test-python.nix ({ pkgs, ...} : { machine.succeed("test ! -e /var/lib/ipfs/") # Test FUSE mountpoint + # The FUSE mount functionality is broken as of v0.13.0 and v0.17.0. + # See https://github.com/ipfs/kubo/issues/9044. + # Workaround: using CID Version 1 avoids that. ipfs_hash = fuse.succeed( - "echo fnord3 | ipfs --api /ip4/127.0.0.1/tcp/2324 add --quieter" + "echo fnord3 | ipfs --api /ip4/127.0.0.1/tcp/2324 add --quieter --cid-version=1" ) - # The FUSE mount functionality is broken as of v0.13.0. - # See https://github.com/ipfs/kubo/issues/9044. - # fuse.succeed(f"cat /ipfs/{ipfs_hash.strip()} | grep fnord3") + fuse.succeed(f"cat /ipfs/{ipfs_hash.strip()} | grep fnord3") ''; })