Fedora - 'test_avoid_beacon seek_peers 2' panicked #257
Comments
Happy to test or try anything but this seems to need a serious Rust programmer? P. |
Thanks and agreed it should be picked up by one of the team. We review issues weekly so, it may not be immediately addressed. |
Can you provide the trace? Maybe by setting the env |
Cheers @vinipsmaker |
I just do the test multiple times on VirtualBox with Fedora 22. 19 pass, 0 failed and 1 ignored. No panicked. |
OK, since Ghaunt didn't get the problem, I went ahead anyway and did the kvm VM machine test as well using: Fedora-Live-Xfce-x86_64-22-3.iso (which is what I used to create my two working machines with) and I still get the same error. Ghaunt, which iso did you use to create your VM? P. |
Fedora-Live-Workstation-x86_64-22-3.iso |
I confirm too on this Fedora: Fedora-Live-Xfce-x86_64-22-3.iso It may be a Fedora issue on itself for that image. It's a pain in the ass to work with it. First I try on live CD and it's really buggy, don't want to boot, freeze, no longer responding to command. After installing it it was still slow and freeze temporarily some time. |
I don't have any of those booting problems - it works fine for me. I just have this Rust / crust problem . . which doesn't really make any sense to me - why should a preference for a particular desktop environment affect the testing of crust? - I tried it again outside of X but no improvement . . |
People, I just ran the test from clone again with the same result: Compiling crust v0.2.5 (file:///home/phil/src/rust/maidsafe/crust) running 23 tests but then I immediately did: cargo clean ; cargo update ; cargo build ; cargo test ie WITHOUT the prepended: RUST_TEST_THREADS=1 and I get results: Compiling crust v0.2.5 (file:///home/phil/src/rust/maidsafe/crust) running 23 tests - even though some of them FAILED - doesn't this suggest there is a problem with "RUST_TEST_THREADS=1" ? |
"thread 'test_beacon receiver' panicked at 'index out of bounds: the len is 0 but the index is 0', ../src/libcollections/vec.rs:1047" You still have the same error with one more. But I guess other threads continue to work. |
People, Some progress: I had the idea to test everything built on a Fedora 22 Docker image to see if that gave a different result from the VM built on Fedora-Live-Xfce-x86_64-22-3.iso - since Ghaunt had success with Fedora-Live-Workstation-x86_64-22-3.iso and yes, the Docker image works too, which I guess is not so surprising but it at least gives me a convenient method of continuing to test the daily stuff. The problem with the XFCE spin still needs to be tracked down though . . P. |
This issue is so old. Does it still happens? The only thing that comes to my mind is a race in this test: https://github.com/maidsafe/crust/blob/ff9f1080e48e70942491ed2a1199cbb02dd9ec22/src/beacon.rs#L330 I think a proper fix is to make |
This crate had a major re-write/re-design. Please raise an issue again if required as almost everything in the library and the way it handled things have changed. Closing this. |
Fedora release 20 (Heisenbug)
/rustc 1.4.0-nightly (7e13faee1 2015-08-19)
2 cores and 2 gb memory
Tests hanging with error
Whoever picks this one up I have created a Fedora CI to replicate and test this on - access on request.
The text was updated successfully, but these errors were encountered: