Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
tests: add dbus interface spread test #3014
Conversation
| + snap install --edge test-snapd-dbus-provider | ||
| + | ||
| + echo "And the D-bus X11 dependencies are installed" | ||
| + apt install -y dbus-x11 |
mvo5
Mar 13, 2017
Collaborator
Looks like we need to limit this to classic (via system:) if we apt here.
|
|
fgimenez
added some commits
Mar 14, 2017
|
@niemeyer thanks, i've added a specific upstart job for 14.04, please take another look. |
fgimenez
and others
added some commits
Mar 14, 2017
|
@fgimenez I think you need to build and upload a ppc64el version of this snap:
|
fgimenez
added some commits
Apr 4, 2017
|
@zyga thanks! the tests snaps are already in place |
| + snap install --edge test-snapd-dbus-consumer | ||
| + | ||
| + echo "And the provider dbus loop is started" | ||
| + dbus-launch > dbus.env |
mvo5
Apr 20, 2017
Collaborator
The usual way to do this (as documented in the man-page) is eval $(dbus-launch --sh-syntax) - is this not working for some reason?
fgimenez
Apr 20, 2017
Contributor
@mvo5 exactly, when using eval $(dbus-launch --sh-syntax) I get:
+ sleep 1
+ MATCH 'hello world'
+ dbus-send --print-reply --dest=com.dbustest.HelloWorld /com/dbustest/HelloWorld com.dbustest.HelloWorld.SayHello
Failed to open connection to "session" message bus: /usr/bin/dbus-launch terminated abnormally with the following error: Autolaunch error: X11 initialization failed.
error: pattern not found, got:
+ sleep 1
+ MATCH 'hello world'
+ dbus-send --print-reply --dest=com.dbustest.HelloWorld /com/dbustest/HelloWorld com.dbustest.HelloWorld.SayHello
Failed to open connection to "session" message bus: /usr/bin/dbus-launch terminated abnormally with the following error: Autolaunch error: X11 initialization failed.
...
mvo5
merged commit 4baab61
into
snapcore:master
Apr 24, 2017
6 checks passed
continuous-integration/travis-ci/pr
The Travis CI build passed
Details
xenial-amd64
autopkgtest finished (success)
Details
xenial-i386
autopkgtest finished (success)
Details
xenial-ppc64el
autopkgtest finished (success)
Details
yakkety-amd64
autopkgtest finished (success)
Details
zesty-amd64
autopkgtest finished (success)
Details
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
fgimenez commentedMar 10, 2017
No description provided.