Profile

Cover photo
Martin Pitt
Works at Canonical Ltd.
Lives in Augsburg, Deutschland
261,826 views
AboutPostsPhotosYouTube

Stream

Martin Pitt

Shared publicly  - 
 
New umockdev release! The basic parts (like /dev and /sys path redirection to testbed) are now multi-thread safe, and a fixed isatty() and ioctl() errno handling now makes this work with the X.org synaptics driver 1.8 (which is a bit weird, but oh well, we need to deal with it).

This version now also introduces runtime control of debug logging with $UMOCKDEV_DEBUG, instead of having to recompile.

Enjoy!
1
1
Ubuntu QA's profile photo
Add a comment...

Martin Pitt

Shared publicly  - 
 
A few days ago I found a coin that at a glance felt like a 2 EUR coin (wight, size, colors, alloys), but is totally not one. It looks quite nice, I love the glyphs, but I can't identify the language or country at all. Any idea anyone?
4
Martin Pitt's profile photoVadim Rutkovsky's profile photorob kwispel's profile photo
3 comments
 
jie-sib bath 20 bath als ik t goed heb !
 ·  Translate
Add a comment...

Martin Pitt

Shared publicly  - 
 
autopkgtest released with support for Click packages, running tests on Ubuntu phones and OpenStack clouds, and more!
5
3
Nicholas Skaggs's profile photoJean-Baptiste Lallement's profile photo
Add a comment...

Martin Pitt

Shared publicly  - 
 
The adt-virt-ssh autopkgtest branch now has a new "ssh" runner (thanks to +Jean-Baptiste Lallement ) which can successfully run click tests on an Ubuntu phone.

$ ./run-from-checkout ~/ubuntu/tmp/ubuntu-calculator-app/ ~/ubuntu/tmp/com.ubuntu.calculator_1.3.283_all.click --- ssh -s ssh-setup/adb
2
Add a comment...
 
The #autopkgtest click branch can now run #autopilot tests of #click packages in autopkgtest's standard LXC containers, which are much faster than the emulator or real iron. This just needs a small update to the click package's manifest like http://paste.ubuntu.com/7690912/ .

If you want to play with this yourself (hello +Nicholas Skaggs):

1. Check out the click branch of autopkgtest

2. Get a calculator .click package with the patched manifest:
    wget http://people.canonical.com/~pitti/tmp/com.ubuntu.calculator_1.3.283_all.click

3. Check out the current calculator sources which have the tests:
   bzr branch lp:ubuntu-calculator-app

4. Ensure you have a current "adt-utopic" container, as built by adt-build-lxc(1)

5. Run the calculator's click tests, from the checkout directory of autopkgtest:

   ./run-from-checkout --setup-commands ./setup-commands/click-sdk-autopilot /tmp/ubuntu-calculator-app/ /tmp/com.ubuntu.calculator_1.3.283_all.click --- lxc -es adt-utopic

(This assumes that you have the .click and checkout in /tmp -- adjust the paths otherwise, of course)

You'll notice that setting up the container takes a lot of time. I cloned my adt-utopic container and pre-installed "click ubuntu-sdk-libs ubuntu-app-launch-tools autopilot-desktop" into it, then the actual test won't have much/anything to install and it's much faster.

Update: You can also run this with qemu or schroot, but it will fail with the latter due to all these "Error opening shm /lttng-ust-wait-5..." stderr messages (not sure what these are).
5
1
Ubuntu QA's profile photo
Add a comment...

Martin Pitt

Shared publicly  - 
 
After some refactorization of parsing test metadata, autopkgtest can now deal with other source package formats. I created  a "click" branch which can now run click autopkgtests, with documentation how the manifest entries look like and tests. Some bells and whistles are still missing, such as retrieving the click source from the manifest's Vcs-* and dealing with installation of test dependencies on a readonly system image, but in principle it's working now.
3
1
Martin Pitt's profile photoDaniel Holbach's profile photoNicholas Skaggs's profile photo
4 comments
 
+Daniel Holbach I want it more than just on developer.u.c, hah, I want to use it and replace everything we do with it. And yes, I'm very excited to see progress, but indeed this is the tip of the iceberg. Next up, dependencies!
Add a comment...
In his circles
108 people

Martin Pitt

Shared publicly  - 
 
It seems something changed on Freenode, or on my server, or somewhere else which now made my IRC proxy (znc) keep timing out trying to connect to Freenode. So, no 24/7 on IRC for me these days (only on Canonical's internal IRC). So feel free to mail me when I'm not online.
3
Dimitri John Ledkov's profile photoNicholas Skaggs's profile photoHarald Hoyer's profile photoVictor Simone's profile photo
7 comments
 
+Nicholas Skaggs , never change a running system :-) But I spent an hour  trying to debug the connection problem with znc, and then frankly just gave up.
Add a comment...

Martin Pitt

Shared publicly  - 
 
Another autopkgtest release. This now ships a much improved setup script for Ubuntu phones which properly disables the first-time wizards and can reset to factory (optionally before starting tests, and between tests), including save/restore of the network connection.

It also has two handfuls of bug fixes.
4
1
Ubuntu QA's profile photo
Add a comment...

Martin Pitt

Shared publicly  - 
 
I've been using rsnapshot for backing up my desktop to my server for many years, and been a happy customer. It's quite nice to have all the files in plain right in front of you, with a daily/weekly hardlink farm.

But I've wanted to encrypt my backup to be better protected from leaking my entire mountain of scanned bureaucracy and other private data, so I finally moved to duplicity. Unfortunately it can't re-use rsync's .rsync-filter files, but converting them to duplicity's exclude lists was almost mechanical. Now I have this script in my hourly crontab, and it's working well.

At some point I need to add expiration of old backups, but that happens seldomly enough that I don't care for now.
3
Stuart Bishop's profile photo
 
Are there advantages to using raw duplicity over deja-dup, besides the obvious ability to drive it from the command line or cron?
Add a comment...

Martin Pitt

Shared publicly  - 
 
Great progress on click package testing with autopkgtest! I now taught it to get along with various click source layouts, interpret the current autopilot test specification automagically (and turn the simple python test module name into the appropriate autopilot run command and dependencies). I tried it on 4 apps now (2 arch: all, 2 compiled), and can run them very nicely in schroot or LXC with the canned setup commands to "fake" a touch environment.

So this is now ready to land. I'll land it once the new adt-virt-ssh is ready to go, so that you can actually run these on a phone or emulator.
3
Add a comment...

Martin Pitt

Shared publicly  - 
 
Dedication!

(FAOD, not our's :-) We're not that crazy, and we don't have a car)
7
Dimitri John Ledkov's profile photoChad MILLER's profile photo
2 comments
 
love the car plate number, explains a loy.
Add a comment...

Martin Pitt

Shared publicly  - 
 
New major autopkgtest release. You can now call adt-run directly on a (source+binary) .changes file, i. e. the result of debuild and friends, and it will do the right thing. I also made QEMU VM building and using work for Ubuntu 12.04, by working around a few cloud-init issues. Finally I again dropped ~ 500 LOC by rewriting, simplifying, and generalizing the control parsing code, so that we can add support for other packaging formats (hello click!).
8
1
Andreas Tille's profile photo
 
Cool.  I try to add autopkgtest to any of my packages if possible.
Add a comment...
People
In his circles
108 people
Work
Employment
  • Canonical Ltd.
    2004 - present
Basic Information
Gender
Male
Story
Tagline
Does it have a test case?
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Currently
Augsburg, Deutschland
Previously
Dresden, Deutschland
Links
Other profiles
Contributor to