namecoin / namecoin-core

Namecoin full node + wallet based on the current Bitcoin Core codebase.
https://www.namecoin.org/
MIT License
455 stars 146 forks source link

Unit test fails on Mac #244

Open jipjip opened 6 years ago

jipjip commented 6 years ago

I tried to build it for use on my mac. I ran the 'make test' step from the instructions. It failed (see log at end of this post)

MacBook Pro (Retina, 13-inch, Early 2015) 2,7 GHz Intel Core i5 8 GB 1867 MHz DDR3 MacOS High Sierra version: 10.13.6 (17G65)

$ make check Making check in src /Applications/Xcode.app/Contents/Developer/usr/bin/make check-TESTS check-local ../build-aux/test-driver: line 107: 30207 Abort trap: 6 "$@" > $log_file 2>&1 FAIL: qt/test/test_namecoin-qt

Testsuite summary for Namecoin Core 0.16.99

TOTAL: 1

PASS: 0

SKIP: 0

XFAIL: 0

FAIL: 1

XPASS: 0

ERROR: 0

============================================================================ See src/test-suite.log Please report to https://github.com/namecoin/namecoin-core/issues

make[4]: [test-suite.log] Error 1 make[3]: [check-TESTS] Error 2 make[2]: [check-am] Error 2 make[1]: [check-recursive] Error 1 make: *** [check-recursive] Error 1

Please check https://github.com/xaya/xaya/issues/52 for some more debugging info

domob1812 commented 6 years ago

Let's wait for confirmation that 58dd556b17ded2f19fbbeec1cc3276e0d41a7d4a really fixed this issue (the commit said "potentially fixes", but apparently that's enough for Github to close it).

jipjip commented 6 years ago

Unit tests failed on my machine. Mind you: I'm not testing on a vm, so to be sure it's best that some tests this on a clean vm.

test-suite.log: Config: Using QtTest library 5.11.1, Qt 5.11.1 (x86_64-little_endian-lp64 share$ PASS : URITests::initTestCase() PASS : URITests::uriTests() PASS : URITests::cleanupTestCase() Totals: 3 passed, 0 failed, 0 skipped, 0 blacklisted, 2ms Finished testing of URITests Start testing of PaymentServerTests Config: Using QtTest library 5.11.1, Qt 5.11.1 (x86_64-little_endian-lp64 share$ PASS : PaymentServerTests::initTestCase() QFATAL : PaymentServerTests::paymentServerTests() Received signal 4 Function time: 0ms Total time: 0ms FAIL! : PaymentServerTests::paymentServerTests() Received a fatal error. Loc: [Unknown file(0)] Totals: 1 passed, 1 failed, 0 skipped, 0 blacklisted, 2ms Finished testing of PaymentServerTests FAIL qt/test/test_namecoin-qt (exit status: 134)

cassiniNMC commented 6 years ago

As of tomorrow I'll have access to an up-to-date i5-8400 machine. Therefore I'll be able to confirm or rule out whether this issue has anything to do with older CPU variants.

domob1812 commented 5 years ago

This might (or not) be related to the upstream https://github.com/bitcoin/bitcoin/issues/14349.