New tests fail with parallel make

"Kohler, Benjamin" <[email protected]> Tue, 11 Jun 2024 06:43:01 -0500
Newsgroups dev.linux.lists.ell
Message-ID <[email protected]>
Hello,

I'm seeing new test failures on dbus tests when using more than 3 make 
jobs.  My default here is MAKEOPTS="-j4" and it's consistently failing.  
It seems to succeed with  with "-j3" or lower. Failing tests are:

FAIL: unit/test-dbus-message-fds
FAIL: unit/test-dbus

At least part of the problem seems to be starting more than one 
dbus-daemon instance on the same IP/port.

I've attached test-suite.log, any help is appreciated.

Thanks,

Ben
test-suite.log (text/plain, 7.6 KB)
================================
   ell 0.66: ./test-suite.log
================================

# TOTAL: 43
# PASS:  41
# SKIP:  0
# XFAIL: 0
# FAIL:  2
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: unit/test-dbus
====================

launching dbus-daemon
dbus-daemon process 197355 created
TEST FAILED in test_dbus at unit/test-dbus.c:247: dbus
[DBUS] > 41 55 54 48 20 41 4e 4f 4e 59 4d 4f 55 53 0d 0a  AUTH ANONYMOUS..
[DBUS] < 4f 4b 20 32 30 65 38 36 63 37 32 37 33 61 62 37  OK 20e86c7273ab7
[DBUS]   32 35 37 65 65 30 39 66 36 39 36 36 36 36 38 33  257ee09f69666683
[DBUS]   37 30 30 0d 0a                                   700..           
[DBUS] > 42 45 47 49 4e 0d 0a                             BEGIN..         
[DBUS] > 6c 01 00 01 00 00 00 00 01 00 00 00 6d 00 00 00  l...........m...
[DBUS]   01 01 6f 00 15 00 00 00 2f 6f 72 67 2f 66 72 65  ..o...../org/fre
[DBUS]   65 64 65 73 6b 74 6f 70 2f 44 42 75 73 00 00 00  edesktop/DBus...
[DBUS]   03 01 73 00 05 00 00 00 48 65 6c 6c 6f 00 00 00  ..s.....Hello...
[DBUS]   02 01 73 00 14 00 00 00 6f 72 67 2e 66 72 65 65  ..s.....org.free
[DBUS]   64 65 73 6b 74 6f 70 2e 44 42 75 73 00 00 00 00  desktop.DBus....
[DBUS]   06 01 73 00 14 00 00 00 6f 72 67 2e 66 72 65 65  ..s.....org.free
[DBUS]   64 65 73 6b 74 6f 70 2e 44 42 75 73 00 00 00 00  desktop.DBus....
[DBUS] < 6c 02 01 01 09 00 00 00 01 00 00 00 3d 00 00 00  l...........=...
[DBUS]   06 01 73 00 04 00 00 00 3a 31 2e 30 00 00 00 00  ..s.....:1.0....
[DBUS]   05 01 75 00 01 00 00 00 08 01 67 00 01 73 00 00  ..u.......g..s..
[DBUS]   07 01 73 00 14 00 00 00 6f 72 67 2e 66 72 65 65  ..s.....org.free
[DBUS]   64 65 73 6b 74 6f 70 2e 44 42 75 73 00 00 00 00  desktop.DBus....
[DBUS]   04 00 00 00 3a 31 2e 30 00                       ....:1.0.       
ready
[DBUS] < 6c 04 01 01 09 00 00 00 02 00 00 00 8d 00 00 00  l...............
[DBUS]   01 01 6f 00 15 00 00 00 2f 6f 72 67 2f 66 72 65  ..o...../org/fre
[DBUS]   65 64 65 73 6b 74 6f 70 2f 44 42 75 73 00 00 00  edesktop/DBus...
[DBUS]   02 01 73 00 14 00 00 00 6f 72 67 2e 66 72 65 65  ..s.....org.free
[DBUS]   64 65 73 6b 74 6f 70 2e 44 42 75 73 00 00 00 00  desktop.DBus....
[DBUS]   03 01 73 00 0c 00 00 00 4e 61 6d 65 41 63 71 75  ..s.....NameAcqu
[DBUS]   69 72 65 64 00 00 00 00 06 01 73 00 04 00 00 00  ired......s.....
[DBUS]   3a 31 2e 30 00 00 00 00 08 01 67 00 01 73 00 00  :1.0......g..s..
[DBUS]   07 01 73 00 14 00 00 00 6f 72 67 2e 66 72 65 65  ..s.....org.free
[DBUS]   64 65 73 6b 74 6f 70 2e 44 42 75 73 00 00 00 00  desktop.DBus....
[DBUS]   04 00 00 00 3a 31 2e 30 00                       ....:1.0.       
path=/org/freedesktop/DBus destination=:1.0
interface=org.freedesktop.DBus member=NameAcquired
sender=org.freedesktop.DBus
[DBUS] > 6c 01 00 01 2c 00 00 00 02 00 00 00 7f 00 00 00  l...,...........
[DBUS]   01 01 6f 00 15 00 00 00 2f 6f 72 67 2f 66 72 65  ..o...../org/fre
[DBUS]   65 64 65 73 6b 74 6f 70 2f 44 42 75 73 00 00 00  edesktop/DBus...
[DBUS]   03 01 73 00 08 00 00 00 41 64 64 4d 61 74 63 68  ..s.....AddMatch
[DBUS]   00 00 00 00 00 00 00 00 02 01 73 00 14 00 00 00  ..........s.....
[DBUS]   6f 72 67 2e 66 72 65 65 64 65 73 6b 74 6f 70 2e  org.freedesktop.
[DBUS]   44 42 75 73 00 00 00 00 06 01 73 00 14 00 00 00  DBus......s.....
[DBUS]   6f 72 67 2e 66 72 65 65 64 65 73 6b 74 6f 70 2e  org.freedesktop.
[DBUS]   44 42 75 73 00 00 00 00 08 01 67 00 01 73 00 00  DBus......g..s..
[DBUS]   27 00 00 00 74 79 70 65 3d 73 69 67 6e 61 6c 2c  '...type=signal,
[DBUS]   73 65 6e 64 65 72 3d 6f 72 67 2e 66 72 65 65 64  sender=org.freed
[DBUS]   65 73 6b 74 6f 70 2e 44 42 75 73 00              esktop.DBus.    
[DBUS] > 6c 01 00 01 14 00 00 00 03 00 00 00 80 00 00 00  l...............
[DBUS]   01 01 6f 00 15 00 00 00 2f 6f 72 67 2f 66 72 65  ..o...../org/fre
[DBUS]   65 64 65 73 6b 74 6f 70 2f 44 42 75 73 00 00 00  edesktop/DBus...
[DBUS]   03 01 73 00 0b 00 00 00 52 65 71 75 65 73 74 4e  ..s.....RequestN
[DBUS]   61 6d 65 00 00 00 00 00 02 01 73 00 14 00 00 00  ame.......s.....
[DBUS]   6f 72 67 2e 66 72 65 65 64 65 73 6b 74 6f 70 2e  org.freedesktop.
[DBUS]   44 42 75 73 00 00 00 00 06 01 73 00 14 00 00 00  DBus......s.....
[DBUS]   6f 72 67 2e 66 72 65 65 64 65 73 6b 74 6f 70 2e  org.freedesktop.
[DBUS]   44 42 75 73 00 00 00 00 08 01 67 00 02 73 75 00  DBus......g..su.
[DBUS]   08 00 00 00 6f 72 67 2e 74 65 73 74 00 00 00 00  ....org.test....
[DBUS]   00 00 00 00                                      ....            
[DBUS] < 6c 02 01 01 00 00 00 00 03 00 00 00 35 00 00 00  l...........5...
[DBUS]   06 01 73 00 04 00 00 00 3a 31 2e 30 00 00 00 00  ..s.....:1.0....
[DBUS]   05 01 75 00 02 00 00 00 07 01 73 00 14 00 00 00  ..u.......s.....
[DBUS]   6f 72 67 2e 66 72 65 65 64 65 73 6b 74 6f 70 2e  org.freedesktop.
[DBUS]   44 42 75 73 00 00 00 00                          DBus....        
add match
[DBUS] < 6c 04 01 01 21 00 00 00 06 00 00 00 89 00 00 00  l...!...........
[DBUS]   01 01 6f 00 15 00 00 00 2f 6f 72 67 2f 66 72 65  ..o...../org/fre
[DBUS]   65 64 65 73 6b 74 6f 70 2f 44 42 75 73 00 00 00  edesktop/DBus...
[DBUS]   02 01 73 00 14 00 00 00 6f 72 67 2e 66 72 65 65  ..s.....org.free
[DBUS]   64 65 73 6b 74 6f 70 2e 44 42 75 73 00 00 00 00  desktop.DBus....
[DBUS]   03 01 73 00 10 00 00 00 4e 61 6d 65 4f 77 6e 65  ..s.....NameOwne
[DBUS]   72 43 68 61 6e 67 65 64 00 00 00 00 00 00 00 00  rChanged........
[DBUS]   07 01 73 00 14 00 00 00 6f 72 67 2e 66 72 65 65  ..s.....org.free
[DBUS]   64 65 73 6b 74 6f 70 2e 44 42 75 73 00 00 00 00  desktop.DBus....
[DBUS]   08 01 67 00 03 73 73 73 00 00 00 00 00 00 00 00  ..g..sss........
[DBUS]   08 00 00 00 6f 72 67 2e 74 65 73 74 00 00 00 00  ....org.test....
[DBUS]   00 00 00 00 00 00 00 00 04 00 00 00 3a 31 2e 30  ............:1.0
[DBUS]   00                                               .               
path=/org/freedesktop/DBus destination=(null)
interface=org.freedesktop.DBus member=NameOwnerChanged
sender=org.freedesktop.DBus
name=org.test old= new=:1.0
[DBUS] < 6c 04 01 01 0d 00 00 00 04 00 00 00 8d 00 00 00  l...............
[DBUS]   01 01 6f 00 15 00 00 00 2f 6f 72 67 2f 66 72 65  ..o...../org/fre
[DBUS]   65 64 65 73 6b 74 6f 70 2f 44 42 75 73 00 00 00  edesktop/DBus...
[DBUS]   02 01 73 00 14 00 00 00 6f 72 67 2e 66 72 65 65  ..s.....org.free
[DBUS]   64 65 73 6b 74 6f 70 2e 44 42 75 73 00 00 00 00  desktop.DBus....
[DBUS]   03 01 73 00 0c 00 00 00 4e 61 6d 65 41 63 71 75  ..s.....NameAcqu
[DBUS]   69 72 65 64 00 00 00 00 06 01 73 00 04 00 00 00  ired......s.....
[DBUS]   3a 31 2e 30 00 00 00 00 08 01 67 00 01 73 00 00  :1.0......g..s..
[DBUS]   07 01 73 00 14 00 00 00 6f 72 67 2e 66 72 65 65  ..s.....org.free
[DBUS]   64 65 73 6b 74 6f 70 2e 44 42 75 73 00 00 00 00  desktop.DBus....
[DBUS]   08 00 00 00 6f 72 67 2e 74 65 73 74 00           ....org.test.   
path=/org/freedesktop/DBus destination=:1.0
interface=org.freedesktop.DBus member=NameAcquired
sender=org.freedesktop.DBus
[DBUS] < 6c 02 01 01 04 00 00 00 05 00 00 00 3d 00 00 00  l...........=...
[DBUS]   06 01 73 00 04 00 00 00 3a 31 2e 30 00 00 00 00  ..s.....:1.0....
[DBUS]   05 01 75 00 03 00 00 00 08 01 67 00 01 75 00 00  ..u.......g..u..
[DBUS]   07 01 73 00 14 00 00 00 6f 72 67 2e 66 72 65 65  ..s.....org.free
[DBUS]   64 65 73 6b 74 6f 70 2e 44 42 75 73 00 00 00 00  desktop.DBus....
[DBUS]   01 00 00 00                                      ....            
request name result=1
[DBUS] disconnect
TEST: Using a unix socket
TEST: Using a tcp socket
FAIL unit/test-dbus (exit status: 255)

FAIL: unit/test-dbus-message-fds
================================

launching dbus-daemon
dbus-daemon process 197380 created
dbus-daemon[197380]: Failed to start message bus: Failed to bind socket "0.0.0.0" port 14046: Address already in use
FAIL unit/test-dbus-message-fds (exit status: 134)