On Mon, 17 Nov 2014 21:56:32 +0100, Pierre Duperray wrote:

> On 11/17/14 01:18, Wouter Verhelst wrote:
> > Can you give some detail on what the network looked like for this build?
> Not really, I was connected to a public wifi hotspot (somewhere :)

I can't reproduce the test failure in my usual chroot (cowbuilder,
amd64, sid, which firewalls off everything except localhost during
build).
 
> Does a pbuilder chroot allow a network connection of any kind?

Kindof. There's the new USENETWORK feature/variable, which is set to
"no" by default.

If I build again in the same chroot, additionally setting
USENETWORK=no, I indeed get test failures:

make  check-TESTS
make[4]: Entering directory '/tmp/buildd/ola-0.9.1/common/network'
...TimeoutManager.cpp:92: timeout 0x1b00b80 already in remove set
.

OK (4)
PASS: HealthCheckedConnectionTester
.IPV4Address.cpp:69: Could not convert address foo
....F..InterfacePicker.cpp:59: No interfaces found
IPV4Address.cpp:69: Could not convert address eth0
IPV4Address.cpp:69: Could not convert address eth1
IPV4Address.cpp:69: Could not convert address foo
.IPV4Address.cpp:69: Could not convert address 192.168.1.
IPV4Address.cpp:69: Could not convert address 192.168.1.255.255
IPV4Address.cpp:69: Could not convert address foobarbaz
.......NetworkUtils.cpp:585: No default route found
NetworkUtils.cpp:587: Default gateway: 0.0.0.0, if_index: -1
.SocketAddress.cpp:58: Length passed to ToSockAddr is too small.
.IPV4Address.cpp:69: Could not convert address 
.SocketTest.cpp:338: Connection from 127.0.0.1:50919
SelectPoller.cpp:101: Removing an invalid file descriptor
.SocketTest.cpp:356: Connection from 127.0.0.1:48163
.Socket.cpp:150: Failed to bind 127.0.0.1:0, Invalid argument
.Socket.cpp:150: Failed to bind 127.0.0.1:9010, Invalid argument


InterfacePickerTest.cpp:67:Assertion
Test name: InterfacePickerTest::testGetInterfaces
assertion failed
- Expression: interfaces.size() > 0

Failures !!!
Run: 21   Failure total: 1   Failures: 1   Errors: 0
FAIL: NetworkTester
.AdvancedTCPConnectorTest.cpp:360: listening on 127.0.0.1:59365
AdvancedTCPConnectorTest.cpp:389: Connection from 127.0.0.1:33909
AdvancedTCPConnector.cpp:191: TCP Connection established to 127.0.0.1:59365
.AdvancedTCPConnectorTest.cpp:360: listening on 127.0.0.1:58637
AdvancedTCPConnectorTest.cpp:389: Connection from 127.0.0.1:60979
AdvancedTCPConnector.cpp:191: TCP Connection established to 127.0.0.1:58637
.TCPConnector.cpp:158: Failed to connect to 127.0.0.1 error Connection refused
TCPConnector.cpp:158: Failed to connect to 127.0.0.1 error Connection refused
..TCPConnectorTest.cpp:273: Connection from 127.0.0.1:40343
.TCPConnector.cpp:158: Failed to connect to 127.0.0.1 error Connection refused
.TCPConnector.cpp:84: connect to 255.255.255.255:0 failed, Network is 
unreachable
..TCPConnector.cpp:158: Failed to connect to 127.0.0.1 error Connection refused


OK (9)
PASS: TCPConnectorTester
===============================================
1 of 3 tests failed
Please report to open-light...@googlegroups.com
===============================================
Makefile:866: recipe for target 'check-TESTS' failed
make[4]: *** [check-TESTS] Error 1
make[4]: Leaving directory '/tmp/buildd/ola-0.9.1/common/network'
Makefile:989: recipe for target 'check-am' failed
make[3]: *** [check-am] Error 2
make[3]: Leaving directory '/tmp/buildd/ola-0.9.1/common/network'
Makefile:564: recipe for target 'check-recursive' failed
make[2]: *** [check-recursive] Error 1
make[2]: Leaving directory '/tmp/buildd/ola-0.9.1/common'
Makefile:680: recipe for target 'check-recursive' failed
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory '/tmp/buildd/ola-0.9.1'
dh_auto_test: make -j1 check returned exit code 2


Since my first test passed, and I'm rather skeptical about USENETWORK
in general (cf. #753944), I'd rather treat this as not-a-bug (in
ola).


Cheers,
gregor


-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Dire Straits: Water Of Love

Attachment: signature.asc
Description: Digital Signature

Reply via email to