checkbox-ng: bump version to 0.3.dev

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
Added support for ppc64le in cpuinfo
"automatic merge by tarmac [r=roadmr][bug=][author=zkrynicki]"
plainbox:job: fix tr_summary() if summary is not present

This patch makes tr_summary() match the behavior of summary() which
falls back to job.id if the summary is not explicitly present in the
job definition

Fixes: https://bugs.launchpad.net/checkbox/+bug/1297118

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
plainbox:job: fix docstring

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
"automatic merge by tarmac [r=zkrynicki][bug=1296956][author=alai]"
"automatic merge by tarmac [r=roadmr][bug=1297118][author=zkrynicki]"
Ensure dmi_attachment exits with success if it can walk the dmi directory.

If run as a normal user, it fails to read some files. If run as root, there's one special file that it also fails to read.

The list of files it can't read is in the bug report. I checked and the exit code is indeed 2 (errors). So grep is behaving correctly; it's telling us it couldn't read some of the files. The fact that the output is suppressed means this was expected; previously we relied on checkbox "eating" the exit code for resource jobs to keep that from showing up in the test reports.

We care about grep's output, consisting of lines like:

/sys/class/dmi/id/chassis_version:0.1
/sys/class/dmi/id/bios_date:12/11/2013
/sys/class/dmi/id/bios_version:A02
/sys/class/dmi/id/sys_vendor:Dell Inc.

The bug mentioned that this information might be unnecessary now, as we have the full dmidecode_attachment and we shouldn't need this rather primitive dmi output. That could use a bit more research. For instance we could do a run with dmi_attachment and one without, and run the submissions through the parser, if they don't produce different output then we conceivably don't need dmi_attachment.
Updated stress test to prompt user prior to running, adding instructions as well
Added plug detection audio tests to client whitelists
"Fixes the dmi_attachment failure bug by "eating" the bad exit code. There's some shell magic to ensure that if the top directory is unreadable, it *does* exit with an error code.

If run as a normal user, it fails to read some files. If run as root, there's one special file that it also fails to read.

The list of files it can't read is in the bug report. I checked and the exit code is indeed 2 (errors). So grep is behaving correctly; it's telling us it couldn't read some of the files. The fact that the output is suppressed means this was expected; previously we relied on checkbox "eating" the exit code for resource jobs to keep that from showing up in the test reports.

We care about grep's output, consisting of lines like:

/sys/class/dmi/id/chassis_version:0.1
/sys/class/dmi/id/bios_date:12/11/2013
/sys/class/dmi/id/bios_version:A02
/sys/class/dmi/id/sys_vendor:Dell Inc.

The bug mentioned that this information might be unnecessary now, as we have the full dmidecode_attachment and we shouldn't need this rather primitive dmi output. That could use a bit more research. For instance we could do a run with dmi_attachment and one without, and run the submissions through the parser, if they don't produce different output then we conceivably don't need dmi_attachment. [r=zkrynicki][bug=1238009][author=roadmr]"
"Updated stress test to prompt user prior to running, adding instructions as well [r=zkrynicki][bug=1298545][author=roadmr]"
Added estimated_duration to sdhc test
"Added the estimated_duration to the stress sdhc test. [r=zkrynicki][bug=1298545][author=roadmr]"
plainbox,checkbox: make CheckBoxInvocationMixIn pass config object around

This patch sets the stage for the next patch which will rely on having
the configuration object available in several commands. To make that
possible the generic invocation mix-in is amended to require two arguments.

This puts code all around the tree and again requires locks-step update
of checkbox and plainbox.

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
plainbox,checkbox: pass config to each call to run_job()

This patch ensures that JobRunner.run_job() is always called with two
arguments. Calls without the second, optional, configuration object
cannot supply missing environment variables to jobs that need them,
leading to hard to understand bugs.

Fixes: https://bugs.launchpad.net/checkbox/+bug/1298166
"Adds the audio plug detection tests to the certification and self-test whitelists. Note the 12.04 whitelists are untouched as we don't retroactively update coverage for releases. [r=zkrynicki][bug=][author=roadmr]"
Launchpad automatic translations update.
plainbox:secure:providers: store and expose base_dir

This patch stores and exposes Provider1Definition.location
as Provider1.base_dir. This is the same value that used to exist in
the past under the same name (I'd rather change location but that's not
possible given it is a part of the external on-disk API).

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
plainbox:proviers: add DummyProvider1.base_dir

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>