[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [GNUnet-developers] make check failed
From: |
Christian Grothoff |
Subject: |
Re: [GNUnet-developers] make check failed |
Date: |
Wed, 04 Nov 2015 00:01:31 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.7.0 |
Hi!
No particular idea, but the shell script should be pretty easy to read
and diagnose, so you should be able to run the steps manually one-by-one
and find out more about what's going on.
Basically, the test starts 'gnunet-service-dns', which (if properly
configured, with group gnunetdns, SUID/SGID helpers, etc.) should use
iptables to intercept all DNS traffic, and will then allow the
"gnunet-dns-redirector" to modify it (which, with these options, sets
all replies to 127.0.0.1). The test the tries a lookup for
'gnunet.org', expecting to get back 127.0.0.1.
Mainly, two kinds of things can go wrong:
1) groups missconfigured, accounts missing, etc.
=> interception may not work (ever)
=> sudo -u nobody fails, so we're still running
as the 'root' user which is exempt from interception
=> gnunet-dns-redirector not allowed to access gnunet-service-dns,
etc.
2) actual issues in the code, as it is not often tested
(during 'make check') because the pre-conditions fail.
I changed it in SVN to at least let us know when the test
is skipped (rather than executed).
Hope this helps a bit!
Happy hacking!
Christian
On 11/03/2015 10:21 PM, t3sserakt wrote:
> Hi *,
>
> I did run make check on revision 36635 and got the error below.
>
> Any idea what is wrong? I am running Debian in a VM.
>
> Cheers
>
> t3sserakt
>
> ========================================================================
> ====
> Testsuite summary for gnunet 0.10.1
> ========================================================================
> ====
> # TOTAL: 2
> # PASS: 1
> # SKIP: 0
> # XFAIL: 0
> # FAIL: 1
> # XPASS: 0
> # ERROR: 0
> ========================================================================
> ====
> See src/dns/test-suite.log
>
> ===========================================
> gnunet 0.10.1: src/dns/test-suite.log
> ===========================================
>
> # TOTAL: 2
> # PASS: 1
> # SKIP: 0
> # XFAIL: 0
> # FAIL: 1
> # XPASS: 0
> # ERROR: 0
>
> .. contents:: :depth: 2
>
> FAIL: test_gnunet_dns.sh
> ========================
>
> Fail: got address , wanted 127.0.0.1
>
> _______________________________________________
> GNUnet-developers mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/gnunet-developers
>
signature.asc
Description: OpenPGP digital signature