dashpay / dash

Dash - Reinventing Cryptocurrency
https://www.dash.org
MIT License
1.49k stars 1.2k forks source link

1 of 1 test failed #344

Closed poiuty closed 8 years ago

poiuty commented 9 years ago
make[8]: Entering directory `/root/pack/dash/src/qt/test'
********* Start testing of URITests *********
Config: Using QTest library 4.8.2, Qt 4.8.2
PASS   : URITests::initTestCase()
FAIL!  : URITests::uriTests() 'rv.address == QString("XwnLY9Tf7Zsef8gMGL2fhWA9ZmMjt4KPwg")' returned FALSE. ()
   Loc: [uritests.cpp(51)]
PASS   : URITests::cleanupTestCase()
Totals: 2 passed, 1 failed, 0 skipped
********* Finished testing of URITests *********
********* Start testing of PaymentServerTests *********
Config: Using QTest library 4.8.2, Qt 4.8.2
PASS   : PaymentServerTests::initTestCase()
QDEBUG : PaymentServerTests::paymentServerTests() PaymentServer::initNetManager : No active proxy server found.
QDEBUG : PaymentServerTests::paymentServerTests() PaymentServer::processPaymentRequest : Secure payment request from  "testmerchant.org"
QDEBUG : PaymentServerTests::paymentServerTests() PaymentRequestPlus::getMerchant : Payment request: certificate expired or not yet active:  QSslCertificate( "3" , "3" , "LxHILx+N3qwVoAcCmQ5cyw==" , "" , "Expired Test Merchant" , QMap() , QDateTime("Sat Feb 23 21:26:43 2013") , QDateTime("Sun Feb 24 21:26:43 2013") )
QDEBUG : PaymentServerTests::paymentServerTests() PaymentServer::processPaymentRequest : Insecure payment request to  "XpJgAVUsrmD8GPfzKzjZhovC7LckMgjzSq"
QDEBUG : PaymentServerTests::paymentServerTests() PaymentRequestPlus::getMerchant : Payment request: certificate expired or not yet active:  QSslCertificate( "3" , "3" , "LxHILx+N3qwVoAcCmQ5cyw==" , "" , "Expired Test Merchant" , QMap() , QDateTime("Sat Feb 23 21:26:43 2013") , QDateTime("Sun Feb 24 21:26:43 2013") )
QDEBUG : PaymentServerTests::paymentServerTests() PaymentServer::processPaymentRequest : Secure payment request from  "testmerchant8.org"
QDEBUG : PaymentServerTests::paymentServerTests() PaymentRequestPlus::getMerchant : Payment request: certificate expired or not yet active:  QSslCertificate( "3" , "6" , "MiZaQ+g9lSHZGuHWkXZG+g==" , "" , "Payment Request Intermediate 5" , QMap() , QDateTime("Sat Feb 23 22:59:51 2013") , QDateTime("Sun Feb 24 22:59:51 2013") )
QDEBUG : PaymentServerTests::paymentServerTests() PaymentServer::processPaymentRequest : Insecure payment request to  "XpJgAVUsrmD8GPfzKzjZhovC7LckMgjzSq"
QDEBUG : PaymentServerTests::paymentServerTests() PaymentRequestPlus::getMerchant : Payment request: certificate expired or not yet active:  QSslCertificate( "3" , "6" , "MiZaQ+g9lSHZGuHWkXZG+g==" , "" , "Payment Request Intermediate 5" , QMap() , QDateTime("Sat Feb 23 22:59:51 2013") , QDateTime("Sun Feb 24 22:59:51 2013") )
QDEBUG : PaymentServerTests::paymentServerTests() PaymentRequestPlus::getMerchant : SSL error:  certificate signature failure
QDEBUG : PaymentServerTests::paymentServerTests() PaymentServer::processPaymentRequest : Insecure payment request to  "XpJgAVUsrmD8GPfzKzjZhovC7LckMgjzSq"
QDEBUG : PaymentServerTests::paymentServerTests() PaymentRequestPlus::getMerchant : SSL error:  certificate signature failure
QDEBUG : PaymentServerTests::paymentServerTests() PaymentRequestPlus::getMerchant : SSL error:  unable to get local issuer certificate
QDEBUG : PaymentServerTests::paymentServerTests() PaymentServer::processPaymentRequest : Insecure payment request to  "XpJgAVUsrmD8GPfzKzjZhovC7LckMgjzSq"
QDEBUG : PaymentServerTests::paymentServerTests() PaymentRequestPlus::getMerchant : SSL error:  unable to get local issuer certificate
PASS   : PaymentServerTests::paymentServerTests()
PASS   : PaymentServerTests::cleanupTestCase()
Totals: 3 passed, 0 failed, 0 skipped
********* Finished testing of PaymentServerTests *********
FAIL: test_dash-qt
================================
1 of 1 test failed
Please report to info@dashpay.io
================================
poiuty commented 9 years ago

reproduce => make check

# make check
Making check in src
make[1]: Entering directory `/root/pack/dash/src'
Making check in .
make[2]: Entering directory `/root/pack/dash/src'
../share/genbuild.sh: 19: [: =: unexpected operator
make[2]: Leaving directory `/root/pack/dash/src'
Making check in qt
make[2]: Entering directory `/root/pack/dash/src/qt'
make  check-recursive
make[3]: Entering directory `/root/pack/dash/src/qt'
Making check in .
make[4]: Entering directory `/root/pack/dash/src/qt'
make[4]: Nothing to be done for `check-am'.
make[4]: Leaving directory `/root/pack/dash/src/qt'
Making check in test
make[4]: Entering directory `/root/pack/dash/src/qt/test'
make  check-am
make[5]: Entering directory `/root/pack/dash/src/qt/test'
make  check-TESTS
make[6]: Entering directory `/root/pack/dash/src/qt/test'
********* Start testing of URITests *********
Config: Using QTest library 4.8.2, Qt 4.8.2
PASS   : URITests::initTestCase()
FAIL!  : URITests::uriTests() 'rv.address == QString("XwnLY9Tf7Zsef8gMGL2fhWA9ZmMjt4KPwg")' returned FALSE. ()
   Loc: [uritests.cpp(51)]
PASS   : URITests::cleanupTestCase()
Totals: 2 passed, 1 failed, 0 skipped
********* Finished testing of URITests *********
********* Start testing of PaymentServerTests *********
Config: Using QTest library 4.8.2, Qt 4.8.2
PASS   : PaymentServerTests::initTestCase()
QDEBUG : PaymentServerTests::paymentServerTests() PaymentServer::initNetManager : No active proxy server found.
QDEBUG : PaymentServerTests::paymentServerTests() PaymentServer::processPaymentRequest : Secure payment request from  "testmerchant.org"
QDEBUG : PaymentServerTests::paymentServerTests() PaymentRequestPlus::getMerchant : Payment request: certificate expired or not yet active:  QSslCertificate( "3" , "3" , "LxHILx+N3qwVoAcCmQ5cyw==" , "" , "Expired Test Merchant" , QMap() , QDateTime("Sat Feb 23 21:26:43 2013") , QDateTime("Sun Feb 24 21:26:43 2013") )
QDEBUG : PaymentServerTests::paymentServerTests() PaymentServer::processPaymentRequest : Insecure payment request to  "XpJgAVUsrmD8GPfzKzjZhovC7LckMgjzSq"
QDEBUG : PaymentServerTests::paymentServerTests() PaymentRequestPlus::getMerchant : Payment request: certificate expired or not yet active:  QSslCertificate( "3" , "3" , "LxHILx+N3qwVoAcCmQ5cyw==" , "" , "Expired Test Merchant" , QMap() , QDateTime("Sat Feb 23 21:26:43 2013") , QDateTime("Sun Feb 24 21:26:43 2013") )
QDEBUG : PaymentServerTests::paymentServerTests() PaymentServer::processPaymentRequest : Secure payment request from  "testmerchant8.org"
QDEBUG : PaymentServerTests::paymentServerTests() PaymentRequestPlus::getMerchant : Payment request: certificate expired or not yet active:  QSslCertificate( "3" , "6" , "MiZaQ+g9lSHZGuHWkXZG+g==" , "" , "Payment Request Intermediate 5" , QMap() , QDateTime("Sat Feb 23 22:59:51 2013") , QDateTime("Sun Feb 24 22:59:51 2013") )
QDEBUG : PaymentServerTests::paymentServerTests() PaymentServer::processPaymentRequest : Insecure payment request to  "XpJgAVUsrmD8GPfzKzjZhovC7LckMgjzSq"
QDEBUG : PaymentServerTests::paymentServerTests() PaymentRequestPlus::getMerchant : Payment request: certificate expired or not yet active:  QSslCertificate( "3" , "6" , "MiZaQ+g9lSHZGuHWkXZG+g==" , "" , "Payment Request Intermediate 5" , QMap() , QDateTime("Sat Feb 23 22:59:51 2013") , QDateTime("Sun Feb 24 22:59:51 2013") )
QDEBUG : PaymentServerTests::paymentServerTests() PaymentRequestPlus::getMerchant : SSL error:  certificate signature failure
QDEBUG : PaymentServerTests::paymentServerTests() PaymentServer::processPaymentRequest : Insecure payment request to  "XpJgAVUsrmD8GPfzKzjZhovC7LckMgjzSq"
QDEBUG : PaymentServerTests::paymentServerTests() PaymentRequestPlus::getMerchant : SSL error:  certificate signature failure
QDEBUG : PaymentServerTests::paymentServerTests() PaymentRequestPlus::getMerchant : SSL error:  unable to get local issuer certificate
QDEBUG : PaymentServerTests::paymentServerTests() PaymentServer::processPaymentRequest : Insecure payment request to  "XpJgAVUsrmD8GPfzKzjZhovC7LckMgjzSq"
QDEBUG : PaymentServerTests::paymentServerTests() PaymentRequestPlus::getMerchant : SSL error:  unable to get local issuer certificate
PASS   : PaymentServerTests::paymentServerTests()
PASS   : PaymentServerTests::cleanupTestCase()
Totals: 3 passed, 0 failed, 0 skipped
********* Finished testing of PaymentServerTests *********
FAIL: test_dash-qt
================================
1 of 1 test failed
Please report to info@dashpay.io
================================
make[6]: *** [check-TESTS] Error 1
make[6]: Leaving directory `/root/pack/dash/src/qt/test'
make[5]: *** [check-am] Error 2
make[5]: Leaving directory `/root/pack/dash/src/qt/test'
make[4]: *** [check] Error 2
make[4]: Leaving directory `/root/pack/dash/src/qt/test'
make[3]: *** [check-recursive] Error 1
make[3]: Leaving directory `/root/pack/dash/src/qt'
make[2]: *** [check] Error 2
make[2]: Leaving directory `/root/pack/dash/src/qt'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/root/pack/dash/src'
make: *** [check-recursive] Error 1
crowning- commented 9 years ago

Just to keep you updated, I've fixed this one, but there are some others which need to be to fixed as well. Seems the test data which is used for the (other) tests isn't up-to-date.

schinzelh commented 8 years ago

Fixed testsuite and integrated with Travis-CI https://travis-ci.org/dashpay/dash

via https://github.com/dashpay/dash/pull/687