Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sharness test failure #1243

Closed
whyrusleeping opened this issue May 18, 2015 · 9 comments
Closed

sharness test failure #1243

whyrusleeping opened this issue May 18, 2015 · 9 comments
Labels
kind/bug A bug in existing code (including security flaws) kind/test Testing work topic/fuse Topic fuse

Comments

@whyrusleeping
Copy link
Member

set my desktop to continually run tests on master over and over again, came back to find it had failed here.

./t0030-mount.sh
ok 1 - ipfs init succeeds
ok 2 - prepare config -- mounting and bootstrap rm
ok 3 - 'ipfs daemon' succeeds
ok 4 - 'ipfs daemon' is ready
ok 5 - 'ipfs daemon' output includes Gateway address
ok 6 - 'ipfs mount' fails when there is no mount dir
ok 7 - 'ipfs mount' output looks good
ok 8 - 'ipfs mount' succeeds
ok 9 - 'ipfs mount' output looks good
ok 10 - mount directories cannot be removed while active
ok 11 - 'ipfs daemon' is still running
ok 12 - 'ipfs daemon' can be killed
not ok 13 - mount directories can be removed after shutdown
#   
#       rmdir ipfs ipns
#   
# failed 1 among 13 test(s)
1..13
@whyrusleeping whyrusleeping added kind/bug A bug in existing code (including security flaws) kind/test Testing work labels May 18, 2015
@jbenet
Copy link
Member

jbenet commented May 18, 2015

Yeah i sometimes see this-- any ideas? fuse stuck?

@chriscool
Copy link
Contributor

Yeah I also sometimes see this.
When this happens /dev/fuse is still mounted, though the daemon should have unmounted it before dying.

@whyrusleeping
Copy link
Member Author

I havent seen this for a while, but its likely thats because we don't run fuse tests hardly ever. I'll leave this open for now.

@whyrusleeping whyrusleeping added the topic/fuse Topic fuse label Aug 23, 2016
@jbenet
Copy link
Member

jbenet commented Aug 23, 2016

We should be running those always. Travis CI has supported fuse for a long
time now.

Cc @chriscool thoughts?
On Tue, Aug 23, 2016 at 17:33 Jeromy Johnson notifications@github.com
wrote:

I havent seen this for a while, but its likely thats because we don't run
fuse tests hardly ever. I'll leave this open for now.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#1243 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAIcocFsiG6I1PlsrTXFMBp3k7dy4Dsyks5qi2cngaJpZM4Efcoa
.

@chriscool
Copy link
Contributor

Yeah, we should have been doing that and we probably should have merged at least some parts of this PR that fixed fuse problems:

#2324

@wigy-opensource-developer
Copy link

wigy-opensource-developer commented Dec 14, 2016

This problem still exists. FUSE related tests are not automated. They do not seem to be run by anyone manually either.

When I run the sharness locally on Linux, the actual issue seems to be that ipfs mount cannot succeed without ipfs name publish /ipfs/QmUNLLsPACCz1vLxQVkXqqLX5R1X345qqfHbsf67hvA3Nn that cannot succeed without bootstrapping other peers ("Error: failed to find any peer in table" comes from IpfsDHT.GetValues)

Possible options I see:

  • IPFS needs to support publishing during a network partition
  • the ipfs mount should not rely on having any IPNS records in the datastore
  • all sharness tests need to have enough nodes running to support the read quorum needed for the name publish

@Kubuxu
Copy link
Member

Kubuxu commented Dec 14, 2016

FUSE currently is in very bad state it has bigger problems than sharness not running, for example our unit tests for FUSE are hanging in the kernel. After 0.4.5 is released we will try updating the fuse lib to check if it fixes any problems, see: #3414 and we can proceed from there.

@whyrusleeping
Copy link
Member Author

We've updated our fuse libs. Can someone re-verify that this is an issue?

@momack2 momack2 added this to Inbox in ipfs/go-ipfs May 9, 2019
@magik6k
Copy link
Member

magik6k commented May 14, 2019

Ran this in a loop for 10+ mins without a single fail, I'll call this fixed.

@magik6k magik6k closed this as completed May 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug A bug in existing code (including security flaws) kind/test Testing work topic/fuse Topic fuse
Projects
No open projects
Development

No branches or pull requests

6 participants