On Mon, 2020-11-16 at 10:46 +0800, Mars via networkmanager-list wrote:
hi, I built package for NetworkManager 1.2.6 on ubuntu 16.04, encountered problems as follows, Thank you very much for any help you can provide. Thanks & Best Regards
Hi, A unit test failed. Sometimes unit tests are not entirely stable. Of course, those are bugs that should be fixed (*), but if you encounter that, then you have to handle that. You could try to build several times. Quite possibly it will succeed after a few times. If that doesn't work, disable running the unit tests while building the package. (*) 1.2.6 is very old. It is based on 1.2.0, which was released 4.5 years ago. Thus, probably this bug is fixed or no longer applies. best, Thomas
=============================================================
NetworkManager 1.2.6: src/platform/tests/test-suite.log
=============================================================
# TOTAL: 37
# PASS: 35
# SKIP: 0
# XFAIL: 0
# FAIL: 0
# XPASS: 0
# ERROR: 2
.. contents:: :depth: 2
ERROR: test-link-linux
======================
**
NetworkManager:ERROR:test-link.c:408:test_software: assertion failed
(value == "789"): ("788" == "789")
Aborted
# random seed: R02Sc5429cf6056c6bfe8591345b85575321
1..45
# Start of link tests
ok 1 /link/bogus
PASS: test-link-linux 1 /link/bogus
ok 2 /link/loopback
PASS: test-link-linux 2 /link/loopback
nmtst: initialize nmtst_get_rand() with NMTST_SEED_RAND=826890556
ok 3 /link/internal
PASS: test-link-linux 3 /link/internal
ok 4 /link/external
PASS: test-link-linux 4 /link/external
# Start of software tests
# NetworkManager:ERROR:test-link.c:408:test_software: assertion
failed (value == "789"): ("788" == "789")
ERROR: test-link-linux - too few tests run (expected 45, got 4)
ERROR: test-link-linux - exited with status 134 (terminated by signal
6?)
_______________________________________________
networkmanager-list mailing list
networkmanager-list gnome org
https://mail.gnome.org/mailman/listinfo/networkmanager-list
Attachment:
signature.asc
Description: This is a digitally signed message part