Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 163901 - dev-python/dbus-python-0.80.1: tests fail
Summary: dev-python/dbus-python-0.80.1: tests fail
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Project Gentopia
URL:
Whiteboard:
Keywords:
: 232819 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-01-26 13:55 UTC by Miroslav Šulc
Modified: 2008-07-24 13:52 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge_info.txt,11.26 KB, text/plain)
2007-01-26 13:56 UTC, Miroslav Šulc
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Miroslav Šulc gentoo-dev 2007-01-26 13:55:21 UTC
>>> Source compiled.
>>> Test phase [check]: dev-python/dbus-python-0.80.1
Making check in _dbus_bindings
make[1]: Entering directory `/var/tmp/portage/dev-python/dbus-python-0.80.1/work/dbus-python-0.80.1/_dbus_bindings'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/var/tmp/portage/dev-python/dbus-python-0.80.1/work/dbus-python-0.80.1/_dbus_bindings'
Making check in _dbus_glib_bindings
make[1]: Entering directory `/var/tmp/portage/dev-python/dbus-python-0.80.1/work/dbus-python-0.80.1/_dbus_glib_bindings'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/var/tmp/portage/dev-python/dbus-python-0.80.1/work/dbus-python-0.80.1/_dbus_glib_bindings'
Making check in dbus
make[1]: Entering directory `/var/tmp/portage/dev-python/dbus-python-0.80.1/work/dbus-python-0.80.1/dbus'
make  check-am
make[2]: Entering directory `/var/tmp/portage/dev-python/dbus-python-0.80.1/work/dbus-python-0.80.1/dbus'
make[2]: Nothing to be done for `check-am'.
make[2]: Leaving directory `/var/tmp/portage/dev-python/dbus-python-0.80.1/work/dbus-python-0.80.1/dbus'
make[1]: Leaving directory `/var/tmp/portage/dev-python/dbus-python-0.80.1/work/dbus-python-0.80.1/dbus'
Making check in examples
make[1]: Entering directory `/var/tmp/portage/dev-python/dbus-python-0.80.1/work/dbus-python-0.80.1/examples'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/var/tmp/portage/dev-python/dbus-python-0.80.1/work/dbus-python-0.80.1/examples'
Making check in test
make[1]: Entering directory `/var/tmp/portage/dev-python/dbus-python-0.80.1/work/dbus-python-0.80.1/test'
make  check-TESTS
make[2]: Entering directory `/var/tmp/portage/dev-python/dbus-python-0.80.1/work/dbus-python-0.80.1/test'
Running dbus-launch --sh-syntax --config-file=/var/tmp/portage/dev-python/dbus-python-0.80.1/work/dbus-python-0.80.1/test/../test/tmp-session-bus.conf
Started bus pid 2153 at unix:abstract=/var/tmp/portage/dev-python/dbus-python-0.80.1/work/dbus-python-0.80.1/test/dbus-BH1rUDxAQN,guid=1e97d94debd2aefa3532910045ba03ac
Running: ./run-test.sh
running test-standalone.py
....................
----------------------------------------------------------------------
Ran 20 tests in 0.003s

OK
running test-unusable-main-loop.py
Correctly got ValueError from UnusableMainLoop
running the examples
:1.1
org.freedesktop.DBus
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/dbus-python-0.80.1/work/dbus-python-0.80.1/test/../examples/example-async-client.py", line 93, in ?
    remote_object = bus.get_object("com.example.SampleService","/SomeObject")
  File "/var/tmp/portage/dev-python/dbus-python-0.80.1/work/dbus-python-0.80.1/dbus/_dbus.py", line 412, in get_object
    follow_name_owner_changes=follow_name_owner_changes)
  File "/var/tmp/portage/dev-python/dbus-python-0.80.1/work/dbus-python-0.80.1/dbus/proxies.py", line 232, in __init__
    _dbus_bindings.UInt32(0))
  File "/var/tmp/portage/dev-python/dbus-python-0.80.1/work/dbus-python-0.80.1/dbus/proxies.py", line 171, in __call__
    reply_message = self._connection.send_message_with_reply_and_block(message, timeout)
DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name com.example.SampleService was not provided by any .service files
Usage:
python example-service.py &
python example-async-client.py
python example-client.py --exit-service

./run-test.sh: example-async-client failed!
killing message bus 2153
/var/tmp/portage/dev-python/dbus-python-0.80.1/work/dbus-python-0.80.1/test/../test/run-with-tmp-session-bus.sh: script "./run-test.sh" failed
FAIL: run-test.sh
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/dbus-python-0.80.1/work/dbus-python-0.80.1/test/../examples/example-signal-emitter.py", line 39, in ?
    session_bus = dbus.SessionBus()
  File "/var/tmp/portage/dev-python/dbus-python-0.80.1/work/dbus-python-0.80.1/dbus/_dbus.py", line 671, in __new__
    mainloop=mainloop)
  File "/var/tmp/portage/dev-python/dbus-python-0.80.1/work/dbus-python-0.80.1/dbus/_dbus.py", line 295, in __new__
    mainloop=mainloop)
dbus.DBusException: org.freedesktop.DBus.Error.NoServer: Failed to connect to socket /var/tmp/portage/dev-python/dbus-python-0.80.1/work/dbus-python-0.80.1/test/dbus-BH1rUDxAQN: Connection refused
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/dbus-python-0.80.1/work/dbus-python-0.80.1/test/../examples/example-service.py", line 53, in ?
    session_bus = dbus.SessionBus()
  File "/var/tmp/portage/dev-python/dbus-python-0.80.1/work/dbus-python-0.80.1/dbus/_dbus.py", line 671, in __new__
    mainloop=mainloop)
  File "/var/tmp/portage/dev-python/dbus-python-0.80.1/work/dbus-python-0.80.1/dbus/_dbus.py", line 295, in __new__
    mainloop=mainloop)
dbus.DBusException: org.freedesktop.DBus.Error.NoServer: Failed to connect to socket /var/tmp/portage/dev-python/dbus-python-0.80.1/work/dbus-python-0.80.1/test/dbus-BH1rUDxAQN: Connection refused
======================================================================================
1 of 1 tests failed
Please report to http://bugzilla.gnome.org/enter_bug.cgi?product=dbus&component=python
======================================================================================
make[2]: *** [check-TESTS] Error 1
make[2]: Leaving directory `/var/tmp/portage/dev-python/dbus-python-0.80.1/work/dbus-python-0.80.1/test'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory `/var/tmp/portage/dev-python/dbus-python-0.80.1/work/dbus-python-0.80.1/test'
make: *** [check-recursive] Error 1

!!! ERROR: dev-python/dbus-python-0.80.1 failed.
Call stack:
  ebuild.sh, line 1611:   Called dyn_test
  ebuild.sh, line 1023:   Called qa_call 'src_test'
  environment, line 3238:   Called src_test
  ebuild.sh, line 650:   Called die

!!! Make check failed. See above for details.
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/dev-python/dbus-python-0.80.1/temp/build.log'.
Comment 1 Miroslav Šulc gentoo-dev 2007-01-26 13:56:03 UTC
Created attachment 108191 [details]
emerge --info

emerge --info
Comment 2 Doug Goldstein (RETIRED) gentoo-dev 2007-03-14 15:18:53 UTC
It's basically a timing issue. If you try it again, you'll see it succeeds.
Comment 3 Doug Goldstein (RETIRED) gentoo-dev 2007-04-16 16:09:49 UTC
race condition in the make check... upstream doesn't have a fix and nor do I...
Comment 4 Doug Goldstein (RETIRED) gentoo-dev 2008-07-24 13:52:22 UTC
*** Bug 232819 has been marked as a duplicate of this bug. ***