Bug #4361
closed
OBS failures after merging osmo-hlr patches
Added by osmith over 4 years ago.
Updated over 4 years ago.
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.
- 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.
- Status changed from New to In Progress
- % 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.
- % Done changed from 60 to 90
- Status changed from In Progress to Resolved
- % Done changed from 90 to 100
- Related to Feature #4363: mslookup_client_mdns_test: add stubs, so it works without multicast added
Also available in: Atom
PDF