test_take_convert_ucs2_hex_utf8: assertion failed
Submitted by Stuart Cardall
Assigned to ModemManager bug user
Link to original bug (#101197)
Description
In Alpine Linux we have just started running unit tests on all packages. This error comes from 'make check' & may be related to Alpine's use of musl libc:
TEST: test-charsets... (pid=20085)
/test_def_chars: OK
/test_esc_chars: OK
/test_mixed_chars: OK
/test_unpack_gsm7: OK
/test_unpack_gsm7_7_chars: OK
/test_unpack_gsm7_all_chars: **
ERROR:test-charsets.c:338:test_take_convert_ucs2_hex_utf8: assertion failed (converted == "T-Mobile"): (NULL == "T-Mobile")
OK
/test_pack_gsm7: OK
/test_pack_gsm7_7_chars: OK
/test_pack_gsm7_all_chars: OK
/test_pack_gsm7_24_chars: OK
/test_pack_gsm7_last_septet_alone: OK
/test_pack_gsm7_7_chars_offset: OK
/test_take_convert_ucs2_hex_utf8: FAIL
GTester: last random seed: R02S16d060ead6a73c9a66d5ce773a83f80a
/bin/bash: line 1: 20064 Terminated G_DEBUG=gc-friendly MALLOC_CHECK_=2 MALLOC_PERTURB_=((
{RANDOM:-256} % 256)) gtester --verbose test-modem-helpers test-charsets test-qcdm-serial-port test-at-serial-port test-sms-part-3gpp test-sms-part-cdma test-modem-helpers-qmi
make[4]: *** [Makefile:772: test-nonrecursive] Error 143
make[4]: Leaving directory '/home/stuart/aports/community/modemmanager/src/ModemManager-1.6.6/src/tests'
make[3]: *** [Makefile:637: check-am] Error 2
make[3]: Leaving directory '/home/stuart/aports/community/modemmanager/src/ModemManager-1.6.6/src/tests'
make[2]: *** [Makefile:1630: check-recursive] Error 1
make[2]: Leaving directory '/home/stuart/aports/community/modemmanager/src/ModemManager-1.6.6/src'
make[1]: *** [Makefile:1779: check] Error 2
make[1]: Leaving directory '/home/stuart/aports/community/modemmanager/src/ModemManager-1.6.6/src'
make: *** [Makefile:536: check-recursive] Error 1
Version: 1.6