cpp-netlib: FTBFS: test failures when no internet connection available
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cpp-netlib (Debian) |
Fix Released
|
Unknown
|
|||
cpp-netlib (Ubuntu) |
Fix Released
|
High
|
Andreas Moog |
Bug Description
Imported from Debian bug http://
Package: cpp-netlib
Version: 0.10.1-1
Severity: serious
Justification: Fails to build from source
Hi there,
some of the tests in your package require internet connectivity and/or
an active network interface. The former may not be available on the
build daemon, resulting in an error like:
> Running 12 test cases...
> unknown location(0): fatal error in "http_get_
> unknown location(0): fatal error in "http_get_
> unknown location(0): fatal error in "http_get_
> unknown location(0): fatal error in "http_get_
> unknown location(0): fatal error in "http_get_
> terminate called after throwing an instance of 'boost:
> what(): boost thread: trying joining itself: Resource deadlock avoided
>
> Start 14: cpp-netlib-
> 14/18 Test #14: cpp-netlib-
> Start 15: cpp-netlib-
> 15/18 Test #15: cpp-netlib-
> terminate called after throwing an instance of 'boost:
> Running 4 test cases...
> unknown location(0): fatal error in "http_client_
> /build/
> what(): boost thread: trying joining itself: Resource deadlock avoided
>
> Start 16: cpp-netlib-
> 16/18 Test #16: cpp-netlib-
> Start 17: cpp-netlib-
> 17/18 Test #17: cpp-netlib-
> Start 18: mime-roundtrip
> 18/18 Test #18: mime-roundtrip .......
>
> 83% tests passed, 3 tests failed out of 18
A full build-log can for example be found at
https:/
Note that this particular build was done on Ubuntu trusty, but I
verified the same error on an up-to-date unstable running inside
Virtualbox with the network interface disabled.
The easiest solution in my opinion would be to disable the tests that
require connectivity/an active network interface.
--
Andreas Moog, Berliner Str. 29, 36205 Sontra/Germany
PGP-encrypted mails preferred (Key-ID: 74DE6624)
PGP Fingerprint: 74CD D9FE 5BCB FE0D 13EE 8EEA 61F3 4426 74DE 6624
Related branches
Changed in cpp-netlib (Ubuntu): | |
importance: | Undecided → High |
tags: | added: ftbfs trusty |
Changed in cpp-netlib (Ubuntu): | |
status: | New → In Progress |
assignee: | nobody → Andreas Moog (amoog) |
Changed in cpp-netlib (Debian): | |
importance: | Undecided → Unknown |
Changed in cpp-netlib (Debian): | |
status: | New → Confirmed |
Changed in cpp-netlib (Debian): | |
status: | Confirmed → Fix Released |
This bug was fixed in the package cpp-netlib - 0.10.1-1ubuntu1
---------------
cpp-netlib (0.10.1-1ubuntu1) trusty; urgency=low
* Disable tests that require internet connection and/or a working network http-client_ get_test http-client_ get_different_ port_test http-client_ get_streaming_ test
interface. These tests fail on the build daemons: (Closes: #731011)
(LP: #1256583)
- cpp-netlib-
- cpp-netlib-
- cpp-netlib-
-- Andreas Moog <email address hidden> Sun, 01 Dec 2013 00:11:56 +0100