Source: wxwidgets3.2
Version: 3.2.3+dfsg-2
Severity: serious

Hello, looks like the code is trying to reach some external websites during 
dh_auto_test.

Look e.g. at the Ubuntu build log

/usr/bin/ld: /tmp/cc6Gj1qH.ltrans32.ltrans.o: in function 
`____C_A_T_C_H____T_E_S_T____41()':
/<<PKGBUILDDIR>>/tests/./filename/filenametest.cpp:797:(.text+0x4406): warning: 
the use of `tempnam' is dangerous, better use `mkstemp'
make[2]: Leaving directory '/<<PKGBUILDDIR>>/tests'
cd tests && ./test ~[.]
Test program for wxWidgets non-GUI features
build: 3.2 (wchar_t,compiler with C++ ABI compatible with gcc 4,wx 
containers,compatible with 3.0)
compiled using gcc 13.2
running under Linux 5.4.0-164-generic x86_64 as buildd

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
test is a Catch v1.12.2 host application.
Run with -? for options

-------------------------------------------------------------------------------
URLTestCase
  GetInputStream
-------------------------------------------------------------------------------
./uris/url.cpp:37
...............................................................................

./uris/url.cpp:68:
warning:
  No network connectivity; skipping the URLTestCase::GetInputStream test unit.

-------------------------------------------------------------------------------
WebRequest::Get::Bytes
-------------------------------------------------------------------------------
./net/webrequest.cpp:181
...............................................................................

./net/webrequest.cpp:149:
warning:
  Error: Could not resolve host: nghttp2.org

./net/webrequest.cpp:152: FAILED:
  REQUIRE( stateFromEvent == requiredState )
with expansion:
  4 == 3

-------------------------------------------------------------------------------
WebRequest::Get::Simple
-------------------------------------------------------------------------------
./net/webrequest.cpp:194
...............................................................................

./net/webrequest.cpp:217: FAILED:
  CHECK( request.GetState() == wxWebRequest::State_Completed )
with expansion:
  4 == 3

./net/webrequest.cpp:218: FAILED:
  CHECK( request.GetResponse().GetStatus() == 200 )
with expansion:
  0 == 200

-------------------------------------------------------------------------------
WebRequest::Get::String
-------------------------------------------------------------------------------
./net/webrequest.cpp:221
...............................................................................

./net/webrequest.cpp:149:
warning:
  Error: Could not resolve host: nghttp2.org

./net/webrequest.cpp:152: FAILED:
  REQUIRE( stateFromEvent == requiredState )
with expansion:
  4 == 3

-------------------------------------------------------------------------------
WebRequest::Get::Header
-------------------------------------------------------------------------------
./net/webrequest.cpp:232
...............................................................................

./net/webrequest.cpp:149:
warning:
  Error: Could not resolve host: nghttp2.org

./net/webrequest.cpp:152: FAILED:
  REQUIRE( stateFromEvent == requiredState )
with expansion:
  4 == 3

-------------------------------------------------------------------------------
WebRequest::Get::Param
-------------------------------------------------------------------------------
./net/webrequest.cpp:243
...............................................................................

./net/webrequest.cpp:149:
warning:
  Error: Could not resolve host: nghttp2.org

./net/webrequest.cpp:152: FAILED:
  REQUIRE( stateFromEvent == requiredState )
with expansion:
  4 == 3

-------------------------------------------------------------------------------
WebRequest::Get::File
-------------------------------------------------------------------------------
./net/webrequest.cpp:271
...............................................................................

./net/webrequest.cpp:149:
warning:
  Error: Could not resolve host: nghttp2.org

./net/webrequest.cpp:152: FAILED:
  REQUIRE( stateFromEvent == requiredState )
with expansion:
  4 == 3

-------------------------------------------------------------------------------
WebRequest::Get::None
-------------------------------------------------------------------------------
./net/webrequest.cpp:284
...............................................................................

./net/webrequest.cpp:149:
warning:
  Error: Could not resolve host: nghttp2.org

./net/webrequest.cpp:152: FAILED:
  REQUIRE( stateFromEvent == requiredState )
with expansion:
  4 == 3

-------------------------------------------------------------------------------
WebRequest::Error::HTTP
-------------------------------------------------------------------------------
./net/webrequest.cpp:298
...............................................................................

./net/webrequest.cpp:158: FAILED:
  CHECK( statusFromEvent == requiredStatus )
with expansion:
  0 == 404 (0x194)

./net/webrequest.cpp:159: FAILED:
  CHECK( request.GetResponse().GetStatus() == requiredStatus )
with expansion:
  0 == 404 (0x194)

-------------------------------------------------------------------------------
WebRequest::Error::Body
-------------------------------------------------------------------------------
./net/webrequest.cpp:308
...............................................................................

./net/webrequest.cpp:317: FAILED:
  CHECK( request.GetResponse().GetStatus() == 418 )
with expansion:
  0 == 418 (0x1a2)

./net/webrequest.cpp:321: FAILED:
  CHECK( response.Contains("teapot") )
with expansion:
  false
with message:
  Response:

-------------------------------------------------------------------------------
WebRequest::SSL::Error
-------------------------------------------------------------------------------
./net/webrequest.cpp:334
...............................................................................

./net/webrequest.cpp:340:
warning:
  Skipping because WX_TEST_WEBREQUEST_URL_SELF_SIGNED is not set.

-------------------------------------------------------------------------------
WebRequest::SSL::Ignore
-------------------------------------------------------------------------------
./net/webrequest.cpp:351
...............................................................................

./net/webrequest.cpp:357:
warning:
  Skipping because WX_TEST_WEBREQUEST_URL_SELF_SIGNED is not set.

-------------------------------------------------------------------------------
WebRequest::Post
-------------------------------------------------------------------------------
./net/webrequest.cpp:379
...............................................................................

./net/webrequest.cpp:149:
warning:
  Error: Could not resolve host: nghttp2.org

./net/webrequest.cpp:152: FAILED:
  REQUIRE( stateFromEvent == requiredState )
with expansion:
  4 == 3

-------------------------------------------------------------------------------
WebRequest::Put
-------------------------------------------------------------------------------
./net/webrequest.cpp:390
...............................................................................

./net/webrequest.cpp:149:
warning:
  Error: Could not resolve host: nghttp2.org

./net/webrequest.cpp:152: FAILED:
  REQUIRE( stateFromEvent == requiredState )
with expansion:
  4 == 3

-------------------------------------------------------------------------------
WebRequest::Auth::Basic
-------------------------------------------------------------------------------
./net/webrequest.cpp:405
...............................................................................

./net/webrequest.cpp:149:
warning:
  Error: Could not resolve host: nghttp2.org

./net/webrequest.cpp:152: FAILED:
  REQUIRE( stateFromEvent == requiredState )
with expansion:
  4 == 1

-------------------------------------------------------------------------------
WebRequest::Auth::Digest
-------------------------------------------------------------------------------
./net/webrequest.cpp:432
...............................................................................

./net/webrequest.cpp:149:
warning:
  Error: Could not resolve host: nghttp2.org

./net/webrequest.cpp:152: FAILED:
  REQUIRE( stateFromEvent == requiredState )
with expansion:
  4 == 1

-------------------------------------------------------------------------------
WebRequest::Destroy
-------------------------------------------------------------------------------
./net/webrequest.cpp:487
...............................................................................

./net/webrequest.cpp:502: FAILED:
  CHECK( stateFromEvent == wxWebRequest::State_Completed )
with expansion:
  4 == 3

./net/webrequest.cpp:503: FAILED:
  CHECK( statusFromEvent == 200 )
with expansion:
  0 == 200

./net/webrequest.cpp:504: FAILED:
  CHECK( responseStringFromEvent == "Still alive!" )
with expansion:
   == "Still alive!"

===============================================================================
test cases:     314 |     300 passed | 14 failed
assertions: 1229986 | 1229967 passed | 19 failed

make[1]: *** [debian/rules:88: override_dh_auto_test] Error 19
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:22: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2


thanks for having a look,

Gianfranco

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to