[packagekit] make check and the DBUS backends
Richard Hughes
hughsient at gmail.com
Fri Sep 12 04:44:12 PDT 2008
I'm trying to fix all the make check targets for the release on Monday:
> check #1 PkBackendDbus: get an backend_dbus...TI:12:38:15 TH:0x96eb458 FI:pk-conf.c FN:pk_conf_init,187
- using config file '../etc/PackageKit.conf'
...OK
TI:12:38:15 TH:0x96eb458 FI:pk-backend.c FN:pk_backend_set_name,576
- Trying to load : test_dbus
TI:12:38:15 TH:0x96eb458 FI:pk-backend.c FN:pk_backend_build_library_path,542
- local backend not found '../backends/test_dbus/.libs/libpk_backend_test_dbus.so'
TI:12:38:15 TH:0x96eb458 FI:pk-backend.c FN:pk_backend_build_library_path,550
- dlopening '/home/hughsie/.root/lib/packagekit-backend/libpk_backend_test_dbus.so'
TI:12:38:15 TH:0x96eb458 FI:pk-backend-test-dbus.c FN:backend_initialize,59
- backend: initialize
TI:12:38:15 TH:0x96eb458 FI:pk-backend-dbus.c FN:pk_backend_dbus_set_name,480
- trying to activate org.freedesktop.PackageKitTestBackend
> check #2 PkBackendDbus: set the name and activate...TI:12:38:15 TH:0x96eb458 FI:pk-backend-dbus.c FN:pk_backend_dbus_set_name,471
- need to unref old one -- is this logically allowed?
TI:12:38:15 TH:0x96eb458 FI:egg-dbus-monitor.c FN:egg_dbus_monitor_assign,126
- already assigned!
TI:12:38:15 TH:0x96eb458 FI:pk-backend-dbus.c FN:pk_backend_dbus_set_name,480
- trying to activate org.freedesktop.PackageKitTestBackend
...OK
> check #3 PkBackendDbus: check we actually did something and didn't fork......OK [elapsed = 2ms]
> check #4 PkBackendDbus: search by name......OK
> check #5 PkBackendDbus: check we forked and didn't block......OK [elapsed = 0ms]
TI:12:38:15 TH:0x96eb458 FI:pk-backend-dbus.c FN:pk_backend_dbus_error_code_cb,225
- got signal
TI:12:38:15 TH:0x96eb458 FI:pk-backend.c FN:pk_backend_error_code,1422
- emit error-code not-supported, This function is not implemented in this backend
TI:12:38:15 TH:0x96eb458 FI:pk-backend-dbus.c FN:pk_backend_dbus_finished_cb,204
- deleting dbus 0x96f1e00, exit failed
TI:12:38:15 TH:0x96eb458 FI:pk-backend.c FN:pk_backend_finished,1573
- finished role unknown
TI:12:38:15 TH:0x96eb458 FI:pk-backend.c FN:pk_backend_set_allow_cancel,1449
- emit allow-cancel 0
TI:12:38:15 TH:0x96eb458 FI:pk-backend.c FN:pk_backend_set_status,899
- emiting status-changed finished
TI:12:38:15 TH:0x96eb458 FI:pk-backend.c FN:pk_backend_finished,1624
- adding finished 0x96f3818 to timeout loop
TI:12:38:15 TH:0x96eb458 FI:pk-backend-dbus.c FN:pk_backend_dbus_allow_cancel_cb,214
- got signal
TI:12:38:15 TH:0x96eb458 FI:pk-backend.c FN:pk_backend_set_allow_cancel,1442
- already set error, cannot process
TI:12:38:15 TH:0x96eb458 FI:pk-backend-dbus.c FN:pk_backend_dbus_status_changed_cb,101
- got signal
TI:12:38:15 TH:0x96eb458 FI:pk-backend.c FN:pk_backend_set_status,869
- already set error, cannot process
TI:12:38:15 TH:0x96eb458 FI:pk-backend.c FN:pk_backend_finished_delay,1546
- emit finished 1
> check #6 PkBackendDbus: did we timeout out of the loop......OK [loop blocked for 50ms]
> check #7 PkBackendDbus: test number of packages...FAILED [wrong number of packages 0, expected 3]
FAIL: pk-self-test
I can't seem to work out what is wrong with the pk-backend-dbus self
checks. Could one of you guys please take a look and tell me if you see
anything obvious? Thanks.
Richard.
More information about the PackageKit
mailing list