lp:~kissiel/checkbox-ng

Get this repository:
git clone https://git.launchpad.net/~kissiel/checkbox-ng
Only Maciej Kisielewski can upload to this repository. If you are Maciej Kisielewski please log in for upload directions.

Branches

Name Last Modified Last Commit
fix-race-condition-i-guess 2018-11-15 03:11:19 UTC 5 hours ago
remote: remove unnecessary return

Author: Maciej Kisielewski
Author Date: 2018-11-15 03:11:19 UTC

remote: remove unnecessary return

Signed-off-by: Maciej Kisielewski <maciej.kisielewski@canonical.com>

validation-improvement 2018-11-14 02:59:23 UTC 2018-11-14
update unit tests for provider_manager

Author: Maciej Kisielewski
Author Date: 2018-11-14 02:47:39 UTC

update unit tests for provider_manager

Signed-off-by: Maciej Kisielewski <maciej.kisielewski@canonical.com>

fix-re-exc-serializing-py37-compat 2018-10-30 22:37:15 UTC 2018-10-30
plainbox:xparsers: fix doctest failing on py37

Author: Maciej Kisielewski
Author Date: 2018-10-25 22:25:45 UTC

plainbox:xparsers: fix doctest failing on py37

Py37 changed how sre exceptions are stringified, namely the trailing comma is
no longer printed. To make this doctest pass on both, pre 3.7 and 3.7+ python,
this patch checks for internals of that exception instead.

Signed-off-by: Maciej Kisielewski <maciej.kisielewski@canonical.com>

master 2018-10-30 17:21:03 UTC 2018-10-30
Merge #358036 from ~sylvain-pineau/checkbox-ng:disable-autoescape-html-comments

Author: PMR
Author Date: 2018-10-30 17:21:03 UTC

Merge #358036 from ~sylvain-pineau/checkbox-ng:disable-autoescape-html-comments

smuggle-bs-results-in-json 2018-10-14 18:17:51 UTC 2018-10-14
exporters: add resource-results to the json template

Author: Maciej Kisielewski
Author Date: 2018-10-14 18:17:51 UTC

exporters: add resource-results to the json template

This way we can extract job duration from the resource jobs.

Signed-off-by: Maciej Kisielewski <maciej.kisielewski@canonical.com>

submission-message-in-launcher 2018-08-23 13:43:39 UTC 2018-08-23
launcher: add 'description' variable to launchers

Author: Maciej Kisielewski
Author Date: 2018-08-23 13:43:39 UTC

launcher: add 'description' variable to launchers

Signed-off-by: Maciej Kisielewski <maciej.kisielewski@canonical.com>

py37-compat 2018-08-21 09:28:59 UTC 2018-08-21
secure:launcher: remove reference to argparse's private func.

Author: Maciej Kisielewski
Author Date: 2018-08-21 09:28:59 UTC

secure:launcher: remove reference to argparse's private func.

Signed-off-by: Maciej Kisielewski <maciej.kisielewski@canonical.com>

submission-comment 2018-08-13 13:44:07 UTC 2018-08-13
add an option to input description when submitting

Author: Maciej Kisielewski
Author Date: 2018-08-13 12:32:24 UTC

add an option to input description when submitting

Only for interactive sessions.

Fixes: LP:#1764329

Signed-off-by: Maciej Kisielewski <maciej.kisielewski@canonical.com>

fix-timeout-when-exporting 2018-08-10 14:54:37 UTC 2018-08-10
fix short timeout for calls from master to the slave

Author: Maciej Kisielewski
Author Date: 2018-08-10 14:54:37 UTC

fix short timeout for calls from master to the slave

Signed-off-by: Maciej Kisielewski <maciej.kisielewski@canonical.com>

weed-out-sgr-ansi-codes 2018-07-27 09:41:27 UTC 2018-07-27
result: strip ANSI color escape codes when reading logs

Author: Maciej Kisielewski
Author Date: 2018-07-27 09:41:27 UTC

result: strip ANSI color escape codes when reading logs

Note that the files with logs are still written raw (without any filtering).
But when the logs are read back (e.g. when preparing reports), the ANSI SGR
codes are stripped. Note that only SGR codes are stripped.

See "ECMA-48 Set Graphics Rendition" in CONSOLE_CODES(4)

Signed-off-by: Maciej Kisielewski <maciej.kisielewski@canonical.com>

test-duration-in-json 2018-07-25 16:02:22 UTC 2018-07-25
exporter: add test duration to the json rep.

Author: Maciej Kisielewski
Author Date: 2018-07-25 16:02:22 UTC

exporter: add test duration to the json rep.

Signed-off-by: Maciej Kisielewski <maciej.kisielewski@canonical.com>

update-rpyc 2018-07-24 12:40:35 UTC 2018-07-24
vendor: update rpyc to 4.0.1 (py3.7 compat)

Author: Maciej Kisielewski
Author Date: 2018-07-24 12:22:18 UTC

vendor: update rpyc to 4.0.1 (py3.7 compat)

After the copying I ran:
find . -name '*.py' -exec sed -i s/^from\ rpyc/from\ plainbox.vendor.rpyc/ {} +
to make sure the imports are correct

Signed-off-by: Maciej Kisielewski <maciej.kisielewski@canonical.com>

throwaway-throwaway_managers 2018-07-16 10:32:55 UTC 2018-07-16
session: optimize creation of throwaway session managers

Author: Maciej Kisielewski
Author Date: 2018-07-14 13:12:27 UTC

session: optimize creation of throwaway session managers

Instead of creating one every time it's needed, "cache" them in the
SessionManager cls. The cache is keyed by the providers requested.

Those managers are needed when validating test plans. For each nesting TP
new session is created (and all providers are parsed; all jobs created).
They are also used when the outcome of the boostrapping job was handled.
On slower machines it meant that validating plainbox-provider-checkbox
took 1m28s. With the caching mechanism introduced by this patch, the time
dropped to 0:36s.
As for bootstrapping gains, going on checkbox-plano from CLI to test-selection
using .caracalla-test-runner, it went from 1m41s to 1m15s.

exporter-validation 2018-07-13 11:06:29 UTC 2018-07-13
jinja2: ensure <3.6 compatibility in validation

Author: Maciej Kisielewski
Author Date: 2018-07-13 11:06:29 UTC

jinja2: ensure <3.6 compatibility in validation

Signed-off-by: Maciej Kisielewski <maciej.kisielewski@canonical.com>

weird-pep-error 2018-07-12 12:48:57 UTC 2018-07-12
remote: make the import pep8 happy

Author: Maciej Kisielewski
Author Date: 2018-07-12 12:48:57 UTC

remote: make the import pep8 happy

Signed-off-by: Maciej Kisielewski <maciej.kisielewski@canonical.com>

remote-fix-selectionless-sessions 2018-06-30 11:44:03 UTC 2018-06-30
remote: fix running sessions with forced selections

Author: Maciej Kisielewski
Author Date: 2018-06-30 11:44:03 UTC

remote: fix running sessions with forced selections

Signed-off-by: Maciej Kisielewski <maciej.kisielewski@canonical.com>

auto-resume-outcome-choice 2018-06-27 09:41:12 UTC 2018-06-27
allow jobs to leave outcome info for auto-resume resolution

Author: Maciej Kisielewski
Author Date: 2018-06-27 09:41:12 UTC

allow jobs to leave outcome info for auto-resume resolution

Previously when checkbox was auto-resumed (e.g. when running reboot stress
jobs), the outcome was always decided to be passed.

This patch introduces a way for jobs to communicate back what the outcome
should be. This way if a job detects a problem with a job, it can leave
appropriate message in the CHECKBOX_DATA dir.

The feedback file that checkbox looks for is __result. It should be a json
object containing fields that will be used by MemoryJobResult, most important
of which is the "outcome". Other useful field is "comments" so the job can
give verbose information about what went wrong.

If the file cannot be parsed, or the file isn't there checkbox defaults to the
previous behavior of marking as passed.

Signed-off-by: Maciej Kisielewski <maciej.kisielewski@canonical.com>

list-subcmd-improvments 2018-06-22 13:54:46 UTC 2018-06-22
fix and improve `list all-jobs` and `list-bootstrapped` subcmds

Author: Maciej Kisielewski
Author Date: 2018-06-22 13:48:51 UTC

fix and improve `list all-jobs` and `list-bootstrapped` subcmds

fix: checkbox no longer backtraces on missing field (my previous implementation
     of the default values for the .format() was dumb and broken.
improvements:
- there is a consistent naming of fields in units, previously it was tr_summary
  when running all-jobs and _summary when running list-bootstrapped.
  Now it uses same nomenclature as pxu file (i.e. _summary)
- you can now print 'id' or 'full_id'. The former being the unqualified name
- when asking to print available fields via `--format ?` the list is now sorted
- tidy-up the look of `--format ?` printout

Signed-off-by: Maciej Kisielewski <maciej.kisielewski@canonical.com>

fix-resume-run-sessions 2018-06-20 20:21:19 UTC 2018-06-20
fix crash when resuming a session started with checkbox-cli run

Author: Maciej Kisielewski
Author Date: 2018-06-20 20:21:19 UTC

fix crash when resuming a session started with checkbox-cli run

Sessions started with checkbox-cli run (...) had their app_blob uninitiated.
Which in turn got marshalled into an empty string... When the session manager
tried to parse JSON inside the unmarshalled session file, it crashed because
of the missing root object.

This patch makes `run` properly initiate app_blob object.

Signed-off-by: Maciej Kisielewski <maciej.kisielewski@canonical.com>

potfiles-update 2018-06-18 10:26:43 UTC 2018-06-18
po: update POTFILES.in

Author: Maciej Kisielewski
Author Date: 2018-06-18 10:26:04 UTC

po: update POTFILES.in

Signed-off-by: Maciej Kisielewski <maciej.kisielewski@canonical.com>

pbox-subcmd-nuking-bonanza 2018-06-18 10:12:11 UTC 2018-06-18
remove standalone plainbox-qml-shell command

Author: Maciej Kisielewski
Author Date: 2018-06-17 21:24:22 UTC

remove standalone plainbox-qml-shell command

The QML-native jobs are still supported, this patch only removes
the unreachable plainbox invocation.

Signed-off-by: Maciej Kisielewski <maciej.kisielewski@canonical.com>

rename-neuter-to-reset 2018-06-15 12:00:58 UTC 2018-06-15
units: rename 'neuter-locale' flag to 'reset-locale'

Author: Maciej Kisielewski
Author Date: 2018-06-15 12:00:58 UTC

units: rename 'neuter-locale' flag to 'reset-locale'

Signed-off-by: Maciej Kisielewski <maciej.kisielewski@canonical.com>

make-preserve-locale-default 2018-06-15 11:05:07 UTC 2018-06-15
make preserve-locale the default behavior

Author: Maciej Kisielewski
Author Date: 2018-06-15 11:05:07 UTC

make preserve-locale the default behavior

And introduce `neuter-locale` flag for jobs, that makes Checkbox act
as missing preserve-locale previously did.

Signed-off-by: Maciej Kisielewski <maciej.kisielewski@canonical.com>

remote-matching-version-check 2018-06-14 12:17:37 UTC 2018-06-14
remote: rename SA2 to RemoteSessionAssistant

Author: Maciej Kisielewski
Author Date: 2018-06-14 12:16:14 UTC

remote: rename SA2 to RemoteSessionAssistant

Signed-off-by: Maciej Kisielewski <maciej.kisielewski@canonical.com>

docs-update 2018-06-06 22:35:35 UTC 2018-06-06
docs: add chapter about Checkbox Remote

Author: Maciej Kisielewski
Author Date: 2018-06-06 21:36:57 UTC

docs: add chapter about Checkbox Remote

Signed-off-by: Maciej Kisielewski <maciej.kisielewski@canonical.com>

simple-version-info-in-reports 2018-06-06 13:21:33 UTC 2018-06-06
xlsx: write checkbox version info

Author: Maciej Kisielewski
Author Date: 2018-06-06 13:01:55 UTC

xlsx: write checkbox version info

Signed-off-by: Maciej Kisielewski <maciej.kisielewski@canonical.com>

versions-in-reports 2018-06-05 18:26:04 UTC 2018-06-05
exporters: updates tests to match the new footer

Author: Maciej Kisielewski
Author Date: 2018-06-05 18:26:04 UTC

exporters: updates tests to match the new footer

Signed-off-by: Maciej Kisielewski <maciej.kisielewski@canonical.com>

fix-remote-crash-on-testless-tps 2018-06-01 15:29:36 UTC 2018-06-01
remote: fix master crashing when TP generated no tests to choose from

Author: Maciej Kisielewski
Author Date: 2018-06-01 14:51:45 UTC

remote: fix master crashing when TP generated no tests to choose from

Signed-off-by: Maciej Kisielewski <maciej.kisielewski@canonical.com>

remote-renames 2018-05-31 20:27:02 UTC 2018-05-31
remote: add option to abandon session from the master

Author: Maciej Kisielewski
Author Date: 2018-05-31 20:27:02 UTC

remote: add option to abandon session from the master

Signed-off-by: Maciej Kisielewski <maciej.kisielewski@canonical.com>

add-dash-dash-version 2018-05-31 12:23:26 UTC 2018-05-31
version: add function reporting components' version

Author: Maciej Kisielewski
Author Date: 2018-05-16 15:31:32 UTC

version: add function reporting components' version

remote-interactive-jobs 2018-05-24 21:55:12 UTC 2018-05-24
properly handle passwordless sudo from !classic snaps

Author: Maciej Kisielewski
Author Date: 2018-05-24 21:55:12 UTC

properly handle passwordless sudo from !classic snaps

Signed-off-by: Maciej Kisielewski <maciej.kisielewski@canonical.com>

remote 2018-05-22 22:13:08 UTC 2018-05-22
REAPPLY ME

Author: Maciej Kisielewski
Author Date: 2018-05-22 22:13:08 UTC

REAPPLY ME

clear-cache-option 2018-05-14 15:55:49 UTC 2018-05-14
add clear-cache cli option

Author: Maciej Kisielewski
Author Date: 2017-11-05 20:07:58 UTC

add clear-cache cli option

Signed-off-by: Maciej Kisielewski <maciej.kisielewski@canonical.com>

running-away-question 2018-05-14 11:21:16 UTC 2018-05-14
remote: handle ctrl+c properly

Author: Maciej Kisielewski
Author Date: 2018-05-05 18:41:19 UTC

remote: handle ctrl+c properly

Signed-off-by: Maciej Kisielewski <maciej.kisielewski@canonical.com>

134 of 34 results
This repository contains Public information 
Everyone can see this information.