Project

General

Profile

Actions

Bug #4361

closed

OBS failures after merging osmo-hlr patches

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

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

100%

Spec Reference:

Description

Test failure:

[  217s] +osmo_mdns_sock_init: setsockopt: No such device
[  217s] +Assert failed server_mc mslookup_client_mdns_test.c:86
[  217s] +/usr/src/packages/BUILD/tests/testsuite.dir/at-groups/9/test-source: line 14:  1203 Aborted                 $abs_top_builddir/tests/mslookup/mslookup_client_mdns_test
[  217s] stdout:
[  217s] ./testsuite.at:64: exit code was 134, expected 0
[  217s] 9. testsuite.at:61: 9. mslookup_client_mdns (testsuite.at:61): FAILED (testsuite.at:64)

It seems that multicast is disabled in the OBS build environment.

https://stackoverflow.com/a/3188060

I'm preparing a fix to skip the test, if multicast is disabled and then I'll re-submit the reverted patch with that fix.


Related issues

Related to Distributed GSM - Feature #4363: mslookup_client_mdns_test: add stubs, so it works without multicastNew01/14/2020

Actions
Actions #1

Updated by osmith about 4 years ago

  • Subject changed from mslookup_client_mdns fails on OBS to OBS failures after merging osmo-hlr patches
  • % Done changed from 0 to 50

My patch for skipping the test works on OBS (currently in branch osmith/skip-test).

But the build still does not pass:

[  178s] dh_install: Cannot find (any matches for) "usr/lib/*/pkgconfig/libosmo-mslookup.pc" (tried in "." and "debian/tmp")
[  178s] dh_install: libosmo-mslookup-dev missing files: usr/lib/*/pkgconfig/libosmo-mslookup.pc
[  178s] dh_install: missing files, aborting

Looks like the debian dir was not adjusted after splitting up / refactoring patches.

I'll prepare another patch to fix the debian dir.

Actions #2

Updated by osmith about 4 years ago

  • Status changed from New to In Progress
Actions #3

Updated by osmith about 4 years ago

  • % Done changed from 50 to 60

Patch pushed to osmith/skip-test and testing in my OBS namespace. I'll submit the patches when I'm back from lunch and it built successfully.

Actions #4

Updated by osmith about 4 years ago

  • % Done changed from 60 to 90
Patches submitted:
Actions #5

Updated by osmith about 4 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 90 to 100
Actions #6

Updated by osmith about 4 years ago

  • Related to Feature #4363: mslookup_client_mdns_test: add stubs, so it works without multicast added
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)