Summary: | bus-test failed to complete tests. | ||
---|---|---|---|
Product: | dbus | Reporter: | Andrew SG Rojek <dev.admin> |
Component: | core | Assignee: | Havoc Pennington <hp> |
Status: | RESOLVED FIXED | QA Contact: | John (J5) Palmieri <johnp> |
Severity: | normal | ||
Priority: | medium | CC: | dev.admin, walters |
Version: | 1.2.x | Keywords: | NEEDINFO |
Hardware: | x86 (IA32) | ||
OS: | Mac OS X (All) | ||
Whiteboard: | committed, awaiting testing | ||
i915 platform: | i915 features: |
Description
Andrew SG Rojek
2008-07-13 15:56:17 UTC
"Unknown group "root" on element <deny>" This sounds like the configuration file needs to be different for OS X? Is there no group "root" there? Is this still reproducible with 1.2.3? At a higher level I'm trying to get all OS X integration done here: http://bugs.freedesktop.org/show_bug.cgi?id=14259 Thanks for reply. Checked groups for 'root' using dscl and no account has been created for 'root'. As far as I'm aware, root user is grouped with other admin accounts under 'admin'. I'll try v1.2.3 and get back to you soon. A. Colin, Just got round to testing the latest release of dbus (v.1.2.12) and the 'make check' output is almost identical with the same problems. After examining the system accounts and several experimentations with group accounts on the Mac, the group error reported before, can be eliminated by changing the statements in the test file 'many-rules.conf' on lines 20 and 38 to read, <deny group="wheel"/> As an unqualified opinion, the group 'wheel' (System Group) seems to be the most commonly used group when associated with the 'root' account on the Mac and is also the only member of that group. Therefore, it would seem that it would be a suitable substitute. Alternatively, the group 'sys' (System) also has 'root' as its only member, but is not widely used throughout the system. Also, group 'admin' (Administrators) has as its members all the user accounts that have administrator status. Don't know if that one is of any help however. With root group set to wheel, the rest of the tests progressed without any related errors. For a future addition, could you get configure to detect darwin OS and reconfigure the conf files to read the group 'wheel' ? Getting back to the output from the check, the valid and invalid message tests all seem to produce the same message, "message builder language no longer supported" and I'm not aware of the implications of this. Being able to progress deeper into the tests, the following test failed, ./bus-test: Running message dispatch test check_get_connection_unix_process_id this one seemed a bit more serious. OUTPUT FROM 'MAKE CHECK' ---------------------- Making check in dbus make check-am make check-TESTS Test data in ../test/data dbus-test: running string tests dbus-test: checking for memleaks dbus-test: running sysdeps tests dbus-test: checking for memleaks dbus-test: running data-slot tests dbus-test: checking for memleaks dbus-test: running misc tests dbus-test: checking for memleaks dbus-test: running address tests dbus-test: checking for memleaks dbus-test: running server tests dbus-test: checking for memleaks dbus-test: running object-tree tests dbus-test: checking for memleaks dbus-test: running signature tests dbus-test: checking for memleaks dbus-test: running marshalling tests dbus-test: checking for memleaks recursive marshal tests disabled dbus-test: running byteswap tests 120 blocks swapped from order 'l' to 'B' 120 blocks swapped from order 'B' to 'l' dbus-test: checking for memleaks dbus-test: running memory tests dbus-test: checking for memleaks dbus-test: running mem-pool tests dbus-test: checking for memleaks dbus-test: running list tests dbus-test: checking for memleaks dbus-test: running marshal-validate tests dbus-test: checking for memleaks dbus-test: running marshal-header tests dbus-test: checking for memleaks dbus-test: running message tests testing message loading: trivial example of each message type 4 test loads cumulative testing message loading: assorted arguments 124 test loads cumulative testing message loading: assorted special cases 144 test loads cumulative testing message loading: each uint32 modified 35366 test loads cumulative testing message loading: wrong body lengths 38366 test loads cumulative testing message loading: each byte modified 51545 test loads cumulative 51545 sample messages tested validity 0 seen 378 times validity 1 seen 3477 times validity 2 seen 177 times validity 4 seen 3 times validity 5 seen 3 times validity 6 seen 3 times validity 7 seen 273 times validity 8 seen 3 times validity 9 seen 15780 times validity 10 seen 173 times validity 11 seen 2740 times validity 12 seen 6078 times validity 13 seen 3960 times validity 14 seen 360 times validity 15 seen 3 times validity 16 seen 1080 times validity 17 seen 1440 times validity 18 seen 1107 times validity 19 seen 3 times validity 20 seen 1080 times validity 21 seen 6480 times validity 22 seen 3 times validity 23 seen 3 times validity 24 seen 720 times validity 25 seen 360 times validity 26 seen 1440 times validity 27 seen 720 times validity 28 seen 360 times validity 29 seen 3 times validity 30 seen 720 times validity 31 seen 3 times validity 32 seen 360 times validity 33 seen 3 times validity 34 seen 3 times validity 35 seen 14625 times validity 37 seen 6666 times validity 38 seen 2013 times validity 39 seen 15447 times validity 40 seen 1788 times validity 41 seen 8325 times validity 42 seen 3408 times validity 43 seen 4875 times validity 45 seen 3327 times validity 46 seen 7485 times validity 47 seen 1125 times validity 48 seen 3 times validity 49 seen 3 times validity 50 seen 144 times validity 51 seen 3 times validity 54 seen 12 times validity -4 seen 0 times validity -2 seen 0 times validity 3 seen 0 times validity 36 seen 0 times validity 44 seen 0 times validity 52 seen 0 times validity 53 seen 0 times validity 55 seen 0 times Testing valid-messages: Could not load array-of-array-of-uint32.message, message builder language no longer supported Could not load dict-simple.message, message builder language no longer supported Could not load dict.message, message builder language no longer supported Could not load emptiness.message, message builder language no longer supported Could not load lots-of-arguments.message, message builder language no longer supported Could not load no-padding.message, message builder language no longer supported Could not load opposite-endian.message, message builder language no longer supported Could not load recursive-types.message, message builder language no longer supported Could not load simplest-manual.message, message builder language no longer supported Could not load simplest.message, message builder language no longer supported Could not load standard-acquire-service.message, message builder language no longer supported Could not load standard-hello.message, message builder language no longer supported Could not load standard-list-services.message, message builder language no longer supported Could not load standard-service-exists.message, message builder language no longer supported Could not load unknown-header-field.message, message builder language no longer supported Testing invalid-messages: Could not load array-of-nil.message, message builder language no longer supported Could not load array-with-mixed-types.message, message builder language no longer supported Could not load bad-boolean-array.message, message builder language no longer supported Could not load bad-boolean.message, message builder language no longer supported Could not load bad-endian.message, message builder language no longer supported Could not load bad-header-field-alignment.message, message builder language no longer supported boolean-has-no-value.message-raw Could not load local-namespace.message, message builder language no longer supported Could not load no-dot-in-name.message, message builder language no longer supported Could not load not-nul-header-padding.message, message builder language no longer supported Could not load overlong-name.message, message builder language no longer supported Could not load too-little-header-padding.message, message builder language no longer supported Could not load too-much-header-padding-by-far.message, message builder language no longer supported Could not load too-much-header-padding.message, message builder language no longer supported Could not load too-short-dict.message, message builder language no longer supported Testing incomplete-messages: Could not load missing-body.message, message builder language no longer supported dbus-test: checking for memleaks dbus-test: running hash tests Computing test hash keys... ... done. dbus-test: checking for memleaks dbus-test: running spawn tests dbus-test: checking for memleaks dbus-test: running credentials tests dbus-test: checking for memleaks dbus-test: running userdb tests Current user: root homedir: /var/root gids: 0 1 2 8 29 3 9 4 503 5 80 20 dbus-test: checking for memleaks dbus-test: running keyring tests 1 keys in test dbus-test: checking for memleaks dbus-test: running sha tests SHA-1: H>SHS Type 1 Strings<H SHA-1: H>SHS Type 2 Strings<H SHA-1: H>SHS Type 3 Strings<H (ending tests due to Type 3 tests seen - this is normal) Passed the 229 SHA-1 tests in the test file dbus-test: checking for memleaks dbus-test: running auth tests Testing auth: anonymous-client-successful.auth-script anonymous-server-successful.auth-script cancel.auth-script client-out-of-mechanisms.auth-script external-failed.auth-script external-root.auth-script external-silly.auth-script external-successful.auth-script extra-bytes.auth-script fail-after-n-attempts.auth-script fallback.auth-script invalid-command-client.auth-script invalid-command.auth-script invalid-hex-encoding.auth-script mechanisms.auth-script dbus-test: checking for memleaks dbus-test: running pending-call tests dbus-test: checking for memleaks dbus-test: completed successfully PASS: dbus-test ================== All 1 tests passed ================== Making check in bus make check-TESTS ./bus-test: Running expire list test ./bus-test: checking for memleaks ./bus-test: Running config file parser test Testing retrieving the default session service directories default service dir: /Volumes/gnu/gde/org.gnome/share/dbus-1/services default service dir: /usr/local/share/dbus-1/services default service dir: /Volumes/gnu/gde/org.gnome/share/dbus-1/services test service dir: /testusr/testlocal/testshare/dbus-1/services test service dir: /testusr/testshare/dbus-1/services test service dir: /usr/local/share/dbus-1/services test service dir: /testhome/foo/.testlocal/testshare/dbus-1/services Testing retrieving the default system service directories default service dir: /testusr/testlocal/testshare/dbus-1/system-services default service dir: /testusr/testshare/dbus-1/system-services default service dir: /usr/local/share/dbus-1/system-services test service dir: /testusr/testlocal/testshare/dbus-1/system-services test service dir: /testusr/testshare/dbus-1/system-services test service dir: /usr/local/share/dbus-1/system-services Testing valid files: basic.conf debug-allow-all-sha1.conf debug-allow-all.conf entities.conf many-rules.conf session.conf system.conf Testing invalid files: badselinux-1.conf badselinux-2.conf circular-1.conf circular-2.conf circular-3.conf not-well-formed.conf truncated-file.conf Comparing equivalent files: basic-1.conf basic-2.conf Comparing equivalent files: entities-1.conf entities-2.conf ./bus-test: checking for memleaks ./bus-test: Running policy test ./bus-test: checking for memleaks ./bus-test: Running signals test ./bus-test: checking for memleaks ./bus-test: Running SHA1 connection test ./bus-test: checking for memleaks ./bus-test: Running message dispatch test check_get_connection_unix_process_id:1278 received message interface "(unset)" member "(unset)" error name "org.freedesktop.DBus.Error.UnixProcessIdUnknown" on 0x205210, expecting not this error 0 bus-test 0x0007a748 _dbus_print_backtrace + 40 1 bus-test 0x00075762 _dbus_abort + 18 2 bus-test 0x000622e6 _dbus_warn + 102 3 bus-test 0x00013076 bus_dispatch_remove_connection + 454 4 bus-test 0x00018442 bus_dispatch_remove_connection + 21906 5 bus-test 0x000184e7 bus_dispatch_test + 39 6 bus-test 0x00025ba2 main + 338 7 bus-test 0x00001846 start + 54 Process 92900 sleeping for gdb attach /bin/sh: line 1: 92900 Abort trap DBUS_TEST_DATA=../test/data DBUS_TEST_HOMEDIR=../dbus DBUS_FATAL_WARNINGS=1 DBUS_BLOCK_ON_ABORT=1 ${dir}$tst FAIL: bus-test ./bus-test-system: Running config file parser (trivial) test Testing valid files: basic.conf debug-allow-all-sha1.conf debug-allow-all.conf entities.conf many-rules.conf session.conf system.conf Testing invalid file: ../test/data/invalid-config-files/not-well-formed.conf Testing valid file: ../test/data/valid-config-files/system.conf Testing values from: ../test/data/valid-config-files/system.conf <type>system</type> OKAY! <standard_system_service_dirs/> OKAY! ./bus-test-system: checking for memleaks ./bus-test-system: Success PASS: bus-test-system ./bus-test-launch-helper: Running launch helper OOM checks ./bus-test-launch-helper: checking for memleaks ./bus-test-launch-helper: Success PASS: bus-test-launch-helper =================== 1 of 3 tests failed =================== make[2]: *** [check-TESTS] Error 1 make[1]: *** [check-am] Error 2 make: *** [check-recursive] Error 1 Hi, I would prefer to see these kinds of things consolidated in the general Mac patch in bug 14259. Any changes to configure.in etc are likely to overlap. Just noticed I already said that, sorry. Anyways I know the other Mac patch needs review...getting closer. I think this should be fixed now, can you confirm? Will get round to testing soon. A. This is believed to have been fixed ages ago. Please reopen and provide more information if it turns out not to work. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.