From: Efraim Flashner <efraim@flashner.co.il>
To: Reza Alizadeh Majd <r.majd@pantherx.org>
Cc: 41847@debbugs.gnu.org
Subject: bug#41847: qTox build failure
Date: Sun, 14 Jun 2020 14:30:56 +0300 [thread overview]
Message-ID: <20200614113056.GB1990@E5400> (raw)
In-Reply-To: <20200614153630.5657e60e@pantherx.org>
[-- Attachment #1: Type: text/plain, Size: 10427 bytes --]
On Sun, Jun 14, 2020 at 03:36:30PM +0430, Reza Alizadeh Majd wrote:
> 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` ?
It looks like both tests that fail expect to have network connectivity.
Since there's no network inside the container then disabling those tests
is the best option.
If you want you can suggest upstream that they test for network
connectivity before running those tests.
--
Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2020-06-14 11:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-14 11:01 bug#41847: qTox build failure Reza Alizadeh Majd
2020-06-14 11:06 ` Reza Alizadeh Majd
2020-06-14 11:30 ` Efraim Flashner [this message]
2020-06-14 13:44 ` Reza Alizadeh Majd
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200614113056.GB1990@E5400 \
--to=efraim@flashner.co.il \
--cc=41847@debbugs.gnu.org \
--cc=r.majd@pantherx.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.