Bug#969570: ulfius: FTBFS on s390x

2020-09-05 Thread Nicolas Mora
Hello,

Le 20-09-05 à 03 h 42, Gianfranco Costamagna a écrit :>
> Hello, your package FTBFS on s390x. Please have a look if possible
> 
[...]
> Start 3: framework
> 3/4 Test #3: framework ***Failed0.65 sec
> Running suite(s): Ulfius framework function tests
> 86%: Checks: 15, Failures: 2, Errors: 0
[...]
> /<>/test/framework.c:1145:F:test_ulfius_framework:test_ulfius_send_smtp:0:
>  Assertion 'ulfius_send_smtp_email("localhost", 2525, 0, 0, ((void *)0), 
> ((void *)0), "from", "to", "cc", "bcc", "subject", "mail body") == 0' failed: 
> ulfius_send_smtp_email("localhost", 2525, 0, 0, ((void *)0), ((void *)0), 
> "from", "to", "cc", "bcc", "subject", "mail body") == 5, 0 == 0
> /<>/test/framework.c:1169:F:test_ulfius_framework:test_ulfius_send_rich_smtp:0:
>  Assertion 'ulfius_send_smtp_rich_email("localhost", 2526, 0, 0, ((void *)0), 
> ((void *)0), "from", "to", "cc", "bcc", "text/ulfius; charset=utf-42", 
> "subject", "mail body") == 0' failed: 
> ulfius_send_smtp_rich_email("localhost", 2526, 0, 0, ((void *)0), ((void 
> *)0), "from", "to", "cc", "bcc", "text/ulfius; charset=utf-42", "subject", 
> "mail body") == 5, 0 == 0

This is weird, there were no changes in this part of the library between
2.6.8 and 2.6.9, and in the previous version the build had no problem [1]

The failing tests are using TCP ports 2525 and 2526 for SMTP tests.

Is it possible that those ports were not available during the build,
leading to test fails? Maybe because another process is using them or
some other reason?

/Nicolas

[1] -
https://buildd.debian.org/status/fetch.php?pkg=ulfius=s390x=2.6.8-1=1594468505=0



Bug#969570: ulfius: FTBFS on s390x

2020-09-05 Thread Gianfranco Costamagna
Source: ulfius
Version: 2.6.9-1
Severity: serious


Hello, your package FTBFS on s390x. Please have a look if possible

gmake[4]: Leaving directory '/<>/build'
gmake[3]: Leaving directory '/<>/build'
Start 1: core
1/4 Test #1: core .   Passed0.08 sec
Start 2: u_map
2/4 Test #2: u_map    Passed0.02 sec
Start 3: framework
3/4 Test #3: framework ***Failed0.65 sec
Running suite(s): Ulfius framework function tests
86%: Checks: 15, Failures: 2, Errors: 0
/<>/test/framework.c:630:P:test_ulfius_framework:test_ulfius_simple_endpoint:0:
 Passed
/<>/test/framework.c:767:P:test_ulfius_framework:test_ulfius_net_type_endpoint:0:
 Passed
/<>/test/framework.c:845:P:test_ulfius_framework:test_ulfius_endpoint_parameters:0:
 Passed
/<>/test/framework.c:896:P:test_ulfius_framework:test_ulfius_endpoint_injection:0:
 Passed
/<>/test/framework.c:971:P:test_ulfius_framework:test_ulfius_endpoint_multiple:0:
 Passed
/<>/test/framework.c:994:P:test_ulfius_framework:test_ulfius_endpoint_stream:0:
 Passed
/<>/test/framework.c:1024:P:test_ulfius_framework:test_ulfius_utf8_not_ignored:0:
 Passed
/<>/test/framework.c:1056:P:test_ulfius_framework:test_ulfius_utf8_ignored:0:
 Passed
/<>/test/framework.c:1083:P:test_ulfius_framework:test_ulfius_endpoint_callback_position:0:
 Passed
/<>/test/framework.c:1115:P:test_ulfius_framework:test_ulfius_MHD_set_response_with_other_free:0:
 Passed
/<>/test/framework.c:1145:F:test_ulfius_framework:test_ulfius_send_smtp:0:
 Assertion 'ulfius_send_smtp_email("localhost", 2525, 0, 0, ((void *)0), ((void 
*)0), "from", "to", "cc", "bcc", "subject", "mail body") == 0' failed: 
ulfius_send_smtp_email("localhost", 2525, 0, 0, ((void *)0), ((void *)0), 
"from", "to", "cc", "bcc", "subject", "mail body") == 5, 0 == 0
/<>/test/framework.c:1169:F:test_ulfius_framework:test_ulfius_send_rich_smtp:0:
 Assertion 'ulfius_send_smtp_rich_email("localhost", 2526, 0, 0, ((void *)0), 
((void *)0), "from", "to", "cc", "bcc", "text/ulfius; charset=utf-42", 
"subject", "mail body") == 0' failed: ulfius_send_smtp_rich_email("localhost", 
2526, 0, 0, ((void *)0), ((void *)0), "from", "to", "cc", "bcc", "text/ulfius; 
charset=utf-42", "subject", "mail body") == 5, 0 == 0
/<>/test/framework.c:1208:P:test_ulfius_framework:test_ulfius_follow_redirect:0:
 Passed
/<>/test/framework.c:1230:P:test_ulfius_framework:test_ulfius_server_ca_trust:0:
 Passed
/<>/test/framework.c:1306:P:test_ulfius_framework:test_ulfius_client_certificate:0:
 Passed

Start 4: websocket
4/4 Test #4: websocket    Passed3.04 sec

75% tests passed, 1 tests failed out of 4

Total Test time (real) =   3.78 sec

The following tests FAILED:
  3 - framework (Failed)
Errors while running CTest
make[2]: *** [Makefile:118: test] Error 8
make[2]: Leaving directory '/<>/build'
make[1]: *** [debian/rules:29: override_dh_auto_test] Error 2
make[1]: Leaving directory '/<>'
make: *** [debian/rules:11: binary-arch] Error 2
dpkg-buildpackage: error: debian/rules binary-arch subprocess returned exit 
status 2


thanks

G.