How to watch system D-BUS method calls
26 September 2013
The current default D-BUS configuration (at least on Ubuntu) disallows monitoring method calls on the system D-BUS (dbus-monitor --system), which makes debugging rather cumbersome; this has worked years ago, but apparently got changed for security reasons. It took me a half an hour to figure out how to enable this for debugging, and as this has annoyingly little Google juice (I didn’t find any solution), let’s add some.
The trick seems to be to set a global policy to be able to eavesdrop any method call after the individual /etc/dbus-1/system.
... Read More
Run autopilot test in autopkgtest
30 August 2013
I recently created a test for digicam photo import for Shotwell (using autopilot and umockdev), and made that run as an autopkgtest. It occurred to me that this might be interesting for other desktop applications as well.
The community QA team has written some autopkgtests for desktop applications such as evince, nautilus, or Firefox. We run them regularly in Jenkins on real hardware in a full desktop environment, so that they can use the full desktop integration (3D, indicators, D-BUS services, etc).
... Read More
umockdev 0.4: Mocking phone calls
30 July 2013
umockdev 0.3 introduced the notion of an “umockdev script”, i. e. recording the read()s and write()s that happen on a device node such as ttyUSB0. With that one can successfully run ModemManager in an umockdev testbed to pretend that one has e. g. an USB 3G stick.
However, this didn’t yet apply to the Ubuntu phone stack, where ofonod talks to Android’s “rild” (Radio Interface Layer Daemon) through the Unix socket /dev/socket/rild.
... Read More
umockdev 0.3: record and replay of tty devices
12 July 2013
I’m happy to announce a new release 0.3 of umockdev.
The big new feature is the ability to fake character devices and provide recording and replaying of communications on them. This work is driven by our need to create automatic tests for the Ubuntu phone stack, i. e. pretending that we have a 3G or phone driver and ensuring that the higher level stacks behaves as expected without actually having to have a particular modem.
... Read More
PyGObject 3.8.3 released
5 July 2013
While GNOME as a whole does not have a planned 3.8.3 release, I got some requests to do a new stable release of PyGObject with some important bug fixes, so here it is: version 3.8.3. Thanks to all contributors!
Add marshalling of GI_TYPE_TAG_VOID held in a GValue to int. While not particularly useful this allows some callbacks in WebKit to function without causing a segfault. (Simon Feltman) (#694233) pygtkcompat: Fix for missing methods on Windows (Martin Pitt) (#702787) gi/pygi-info.
... Read More
I was asked to pour some love over autopilot-gtk, a GTK module to provide introspection of widget states to Autopilot. For those who don’t know, Autopilot is a QA tool to write automatic testing of GUI applications, without the race conditions and limitations that previous tools had with using only the ATK level. Please see the documentation and tutorial for more information. There are a lot of community members who do great things with it already, such as automating testing for Ubiquity or writing tests for GNOME applications like evince, gedit, nautilus, or Shotwell.
... Read More
umockdev 0.2.6: Hello ARM
13 June 2013
I released umockdev 0.2.6. Most importantly, this now fully works on ARM platforms, as we want to use it to write tests for/on the Ubuntu phone. I tested it on my Nexus 7, and the tests also succeed on the ARM Ubuntu builder (which are Panda boards). Fixing this revealed some interesting issues in recorded ioctl traces (as they are platform specific in some cases due to different word length) as well as kernel bugs in the Tegra drivers.
... Read More
Ubuntu Saucy translations are now open
11 June 2013
You can now start translating Ubuntu Saucy on Launchpad.
umockdev 0.2.2 released
24 May 2013
I did a 0.2.2 maintenance release for umockdev to fix building with Vala 0.16.1, gcc 4.8 (the changed sizeof behaviour caused segfaults), and current udev releases (umockdev-record stumbled over the new “link priority” fields of udevadm). There are also a couple of bug fixes, but no new features.
PyGObject 3.9.1 released
30 April 2013
Time for the first PyGObject release for GNOME 3.9.x! This release brings the performance optimizations (thanks to Daniel Drake), quite a lot of internal code cleanup, and various bug fixes.
Thanks to all contributors!
gtk-demo: Wrap description strings at 80 characters (Simon Feltman) (#698547) gtk-demo: Use textwrap to reformat description for Gtk.TextView (Simon Feltman) (#698547) gtk-demo: Use GtkSource.View for showing source code (Simon Feltman) (#698547) Use correct class for GtkEditable’s get_selection_bounds() function (Mike Ruprecht) (#699096) Test results of g_base_info_get_name for NULL (Simon Feltman) (#698829) Remove g_type_init conditional call (Jose Rostagno) (#698763) Update deps versions also in README (Jose Rostagno) (#698763) Drop compat code for old python version (Jose Rostagno) (#698763) Remove duplicate call to _gi.
... Read More