Merge lp:~zyga/checkbox/jobbox into lp:checkbox

Proposed by Zygmunt Krynicki
Status: Work in progress
Proposed branch: lp:~zyga/checkbox/jobbox
Merge into: lp:checkbox
Diff against target: 1541 lines (+1467/-1)
13 files modified
jobbox/COPYING (+674/-0)
jobbox/MANIFEST.in (+4/-0)
jobbox/README.md (+9/-0)
jobbox/docs/changelog.rst (+12/-0)
jobbox/docs/conf.py (+243/-0)
jobbox/docs/coverage.rst (+74/-0)
jobbox/docs/glossary.rst (+2/-0)
jobbox/docs/index.rst (+51/-0)
jobbox/docs/jobspec.rst (+340/-0)
jobbox/jobbox/__init__.py (+20/-0)
jobbox/setup.cfg (+5/-0)
jobbox/setup.py (+32/-0)
setup.py (+1/-1)
To merge this branch: bzr merge lp:~zyga/checkbox/jobbox
Reviewer Review Type Date Requested Status
Checkbox Developers Pending
Review via email: mp+164752@code.launchpad.net

Description of the change

(resubmitting after git lp rebase learned how it should not spam people with pointless pushes)

I'd like to see some review of that.
If you want I can split it to several smaller merge requests:

1) infrastructure
2) license
3) docs skeleton
4) docs on new plainbox format
5) docs on current checkbox jobs (more of a work-in-progress template/experiment really)

To post a comment you must log in.
lp:~zyga/checkbox/jobbox updated
2135. By Zygmunt Krynicki

"[r=roadmr][bug=][author=zkrynicki] automatic merge by tarmac"

2136. By Zygmunt Krynicki

"[r=roadmr,sylvain-pineau][bug=][author=zkrynicki] automatic merge by tarmac"

2137. By Zygmunt Krynicki

"[r=roadmr,zkrynicki][bug=][author=zkrynicki] automatic merge by tarmac"

2138. By Daniel Manrique

"[r=roadmr,zkrynicki][bug=1182489][author=roadmr] Fixed the optical_drive resource so it correctly handles systems with no optical drive."

2139. By Sylvain Pineau

"[r=roadmr][bug=][author=sylvain-pineau] Exporter: Added the needed code to recreate job categories (based on local jobs)"

2140. By Zygmunt Krynicki

"[r=sylvain-pineau][bug=][author=zkrynicki] automatic merge by tarmac"

2141. By Brendan Donegan

"[r=roadmr][bug=][author=brendan-donegan] automatic merge by tarmac"

2142. By Zygmunt Krynicki

"[r=roadmr][bug=][author=zkrynicki] automatic merge by tarmac"

2143. By Daniel Manrique

"[r=zkrynicki][bug=1183271][author=roadmr] Added some missing plugins to POTFILES.in, so their strings can be translated."

2144. By Daniel Manrique

"[r=roadmr][bug=1183236][author=roadmr] Reorders one field in the xml exporter's "summary" section to avoid triggering the linked bug."

2145. By Launchpad Translations on behalf of checkbox-dev

Launchpad automatic translations update.

2146. By Zygmunt Krynicki

"[r=roadmr][bug=][author=zkrynicki] automatic merge by tarmac"

2147. By Launchpad Translations on behalf of checkbox-dev

Launchpad automatic translations update.

2148. By Sylvain Pineau

"[r=roadmr][bug=1185382][author=sylvain-pineau] secure: checkbox-trusted-launcher.py: Force usage of bash to run commands."

2149. By Daniel Manrique

"[r=sylvain-pineau][bug=][author=roadmr] Updated checkbox debian rules to use setup.py test instead of the old test script"

2150. By Brendan Donegan

Incremented version

2151. By Zygmunt Krynicki

"[r=roadmr][bug=][author=zkrynicki] automatic merge by tarmac"

2152. By Jeff Lane 

"[r=roadmr][bug=1186259][author=bladernr] automatic merge by tarmac"

2153. By Zygmunt Krynicki

"[r=zkrynicki][bug=][author=zkrynicki] automatic merge by tarmac"

2154. By Launchpad Translations on behalf of checkbox-dev

Launchpad automatic translations update.

2155. By Zygmunt Krynicki

"[r=zkrynicki,brendan-donegan][bug=][author=zkrynicki] automatic merge by tarmac"

2156. By Zygmunt Krynicki

"[r=zkrynicki][bug=][author=zkrynicki] automatic merge by tarmac"

2157. By Brendan Donegan

"[r=zkrynicki][bug=1185759][author=brendan-donegan] automatic merge by tarmac"

2158. By Brendan Donegan

"[r=zkrynicki][bug=1180342][author=brendan-donegan] automatic merge by tarmac"

2159. By Zygmunt Krynicki

"[r=sylvain-pineau][bug=][author=zkrynicki] automatic merge by tarmac"

2160. By Brendan Donegan

"[r=roadmr][bug=1181952][author=brendan-donegan] automatic merge by tarmac"

2161. By Daniel Manrique

"[r=bladernr][bug=][author=roadmr] fixes a few inconsistencies in how the sleep_test fallback command for suspend/hibernate stress tests is called."

2162. By Zygmunt Krynicki

"[r=zkrynicki,sylvain-pineau][bug=][author=zkrynicki] automatic merge by tarmac"

2163. By Sylvain Pineau

"[r=zkrynicki][bug=1184197][author=sylvain-pineau] scripts/package_resource: updated version supporting both precise and newer releases"

2164. By Zygmunt Krynicki

"[r=roadmr][bug=][author=zkrynicki] automatic merge by tarmac"

2165. By Sylvain Pineau

"[r=sylvain-pineau][bug=][author=sylvain-pineau] scripts/audio_settings: Guess the right profile to select for HDMI / DisplayPort tests."

2166. By Brendan Donegan

"[r=zkrynicki][bug=][author=brendan-donegan] automatic merge by tarmac"

2167. By Jeff Lane 

"[r=roadmr][bug=1188284][author=bladernr] automatic merge by tarmac"

2168. By Brendan Donegan

"[r=roadmr][bug=1184882][author=brendan-donegan] automatic merge by tarmac"

2169. By Sylvain Pineau

"[r=zkrynicki][bug=][author=sylvain-pineau] checkbox-old/checkbox/parsers/pactl.py: Added support for Raring."

2170. By Zygmunt Krynicki

"[r=roadmr][bug=][author=zkrynicki] automatic merge by tarmac"

2171. By Jeff Marcom

"[r=roadmr][bug=][author=jeffmarcom] automatic merge by tarmac"

2172. By Launchpad Translations on behalf of checkbox-dev

Launchpad automatic translations update.

2173. By Jeff Lane 

"[r=roadmr][bug=1188221][author=bladernr] automatic merge by tarmac"

2174. By Sylvain Pineau

"[r=sylvain-pineau][bug=][author=sylvain-pineau] checkbox-old/checkbox/scripts: New location for scripts unit tests"

2175. By Zygmunt Krynicki

"[r=sylvain-pineau,roadmr][bug=][author=zkrynicki] automatic merge by tarmac"

2176. By Zygmunt Krynicki

"[r=roadmr][bug=][author=zkrynicki] automatic merge by tarmac"

2177. By Zygmunt Krynicki

"[r=roadmr][bug=][author=zkrynicki] automatic merge by tarmac"

2178. By Brendan Donegan

"[r=zkrynicki][bug=1177647][author=brendan-donegan] automatic merge by tarmac"

2179. By Sylvain Pineau

"[r=zkrynicki][bug=][author=sylvain-pineau] setup.py: Use setuptools find_packages(), more future proof."

2180. By Sylvain Pineau

"[r=zkrynicki][bug=][author=sylvain-pineau] Revert rev. 2170 (Saucy target)"

2181. By Zygmunt Krynicki

"[r=sylvain-pineau][bug=][author=zkrynicki] automatic merge by tarmac"

2182. By Sylvain Pineau

"[r=zkrynicki][bug=][author=sylvain-pineau] checkbox-old/checkbox/scripts: New location for scripts unit tests"

2183. By Brendan Donegan

"[r=brendan-donegan,zkrynicki][bug=1188601][author=brendan-donegan] automatic merge by tarmac"

2184. By Zygmunt Krynicki

"[r=zkrynicki,sylvain-pineau][bug=][author=zkrynicki] automatic merge by tarmac"

2185. By Zygmunt Krynicki

"[r=zkrynicki][bug=][author=zkrynicki] automatic merge by tarmac"

2186. By Zygmunt Krynicki

"[r=roadmr][bug=][author=zkrynicki] automatic merge by tarmac"

2187. By Zygmunt Krynicki

"[r=roadmr][bug=][author=zkrynicki] automatic merge by tarmac"

2188. By Zygmunt Krynicki

"[r=zkrynicki][bug=][author=zkrynicki] automatic merge by tarmac"

2189. By Daniel Manrique

"[r=bladernr][bug=1187216][author=roadmr] Added a test that validates that manual (user-verify and user-interact included) jobs contain the verification field in their description, without which the Qt UI tends to skip tests."

2190. By Zygmunt Krynicki

"[r=zkrynicki][bug=][author=zkrynicki] automatic merge by tarmac"

2191. By Zygmunt Krynicki

"[r=][bug=][author=zkrynicki] automatic merge by tarmac"

2192. By Brendan Donegan

Incremented version

2193. By Zygmunt Krynicki

"[r=][bug=][author=zkrynicki] automatic merge by tarmac"

2194. By Sylvain Pineau

"[r=roadmr][bug=1191011][author=sylvain-pineau] checkbox-old/checkbox/scripts/audio-settings.py: fix the profile backup method"

2195. By Launchpad Translations on behalf of checkbox-dev

Launchpad automatic translations update.

2196. By Launchpad Translations on behalf of checkbox-dev

Launchpad automatic translations update.

2197. By Brendan Donegan

"[r=roadmr][bug=1192093][author=brendan-donegan] automatic merge by tarmac"

2198. By Jeff Marcom

"[r=roadmr][bug=1185642][author=jeffmarcom] automatic merge by tarmac"

2199. By Brendan Donegan

Emergency patch to broken udev_attachment job.

2200. By Jeff Marcom

scripts/virtualization: Fixed issue where log file was lost with temp directory after test completion and resolved issue where test would not execute due to unecessary AttributeError exception catching during arg parsing

Signed-off-by: Jeff Marcom <email address hidden>

2201. By Zygmunt Krynicki

"[r=roadmr][bug=][author=zkrynicki] automatic merge by tarmac"

2202. By Brendan Donegan

"[r=roadmr][bug=][author=brendan-donegan] automatic merge by tarmac"

2203. By Daniel Manrique

"[r=bladernr][bug=][author=roadmr] Refactoring of audio_test for Python3 and Gstreamer 1.0, with new peak detection algorithm."

2204. By Brendan Donegan

"[r=zkrynicki][bug=][author=brendan-donegan] automatic merge by tarmac"

2205. By Zygmunt Krynicki

"[r=brendan-donegan][bug=][author=zkrynicki] automatic merge by tarmac"

2206. By Zygmunt Krynicki

"[r=sylvain-pineau][bug=][author=zkrynicki] automatic merge by tarmac"

2207. By Brendan Donegan

"[r=zkrynicki][bug=][author=brendan-donegan] automatic merge by tarmac"

2208. By Brendan Donegan

"[r=zkrynicki][bug=][author=brendan-donegan] automatic merge by tarmac"

2209. By Launchpad Translations on behalf of checkbox-dev

Launchpad automatic translations update.

2210. By Zygmunt Krynicki

"[r=sylvain-pineau][bug=][author=zkrynicki] automatic merge by tarmac"

2211. By Zygmunt Krynicki

"[r=brendan-donegan][bug=][author=zkrynicki] automatic merge by tarmac"

2212. By Brendan Donegan

Incremented changelog

2213. By Zygmunt Krynicki

"[r=roadmr,brendan-donegan][bug=][author=zkrynicki] automatic merge by tarmac"

2214. By Zygmunt Krynicki

"[r=roadmr][bug=][author=zkrynicki] automatic merge by tarmac"

2215. By Zygmunt Krynicki

"[r=sylvain-pineau][bug=][author=zkrynicki] automatic merge by tarmac"

2216. By Zygmunt Krynicki

"[r=sylvain-pineau][bug=][author=zkrynicki] automatic merge by tarmac"

2217. By Zygmunt Krynicki

"[r=sylvain-pineau][bug=][author=zkrynicki] automatic merge by tarmac"

2218. By Brendan Donegan

"[r=zkrynicki][bug=1196531][author=brendan-donegan] automatic merge by tarmac"

2219. By Daniel Manrique

"[r=zkrynicki][bug=1097816][author=roadmr] This removes the deprecated gksu privileged execution mechanism, and replaces it with pkexec, along with a policy file so the backend can launch graphical programs and ask for proper authorization.
"

2220. By Zygmunt Krynicki

"[r=zkrynicki][bug=][author=zkrynicki] automatic merge by tarmac"

2221. By Zygmunt Krynicki

"[r=sylvain-pineau][bug=][author=zkrynicki] automatic merge by tarmac"

2222. By Zygmunt Krynicki

"[r=sylvain-pineau][bug=][author=zkrynicki] automatic merge by tarmac"

2223. By Zygmunt Krynicki

"[r=sylvain-pineau][bug=][author=zkrynicki] automatic merge by tarmac"

2224. By Brendan Donegan

"[r=bladernr][bug=1184661][author=brendan-donegan] automatic merge by tarmac"

2225. By Brendan Donegan

"[r=roadmr][bug=1196838][author=brendan-donegan] automatic merge by tarmac"

2226. By Daniel Manrique

"[r=zkrynicki][bug=][author=roadmr] Syncs the packaging branches. The only differences should be:

- changelog differences
- checkbox/debian does not reference checkbox-old.
- checkbox refers to itself (checkbox trunk) in the control Vcs-Bzr field.

Also see this merge request for the syncing changes to checkbox-packaging.

https://code.launchpad.net/~roadmr/checkbox/packaging-sync-packaging/+merge/172911"

2227. By Zygmunt Krynicki

"[r=zkrynicki][bug=][author=zkrynicki] automatic merge by tarmac"

2228. By Alberto Milone

"[r=brendan-donegan][bug=][author=albertomilone] checkbox-old/scripts/color_depth_info:
1) Prevent a UnicodeDecodeError. I can reproduce this with Python 3 in Saucy (the one in Precise works fine)
2) Be more strict in the regex so that we don't catch undesired strings."

2229. By Zygmunt Krynicki

"[r=zkrynicki,roadmr,brendan-donegan][bug=][author=zkrynicki] automatic merge by tarmac"

2230. By Zygmunt Krynicki

"[r=zkrynicki][bug=][author=zkrynicki] automatic merge by tarmac"

2231. By Jeff Marcom

"[r=roadmr][bug=][author=jeffmarcom] automatic merge by tarmac"

2232. By Launchpad Translations on behalf of checkbox-dev

Launchpad automatic translations update.

2233. By Sylvain Pineau

"[r=zkrynicki][bug=][author=sylvain-pineau] automatic merge by tarmac"

2234. By Zygmunt Krynicki

"[r=][bug=][author=zkrynicki] automatic merge by tarmac"

2235. By Sylvain Pineau

"[r=zkrynicki][bug=][author=sylvain-pineau] automatic merge by tarmac"

2236. By Daniel Manrique

"[r=][bug=][author=roadmr] Added support for specifying a whitelist in SRU mode (plainbox sru). This can be done in one of two ways:

- A whitelist key in the config file's sru section can point to a whitelist to use. For the intended use case (enabling running of server whitelist in our CI loop) this will be the most used option, as our preseed can simply set this key appropriately and plainbox should run the desired whitelist.

- The standard -w, -i and -x selectors from plainbox run are also supported and take priority if they are specified. This is mainly useful for experimenting I think.

- If no whitelist is specified by either mechanism, it will continue to default to sru.whitelist as it did before."

2237. By Brendan Donegan

"[r=zkrynicki][bug=][author=brendan-donegan] automatic merge by tarmac"

2238. By Brendan Donegan

"[r=zkrynicki][bug=][author=brendan-donegan] automatic merge by tarmac"

2239. By Brendan Donegan

"[r=brendan-donegan,zkrynicki][bug=][author=brendan-donegan] automatic merge by tarmac"

2240. By Jeff Lane 

"[r=roadmr,zkrynicki][bug=1192684][author=bladernr] automatic merge by tarmac"

2241. By Daniel Manrique

"[r=zkrynicki][bug=1199259][author=roadmr] This solves the attached bug by using the videoconvert gstreamer element instead of ffmpegcolorspace in the graphics/display test.

I also added some behavior changes to the gst_pipeline_test script so it doesn't bomb when the pipeline is unparsable. Instead, it exits with a suitable error code, so the job can then detect this and try a second time with another element. This is put into use in the modifications to the job itself."

2242. By Zygmunt Krynicki

"[r=roadmr][bug=][author=zkrynicki] automatic merge by tarmac"

2243. By Zygmunt Krynicki

"[r=sylvain-pineau][bug=][author=zkrynicki] automatic merge by tarmac"

2244. By Zygmunt Krynicki

"[r=roadmr][bug=][author=zkrynicki] automatic merge by tarmac"

2245. By Zygmunt Krynicki

"[r=roadmr][bug=][author=zkrynicki] automatic merge by tarmac"

2246. By Sylvain Pineau

"[r=roadmr][bug=][author=sylvain-pineau] Sort cpuinfo_resource and meminfo_resource items to have a deterministic output"

2247. By Sylvain Pineau

"[r=roadmr][bug=1199649][author=sylvain-pineau] gpu_test: Open the kern.log in byte mode to avoid handling possible decode errors."

2248. By Brendan Donegan

"[r=brendan-donegan][bug=][author=brendan-donegan] automatic merge by tarmac"

2249. By Daniel Manrique

"[r=roadmr][bug=][author=roadmr] This documents the job description format from Checkbox, it should constitute the beginnings of a reasonable reference for fields describing a job's behavior as well as its metadata. Currently it's not built into anything, but it's written in RST format so it could eventually be processed by e.g. sphinx."

2250. By Zygmunt Krynicki

"[r=roadmr][bug=][author=zkrynicki] automatic merge by tarmac"

2251. By Zygmunt Krynicki

"[r=roadmr][bug=][author=zkrynicki] automatic merge by tarmac"

2252. By Po-Hsu Lin

"[r=sylvain-pineau,zkrynicki][bug=1194071,1194170][author=cypressyew] automatic merge by tarmac"

2253. By Zygmunt Krynicki

"[r=zkrynicki][bug=][author=zkrynicki] automatic merge by tarmac"

2254. By Zygmunt Krynicki

"[r=sylvain-pineau][bug=][author=zkrynicki] automatic merge by tarmac"

2255. By Daniel Manrique

"[r=sylvain-pineau,apulido][bug=1192541][author=roadmr] Addresses the linked bug by naming the test with a concatenation of the product name, type and path.

Hopefully this will be enough. Unfortunately we do have to include some sort of unique identifier (what if a user has two identical mice plugged in?), to avoid generating clashing job names. The actual udev identifier is as good as anything. But I *am* including more detailed information.
"

2256. By Sylvain Pineau

"[r=roadmr][bug=][author=sylvain-pineau] Set a variable memory_compare diff. threshold and the wifi reconnect timeout to 90s"

2257. By Zygmunt Krynicki

"[r=roadmr][bug=][author=zkrynicki] automatic merge by tarmac"

2258. By Zygmunt Krynicki

"[r=roadmr][bug=][author=zkrynicki] automatic merge by tarmac"

2259. By Zygmunt Krynicki

"[r=roadmr][bug=][author=zkrynicki] automatic merge by tarmac"

2260. By Sylvain Pineau

"[r=roadmr][bug=][author=sylvain-pineau] checkbox-old/scripts/bluetooth_test: Full rewrite in python to log all obexftp errors."

2261. By Brendan Donegan

Incremented changelog

2262. By Launchpad Translations on behalf of checkbox-dev

Launchpad automatic translations update.

2263. By Jeff Lane 

"[r=roadmr][bug=1201420][author=bladernr] automatic merge by tarmac"

2264. By Zygmunt Krynicki

"[r=zkrynicki,sylvain-pineau][bug=][author=zkrynicki] automatic merge by tarmac"

2265. By Sylvain Pineau

"[r=sylvain-pineau][bug=][author=sylvain-pineau] checkbox-old:scripts:bluetooth_test: remove 'FileNotFoundError' which only exists in python3.3"

2266. By Daniel Manrique

"[r=zkrynicki][bug=1201480][author=roadmr] plainbox:logging: fall back to console logging only if log files can't be created.

    This protects against a corner case where plainbox is unable to create
    directories or write files in XDG_CACHE_HOME or $HOME. This shouldn't
    really happen in practice, but does happen when building a deb under
    sbuild.
"

2267. By Zygmunt Krynicki

"[r=brendan-donegan][bug=][author=zkrynicki] automatic merge by tarmac"

2268. By Sylvain Pineau

"[r=roadmr][bug=][author=sylvain-pineau] BT test: Let the Bluetooth stack enough time to close the connection"

2269. By Sylvain Pineau

"[r=sylvain-pineau][bug=1202942][author=sylvain-pineau] impl:provider: point CHECKBOX_SHARE to self._base_dir instead of self.jobs_dir"

2270. By Daniel Manrique

"[r=brendan-donegan][bug=1070776][author=roadmr] Based on discussion and tests from the linked bug, these two minor changes (frequency and sampling time) are meant to make the audio test results more reliable."

2271. By Sylvain Pineau

"[r=roadmr][bug=][author=sylvain-pineau] plainbox:vendor: Vendorize pypi funcsigs 0.3"

2272. By Daniel Manrique

"[r=roadmr,brendan-donegan][bug=1201769][author=roadmr] Added pkexec support to pm_test. This is not as straightforward as it sounds, have a look at the linked bug for some investigation and description of the solution."

2273. By Brendan Donegan

"[r=roadmr][bug=1197397][author=brendan-donegan] automatic merge by tarmac"

2274. By Sylvain Pineau

"[r=roadmr][bug=][author=sylvain-pineau] impl: service, impl:highlevel: Add dbus methods to export sessions results"

2275. By Brendan Donegan

"[r=roadmr][bug=1204013][author=brendan-donegan] automatic merge by tarmac"

2276. By Sylvain Pineau

"[r=roadmr][bug=][author=sylvain-pineau] plainbox: service: Added a RunJob dbus method (supporting only shell/local jobs)"

2277. By Daniel Manrique

"[r=sylvain-pineau][bug=][author=roadmr] A miniature, very simplistic dbus client that uses the plainbox apis, serves both as a showcase and guide of how to do testing, and as informal documentation on the process."

2278. By Daniel Manrique

Fixed typo in miniclient

2279. By Launchpad Translations on behalf of checkbox-dev

Launchpad automatic translations update.

2280. By Daniel Manrique

"[r=roadmr][bug=][author=roadmr] This adds two manual tests for the user to slide the balance control and verify it works as expected. The tests provide a 10-second tone for the user to manually move balance and check it works as expected."

2281. By Daniel Manrique

Incremented changelog

2282. By Sylvain Pineau

"[r=sylvain-pineau][bug=1204404][author=sylvain-pineau] plainbox:impl:exporters:xml: Added the missing option_list parameter"

2283. By Jeff Marcom

"[r=][bug=1206699][author=jeffmarcom] automatic merge by tarmac"

2284. By Launchpad Translations on behalf of checkbox-dev

Launchpad automatic translations update.

2285. By Po-Hsu Lin

"[r=roadmr][bug=1204799][author=cypressyew] automatic merge by tarmac"

2286. By Daniel Manrique

"[r=sylvain-pineau][bug=][author=roadmr] This branch explores and proposes possible solutions to the "unable to lookup object wrapper" problem.

The problem happens because, when a "local" job creates new jobs (as opposed to just "claiming" parenthood of existing jobs, which just set their "via" attribute), these new jobs are added to the session's run_list and job_state_map, and the native job objects are created and added to the session's job_list.

We have access to these attributes through dbus, and object references are in theory correctly translated to equivalent dbus paths.

The problem is that when adding these new jobs, we never created their JobDefinitionWrapper and JobStateWrapper, the way we create them when first initializing a session over dbus (this is all in plainbox/plainbox/impl/service.py, have a look at the code that creates a SessionStateWrapper). So we need an equivalent of PLainbox's behavior when adding new jobs via a local job (which is done in update_desired_job_list).

I updated the UpdateDesiredJobList 'wrapper' method to scan the list of jobs in the session and create their JobDefinitionWrapper and JobStateWrappers, publishing them as well through dbus.

A single behavior change is needed client-side; once RunJob is finished, the session's native state map and job list will have been updated. Explicitly running UpdateDesiredJobList after *each* local job is run will be needed to create the necessary JobDefinitions and avoid the error.

I was able to do this for the mini-client (see example), but I couldn't figure out how to do it correctly for the qt gui-engine. I'll have to rely on Andrew's expertise for this :)

To test these changes, using this branch, launch plainbox -c stub service. Then, on another window, launch the dbus mini-client, which should correctly run, create the two multilevel_{1,2} jobs, and process them without any errors.

If you launch d-feet prior to the mini-client run, you will see there are exactly 12 plainbox/job objects for job definitions. After running the mini-client, there will be 14 definitions (the two multilevel new jobs).

One problem remains: If you rerun a client without closing plainbox service, it will attempt to create a duplicate JobDefinitionWrapper, which will cause an error. To avoid this, just close and restart plainbox service between runs.

Also, remember this is just a proof of concept on how to solve the problem. It will need to be adapted to work with the new async job runner, I definitely need to fix the duplicated JobDefinitionWrapper problem, and I'd like to come up with a better way of finding and creating those JobDefinitions after each local job run. But hey, it's a start :)"

2287. By Sylvain Pineau

"[r=brendan-donegan,roadmr][bug=][author=sylvain-pineau] plainbox:service: Added asynchronous run capabilities"

2288. By Sylvain Pineau

"[r=roadmr][bug=][author=sylvain-pineau] plainbox:contrib:dbus-mini-client: Pre-run local jobs"

2289. By Brendan Donegan

"[r=brendan-donegan,roadmr][bug=][author=brendan-donegan] automatic merge by tarmac"

2290. By Brendan Donegan

"[r=roadmr][bug=][author=brendan-donegan] automatic merge by tarmac"

2291. By Daniel Manrique

Fixed a bug with exporting a JobState's readiness_inhibitor_list, and restored a comment that was eaten by a previous commit

2292. By Brendan Donegan

"[r=roadmr][bug=][author=brendan-donegan] automatic merge by tarmac"

2293. By Launchpad Translations on behalf of checkbox-dev

Launchpad automatic translations update.

2294. By Daniel Manrique

"A fix for the linked bug, ignoring decoding errors while parsing udevadm output (actually, while decoding it into a string). We've seen invalid characters in some power supplies, and this fix is in a network device script, so it shouldn't affect anything. [r=sylvain-pineau][bug=1210050][author=roadmr]"

2295. By Daniel Manrique

Incremented changelog

2296. By Sylvain Pineau

"impl: exporter: New XLXS exporter [r=sylvain-pineau,zkrynicki][bug=][author=sylvain-pineau]"

2297. By Sylvain Pineau

"impl:exporter:xlsx: is now compliant with the new package resource output [r=roadmr][bug=][author=sylvain-pineau]"

2298. By Zygmunt Krynicki

"automatic merge by tarmac [r=sylvain-pineau][bug=][author=zkrynicki]"

2299. By Launchpad Translations on behalf of checkbox-dev

Launchpad automatic translations update.

2300. By Brendan Donegan

"automatic merge by tarmac [r=sylvain-pineau,cypressyew][bug=][author=brendan-donegan]"

2301. By Daniel Manrique

"scripts/internet_test: Added a passing threshold parameter for packet loss, added auto-adjustment of ping count and deadline so that they don't conflict with each other (LP: #1211144)
 [r=bladernr][bug=1211144][author=roadmr]"

2302. By Daniel Manrique

"Explicitly sets the log dir so logs are stored in a predictable location, for the two stress tests that use pm_test script. [r=zkrynicki][bug=1205194][author=roadmr]"

2303. By Daniel Manrique

"Adds a __version__ attribute to the checkbox.parsers.submission module, at the request of the PES Infrastructure team, to be used to determine when to reparse a submission. [r=zkrynicki][bug=1211825][author=roadmr]"

2304. By Daniel Manrique

"Added a couple of checks so that tests looking for video files in $CHECKBOX_SHARE fail gracefully if the files don't exist. [r=zkrynicki][bug=1202946][author=roadmr]"

2305. By Daniel Manrique

"Fixes the parser which was generating incorrect data for network devices.

The problem is caused by a cleaned-up path for devices causing incorrect lookups of product and device ids (it's looking at the *parent* device's identifiers). The cleaned-up path is required by some external applications (such as udev_resource script), so rather than simply removing the offending commit (and generating the "dirty" paths), the fix was to use the full device paths for device matching and id determination purposes (all this is internal to UdevadmParser), while maintaining the filtering for the public path attribute.

The udevadmparser tests were fleshed out to properly identify this behavior, so we can better ensure the device information we generate is accurate. [r=zkrynicki][bug=1211521][author=roadmr]"

2306. By Zygmunt Krynicki

"automatic merge by tarmac [r=roadmr][bug=][author=zkrynicki]"

2307. By Daniel Manrique

"Formalizes and describes origin behavior, both for jobs originating in a file (with proper line numbers) and jobs taken from a stream (such as those generated from a localjob).

A few extra base behaviors for Origin were required; these are also properly tested now. [r=][bug=][author=roadmr]"

2308. By Daniel Manrique

"At Andew's request, renamed ExportSession to ExportSessionToFile, keeping the same functionality, and added a new ExportSession that returns the exported data (xml, json, whatever) as a string over DBus.

This is easier for a UI to display since it doesn't have to decide on a temporary filename, it just receives a big string.

Traditionally the xml reports are 1 MB and larger, but the use case for this is to display a user-viewable report on a qml component using e.g. webkit, so maybe we can come up with an exporter that produces a simplified html representation of the session. Something like what old checkbox-ihv's save report functionality produces. I think those are not so big (even including inlined resources).
 [r=zkrynicki][bug=][author=roadmr]"

2309. By Daniel Manrique

"automatic merge by tarmac [r=brendan-donegan][bug=1214123][author=roadmr]"

2310. By Daniel Manrique

"checkbox:parsers:udevadm: Tweaks to categorization so devices we want to ignore have category: None. A couple new categorization rules for AUDIO and OTHER devices also added.

Tests were updated accordingly for this behavior, the scope of the test changes is described in that commit's message, so it can be verified that the core behavior didn't change radically and the parser is still generating data as expected.

See here https://bugs.launchpad.net/checkbox/+bug/1211369/comments/3 for a detailed explanation of the changes in parser output with these changes. [r=roadmr,brendan-donegan][bug=1211369][author=roadmr]"

2311. By Launchpad Translations on behalf of checkbox-dev

Launchpad automatic translations update.

2312. By Daniel Manrique

"This adds a new property to RunningJob which can be used to check the return code (rather, the outcome based on the return code, so the only decision to make is "is this empty/null?" (in which case, we don't know what the outcome should be). Also, an example of its use on the miniclient is provided. [r=brendan-donegan][bug=][author=roadmr]"

2313. By Zygmunt Krynicki

"automatic merge by tarmac [r=roadmr][bug=][author=zkrynicki]"

2314. By Zygmunt Krynicki

"automatic merge by tarmac [r=roadmr][bug=][author=zkrynicki]"

2315. By Zygmunt Krynicki

"automatic merge by tarmac [r=roadmr][bug=][author=zkrynicki]"

2316. By Brendan Donegan

Incremented changelog

2317. By Daniel Manrique

plainbox:impl:commands:sru: Set the correct URL for the staging website

2318. By Po-Hsu Lin

"automatic merge by tarmac [r=zkrynicki][bug=1217292][author=cypressyew]"

2319. By Brendan Donegan

"automatic merge by tarmac [r=zkrynicki][bug=][author=brendan-donegan]"

2320. By Daniel Manrique

"A minor improvement to udev_resource, it allows the parser to process a pre-dumped udevadm file with just an optional parameter, it will ease diagnostics for udev parser bugs. [r=zkrynicki][bug=][author=roadmr]"

2321. By Zygmunt Krynicki

"automatic merge by tarmac [r=sylvain-pineau][bug=][author=zkrynicki]"

2322. By Jeff Lane 

"automatic merge by tarmac [r=roadmr][bug=1217506][author=bladernr]"

2323. By Daniel Manrique

"A simple fix for the attached bug, parted stops to ask for information on GPT disks, which causes the storage_test to stall, this simply uses the -s (script) parameter to parted to avoid any interaction. [r=roadmr,bladernr][bug=1215778][author=roadmr]"

2324. By Launchpad Translations on behalf of checkbox-dev

Launchpad automatic translations update.

2325. By Sylvain Pineau

"checkbox-old/scripts/fwts_test: Added the following new tests:

method, msr, aspm, klog, oops and uefirtvariable (LP: #1202493) [r=zkrynicki][bug=1202493][author=sylvain-pineau]"

2326. By Daniel Manrique

"Fixes a bug where logs were compressed in an incorrect directory, causing attachment to fail. Jeffrey Chang fixed this really. [r=bladernr][bug=1218186][author=roadmr]"

2327. By Jeff Marcom

"automatic merge by tarmac [r=zkrynicki][bug=][author=jeffmarcom]"

2328. By Jeff Lane 

"scripts/storage test now checks to make sure there's enough free disk space before running bonnie++ and adjusts bonnie++ parameters accordingly if there is not enough free disk space. This avoids a bug causing false failures on systems with small disk drives. [r=zkrynicki][bug=1217268][author=bladernr]"

2329. By Daniel Manrique

"The linked bug is about a test failing because it's comparing xinput lists from before and after booting, and even though the devices may be the same, they are in different orders, so the comparison fails.The fix is simply to sort xinput output to ensure valid comparisons. [r=zkrynicki][bug=1218188][author=roadmr]"

2330. By Zygmunt Krynicki

"automatic merge by tarmac [r=roadmr][bug=][author=zkrynicki]"

2331. By Zygmunt Krynicki

"automatic merge by tarmac [r=zkrynicki][bug=][author=zkrynicki]"

2332. By Zygmunt Krynicki

"automatic merge by tarmac [r=zkrynicki][bug=][author=zkrynicki]"

2333. By Zygmunt Krynicki

"automatic merge by tarmac [r=roadmr][bug=][author=zkrynicki]"

2334. By Daniel Manrique

"Fix gpu_test failing with an exception if wmctrl returns failure. I'm not 100% sure the behavior once we catch the exception is correct, but at least this avoids the nasty trace.

 [r=zkrynicki][bug=1217937][author=roadmr]"

2335. By Zygmunt Krynicki

"automatic merge by tarmac [r=roadmr][bug=][author=zkrynicki]"

2336. By Zygmunt Krynicki

"automatic merge by tarmac [r=roadmr][bug=][author=zkrynicki]"

2337. By Zygmunt Krynicki

"automatic merge by tarmac [r=roadmr][bug=][author=zkrynicki]"

2338. By Zygmunt Krynicki

"automatic merge by tarmac [r=roadmr][bug=][author=zkrynicki]"

2339. By Daniel Manrique

"automatic merge by tarmac [r=zkrynicki][bug=1214443][author=roadmr]"

2340. By Daniel Manrique

"This adds the HTML exporter code, it will actually produce an HTML document from the xslt in the previous commit.

This lacks testing (will appear in an upcoming merge request).

Also note that at the moment this only makes sense in a local context, since resources (css, scripts and images) are referenced by full, local path. [r=zkrynicki][bug=1214443][author=roadmr]"

2341. By Daniel Manrique

"plainbox:impl:exporters:html: Added a helper class to inline some resources.

This replaces references to css, script and img resources with the actual
resource data, the goal is to produce a self-contained HTML file.

This class works on a lxml tree, to avoid traditional pitfalls when working
on raw HTML. [r=zkrynicki][bug=1214443][author=roadmr]"

2342. By Sylvain Pineau

"automatic merge by tarmac [r=zkrynicki][bug=][author=sylvain-pineau]"

2343. By Zygmunt Krynicki

"automatic merge by tarmac [r=roadmr][bug=1221186][author=zkrynicki]"

2344. By Zygmunt Krynicki

"automatic merge by tarmac [r=roadmr][bug=][author=zkrynicki]"

2345. By Zygmunt Krynicki

"automatic merge by tarmac [r=roadmr][bug=][author=zkrynicki]"

2346. By Zygmunt Krynicki

"automatic merge by tarmac [r=roadmr][bug=1221393][author=zkrynicki]"

2347. By Zygmunt Krynicki

"automatic merge by tarmac [r=zkrynicki][bug=][author=zkrynicki]"

2348. By Launchpad Translations on behalf of checkbox-dev

Launchpad automatic translations update.

2349. By Zygmunt Krynicki

"automatic merge by tarmac [r=zkrynicki][bug=][author=zkrynicki]"

2350. By Sylvain Pineau

"automatic merge by tarmac [r=zkrynicki][bug=][author=sylvain-pineau]"

2351. By Zygmunt Krynicki

"automatic merge by tarmac [r=sylvain-pineau][bug=][author=zkrynicki]"

2352. By Zygmunt Krynicki

"automatic merge by tarmac [r=roadmr][bug=][author=zkrynicki]"

2353. By Brendan Donegan

Incremented changelog

2354. By Zygmunt Krynicki

"automatic merge by tarmac [r=zkrynicki,roadmr][bug=][author=zkrynicki]"

2355. By Brendan Donegan

Incremented changelog

2356. By Zygmunt Krynicki

"automatic merge by tarmac [r=roadmr][bug=][author=zkrynicki]"

2357. By Daniel Manrique

"Minor fix for a minor bug, switches to using a top-level reserved domain as per RFC2606 in a unit test. [r=zkrynicki][bug=1222808][author=roadmr]"

2358. By Sylvain Pineau

"commands:service.py: calls dbus.mainloop.glib.threads_init(). [r=zkrynicki][bug=1219905][author=sylvain-pineau]"

2359. By Zygmunt Krynicki

"automatic merge by tarmac [r=roadmr][bug=][author=zkrynicki]"

2360. By Daniel Manrique

"Adds the report resources to the plainbox package (actually, just to the set of files that are installed when doing setup.py build / install). No changes to packaging were necessary.

This is needed for the html exporter to work properly from an installed package. [r=zkrynicki][bug=][author=roadmr]"

2361. By Zygmunt Krynicki

"automatic merge by tarmac [r=roadmr][bug=][author=zkrynicki]"

2362. By Zygmunt Krynicki

"automatic merge by tarmac [r=roadmr][bug=][author=zkrynicki]"

2363. By Daniel Manrique

"Removed dmesg_common that's no longer present in fwts and added specific version dependency to checkbox.

https://code.launchpad.net/~roadmr/checkbox/packaging-1206016-fwts-version/+merge/185055 applies the equivalent change to the packaging branch, so auto-built packages have this included. [r=brendan-donegan][bug=1206016][author=roadmr]"

2364. By Brendan Donegan

Fixed changelog

2365. By Zygmunt Krynicki

"automatic merge by tarmac [r=sylvain-pineau][bug=][author=zkrynicki]"

2366. By Daniel Manrique

"Removed references to Ubuntu Friendly due to sunsetting of the project. [r=zkrynicki][bug=1224533][author=roadmr]"

2367. By Daniel Manrique

"Adds a whitelist to be used specifically in automated testing of checkbox, related tools, and test definitions. This is based on the SRU whitelist but will evolve over time as needs dictate. [r=sylvain-pineau][bug=][author=roadmr]"

2368. By Daniel Manrique

"Ensures that pactl commands are run on a properly unlocalized environment. Code was setting LANG to "C", but that seems to not reset LANGUAGE which is still honored by pactl. Setting LANG to POSIX instead produces the desired behavior. [r=][bug=1201126][author=roadmr]"

2369. By Jeff Lane 

"automatic merge by tarmac [r=][bug=1224820][author=bladernr]"

2370. By Zygmunt Krynicki

"automatic merge by tarmac [r=roadmr][bug=][author=zkrynicki]"

2371. By Brendan Donegan

"automatic merge by tarmac [r=zkrynicki][bug=1218993][author=brendan-donegan]"

2372. By Launchpad Translations on behalf of checkbox-dev

Launchpad automatic translations update.

2373. By Zygmunt Krynicki

"automatic merge by tarmac [r=roadmr][bug=][author=zkrynicki]"

2374. By Zygmunt Krynicki

"automatic merge by tarmac [r=roadmr][bug=][author=zkrynicki]"

2375. By Zygmunt Krynicki

"automatic merge by tarmac [r=roadmr][bug=][author=zkrynicki]"

2376. By Brendan Donegan

"automatic merge by tarmac [r=zkrynicki][bug=1224854][author=brendan-donegan]"

2377. By Zygmunt Krynicki

"automatic merge by tarmac [r=roadmr][bug=][author=zkrynicki]"

2378. By Brendan Donegan

"automatic merge by tarmac [r=zkrynicki][bug=1227071][author=brendan-donegan]"

2379. By Zygmunt Krynicki

"automatic merge by tarmac [r=zkrynicki][bug=][author=zkrynicki]"

2380. By Zygmunt Krynicki

"automatic merge by tarmac [r=roadmr][bug=][author=zkrynicki]"

2381. By Zygmunt Krynicki

"automatic merge by tarmac [r=roadmr][bug=][author=zkrynicki]"

2382. By Zygmunt Krynicki

"automatic merge by tarmac [r=roadmr][bug=][author=zkrynicki]"

2383. By Brendan Donegan

Incremented changelog

2384. By Daniel Manrique

"Updates the fwts_test script per the linked bug's recommendations on which tests to run. [r=bladernr][bug=1228168][author=roadmr]"

2385. By Zygmunt Krynicki

"automatic merge by tarmac [r=roadmr][bug=][author=zkrynicki]"

2386. By Daniel Manrique

"Improves the mini-ci reports, with two changes:

- The subject/summary line (the one in the report email) contains the system's IP address and hostname (for desktop installs, the hostname is the CID, while for server installs, it's always "ubuntu"). This helps pinpointing the exact system in question and accessing it remotely.

- The detailed report (in the pastebin) contains a list of plainbox and checkbox packages with versions (dpkg --list yadda yadda), helpful for determining if the problem is due to a wrong version of a package. [r=zkrynicki][bug=][author=roadmr]"

2387. By Launchpad Translations on behalf of checkbox-dev

Launchpad automatic translations update.

2388. By Zygmunt Krynicki

"automatic merge by tarmac [r=roadmr][bug=][author=zkrynicki]"

2389. By Daniel Manrique

"plainbox:exporter:xml: map OUTCOME_UNDECIDED to OUTCOME_SKIP

    This patch prevents a crash when manual jobs that were executed in
    non-interactive mode (those now return OUTCOME_UNDECIDED) would fail
    to export to something that the XML consumers can expect.

    It also adds a couple extra missing mappings in the xml exporter, and
    a test to verify that all possible plainbox outcomes are properly
    mapped in the exporter. [r=zkrynicki][bug=][author=roadmr]"

2390. By Zygmunt Krynicki

"automatic merge by tarmac [r=brendan-donegan][bug=1229087][author=zkrynicki]"

2391. By Zygmunt Krynicki

"automatic merge by tarmac [r=roadmr][bug=1229087][author=zkrynicki]"

2392. By Zygmunt Krynicki

"automatic merge by tarmac [r=sylvain-pineau][bug=][author=zkrynicki]"

2393. By Brendan Donegan

"automatic merge by tarmac [r=roadmr][bug=][author=brendan-donegan]"

2394. By Zygmunt Krynicki

"automatic merge by tarmac [r=roadmr][bug=1232028][author=zkrynicki]"

2395. By Zygmunt Krynicki

"automatic merge by tarmac [r=roadmr][bug=][author=zkrynicki]"

2396. By Zygmunt Krynicki

"automatic merge by tarmac [r=roadmr][bug=][author=zkrynicki]"

2397. By Yung Shen

"automatic merge by tarmac [r=zkrynicki][bug=1209084][author=kaxing]"

2398. By Daniel Manrique

"scripts/gpu_test: Better validation that glxgears windows were found.

This is to avoid manipulation of nonexisting windows which causes
threads to crash and the entire program to stall.

 [r=zkrynicki][bug=1232232][author=roadmr]"

2399. By Zygmunt Krynicki

"automatic merge by tarmac [r=roadmr][bug=][author=zkrynicki]"

2400. By Zygmunt Krynicki

"automatic merge by tarmac [r=roadmr][bug=][author=zkrynicki]"

2401. By Zygmunt Krynicki

"automatic merge by tarmac [r=roadmr][bug=][author=zkrynicki]"

2402. By Brendan Donegan

"automatic merge by tarmac [r=roadmr][bug=1224854][author=brendan-donegan]"

2403. By Daniel Manrique

" plainbox:exporter:html: Refactored to expose "raw" html dump method.

    This keeps the old behavior intact while exposing a new dump_etree
    method which can be used by external applications to mimic plainbox's
    html exporting and inlining, useful for instance, for a simple "htmlize
    and inline this .xml report" script.
 [r=sylvain-pineau][bug=][author=roadmr]"

2404. By Zygmunt Krynicki

"plainbox:service: clean all session dbus objects on removal [r=zkrynicki,roadmr][bug=1227289,1231840][author=sylvain-pineau]"

2405. By Daniel Manrique

Merged fix for a typo when adding user-interact-verify plugin, which caused checkbox installation to bomb

2406. By Zygmunt Krynicki

"automatic merge by tarmac [r=roadmr][bug=][author=zkrynicki]"

2407. By Brendan Donegan

"automatic merge by tarmac [r=zkrynicki][bug=1184688][author=brendan-donegan]"

2408. By Zygmunt Krynicki

"automatic merge by tarmac [r=roadmr][bug=][author=zkrynicki]"

2409. By Launchpad Translations on behalf of checkbox-dev

Launchpad automatic translations update.

2410. By Sylvain Pineau

"Handle invalid re pattern used by checkbox (include|exclude)_pattern_list [r=sylvain-pineau][bug=][author=sylvain-pineau]"

2411. By Zygmunt Krynicki

"automatic merge by tarmac [r=sylvain-pineau,zkrynicki][bug=][author=zkrynicki]"

2412. By Zygmunt Krynicki

"automatic merge by tarmac [r=sylvain-pineau,apulido][bug=][author=zkrynicki]"

2413. By Daniel Manrique

Fixed minor typo in virtualization script

2414. By Daniel Manrique

"checkbox-old:parser:udevadm: Heuristic for Mediatek BT controllers.

In addition to the new block of code needed to correctly identify these controllers as BLUETOOTH (and not OTHER), it includes data files for two systems with this kind of BT controller, as well as some code updates to handle these strange devices which have no names (udev can't find them in its USB and PCI ID database). Thus we ensure that these parser changes don't affect how the other systems in our "test pool" get processed.

The debugging process, testing and fix are thoroughly documented in the bug report, commit messages and code comments. [r=brendan-donegan][bug=1210405][author=roadmr]"

2415. By Zygmunt Krynicki

"automatic merge by tarmac [r=roadmr][bug=][author=zkrynicki]"

2416. By Zygmunt Krynicki

"automatic merge by tarmac [r=roadmr][bug=][author=zkrynicki]"

2417. By Brendan Donegan

Incremented changelog

2418. By Zygmunt Krynicki

"automatic merge by tarmac [r=roadmr][bug=1236377][author=zkrynicki]"

2419. By Zygmunt Krynicki

"automatic merge by tarmac [r=zkrynicki][bug=1236377,1236505][author=zkrynicki]"

2420. By Zygmunt Krynicki

"automatic merge by tarmac [r=zkrynicki][bug=][author=zkrynicki]"

2421. By Daniel Manrique

"jobs/virtualization.txt.in: Set the kvm_check_vm test to run as root, to ensure we're running under kvm and not tcg. Modified tests for environment variables accordingly since we need to account for presence of proxy variables. [r=][bug=][author=roadmr]"

2422. By Daniel Manrique

" Added required resource jobs to autotesting whitelist.

    This is the whitelist used in the mini CI loop. We removed all the
    resource jobs because plainbox runs them "implicitly" when they are used
    in a job's "requires" field. However, a few resources which are needed
    for a valid submission are not requested by any job and so they weren't
    being run.

    I included a couple of resources that *are* used by jobs, but since they
    are mandatory for a valid submission I thought it good to include them,
    to signal the fact that these resources shouldn't be removed.
 [r=zkrynicki][bug=][author=roadmr]"

2423. By Sylvain Pineau

"automatic merge by tarmac [r=zkrynicki][bug=1236505][author=sylvain-pineau]"

2424. By Zygmunt Krynicki

"automatic merge by tarmac [r=sylvain-pineau][bug=1236505][author=zkrynicki]"

2425. By Zygmunt Krynicki

"automatic merge by tarmac [r=roadmr][bug=][author=zkrynicki]"

2426. By Jeff Marcom

"automatic merge by tarmac [r=bladernr,roadmr][bug=][author=jeffmarcom]"

2427. By Launchpad Translations on behalf of checkbox-dev

Launchpad automatic translations update.

2428. By Sylvain Pineau

"automatic merge by tarmac [r=zkrynicki][bug=][author=sylvain-pineau]"

2429. By Daniel Manrique

" scripts/gpu_test: Fixed index bug and revamped thread killing logic.

    This fixes the linked bug which is about a simple off-by-one error, but
    also refactors the way we invoke and keep track of glxgears
    windows/threads. Instead of relying on the window ID, which may not be
    found, we keep track of the thread's child process id, and the terminate
    method uses that to reliably kill any spawned process.

    All this should eliminate cases where a rogue thread keeps the entire
    script from exiting thus hanging the test run.

    We also handle the (corner) case where if glxgears fails to run, the
    thread will just exit with a harmless message and no nasty trace.
 [r=zkrynicki][bug=1237199][author=roadmr]"

2430. By Sylvain Pineau

"automatic merge by tarmac [r=zkrynicki][bug=][author=sylvain-pineau]"

2431. By Zygmunt Krynicki

"automatic merge by tarmac [r=sylvain-pineau][bug=1236377,1236505][author=zkrynicki]"

2432. By Brendan Donegan

"automatic merge by tarmac [r=zkrynicki][bug=1236776][author=brendan-donegan]"

2433. By Zygmunt Krynicki

"automatic merge by tarmac [r=roadmr][bug=][author=zkrynicki]"

2434. By Brendan Donegan

"automatic merge by tarmac [r=roadmr][bug=][author=brendan-donegan]"

2435. By Taihsiang Ho

"automatic merge by tarmac [r=roadmr][bug=][author=taihsiangho]"

2436. By Po-Hsu Lin

"automatic merge by tarmac [r=roadmr][bug=][author=cypressyew]"

2437. By Yung Shen

"automatic merge by tarmac [r=roadmr][bug=][author=kaxing]"

2438. By Yung Shen

"automatic merge by tarmac [r=zkrynicki][bug=][author=kaxing]"

2439. By Brendan Donegan

"automatic merge by tarmac [r=zkrynicki][bug=1184765][author=brendan-donegan]"

2440. By Zygmunt Krynicki

"automatic merge by tarmac [r=sylvain-pineau][bug=][author=zkrynicki]"

2441. By Daniel Manrique

Fixed one-character packaging typo

2442. By Zygmunt Krynicki

"automatic merge by tarmac [r=roadmr][bug=][author=zkrynicki]"

2443. By Daniel Manrique

"plugins/backend_info: Resolve and use full path to the backend script to ensure it runs when invoked via pkexec which is unhappy with relative paths (LP: #1240245)
 [r=cypressyew][bug=1240245][author=roadmr]"

2444. By Sylvain Pineau

"automatic merge by tarmac [r=zkrynicki,roadmr][bug=][author=sylvain-pineau]"

2445. By Daniel Manrique

" checkbox-old/plugins/backend_info.py: Fixes the relative path fix.

    We were doing os.path.realpath expansion in the wrong place, because,
    due to how checkbox variables work, string substitution was happening
    *after* realpathing the command's path. So first it'd be converted to an
    absolute path with the %(checkbox_share) intact, and *then*
    checkbox_share was being substituted by its value, thus having a double
    substitution.

    The fix defers os.path.realpath to a point where self.command is fully
    resolved and interpolated, so it constitutes an actual (either relative
    or absolute) path, thus guaranteeing os.path.realpath just turns that
    into an absolute path regardless.
 [r=brendan-donegan][bug=1240245][author=roadmr]"

2446. By Brendan Donegan

"automatic merge by tarmac [r=roadmr][bug=1184765][author=brendan-donegan]"

2447. By Sylvain Pineau

"automatic merge by tarmac [r=roadmr][bug=][author=sylvain-pineau]"

2448. By Zygmunt Krynicki

"automatic merge by tarmac [r=roadmr][bug=][author=zkrynicki]"

2449. By Sylvain Pineau

"automatic merge by tarmac [r=zkrynicki][bug=][author=sylvain-pineau]"

2450. By Zygmunt Krynicki

"automatic merge by tarmac [r=sylvain-pineau][bug=][author=zkrynicki]"

2451. By Sylvain Pineau

"automatic merge by tarmac [r=zkrynicki][bug=][author=sylvain-pineau]"

2452. By Sylvain Pineau

"automatic merge by tarmac [r=zkrynicki][bug=][author=sylvain-pineau]"

2453. By Taihsiang Ho

"automatic merge by tarmac [r=roadmr][bug=][author=taihsiangho]"

2454. By Jeff Lane 

"automatic merge by tarmac [r=roadmr][bug=][author=bladernr]"

2455. By Zygmunt Krynicki

"automatic merge by tarmac [r=roadmr][bug=][author=zkrynicki]"

2456. By Sylvain Pineau

"automatic merge by tarmac [r=zkrynicki][bug=][author=sylvain-pineau]"

2457. By Zygmunt Krynicki

"automatic merge by tarmac [r=zkrynicki][bug=1236377,1236505][author=zkrynicki]"

2458. By Launchpad Translations on behalf of checkbox-dev

Launchpad automatic translations update.

2459. By Sylvain Pineau

Incremented changelog

2460. By Zygmunt Krynicki

"automatic merge by tarmac [r=zkrynicki][bug=][author=zkrynicki]"

2461. By Zygmunt Krynicki

"automatic merge by tarmac [r=roadmr][bug=][author=zkrynicki]"

2462. By Zygmunt Krynicki

"automatic merge by tarmac [r=roadmr][bug=][author=zkrynicki]"

2463. By Chris Gregan

"automatic merge by tarmac [r=roadmr][bug=][author=cgregan]"

2464. By Zygmunt Krynicki

"automatic merge by tarmac [r=sylvain-pineau][bug=1236377,1236505][author=zkrynicki]"

2465. By Zygmunt Krynicki

"automatic merge by tarmac [r=roadmr][bug=][author=zkrynicki]"

2466. By Zygmunt Krynicki

"automatic merge by tarmac [r=zkrynicki][bug=1236377,1236505,1243610][author=zkrynicki]"

2467. By Brendan Donegan

"automatic merge by tarmac [r=roadmr][bug=1184733][author=brendan-donegan]"

2468. By Brendan Donegan

"automatic merge by tarmac [r=roadmr][bug=1238570][author=brendan-donegan]"

2469. By Zygmunt Krynicki

"automatic merge by tarmac [r=roadmr][bug=][author=zkrynicki]"

2470. By Zygmunt Krynicki

"automatic merge by tarmac [r=sylvain-pineau][bug=][author=zkrynicki]"

2471. By Chris Gregan

"automatic merge by tarmac [r=roadmr][bug=][author=cgregan]"

2472. By Jeff Marcom

Quick patch to scripts/network to fix previous accepted merge rev:2468

Signed-off-by: Jeff Marcom <email address hidden>

2473. By Launchpad Translations on behalf of checkbox-dev

Launchpad automatic translations update.

2474. By Zygmunt Krynicki

"automatic merge by tarmac [r=roadmr][bug=][author=zkrynicki]"

2475. By Zygmunt Krynicki

"automatic merge by tarmac [r=roadmr][bug=1236377,1236505,1243610][author=zkrynicki]"

2476. By Zygmunt Krynicki

"automatic merge by tarmac [r=roadmr][bug=][author=zkrynicki]"

2477. By Zygmunt Krynicki

"automatic merge by tarmac [r=sylvain-pineau][bug=1236377,1236505,1243610][author=zkrynicki]"

2478. By Sylvain Pineau

"automatic merge by tarmac [r=][bug=][author=sylvain-pineau]"

2479. By Chris Gregan

"Addition of rfkill test to wireless.txt [r=roadmr][bug=][author=cgregan]"

2480. By Zygmunt Krynicki

"automatic merge by tarmac [r=roadmr,sylvain-pineau][bug=][author=zkrynicki]"

2481. By Daniel Manrique

"Added a method to mangle our nasty dbus path names into compliance (it's quite simplistic, needs adding to, and testing), and used it to ensure provider and whitelist names don't cause plainbox service to choke.

To test what happened, define a local provider in ~/.local/share/plainbox-providers-1 and try to start plainbox -c deb service, which will crash horribly without this patch. [r=zkrynicki][bug=][author=roadmr]"

2482. By Daniel Manrique

"Added test for mangle_object_path validator.

The test ensures that the mangled path conforms to a regex that encodes
all the dbus object path restrictions. A glaring exception is that the
single-slash (i.e. root) path which is valid is not recognized by the
regex, but in this use case it's not critical. [r=zkrynicki][bug=][author=roadmr]"

2483. By Daniel Manrique

"Implements manually-verified tests to confirm that each network interface supports a speed close to its theoretical maximum bandwidth. A human is left to pass judgement since no interface will transmit at exactly its maximum speed.

I snuck in a few fixes and tweaks for the network script. [r=roadmr,cgregan][bug=][author=roadmr]"

2484. By Zygmunt Krynicki

"automatic merge by tarmac [r=roadmr][bug=][author=zkrynicki]"

2485. By Brendan Donegan

Incremented changelog

2486. By Zygmunt Krynicki

"automatic merge by tarmac [r=sylvain-pineau][bug=1236377,1236505,1243610][author=zkrynicki]"

2487. By Sylvain Pineau

"automatic merge by tarmac [r=roadmr][bug=][author=sylvain-pineau]"

2488. By Launchpad Translations on behalf of checkbox-dev

Launchpad automatic translations update.

2489. By Zygmunt Krynicki

"automatic merge by tarmac [r=zkrynicki][bug=1236377,1236505,1243610][author=zkrynicki]"

2490. By Zygmunt Krynicki

"automatic merge by tarmac [r=sylvain-pineau][bug=][author=zkrynicki]"

2491. By Sylvain Pineau

"automatic merge by tarmac [r=zkrynicki][bug=][author=sylvain-pineau]"

2492. By Zygmunt Krynicki

"automatic merge by tarmac [r=roadmr,jeffmarcom][bug=][author=zkrynicki]"

2493. By Zygmunt Krynicki

"automatic merge by tarmac [r=roadmr][bug=][author=zkrynicki]"

2494. By Zygmunt Krynicki

"automatic merge by tarmac [r=roadmr][bug=1236377,1236505,1243610][author=zkrynicki]"

2495. By Sylvain Pineau

"automatic merge by tarmac [r=zkrynicki][bug=][author=sylvain-pineau]"

2496. By Zygmunt Krynicki

"automatic merge by tarmac [r=zkrynicki][bug=][author=zkrynicki]"

2497. By Zygmunt Krynicki

"automatic merge by tarmac [r=roadmr][bug=][author=zkrynicki]"

2498. By Zygmunt Krynicki

jobbox: add the jobbox package

[don't open before xmas]

JobBox is the next step in cleaning up CheckBox as a technology base and
software development project. JobBox aims to provide all of the jobs that
CheckBox previously had to offer while fixing some architecture issues
and maintaining the quality standards set by PlainBox.

This patch adds the basic infrastructure, documentation of JobBox
job specification, a PlainBox job provider interface and a clean slate
for migrating jobs from CheckBox to JobBox.

Signed-off-by: Zygmunt Krynicki <email address hidden>

2499. By Zygmunt Krynicki

setup.py: add jobbox to multiplexing setup

Signed-off-by: Zygmunt Krynicki <email address hidden>

Unmerged revisions

2499. By Zygmunt Krynicki

setup.py: add jobbox to multiplexing setup

Signed-off-by: Zygmunt Krynicki <email address hidden>

2498. By Zygmunt Krynicki

jobbox: add the jobbox package

[don't open before xmas]

JobBox is the next step in cleaning up CheckBox as a technology base and
software development project. JobBox aims to provide all of the jobs that
CheckBox previously had to offer while fixing some architecture issues
and maintaining the quality standards set by PlainBox.

This patch adds the basic infrastructure, documentation of JobBox
job specification, a PlainBox job provider interface and a clean slate
for migrating jobs from CheckBox to JobBox.

Signed-off-by: Zygmunt Krynicki <email address hidden>

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added directory 'jobbox'
2=== added file 'jobbox/COPYING'
3--- jobbox/COPYING 1970-01-01 00:00:00 +0000
4+++ jobbox/COPYING 2013-11-11 15:04:58 +0000
5@@ -0,0 +1,674 @@
6+ GNU GENERAL PUBLIC LICENSE
7+ Version 3, 29 June 2007
8+
9+ Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
10+ Everyone is permitted to copy and distribute verbatim copies
11+ of this license document, but changing it is not allowed.
12+
13+ Preamble
14+
15+ The GNU General Public License is a free, copyleft license for
16+software and other kinds of works.
17+
18+ The licenses for most software and other practical works are designed
19+to take away your freedom to share and change the works. By contrast,
20+the GNU General Public License is intended to guarantee your freedom to
21+share and change all versions of a program--to make sure it remains free
22+software for all its users. We, the Free Software Foundation, use the
23+GNU General Public License for most of our software; it applies also to
24+any other work released this way by its authors. You can apply it to
25+your programs, too.
26+
27+ When we speak of free software, we are referring to freedom, not
28+price. Our General Public Licenses are designed to make sure that you
29+have the freedom to distribute copies of free software (and charge for
30+them if you wish), that you receive source code or can get it if you
31+want it, that you can change the software or use pieces of it in new
32+free programs, and that you know you can do these things.
33+
34+ To protect your rights, we need to prevent others from denying you
35+these rights or asking you to surrender the rights. Therefore, you have
36+certain responsibilities if you distribute copies of the software, or if
37+you modify it: responsibilities to respect the freedom of others.
38+
39+ For example, if you distribute copies of such a program, whether
40+gratis or for a fee, you must pass on to the recipients the same
41+freedoms that you received. You must make sure that they, too, receive
42+or can get the source code. And you must show them these terms so they
43+know their rights.
44+
45+ Developers that use the GNU GPL protect your rights with two steps:
46+(1) assert copyright on the software, and (2) offer you this License
47+giving you legal permission to copy, distribute and/or modify it.
48+
49+ For the developers' and authors' protection, the GPL clearly explains
50+that there is no warranty for this free software. For both users' and
51+authors' sake, the GPL requires that modified versions be marked as
52+changed, so that their problems will not be attributed erroneously to
53+authors of previous versions.
54+
55+ Some devices are designed to deny users access to install or run
56+modified versions of the software inside them, although the manufacturer
57+can do so. This is fundamentally incompatible with the aim of
58+protecting users' freedom to change the software. The systematic
59+pattern of such abuse occurs in the area of products for individuals to
60+use, which is precisely where it is most unacceptable. Therefore, we
61+have designed this version of the GPL to prohibit the practice for those
62+products. If such problems arise substantially in other domains, we
63+stand ready to extend this provision to those domains in future versions
64+of the GPL, as needed to protect the freedom of users.
65+
66+ Finally, every program is threatened constantly by software patents.
67+States should not allow patents to restrict development and use of
68+software on general-purpose computers, but in those that do, we wish to
69+avoid the special danger that patents applied to a free program could
70+make it effectively proprietary. To prevent this, the GPL assures that
71+patents cannot be used to render the program non-free.
72+
73+ The precise terms and conditions for copying, distribution and
74+modification follow.
75+
76+ TERMS AND CONDITIONS
77+
78+ 0. Definitions.
79+
80+ "This License" refers to version 3 of the GNU General Public License.
81+
82+ "Copyright" also means copyright-like laws that apply to other kinds of
83+works, such as semiconductor masks.
84+
85+ "The Program" refers to any copyrightable work licensed under this
86+License. Each licensee is addressed as "you". "Licensees" and
87+"recipients" may be individuals or organizations.
88+
89+ To "modify" a work means to copy from or adapt all or part of the work
90+in a fashion requiring copyright permission, other than the making of an
91+exact copy. The resulting work is called a "modified version" of the
92+earlier work or a work "based on" the earlier work.
93+
94+ A "covered work" means either the unmodified Program or a work based
95+on the Program.
96+
97+ To "propagate" a work means to do anything with it that, without
98+permission, would make you directly or secondarily liable for
99+infringement under applicable copyright law, except executing it on a
100+computer or modifying a private copy. Propagation includes copying,
101+distribution (with or without modification), making available to the
102+public, and in some countries other activities as well.
103+
104+ To "convey" a work means any kind of propagation that enables other
105+parties to make or receive copies. Mere interaction with a user through
106+a computer network, with no transfer of a copy, is not conveying.
107+
108+ An interactive user interface displays "Appropriate Legal Notices"
109+to the extent that it includes a convenient and prominently visible
110+feature that (1) displays an appropriate copyright notice, and (2)
111+tells the user that there is no warranty for the work (except to the
112+extent that warranties are provided), that licensees may convey the
113+work under this License, and how to view a copy of this License. If
114+the interface presents a list of user commands or options, such as a
115+menu, a prominent item in the list meets this criterion.
116+
117+ 1. Source Code.
118+
119+ The "source code" for a work means the preferred form of the work
120+for making modifications to it. "Object code" means any non-source
121+form of a work.
122+
123+ A "Standard Interface" means an interface that either is an official
124+standard defined by a recognized standards body, or, in the case of
125+interfaces specified for a particular programming language, one that
126+is widely used among developers working in that language.
127+
128+ The "System Libraries" of an executable work include anything, other
129+than the work as a whole, that (a) is included in the normal form of
130+packaging a Major Component, but which is not part of that Major
131+Component, and (b) serves only to enable use of the work with that
132+Major Component, or to implement a Standard Interface for which an
133+implementation is available to the public in source code form. A
134+"Major Component", in this context, means a major essential component
135+(kernel, window system, and so on) of the specific operating system
136+(if any) on which the executable work runs, or a compiler used to
137+produce the work, or an object code interpreter used to run it.
138+
139+ The "Corresponding Source" for a work in object code form means all
140+the source code needed to generate, install, and (for an executable
141+work) run the object code and to modify the work, including scripts to
142+control those activities. However, it does not include the work's
143+System Libraries, or general-purpose tools or generally available free
144+programs which are used unmodified in performing those activities but
145+which are not part of the work. For example, Corresponding Source
146+includes interface definition files associated with source files for
147+the work, and the source code for shared libraries and dynamically
148+linked subprograms that the work is specifically designed to require,
149+such as by intimate data communication or control flow between those
150+subprograms and other parts of the work.
151+
152+ The Corresponding Source need not include anything that users
153+can regenerate automatically from other parts of the Corresponding
154+Source.
155+
156+ The Corresponding Source for a work in source code form is that
157+same work.
158+
159+ 2. Basic Permissions.
160+
161+ All rights granted under this License are granted for the term of
162+copyright on the Program, and are irrevocable provided the stated
163+conditions are met. This License explicitly affirms your unlimited
164+permission to run the unmodified Program. The output from running a
165+covered work is covered by this License only if the output, given its
166+content, constitutes a covered work. This License acknowledges your
167+rights of fair use or other equivalent, as provided by copyright law.
168+
169+ You may make, run and propagate covered works that you do not
170+convey, without conditions so long as your license otherwise remains
171+in force. You may convey covered works to others for the sole purpose
172+of having them make modifications exclusively for you, or provide you
173+with facilities for running those works, provided that you comply with
174+the terms of this License in conveying all material for which you do
175+not control copyright. Those thus making or running the covered works
176+for you must do so exclusively on your behalf, under your direction
177+and control, on terms that prohibit them from making any copies of
178+your copyrighted material outside their relationship with you.
179+
180+ Conveying under any other circumstances is permitted solely under
181+the conditions stated below. Sublicensing is not allowed; section 10
182+makes it unnecessary.
183+
184+ 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
185+
186+ No covered work shall be deemed part of an effective technological
187+measure under any applicable law fulfilling obligations under article
188+11 of the WIPO copyright treaty adopted on 20 December 1996, or
189+similar laws prohibiting or restricting circumvention of such
190+measures.
191+
192+ When you convey a covered work, you waive any legal power to forbid
193+circumvention of technological measures to the extent such circumvention
194+is effected by exercising rights under this License with respect to
195+the covered work, and you disclaim any intention to limit operation or
196+modification of the work as a means of enforcing, against the work's
197+users, your or third parties' legal rights to forbid circumvention of
198+technological measures.
199+
200+ 4. Conveying Verbatim Copies.
201+
202+ You may convey verbatim copies of the Program's source code as you
203+receive it, in any medium, provided that you conspicuously and
204+appropriately publish on each copy an appropriate copyright notice;
205+keep intact all notices stating that this License and any
206+non-permissive terms added in accord with section 7 apply to the code;
207+keep intact all notices of the absence of any warranty; and give all
208+recipients a copy of this License along with the Program.
209+
210+ You may charge any price or no price for each copy that you convey,
211+and you may offer support or warranty protection for a fee.
212+
213+ 5. Conveying Modified Source Versions.
214+
215+ You may convey a work based on the Program, or the modifications to
216+produce it from the Program, in the form of source code under the
217+terms of section 4, provided that you also meet all of these conditions:
218+
219+ a) The work must carry prominent notices stating that you modified
220+ it, and giving a relevant date.
221+
222+ b) The work must carry prominent notices stating that it is
223+ released under this License and any conditions added under section
224+ 7. This requirement modifies the requirement in section 4 to
225+ "keep intact all notices".
226+
227+ c) You must license the entire work, as a whole, under this
228+ License to anyone who comes into possession of a copy. This
229+ License will therefore apply, along with any applicable section 7
230+ additional terms, to the whole of the work, and all its parts,
231+ regardless of how they are packaged. This License gives no
232+ permission to license the work in any other way, but it does not
233+ invalidate such permission if you have separately received it.
234+
235+ d) If the work has interactive user interfaces, each must display
236+ Appropriate Legal Notices; however, if the Program has interactive
237+ interfaces that do not display Appropriate Legal Notices, your
238+ work need not make them do so.
239+
240+ A compilation of a covered work with other separate and independent
241+works, which are not by their nature extensions of the covered work,
242+and which are not combined with it such as to form a larger program,
243+in or on a volume of a storage or distribution medium, is called an
244+"aggregate" if the compilation and its resulting copyright are not
245+used to limit the access or legal rights of the compilation's users
246+beyond what the individual works permit. Inclusion of a covered work
247+in an aggregate does not cause this License to apply to the other
248+parts of the aggregate.
249+
250+ 6. Conveying Non-Source Forms.
251+
252+ You may convey a covered work in object code form under the terms
253+of sections 4 and 5, provided that you also convey the
254+machine-readable Corresponding Source under the terms of this License,
255+in one of these ways:
256+
257+ a) Convey the object code in, or embodied in, a physical product
258+ (including a physical distribution medium), accompanied by the
259+ Corresponding Source fixed on a durable physical medium
260+ customarily used for software interchange.
261+
262+ b) Convey the object code in, or embodied in, a physical product
263+ (including a physical distribution medium), accompanied by a
264+ written offer, valid for at least three years and valid for as
265+ long as you offer spare parts or customer support for that product
266+ model, to give anyone who possesses the object code either (1) a
267+ copy of the Corresponding Source for all the software in the
268+ product that is covered by this License, on a durable physical
269+ medium customarily used for software interchange, for a price no
270+ more than your reasonable cost of physically performing this
271+ conveying of source, or (2) access to copy the
272+ Corresponding Source from a network server at no charge.
273+
274+ c) Convey individual copies of the object code with a copy of the
275+ written offer to provide the Corresponding Source. This
276+ alternative is allowed only occasionally and noncommercially, and
277+ only if you received the object code with such an offer, in accord
278+ with subsection 6b.
279+
280+ d) Convey the object code by offering access from a designated
281+ place (gratis or for a charge), and offer equivalent access to the
282+ Corresponding Source in the same way through the same place at no
283+ further charge. You need not require recipients to copy the
284+ Corresponding Source along with the object code. If the place to
285+ copy the object code is a network server, the Corresponding Source
286+ may be on a different server (operated by you or a third party)
287+ that supports equivalent copying facilities, provided you maintain
288+ clear directions next to the object code saying where to find the
289+ Corresponding Source. Regardless of what server hosts the
290+ Corresponding Source, you remain obligated to ensure that it is
291+ available for as long as needed to satisfy these requirements.
292+
293+ e) Convey the object code using peer-to-peer transmission, provided
294+ you inform other peers where the object code and Corresponding
295+ Source of the work are being offered to the general public at no
296+ charge under subsection 6d.
297+
298+ A separable portion of the object code, whose source code is excluded
299+from the Corresponding Source as a System Library, need not be
300+included in conveying the object code work.
301+
302+ A "User Product" is either (1) a "consumer product", which means any
303+tangible personal property which is normally used for personal, family,
304+or household purposes, or (2) anything designed or sold for incorporation
305+into a dwelling. In determining whether a product is a consumer product,
306+doubtful cases shall be resolved in favor of coverage. For a particular
307+product received by a particular user, "normally used" refers to a
308+typical or common use of that class of product, regardless of the status
309+of the particular user or of the way in which the particular user
310+actually uses, or expects or is expected to use, the product. A product
311+is a consumer product regardless of whether the product has substantial
312+commercial, industrial or non-consumer uses, unless such uses represent
313+the only significant mode of use of the product.
314+
315+ "Installation Information" for a User Product means any methods,
316+procedures, authorization keys, or other information required to install
317+and execute modified versions of a covered work in that User Product from
318+a modified version of its Corresponding Source. The information must
319+suffice to ensure that the continued functioning of the modified object
320+code is in no case prevented or interfered with solely because
321+modification has been made.
322+
323+ If you convey an object code work under this section in, or with, or
324+specifically for use in, a User Product, and the conveying occurs as
325+part of a transaction in which the right of possession and use of the
326+User Product is transferred to the recipient in perpetuity or for a
327+fixed term (regardless of how the transaction is characterized), the
328+Corresponding Source conveyed under this section must be accompanied
329+by the Installation Information. But this requirement does not apply
330+if neither you nor any third party retains the ability to install
331+modified object code on the User Product (for example, the work has
332+been installed in ROM).
333+
334+ The requirement to provide Installation Information does not include a
335+requirement to continue to provide support service, warranty, or updates
336+for a work that has been modified or installed by the recipient, or for
337+the User Product in which it has been modified or installed. Access to a
338+network may be denied when the modification itself materially and
339+adversely affects the operation of the network or violates the rules and
340+protocols for communication across the network.
341+
342+ Corresponding Source conveyed, and Installation Information provided,
343+in accord with this section must be in a format that is publicly
344+documented (and with an implementation available to the public in
345+source code form), and must require no special password or key for
346+unpacking, reading or copying.
347+
348+ 7. Additional Terms.
349+
350+ "Additional permissions" are terms that supplement the terms of this
351+License by making exceptions from one or more of its conditions.
352+Additional permissions that are applicable to the entire Program shall
353+be treated as though they were included in this License, to the extent
354+that they are valid under applicable law. If additional permissions
355+apply only to part of the Program, that part may be used separately
356+under those permissions, but the entire Program remains governed by
357+this License without regard to the additional permissions.
358+
359+ When you convey a copy of a covered work, you may at your option
360+remove any additional permissions from that copy, or from any part of
361+it. (Additional permissions may be written to require their own
362+removal in certain cases when you modify the work.) You may place
363+additional permissions on material, added by you to a covered work,
364+for which you have or can give appropriate copyright permission.
365+
366+ Notwithstanding any other provision of this License, for material you
367+add to a covered work, you may (if authorized by the copyright holders of
368+that material) supplement the terms of this License with terms:
369+
370+ a) Disclaiming warranty or limiting liability differently from the
371+ terms of sections 15 and 16 of this License; or
372+
373+ b) Requiring preservation of specified reasonable legal notices or
374+ author attributions in that material or in the Appropriate Legal
375+ Notices displayed by works containing it; or
376+
377+ c) Prohibiting misrepresentation of the origin of that material, or
378+ requiring that modified versions of such material be marked in
379+ reasonable ways as different from the original version; or
380+
381+ d) Limiting the use for publicity purposes of names of licensors or
382+ authors of the material; or
383+
384+ e) Declining to grant rights under trademark law for use of some
385+ trade names, trademarks, or service marks; or
386+
387+ f) Requiring indemnification of licensors and authors of that
388+ material by anyone who conveys the material (or modified versions of
389+ it) with contractual assumptions of liability to the recipient, for
390+ any liability that these contractual assumptions directly impose on
391+ those licensors and authors.
392+
393+ All other non-permissive additional terms are considered "further
394+restrictions" within the meaning of section 10. If the Program as you
395+received it, or any part of it, contains a notice stating that it is
396+governed by this License along with a term that is a further
397+restriction, you may remove that term. If a license document contains
398+a further restriction but permits relicensing or conveying under this
399+License, you may add to a covered work material governed by the terms
400+of that license document, provided that the further restriction does
401+not survive such relicensing or conveying.
402+
403+ If you add terms to a covered work in accord with this section, you
404+must place, in the relevant source files, a statement of the
405+additional terms that apply to those files, or a notice indicating
406+where to find the applicable terms.
407+
408+ Additional terms, permissive or non-permissive, may be stated in the
409+form of a separately written license, or stated as exceptions;
410+the above requirements apply either way.
411+
412+ 8. Termination.
413+
414+ You may not propagate or modify a covered work except as expressly
415+provided under this License. Any attempt otherwise to propagate or
416+modify it is void, and will automatically terminate your rights under
417+this License (including any patent licenses granted under the third
418+paragraph of section 11).
419+
420+ However, if you cease all violation of this License, then your
421+license from a particular copyright holder is reinstated (a)
422+provisionally, unless and until the copyright holder explicitly and
423+finally terminates your license, and (b) permanently, if the copyright
424+holder fails to notify you of the violation by some reasonable means
425+prior to 60 days after the cessation.
426+
427+ Moreover, your license from a particular copyright holder is
428+reinstated permanently if the copyright holder notifies you of the
429+violation by some reasonable means, this is the first time you have
430+received notice of violation of this License (for any work) from that
431+copyright holder, and you cure the violation prior to 30 days after
432+your receipt of the notice.
433+
434+ Termination of your rights under this section does not terminate the
435+licenses of parties who have received copies or rights from you under
436+this License. If your rights have been terminated and not permanently
437+reinstated, you do not qualify to receive new licenses for the same
438+material under section 10.
439+
440+ 9. Acceptance Not Required for Having Copies.
441+
442+ You are not required to accept this License in order to receive or
443+run a copy of the Program. Ancillary propagation of a covered work
444+occurring solely as a consequence of using peer-to-peer transmission
445+to receive a copy likewise does not require acceptance. However,
446+nothing other than this License grants you permission to propagate or
447+modify any covered work. These actions infringe copyright if you do
448+not accept this License. Therefore, by modifying or propagating a
449+covered work, you indicate your acceptance of this License to do so.
450+
451+ 10. Automatic Licensing of Downstream Recipients.
452+
453+ Each time you convey a covered work, the recipient automatically
454+receives a license from the original licensors, to run, modify and
455+propagate that work, subject to this License. You are not responsible
456+for enforcing compliance by third parties with this License.
457+
458+ An "entity transaction" is a transaction transferring control of an
459+organization, or substantially all assets of one, or subdividing an
460+organization, or merging organizations. If propagation of a covered
461+work results from an entity transaction, each party to that
462+transaction who receives a copy of the work also receives whatever
463+licenses to the work the party's predecessor in interest had or could
464+give under the previous paragraph, plus a right to possession of the
465+Corresponding Source of the work from the predecessor in interest, if
466+the predecessor has it or can get it with reasonable efforts.
467+
468+ You may not impose any further restrictions on the exercise of the
469+rights granted or affirmed under this License. For example, you may
470+not impose a license fee, royalty, or other charge for exercise of
471+rights granted under this License, and you may not initiate litigation
472+(including a cross-claim or counterclaim in a lawsuit) alleging that
473+any patent claim is infringed by making, using, selling, offering for
474+sale, or importing the Program or any portion of it.
475+
476+ 11. Patents.
477+
478+ A "contributor" is a copyright holder who authorizes use under this
479+License of the Program or a work on which the Program is based. The
480+work thus licensed is called the contributor's "contributor version".
481+
482+ A contributor's "essential patent claims" are all patent claims
483+owned or controlled by the contributor, whether already acquired or
484+hereafter acquired, that would be infringed by some manner, permitted
485+by this License, of making, using, or selling its contributor version,
486+but do not include claims that would be infringed only as a
487+consequence of further modification of the contributor version. For
488+purposes of this definition, "control" includes the right to grant
489+patent sublicenses in a manner consistent with the requirements of
490+this License.
491+
492+ Each contributor grants you a non-exclusive, worldwide, royalty-free
493+patent license under the contributor's essential patent claims, to
494+make, use, sell, offer for sale, import and otherwise run, modify and
495+propagate the contents of its contributor version.
496+
497+ In the following three paragraphs, a "patent license" is any express
498+agreement or commitment, however denominated, not to enforce a patent
499+(such as an express permission to practice a patent or covenant not to
500+sue for patent infringement). To "grant" such a patent license to a
501+party means to make such an agreement or commitment not to enforce a
502+patent against the party.
503+
504+ If you convey a covered work, knowingly relying on a patent license,
505+and the Corresponding Source of the work is not available for anyone
506+to copy, free of charge and under the terms of this License, through a
507+publicly available network server or other readily accessible means,
508+then you must either (1) cause the Corresponding Source to be so
509+available, or (2) arrange to deprive yourself of the benefit of the
510+patent license for this particular work, or (3) arrange, in a manner
511+consistent with the requirements of this License, to extend the patent
512+license to downstream recipients. "Knowingly relying" means you have
513+actual knowledge that, but for the patent license, your conveying the
514+covered work in a country, or your recipient's use of the covered work
515+in a country, would infringe one or more identifiable patents in that
516+country that you have reason to believe are valid.
517+
518+ If, pursuant to or in connection with a single transaction or
519+arrangement, you convey, or propagate by procuring conveyance of, a
520+covered work, and grant a patent license to some of the parties
521+receiving the covered work authorizing them to use, propagate, modify
522+or convey a specific copy of the covered work, then the patent license
523+you grant is automatically extended to all recipients of the covered
524+work and works based on it.
525+
526+ A patent license is "discriminatory" if it does not include within
527+the scope of its coverage, prohibits the exercise of, or is
528+conditioned on the non-exercise of one or more of the rights that are
529+specifically granted under this License. You may not convey a covered
530+work if you are a party to an arrangement with a third party that is
531+in the business of distributing software, under which you make payment
532+to the third party based on the extent of your activity of conveying
533+the work, and under which the third party grants, to any of the
534+parties who would receive the covered work from you, a discriminatory
535+patent license (a) in connection with copies of the covered work
536+conveyed by you (or copies made from those copies), or (b) primarily
537+for and in connection with specific products or compilations that
538+contain the covered work, unless you entered into that arrangement,
539+or that patent license was granted, prior to 28 March 2007.
540+
541+ Nothing in this License shall be construed as excluding or limiting
542+any implied license or other defenses to infringement that may
543+otherwise be available to you under applicable patent law.
544+
545+ 12. No Surrender of Others' Freedom.
546+
547+ If conditions are imposed on you (whether by court order, agreement or
548+otherwise) that contradict the conditions of this License, they do not
549+excuse you from the conditions of this License. If you cannot convey a
550+covered work so as to satisfy simultaneously your obligations under this
551+License and any other pertinent obligations, then as a consequence you may
552+not convey it at all. For example, if you agree to terms that obligate you
553+to collect a royalty for further conveying from those to whom you convey
554+the Program, the only way you could satisfy both those terms and this
555+License would be to refrain entirely from conveying the Program.
556+
557+ 13. Use with the GNU Affero General Public License.
558+
559+ Notwithstanding any other provision of this License, you have
560+permission to link or combine any covered work with a work licensed
561+under version 3 of the GNU Affero General Public License into a single
562+combined work, and to convey the resulting work. The terms of this
563+License will continue to apply to the part which is the covered work,
564+but the special requirements of the GNU Affero General Public License,
565+section 13, concerning interaction through a network will apply to the
566+combination as such.
567+
568+ 14. Revised Versions of this License.
569+
570+ The Free Software Foundation may publish revised and/or new versions of
571+the GNU General Public License from time to time. Such new versions will
572+be similar in spirit to the present version, but may differ in detail to
573+address new problems or concerns.
574+
575+ Each version is given a distinguishing version number. If the
576+Program specifies that a certain numbered version of the GNU General
577+Public License "or any later version" applies to it, you have the
578+option of following the terms and conditions either of that numbered
579+version or of any later version published by the Free Software
580+Foundation. If the Program does not specify a version number of the
581+GNU General Public License, you may choose any version ever published
582+by the Free Software Foundation.
583+
584+ If the Program specifies that a proxy can decide which future
585+versions of the GNU General Public License can be used, that proxy's
586+public statement of acceptance of a version permanently authorizes you
587+to choose that version for the Program.
588+
589+ Later license versions may give you additional or different
590+permissions. However, no additional obligations are imposed on any
591+author or copyright holder as a result of your choosing to follow a
592+later version.
593+
594+ 15. Disclaimer of Warranty.
595+
596+ THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
597+APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
598+HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
599+OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
600+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
601+PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
602+IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
603+ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
604+
605+ 16. Limitation of Liability.
606+
607+ IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
608+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
609+THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
610+GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
611+USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
612+DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
613+PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
614+EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
615+SUCH DAMAGES.
616+
617+ 17. Interpretation of Sections 15 and 16.
618+
619+ If the disclaimer of warranty and limitation of liability provided
620+above cannot be given local legal effect according to their terms,
621+reviewing courts shall apply local law that most closely approximates
622+an absolute waiver of all civil liability in connection with the
623+Program, unless a warranty or assumption of liability accompanies a
624+copy of the Program in return for a fee.
625+
626+ END OF TERMS AND CONDITIONS
627+
628+ How to Apply These Terms to Your New Programs
629+
630+ If you develop a new program, and you want it to be of the greatest
631+possible use to the public, the best way to achieve this is to make it
632+free software which everyone can redistribute and change under these terms.
633+
634+ To do so, attach the following notices to the program. It is safest
635+to attach them to the start of each source file to most effectively
636+state the exclusion of warranty; and each file should have at least
637+the "copyright" line and a pointer to where the full notice is found.
638+
639+ <one line to give the program's name and a brief idea of what it does.>
640+ Copyright (C) <year> <name of author>
641+
642+ This program is free software: you can redistribute it and/or modify
643+ it under the terms of the GNU General Public License as published by
644+ the Free Software Foundation, either version 3 of the License, or
645+ (at your option) any later version.
646+
647+ This program is distributed in the hope that it will be useful,
648+ but WITHOUT ANY WARRANTY; without even the implied warranty of
649+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
650+ GNU General Public License for more details.
651+
652+ You should have received a copy of the GNU General Public License
653+ along with this program. If not, see <http://www.gnu.org/licenses/>.
654+
655+Also add information on how to contact you by electronic and paper mail.
656+
657+ If the program does terminal interaction, make it output a short
658+notice like this when it starts in an interactive mode:
659+
660+ <program> Copyright (C) <year> <name of author>
661+ This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
662+ This is free software, and you are welcome to redistribute it
663+ under certain conditions; type `show c' for details.
664+
665+The hypothetical commands `show w' and `show c' should show the appropriate
666+parts of the General Public License. Of course, your program's commands
667+might be different; for a GUI interface, you would use an "about box".
668+
669+ You should also get your employer (if you work as a programmer) or school,
670+if any, to sign a "copyright disclaimer" for the program, if necessary.
671+For more information on this, and how to apply and follow the GNU GPL, see
672+<http://www.gnu.org/licenses/>.
673+
674+ The GNU General Public License does not permit incorporating your program
675+into proprietary programs. If your program is a subroutine library, you
676+may consider it more useful to permit linking proprietary applications with
677+the library. If this is what you want to do, use the GNU Lesser General
678+Public License instead of this License. But first, please read
679+<http://www.gnu.org/philosophy/why-not-lgpl.html>.
680
681=== added file 'jobbox/MANIFEST.in'
682--- jobbox/MANIFEST.in 1970-01-01 00:00:00 +0000
683+++ jobbox/MANIFEST.in 2013-11-11 15:04:58 +0000
684@@ -0,0 +1,4 @@
685+include README.md
686+include COPYING
687+recursive-include docs *.rst
688+include docs/conf.py
689
690=== added file 'jobbox/README.md'
691--- jobbox/README.md 1970-01-01 00:00:00 +0000
692+++ jobbox/README.md 2013-11-11 15:04:58 +0000
693@@ -0,0 +1,9 @@
694+JobBox
695+======
696+
697+JobBox is a collection of jobs for PlainBox and CheckBox
698+
699+Status of JobBox
700+================
701+
702+JobBox is currently in planning stages and has no code or jobs whatsoever.
703
704=== added directory 'jobbox/docs'
705=== added file 'jobbox/docs/changelog.rst'
706--- jobbox/docs/changelog.rst 1970-01-01 00:00:00 +0000
707+++ jobbox/docs/changelog.rst 2013-11-11 15:04:58 +0000
708@@ -0,0 +1,12 @@
709+ChangeLog
710+=========
711+
712+.. note::
713+ This changelog contains only a summary of changes. For a more accurate
714+ accounting of development history please inspect the source history
715+ directly.
716+
717+PlainBox 0.1 (unreleased)
718+^^^^^^^^^^^^^^^^^^^^^^^^^
719+
720+* Initial release
721
722=== added file 'jobbox/docs/conf.py'
723--- jobbox/docs/conf.py 1970-01-01 00:00:00 +0000
724+++ jobbox/docs/conf.py 2013-11-11 15:04:58 +0000
725@@ -0,0 +1,243 @@
726+#!/usr/bin/env python3
727+# -*- coding: utf-8 -*-
728+#
729+# JobBox documentation build configuration file, created by
730+# sphinx-quickstart on Wed Feb 13 11:18:39 2013.
731+#
732+# This file is execfile()d with the current directory set to its containing dir.
733+#
734+# Note that not all possible configuration values are present in this
735+# autogenerated file.
736+#
737+# All configuration values have a default; values that are commented out
738+# serve to show the default.
739+
740+import sys, os
741+
742+# If extensions (or modules to document with autodoc) are in another directory,
743+# add these directories to sys.path here. If the directory is relative to the
744+# documentation root, use os.path.abspath to make it absolute, like shown here.
745+#sys.path.insert(0, os.path.abspath('.'))
746+
747+# -- General configuration -----------------------------------------------------
748+
749+# If your documentation needs a minimal Sphinx version, state it here.
750+#needs_sphinx = '1.0'
751+
752+# Add any Sphinx extension module names here, as strings. They can be extensions
753+# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
754+extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.todo', 'sphinx.ext.coverage', 'sphinx.ext.viewcode']
755+
756+# Add any paths that contain templates here, relative to this directory.
757+templates_path = ['_templates']
758+
759+# The suffix of source filenames.
760+source_suffix = '.rst'
761+
762+# The encoding of source files.
763+#source_encoding = 'utf-8-sig'
764+
765+# The master toctree document.
766+master_doc = 'index'
767+
768+# General information about the project.
769+project = 'JobBox'
770+copyright = '2013, Zygmunt Krynicki'
771+
772+# The version info for the project you're documenting, acts as replacement for
773+# |version| and |release|, also used in various other places throughout the
774+# built documents.
775+#
776+# The short X.Y version.
777+version = '0.1'
778+# The full version, including alpha/beta/rc tags.
779+release = '0.1'
780+
781+# The language for content autogenerated by Sphinx. Refer to documentation
782+# for a list of supported languages.
783+#language = None
784+
785+# There are two options for replacing |today|: either, you set today to some
786+# non-false value, then it is used:
787+#today = ''
788+# Else, today_fmt is used as the format for a strftime call.
789+#today_fmt = '%B %d, %Y'
790+
791+# List of patterns, relative to source directory, that match files and
792+# directories to ignore when looking for source files.
793+exclude_patterns = []
794+
795+# The reST default role (used for this markup: `text`) to use for all documents.
796+#default_role = None
797+
798+# If true, '()' will be appended to :func: etc. cross-reference text.
799+#add_function_parentheses = True
800+
801+# If true, the current module name will be prepended to all description
802+# unit titles (such as .. function::).
803+#add_module_names = True
804+
805+# If true, sectionauthor and moduleauthor directives will be shown in the
806+# output. They are ignored by default.
807+#show_authors = False
808+
809+# The name of the Pygments (syntax highlighting) style to use.
810+pygments_style = 'sphinx'
811+
812+# A list of ignored prefixes for module index sorting.
813+#modindex_common_prefix = []
814+
815+
816+# -- Options for HTML output ---------------------------------------------------
817+
818+# The theme to use for HTML and HTML Help pages. See the documentation for
819+# a list of builtin themes.
820+html_theme = 'default'
821+
822+# Theme options are theme-specific and customize the look and feel of a theme
823+# further. For a list of options available for each theme, see the
824+# documentation.
825+#html_theme_options = {}
826+
827+# Add any paths that contain custom themes here, relative to this directory.
828+#html_theme_path = []
829+
830+# The name for this set of Sphinx documents. If None, it defaults to
831+# "<project> v<release> documentation".
832+#html_title = None
833+
834+# A shorter title for the navigation bar. Default is the same as html_title.
835+#html_short_title = None
836+
837+# The name of an image file (relative to this directory) to place at the top
838+# of the sidebar.
839+#html_logo = None
840+
841+# The name of an image file (within the static path) to use as favicon of the
842+# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
843+# pixels large.
844+#html_favicon = None
845+
846+# Add any paths that contain custom static files (such as style sheets) here,
847+# relative to this directory. They are copied after the builtin static files,
848+# so a file named "default.css" will overwrite the builtin "default.css".
849+html_static_path = ['_static']
850+
851+# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
852+# using the given strftime format.
853+#html_last_updated_fmt = '%b %d, %Y'
854+
855+# If true, SmartyPants will be used to convert quotes and dashes to
856+# typographically correct entities.
857+#html_use_smartypants = True
858+
859+# Custom sidebar templates, maps document names to template names.
860+#html_sidebars = {}
861+
862+# Additional templates that should be rendered to pages, maps page names to
863+# template names.
864+#html_additional_pages = {}
865+
866+# If false, no module index is generated.
867+#html_domain_indices = True
868+
869+# If false, no index is generated.
870+#html_use_index = True
871+
872+# If true, the index is split into individual pages for each letter.
873+#html_split_index = False
874+
875+# If true, links to the reST sources are added to the pages.
876+#html_show_sourcelink = True
877+
878+# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
879+#html_show_sphinx = True
880+
881+# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
882+#html_show_copyright = True
883+
884+# If true, an OpenSearch description file will be output, and all pages will
885+# contain a <link> tag referring to it. The value of this option must be the
886+# base URL from which the finished HTML is served.
887+#html_use_opensearch = ''
888+
889+# This is the file name suffix for HTML files (e.g. ".xhtml").
890+#html_file_suffix = None
891+
892+# Output file base name for HTML help builder.
893+htmlhelp_basename = 'JobBoxdoc'
894+
895+
896+# -- Options for LaTeX output --------------------------------------------------
897+
898+latex_elements = {
899+# The paper size ('letterpaper' or 'a4paper').
900+#'papersize': 'letterpaper',
901+
902+# The font size ('10pt', '11pt' or '12pt').
903+#'pointsize': '10pt',
904+
905+# Additional stuff for the LaTeX preamble.
906+#'preamble': '',
907+}
908+
909+# Grouping the document tree into LaTeX files. List of tuples
910+# (source start file, target name, title, author, documentclass [howto/manual]).
911+latex_documents = [
912+ ('index', 'JobBox.tex', 'JobBox Documentation',
913+ 'Zygmunt Krynicki', 'manual'),
914+]
915+
916+# The name of an image file (relative to this directory) to place at the top of
917+# the title page.
918+#latex_logo = None
919+
920+# For "manual" documents, if this is true, then toplevel headings are parts,
921+# not chapters.
922+#latex_use_parts = False
923+
924+# If true, show page references after internal links.
925+#latex_show_pagerefs = False
926+
927+# If true, show URL addresses after external links.
928+#latex_show_urls = False
929+
930+# Documents to append as an appendix to all manuals.
931+#latex_appendices = []
932+
933+# If false, no module index is generated.
934+#latex_domain_indices = True
935+
936+
937+# -- Options for manual page output --------------------------------------------
938+
939+# One entry per manual page. List of tuples
940+# (source start file, name, description, authors, manual section).
941+man_pages = [
942+ ('index', 'jobbox', 'JobBox Documentation',
943+ ['Zygmunt Krynicki'], 1)
944+]
945+
946+# If true, show URL addresses after external links.
947+#man_show_urls = False
948+
949+
950+# -- Options for Texinfo output ------------------------------------------------
951+
952+# Grouping the document tree into Texinfo files. List of tuples
953+# (source start file, target name, title, author,
954+# dir menu entry, description, category)
955+texinfo_documents = [
956+ ('index', 'JobBox', 'JobBox Documentation',
957+ 'Zygmunt Krynicki', 'JobBox', 'One line description of project.',
958+ 'Miscellaneous'),
959+]
960+
961+# Documents to append as an appendix to all manuals.
962+#texinfo_appendices = []
963+
964+# If false, no module index is generated.
965+#texinfo_domain_indices = True
966+
967+# How to display URL addresses: 'footnote', 'no', or 'inline'.
968+#texinfo_show_urls = 'footnote'
969
970=== added file 'jobbox/docs/coverage.rst'
971--- jobbox/docs/coverage.rst 1970-01-01 00:00:00 +0000
972+++ jobbox/docs/coverage.rst 2013-11-11 15:04:58 +0000
973@@ -0,0 +1,74 @@
974+Job Coverage
975+============
976+
977+This document summarizes job / test coverage as provided by JobBox
978+
979+Hardware Jobs
980+^^^^^^^^^^^^^
981+
982+============= ====================================== ========================
983+Category Name Hardware in scope Description
984+============= ====================================== ========================
985+audio Sound card, headphone jacks, etc basic functionality tests
986+benchmarks CPUs, GPUs, Disks, Network assorted benchmarks
987+bluetooth Bluetooth hardware basic functionality tests
988+camera video input devices, webcams basic functionality tests
989+cpu CPU basic cpu features
990+disk Hard drives and SSD basic functionality and capacity tests
991+esata eSATA-connected disks
992+expresscard Express cards
993+fingerprint Fingerprint scanners
994+firewire Firewire-connected disks
995+floppy Floppy disks
996+graphics Integrated and discrete GPUSs
997+input Mouse, touchpad and touchscreen
998+keys Special hardware keys
999+led Indicator LEDs
1000+mediacard Memory card readers (SD, uSD, xD)
1001+memory RAM
1002+monitor CRT and LCD monitors
1003+networking Ethernet, WiFI and modem
1004+optical optical drives (CDs, DVDs)
1005+peripheral external printer and modem tests
1006+stress entire machine extended stress testing
1007+============= ====================================== ========================
1008+
1009+Software Jobs
1010+^^^^^^^^^^^^^
1011+
1012+================= ==========================
1013+Category Name Software in scope
1014+================= ==========================
1015+codecs software audio codecs
1016+daemons essential system daemons
1017+install apt-get and oem-config
1018+panel_clock_test date and time display and control
1019+panel_reboot reboot control
1020+piglit various piglit tests (graphics)
1021+rendercheck various rendercheck tests (graphics)
1022+server-services typical server services
1023+================= ==========================
1024+
1025+Power management jobs
1026+^^^^^^^^^^^^^^^^^^^^^
1027+
1028+================ ==========================
1029+Category Name Description
1030+================ ==========================
1031+hibernate whole-system suspend-to-disk
1032+suspend whole-system suspend-to-ram
1033+power-management fine-grained ACPI tests
1034+================ ==========================
1035+
1036+Misc jobs
1037+^^^^^^^^^
1038+
1039+============= ==========================
1040+Category Name Description
1041+============= ==========================
1042+info hardware information logs
1043+local local jobs (checkbox legacy)
1044+miscellanea other assorted jobs
1045+resource software and hardware probes that enable specific tests
1046+smoke smoke tests for checkbox job management
1047+============= ==========================
1048
1049=== added file 'jobbox/docs/glossary.rst'
1050--- jobbox/docs/glossary.rst 1970-01-01 00:00:00 +0000
1051+++ jobbox/docs/glossary.rst 2013-11-11 15:04:58 +0000
1052@@ -0,0 +1,2 @@
1053+Glossary
1054+========
1055
1056=== added file 'jobbox/docs/index.rst'
1057--- jobbox/docs/index.rst 1970-01-01 00:00:00 +0000
1058+++ jobbox/docs/index.rst 2013-11-11 15:04:58 +0000
1059@@ -0,0 +1,51 @@
1060+.. JobBox documentation master file, created by
1061+ sphinx-quickstart on Wed Feb 13 11:18:39 2013.
1062+ You can adapt this file completely to your liking, but it should at least
1063+ contain the root `toctree` directive.
1064+
1065+JobBox
1066+======
1067+
1068+JobBox is a collection of tests that aim to cover all aspects of modern
1069+computer hardware. It is intended to be used alongside with CheckBox and
1070+PlainBox projects as a source of actual **data**.
1071+
1072+The name *JobBox* is a wordplay that matches the naming scheme of the CheckBox
1073+project group. The *job* part refers to CheckBox *jobs* which represent the
1074+smallest piece of testing that can be performed. In essence, JobBox is just a
1075+box with jobs.
1076+
1077+Installation
1078+^^^^^^^^^^^^
1079+
1080+JobBox can be installed from a :abbr:`PPA (Personal Package Archive)`
1081+(recommended) or :abbr:`pypi (python package index)` on Ubuntu Precise (12.04)
1082+or newer.
1083+
1084+.. code-block:: bash
1085+
1086+ $ sudo add-apt-repository ppa:checkbox-dev/ppa && sudo apt-get update && sudo apt-get install jobbox
1087+
1088+Using JobBox
1089+^^^^^^^^^^^^
1090+
1091+JobBox is a dependency of PlainBox and CheckBox. It will be used automatically
1092+whenever those tools are used.
1093+
1094+Table of contents
1095+=================
1096+
1097+.. toctree::
1098+ :maxdepth: 2
1099+
1100+ jobspec.rst
1101+ coverage.rst
1102+ glossary.rst
1103+ changelog.rst
1104+
1105+Indices and tables
1106+==================
1107+
1108+* :ref:`genindex`
1109+* :ref:`modindex`
1110+* :ref:`search`
1111
1112=== added file 'jobbox/docs/jobspec.rst'
1113--- jobbox/docs/jobspec.rst 1970-01-01 00:00:00 +0000
1114+++ jobbox/docs/jobspec.rst 2013-11-11 15:04:58 +0000
1115@@ -0,0 +1,340 @@
1116+Job Specification
1117+=================
1118+
1119+CheckBox Job Definition
1120+^^^^^^^^^^^^^^^^^^^^^^^
1121+
1122+.. todo::
1123+ Move checkbox job definitions here or refer to them using intersphinx
1124+ syntax. Initially we may have a reference to plainbox that actually
1125+ documents what those jobs do.
1126+
1127+JobBox Job Definition
1128+^^^^^^^^^^^^^^^^^^^^^
1129+
1130+JobBox jobs are a proposed evolution of CheckBox jobs. The intent is to retain
1131+compatibility with existing jobs, provide simple migration path and to address
1132+the shortcomings of existing CheckBox job definition system.
1133+
1134+JobBox jobs are defined as a structure with key (field) - value pairs. The
1135+following fields are defined by this document. They are typically stored just
1136+as CheckBox jobs, in RFC-822 records.
1137+
1138+name
1139+----
1140+
1141+Unique job name, same as in CheckBox.
1142+
1143+This field is used to identify and refer to each job. The name has to
1144+be unique. This can be simplified by using vendor name spaces.
1145+
1146+vendor-namespace
1147+----------------
1148+
1149+Implicit prefix of the job name.
1150+
1151+This field has no corresponding representation in CheckBox.
1152+
1153+The intent is to allow for an ecosystem of job provides to freely collaborate
1154+in one environment without the fear of name collisions.
1155+
1156+This mechanism allows each job vendor to ensure that the key requirement of job
1157+*name* to be globally unique is easy to enforce.
1158+
1159+Implicitly all jobs inherit a vendor namespace from the document that defines
1160+them. This allows the cumbersome vendor string to be mostly forgotten about in
1161+normal development or usage.
1162+
1163+The syntax is of the vendor namespace string **MUST** follow the pattern
1164+``year:reverse-domain-name:namespace`` where ``year`` is a non-abbreviated
1165+year, ``reverse-domain-name`` is a name of a domain controlled by the vendor
1166+written down in the reverse domain name notation while ``namespace`` is an
1167+arbitrary string assigned by the vendor. Vendors **MUST** control the DNS
1168+domain name at the time the vendor namespace is being defined. The ``year``
1169+component allows the system to meaningfully refer to the
1170+``reverse-domain-name`` while ensuring that the eternal ownership of a DNS
1171+domain name is not a prerequisite.
1172+
1173+.. note::
1174+
1175+ For the Canonical Hardware Certification Team, the vendor namespace is
1176+ ``2013:com.canonical:pes/hardware-certification``
1177+
1178+classifiers
1179+-----------
1180+
1181+List of classifiers. See :term:`classifiers`.
1182+
1183+This allows scenario editors and testers to pick tests applicable to a
1184+particular class of software or hardware. Classifiers allow job developers to
1185+associate a set of hierarchical labels to each job.
1186+
1187+This is a replacement of the implicit category association informally defined
1188+by the job ``name`` (which typically follows a ``category/name`` pattern) and
1189+the equally informal abuse of :term:`local plugin` jobs to use ``__category__``
1190+jobs to put generated jobs into some category.
1191+
1192+The improvement over the base idea is that a job may naturally belong to
1193+multiple categories, such as being a *hardware:monitor*,
1194+*functionality:suspend* test that is typically performed on
1195+*target-environment:desktop* and *target-environment:laptop* as well as
1196+*target-environment:smart-screen* and belonging to the general
1197+*category:power-management*. This was impossible to express in the previous
1198+system and while no concrete usage patterns are recommended it believed that
1199+introduction of this capability will result in definition of official
1200+classifiers and usage patterns in which they are applied.
1201+
1202+summary
1203+-------
1204+
1205+Human-readable, short, one line summary of the job.
1206+
1207+This field is intended for :term:`scenario` developers that wish to assemble a
1208+scenario out of the library of available test. Keeping the summary short and
1209+one-line will allow efficient representation of tests as a list of items. The
1210+summary may be more descriptive than the raw job name might otherwise be.
1211+
1212+description
1213+-----------
1214+
1215+Human-readable description of arbitrary size.
1216+
1217+This field is always displayed to the test operator. It may contain
1218+instructions vital for the proper verification of the outcome of the test.
1219+
1220+.. note::
1221+
1222+ Perhaps we want to split the description (which is something we could
1223+ display on websites and scenario editors) from actual instructions for the
1224+ test operator.
1225+
1226+startup
1227+-------
1228+
1229+Keyword identifying how a test job is started.
1230+
1231+The default value is ``immediate``.
1232+
1233+The allowed values are:
1234+
1235+``immediate``
1236+ The job can be started immediately.
1237+
1238+``triggered``
1239+ The job needs to be started explicitly by the test operator. This is
1240+ intended for things that may be timing-sensitive or may require the tester
1241+ to understand the necessary manipulations that he or she may have to
1242+ perform ahead of time.
1243+
1244+ The test operator may select to skip certain tests, in that case the
1245+ :term:`outcome` is ``skip``.
1246+
1247+This is a replacement for a collection of CheckBox plugin types, including
1248+``manual``, ``shell``, ``user-verify`` and ``user-interact``.
1249+
1250+verification
1251+------------
1252+
1253+Keyword identifying how a test job is qualified as passing or failing.
1254+
1255+The default value is ``automatic``.
1256+
1257+The allowed values are:
1258+
1259+``automatic``
1260+ The outcome is automatically verified based on the return status of the
1261+ command or script embedded into the job. Depending on the return code the
1262+ :term:`outcome` of a job is either ``pass`` or ``fail``
1263+
1264+``manual``
1265+ The outcome is manually verified by asking a question to the user.
1266+ Typically this question is a form of yes-or-no question. Depending on the
1267+ input from the test operator the :term:`outcome` of a job is either
1268+ ``pass`` or ``fail``.
1269+
1270+script
1271+------
1272+
1273+A :program:`bash` script to execute.
1274+
1275+There is no default value.
1276+
1277+The script can be a multi-line command that is executed as a part of this job
1278+on :term:`job startup`. The script can be as long as desired but it is
1279+suggested to keep it reasonably short and transform overly complicated scripts
1280+to actual standalone programs so that they can be treated as every other piece
1281+of software.
1282+
1283+The output and return code of the script may affect the rest of the system. See
1284+the ``script-output`` and ``verification`` fields.
1285+
1286+script-output
1287+-------------
1288+
1289+A keyword identifying what to do with the output produced by the script.
1290+
1291+The default value is ``hide``.
1292+
1293+The allowed values are:
1294+
1295+``hide``
1296+ Both stdout and stderr are hidden from the tester.
1297+
1298+ The test operator may choose to reveal the output and inspect it if needed.
1299+ The output is not stored after all testing is finished.
1300+
1301+ This is a replacement for CheckBox :term:`shell plugin`.
1302+
1303+ The improvement over the base idea is that not all commands produce
1304+ interesting output that should be immediately displayed. Except for jobs
1305+ that require the test operator to carefully read the output this provides a
1306+ good default value without compromising on the ability to access this data
1307+ in all cases, if required.
1308+
1309+``reveal``
1310+ Both stdout and stderr are displayed to the tester.
1311+
1312+ The test operator may choose to hide the output. The output is not stored
1313+ after all testing is finished.
1314+
1315+ This is a replacement for CheckBox :term:`shell plugin`.
1316+
1317+ The improvement over the base idea is that it allows to identify jobs that
1318+ depend on the test operator being able to see their output. Such scripts
1319+ may be subject to extra scrutiny or localization requirements to ensure
1320+ testers can comprehend the output if that is required by the test.
1321+
1322+``attach-text``
1323+ The stdout is converted to a text attachment.
1324+
1325+ All of the bytes produced on stdout must form a valid Unicode string
1326+ encoded with UTF-8. Any characters that cannot be interpreted as UTF-8 are
1327+ replaced with supplementary characters.
1328+
1329+ The stderr is discarded.
1330+
1331+ This is a replacement for CheckBox :term:`attachment plugin`.
1332+
1333+ The improvement over the base idea is that we clearly differentiate text
1334+ and binary attachments and there is a well-defined strategy for handling
1335+ corrupted output.
1336+
1337+``attach-binary``
1338+ The stdout is converted to a binary attachment.
1339+
1340+ The stderr is discarded.
1341+
1342+ When using ``attach-binary`` you **MUST** also set the
1343+ ``attachment-mime-type`` field.
1344+
1345+ This is a replacement for CheckBox :term:`attachment plugin`.
1346+
1347+ The improvement over the base idea is that we clearly differentiate text
1348+ and binary attachments and there is a way to specify MIME type which may
1349+ aid test reviewers and downstream storage systems. For example a web-based
1350+ test result browser may offer to download or display attachments in a way
1351+ optimized to their content.
1352+
1353+``parse-resource``
1354+ The stdout is converted to text as described in ``attach-text`` and
1355+ parsed as list of RFC-822 records separated by an empty line. The result
1356+ is interpreted as a list of :term:`resource definitions`.
1357+
1358+ The stderr is discarded.
1359+
1360+ This is a replacement for CheckBox :term:`resource plugin`.
1361+
1362+``parse-job``
1363+ The stdout is converted to text as described in ``attach-text`` and
1364+ parsed as a list of RFC-822 records separated by an empty line. The
1365+ result is interpreted as a list of :term:`job definitions`.
1366+
1367+ The stderr is discarded.
1368+
1369+ When using ``parse-job`` you **MUST** define ``parse-job-pattern`` to
1370+ indicate the naming pattern of jobs that **MAY** be generated by the
1371+ script. Jobs that are parsed but do not match that pattern are discarded.
1372+
1373+ This is a replacement for CheckBox :term:`local plugin`.
1374+
1375+ The improvement over the base idea is that it allows PlainBox to build a
1376+ full graph of all jobs and automatically discover job dependencies without
1377+ executing any code.
1378+
1379+parse-job-pattern
1380+-----------------
1381+
1382+The pattern of jobs that may be defined by this job.
1383+
1384+There is no default value.
1385+
1386+This field describes the pattern of jobs names that may be defined by a job
1387+using ``script-output`` equal to ``parse-job``.
1388+
1389+The pattern **MUST** be a valid job name and **MUST NOT** have a
1390+``vendor-namespace`` (in that it can only generate jobs in the same vendor
1391+namespace as the job definition that embeds the ``script``). This ensures that
1392+no cross-vendor job generation is possible and in turn that each vendor can
1393+enforce and control their namespace.
1394+
1395+The pattern **SHOULD** include at least one ``wildcard``. The syntax of the
1396+wildcard is ``{NAME}`` where ``NAME`` is the name of the wildcard.
1397+
1398+.. note::
1399+ A job that generates arbitrary jobs using a match-everything pattern such
1400+ as ``{}`` will be rejected in practice. For details see the rules on
1401+ pattern job collisions. The rule states that if two jobs contend to
1402+ generate the same job then the shortest pattern (not including the name of
1403+ each wildcard) is discarded. This allows to resolve conflicts by allowing
1404+ most-specialized pattern to win.
1405+
1406+attachment-mime-type
1407+--------------------
1408+
1409+The :term:`MIME` type of attachment generated by this job.
1410+
1411+There is no default value.
1412+
1413+This field is mandatory to jobs that have ``script-output`` equal to
1414+``attach-binary``.
1415+
1416+user
1417+----
1418+
1419+Name of the system user the script should be executed as.
1420+
1421+There is no default value.
1422+
1423+This is typically used to run certain scripts as ``root``.
1424+
1425+depends
1426+-------
1427+
1428+A list of job names that describe test-level dependencies of the job.
1429+
1430+There is no default value.
1431+
1432+The list of dependencies must refer to existing jobs from the same vendor or
1433+fully qualified jobs from any vendor. The job is :term:`ready` when **ALL** the
1434+term:`outcome` of all referenced jobs is ``pass``.
1435+
1436+The list **MAY** refer to a job generated by a job using ``script-output``
1437+equal to ``parse-job``. Jobs with unknown dependencies (not defined anywhere in
1438+the system) are removed from consideration. Jobs that have circular
1439+dependencies are also removed from consideration.
1440+
1441+When the dependency is not met the :term:`outcome` of a job is ``fail``
1442+
1443+requires
1444+--------
1445+
1446+A list of :term:`requirement programs` that describe system-level dependencies
1447+of the job.
1448+
1449+There is no default value.
1450+
1451+The list of dependencies is evaluated against all :term:`resources`. The job is
1452+:term:`ready` when **ALL** resource programs evaluate to true.
1453+
1454+When the dependency is not met the :term:`outcome` of a job is
1455+``not-supported``
1456
1457=== added directory 'jobbox/jobbox'
1458=== added file 'jobbox/jobbox/__init__.py'
1459--- jobbox/jobbox/__init__.py 1970-01-01 00:00:00 +0000
1460+++ jobbox/jobbox/__init__.py 2013-11-11 15:04:58 +0000
1461@@ -0,0 +1,20 @@
1462+# This file is part of Checkbox.
1463+#
1464+# Copyright 2013 Canonical Ltd.
1465+# Written by:
1466+# Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
1467+#
1468+# Checkbox is free software: you can redistribute it and/or modify
1469+# it under the terms of the GNU General Public License as published by
1470+# the Free Software Foundation, either version 3 of the License, or
1471+# (at your option) any later version.
1472+#
1473+# Checkbox is distributed in the hope that it will be useful,
1474+# but WITHOUT ANY WARRANTY; without even the implied warranty of
1475+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1476+# GNU General Public License for more details.
1477+#
1478+# You should have received a copy of the GNU General Public License
1479+# along with Checkbox. If not, see <http://www.gnu.org/licenses/>.
1480+
1481+__version__ = (0, 1, 0, 'dev', 0)
1482
1483=== added file 'jobbox/setup.cfg'
1484--- jobbox/setup.cfg 1970-01-01 00:00:00 +0000
1485+++ jobbox/setup.cfg 2013-11-11 15:04:58 +0000
1486@@ -0,0 +1,5 @@
1487+[upload]
1488+sign=True
1489+
1490+[upload_docs]
1491+upload-dir=build/sphinx/html
1492
1493=== added file 'jobbox/setup.py'
1494--- jobbox/setup.py 1970-01-01 00:00:00 +0000
1495+++ jobbox/setup.py 2013-11-11 15:04:58 +0000
1496@@ -0,0 +1,32 @@
1497+#!/usr/bin/env python3
1498+# This file is part of Checkbox.
1499+#
1500+# Copyright 2013 Canonical Ltd.
1501+# Written by:
1502+# Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
1503+#
1504+# Checkbox is free software: you can redistribute it and/or modify
1505+# it under the terms of the GNU General Public License as published by
1506+# the Free Software Foundation, either version 3 of the License, or
1507+# (at your option) any later version.
1508+#
1509+# Checkbox is distributed in the hope that it will be useful,
1510+# but WITHOUT ANY WARRANTY; without even the implied warranty of
1511+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1512+# GNU General Public License for more details.
1513+#
1514+# You should have received a copy of the GNU General Public License
1515+# along with Checkbox. If not, see <http://www.gnu.org/licenses/>.
1516+
1517+
1518+from setuptools import setup, find_packages
1519+
1520+
1521+setup(
1522+ name="jobbox",
1523+ version="0.1",
1524+ packages=find_packages(),
1525+ author="Zygmunt Krynicki",
1526+ author_email="zygmunt.krynicki@canonical.com",
1527+ license="GPLv3+",
1528+ description="Jobs for PlainBox")
1529
1530=== modified file 'setup.py'
1531--- setup.py 2013-11-08 21:55:38 +0000
1532+++ setup.py 2013-11-11 15:04:58 +0000
1533@@ -30,7 +30,7 @@
1534 import subprocess
1535 import sys
1536
1537-delegate_to = ['plainbox', 'checkbox-ng']
1538+delegate_to = ['plainbox', 'checkbox-ng', 'jobbox']
1539 try:
1540 base = os.path.dirname(__file__)
1541 for target_dir in delegate_to:

Subscribers

People subscribed via source and target branches