Project

General

Profile

Actions

Bug #4360

closed

mdns tests fails the build on OBS

Added by lynxis about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
-
Start date:
01/13/2020
Due date:
% Done:

0%

Spec Reference:

Description

The build fails on all platforms. The test which fails is mslookup_client_mdns.
This test also fails on my developing machine, but with a different error than on OBS.

https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-hlr/Debian_10/x86_64

OBS error

[  391s] ./testsuite.at:64: $abs_top_builddir/tests/mslookup/mslookup_client_mdns_test
[  391s] --- experr    2020-01-12 02:59:57.604000000 +0000
[  391s] +++ /usr/src/packages/BUILD/tests/testsuite.dir/at-groups/9/stderr    2020-01-12 02:59:57.612000000 +0000
[  391s] @@ -1,14 +1,6 @@
[  391s]  Total time passed: 0.000000 s
[  391s]  -- test_server_client --
[  391s]  server_init
[  391s] -client_init
[  391s] -client_query
[  391s] -sending mDNS query: gsup.hlr.123456789012345.imsi
[  391s] -server_recv
[  391s] -received request
[  391s] -server_recv
[  391s] -client_recv
[  391s] -client_recv(): gsup.hlr.123456789012345.imsi -> ipv4: 42.42.42.42:444 -> ipv6: [1122:3344:5566:7788:99aa:bbcc:ddee:ff00]:666 (age=3) (not-last)
[  391s] -Total time passed: 5.000000 s
[  391s] -server_stop
[  391s] -client_stop
[  391s] +osmo_mdns_sock_init: setsockopt: No such device
[  391s] +Assert failed server_mc mslookup_client_mdns_test.c:86
[  391s] +/usr/src/packages/BUILD/tests/testsuite.dir/at-groups/9/test-source: line 14:  1448 Aborted                 $abs_top_builddir/tests/mslookup/mslookup_client_mdns_test
[  391s] stdout:
[  391s] ./testsuite.at:64: exit code was 134, expected 0
[  391s] 9. testsuite.at:61: 9. mslookup_client_mdns (testsuite.at:61): FAILED (testsuite.at:64)

My error:

9. testsuite.at:61: testing mslookup_client_mdns ...
./testsuite.at:64: $abs_top_builddir/tests/mslookup/mslookup_client_mdns_test
--- experr    2020-01-13 01:10:14.415423981 +0100
+++ /home/lynxis/projects/osmocom/osmo-hlr/tests/testsuite.dir/at-groups/9/stderr    2020-01-13 01:10:14.662091515 +0100
@@ -4,11 +4,5 @@
 client_init
 client_query
 sending mDNS query: gsup.hlr.123456789012345.imsi
-server_recv
-received request
-server_recv
-client_recv
-client_recv(): gsup.hlr.123456789012345.imsi -> ipv4: 42.42.42.42:444 -> ipv6: [1122:3344:5566:7788:99aa:bbcc:ddee:ff00]:666 (age=3) (not-last)
-Total time passed: 5.000000 s
-server_stop
-client_stop
+Assert failed osmo_select_main_ctx(1) == 1 mslookup_client_mdns_test.c:179
+/home/lynxis/projects/osmocom/osmo-hlr/tests/testsuite.dir/at-groups/9/test-source: line 14: 126947 Aborted                 (core dumped) $abs_top_builddir/tests/mslookup/mslookup_client_mdns_test
stdout:
./testsuite.at:64: exit code was 134, expected 0
9. testsuite.at:61: 9. mslookup_client_mdns (testsuite.at:61): FAILED (testsuite.at:64)


Files

_log.txt _log.txt 227 KB obs build log lynxis, 01/13/2020 12:08 AM
Actions #1

Updated by lynxis about 4 years ago

  • Assignee set to neels

Should we revert the commit?

Actions #2

Updated by laforge about 4 years ago

I thought I had already reverted related commits, now I'm confused why it still fails...

See Change-Id: I5aec5b59f304c7f732c4a31131beedf29c966d9d and I43084ac3b24684f17df43fefc82019e44baaa236

Actions #3

Updated by lynxis about 4 years ago

  • Status changed from New to Closed

It has been reverted. OBS succees now.

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)