Subject: bug#41847: qTox build failure

From: Reza Alizadeh Majd <[email-masked]>
Date: Sun, 14 Jun 2020 15:36:30 +0430

as another try, I updated the `qTox` package version from `0.16.3` to
`0.17.2`, but two of tests fails during package build:

--8<---------------cut here---------------start------------->8---
 1/14 Test  #1: test_core ........................***Failed   91.08 sec
********* Start testing of TestCore *********
Config: Using QtTest library 5.12.7, Qt 5.12.7 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 7.5.0)
PASS   : TestCore::initTestCase()
QWARN  : TestCore::startup_without_proxy() Core starting without LAN discovery. Peers can only be found through DHT.
QDEBUG : TestCore::startup_without_proxy() "Connecting to a bootstrap node..."
QSYSTEM: TestCore::startup_without_proxy() attempted to send message with network family 10 (probably IPv6) on IPv4 socket
QDEBUG : TestCore::startup_without_proxy() "Connecting to a bootstrap node..."
QDEBUG : TestCore::startup_without_proxy() "Connecting to a bootstrap node..."
QSYSTEM: TestCore::startup_without_proxy() attempted to send message with network family 10 (probably IPv6) on IPv4 socket
QDEBUG : TestCore::startup_without_proxy() "Connecting to a bootstrap node..."
QSYSTEM: TestCore::startup_without_proxy() Could not resolve hostname, or invalid IP address
QSYSTEM: TestCore::startup_without_proxy() Could not resolve hostname, or invalid IP address
QDEBUG : TestCore::startup_without_proxy() "Connecting to a bootstrap node..."
QSYSTEM: TestCore::startup_without_proxy() Could not resolve hostname, or invalid IP address
QSYSTEM: TestCore::startup_without_proxy() Could not resolve hostname, or invalid IP address
QDEBUG : TestCore::startup_without_proxy() "Connecting to a bootstrap node..."
QDEBUG : TestCore::startup_without_proxy() "Connecting to a bootstrap node..."
QDEBUG : TestCore::startup_without_proxy() "Connecting to a bootstrap node..."
QSYSTEM: TestCore::startup_without_proxy() attempted to send message with network family 10 (probably IPv6) on IPv4 socket
QDEBUG : TestCore::startup_without_proxy() "Connecting to a bootstrap node..."
QSYSTEM: TestCore::startup_without_proxy() Could not resolve hostname, or invalid IP address
QSYSTEM: TestCore::startup_without_proxy() Could not resolve hostname, or invalid IP address
QDEBUG : TestCore::startup_without_proxy() "Connecting to a bootstrap node..."
QDEBUG : TestCore::startup_without_proxy() "Connecting to a bootstrap node..."
QSYSTEM: TestCore::startup_without_proxy() attempted to send message with network family 10 (probably IPv6) on IPv4 socket
QDEBUG : TestCore::startup_without_proxy() "Connecting to a bootstrap node..."
QSYSTEM: TestCore::startup_without_proxy() Could not resolve hostname, or invalid IP address
QSYSTEM: TestCore::startup_without_proxy() Could not resolve hostname, or invalid IP address
QDEBUG : TestCore::startup_without_proxy() "Connecting to a bootstrap node..."
QDEBUG : TestCore::startup_without_proxy() "Connecting to a bootstrap node..."
QDEBUG : TestCore::startup_without_proxy() "Connecting to a bootstrap node..."
QSYSTEM: TestCore::startup_without_proxy() Could not resolve hostname, or invalid IP address
QSYSTEM: TestCore::startup_without_proxy() Could not resolve hostname, or invalid IP address
QDEBUG : TestCore::startup_without_proxy() "Connecting to a bootstrap node..."
QSYSTEM: TestCore::startup_without_proxy() Could not resolve hostname, or invalid IP address
QSYSTEM: TestCore::startup_without_proxy() Could not resolve hostname, or invalid IP address
QDEBUG : TestCore::startup_without_proxy() "Connecting to a bootstrap node..."
QDEBUG : TestCore::startup_without_proxy() "Connecting to a bootstrap node..."
QDEBUG : TestCore::startup_without_proxy() "Connecting to a bootstrap node..."
QSYSTEM: TestCore::startup_without_proxy() attempted to send message with network family 10 (probably IPv6) on IPv4 socket
QDEBUG : TestCore::startup_without_proxy() "Connecting to a bootstrap node..."
QSYSTEM: TestCore::startup_without_proxy() Could not resolve hostname, or invalid IP address
QSYSTEM: TestCore::startup_without_proxy() Could not resolve hostname, or invalid IP address
QDEBUG : TestCore::startup_without_proxy() "Connecting to a bootstrap node..."
QDEBUG : TestCore::startup_without_proxy() "Connecting to a bootstrap node..."
QDEBUG : TestCore::startup_without_proxy() "Connecting to a bootstrap node..."
QSYSTEM: TestCore::startup_without_proxy() attempted to send message with network family 10 (probably IPv6) on IPv4 socket
QDEBUG : TestCore::startup_without_proxy() "Connecting to a bootstrap node..."
QDEBUG : TestCore::startup_without_proxy() "Connecting to a bootstrap node..."
QSYSTEM: TestCore::startup_without_proxy() Could not resolve hostname, or invalid IP address
QSYSTEM: TestCore::startup_without_proxy() Could not resolve hostname, or invalid IP address
QDEBUG : TestCore::startup_without_proxy() "Connecting to a bootstrap node..."
QSYSTEM: TestCore::startup_without_proxy() Could not resolve hostname, or invalid IP address
QSYSTEM: TestCore::startup_without_proxy() Could not resolve hostname, or invalid IP address
QDEBUG : TestCore::startup_without_proxy() "Connecting to a bootstrap node..."
QDEBUG : TestCore::startup_without_proxy() "Connecting to a bootstrap node..."
QSYSTEM: TestCore::startup_without_proxy() attempted to send message with network family 10 (probably IPv6) on IPv4 socket
QDEBUG : TestCore::startup_without_proxy() "Connecting to a bootstrap node..."
QDEBUG : TestCore::startup_without_proxy() "Connecting to a bootstrap node..."
QSYSTEM: TestCore::startup_without_proxy() attempted to send message with network family 10 (probably IPv6) on IPv4 socket
QDEBUG : TestCore::startup_without_proxy() "Connecting to a bootstrap node..."
QSYSTEM: TestCore::startup_without_proxy() Could not resolve hostname, or invalid IP address
QSYSTEM: TestCore::startup_without_proxy() Could not resolve hostname, or invalid IP address
QDEBUG : TestCore::startup_without_proxy() "Connecting to a bootstrap node..."
QSYSTEM: TestCore::startup_without_proxy() Could not resolve hostname, or invalid IP address
QSYSTEM: TestCore::startup_without_proxy() Could not resolve hostname, or invalid IP address
QDEBUG : TestCore::startup_without_proxy() "Connecting to a bootstrap node..."
QDEBUG : TestCore::startup_without_proxy() "Connecting to a bootstrap node..."
QDEBUG : TestCore::startup_without_proxy() "Connecting to a bootstrap node..."
QSYSTEM: TestCore::startup_without_proxy() attempted to send message with network family 10 (probably IPv6) on IPv4 socket
QDEBUG : TestCore::startup_without_proxy() "Connecting to a bootstrap node..."
QSYSTEM: TestCore::startup_without_proxy() Could not resolve hostname, or invalid IP address
QSYSTEM: TestCore::startup_without_proxy() Could not resolve hostname, or invalid IP address
QDEBUG : TestCore::startup_without_proxy() "Connecting to a bootstrap node..."
QDEBUG : TestCore::startup_without_proxy() "Connecting to a bootstrap node..."
QSYSTEM: TestCore::startup_without_proxy() attempted to send message with network family 10 (probably IPv6) on IPv4 socket
QDEBUG : TestCore::startup_without_proxy() "Connecting to a bootstrap node..."
QSYSTEM: TestCore::startup_without_proxy() Could not resolve hostname, or invalid IP address
QSYSTEM: TestCore::startup_without_proxy() Could not resolve hostname, or invalid IP address
QDEBUG : TestCore::startup_without_proxy() "Connecting to a bootstrap node..."
FAIL!  : TestCore::startup_without_proxy() 'spyCore.wait(timeout)' returned FALSE. ()
   Loc: [/tmp/guix-build-qtox-1.17.2.drv-0/qTox-1.17.2/test/core/core_test.cpp(118)]
QWARN  : TestCore::startup_with_invalid_proxy() Core starting without LAN discovery. Peers can only be found through DHT.
QDEBUG : TestCore::startup_with_invalid_proxy() using proxy "Test" : 9985
QDEBUG : TestCore::startup_with_invalid_proxy() Proxy and UDP enabled, this is a security risk, forcing TCP only
QSYSTEM: TestCore::startup_with_invalid_proxy() bad proxy, error code: 5
QWARN  : TestCore::startup_with_invalid_proxy() Core starting without LAN discovery. Peers can only be found through DHT.
QDEBUG : TestCore::startup_with_invalid_proxy() using proxy "Test" : 9985
QDEBUG : TestCore::startup_with_invalid_proxy() Proxy and UDP enabled, this is a security risk, forcing TCP only
QSYSTEM: TestCore::startup_with_invalid_proxy() bad proxy, error code: 5
PASS   : TestCore::startup_with_invalid_proxy()
PASS   : TestCore::cleanupTestCase()
Totals: 3 passed, 1 failed, 0 skipped, 0 blacklisted, 90235ms
********* Finished testing of TestCore *********
--8<---------------cut here---------------end--------------->8---

--8<---------------cut here---------------start------------->8---
 6/14 Test  #6: test_bsu .........................***Failed    0.04 sec
********* Start testing of TestBootstrapNodesUpdater *********
Config: Using QtTest library 5.12.7, Qt 5.12.7 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 7.5.0)
PASS   : TestBootstrapNodesUpdater::initTestCase()
FAIL!  : TestBootstrapNodesUpdater::testOnline() 'result.size() > 0' returned FALSE. ()
   Loc: [/tmp/guix-build-qtox-1.17.2.drv-0/qTox-1.17.2/test/net/bsu_test.cpp(58)]
PASS   : TestBootstrapNodesUpdater::testLocal()
PASS   : TestBootstrapNodesUpdater::cleanupTestCase()
Totals: 3 passed, 1 failed, 0 skipped, 0 blacklisted, 7ms
********* Finished testing of TestBootstrapNodesUpdater *********
--8<---------------cut here---------------end--------------->8---

is it acceptable to bypass these two tests and submit a patch with
updated version of `qTox` ? 

-- 
Reza Alizadeh Majd
PantherX Team
https://www.pantherx.org/