Skip to content

Instantly share code, notes, and snippets.

View apahim's full-sized avatar

Amador Pahim apahim

  • Red Hat, Inc
  • Ireland
View GitHub Profile
T0 - No snapshots
(raw 10G)
------------
| ca8b5daa |
------------
(active)
T1 - Create S1
[asegundo@x240 avocado]$ tree -L 2
.
├── data
│   └── avocado-vt
├── job-results
└── tests
4 directories, 0 files
[asegundo@x240 avocado]$ avocado run /bin/true /bin/false
JOB ID : fff9a02587c556845cbb85e4d52266d7fbd554cd
[asegundo@x240 avocado]$ tree -L 3
.
├── data
│   └── avocado-vt
│   ├── backends
│   ├── downloads
│   ├── gpg
│   ├── images
│   ├── isos
│   ├── steps_data
[asegundo@x240 avocado]$ avocado run /bin/false /bin/true /bin/false
JOB ID : 5f4c2a7555b7d7737aba74683643ea0a8ac34c1f
JOB LOG : /home/asegundo/avocado/job-results/job-2015-10-20T17.08-5f4c2a7/job.log
TESTS : 3
(1/3) /bin/false: FAIL (0.01 s)
(2/3) /bin/true: PASS (0.01 s)
(3/3) /bin/false: FAIL (0.01 s)
RESULTS : PASS 1 | ERROR 0 | FAIL 2 | SKIP 0 | WARN 0 | INTERRUPT 0
TIME : 0.04 s
[asegundo@x240 avocado]$ cat jobs/5f4c2a7555b7d7737aba74683643ea0a8ac34c1f/urls
[asegundo@x240 avocado]$ avocado run /bin/false /bin/true /bin/false
JOB ID : 7cc133a60a4268dc4f7449be84ba6960c08874cd
JOB LOG : /home/asegundo/avocado/job-results/job-2015-10-20T18.02-7cc133a/job.log
TESTS : 3
(1/3) /bin/false: FAIL (0.01 s)
(2/3) /bin/true: PASS (0.01 s)
(3/3) /bin/false: FAIL (0.01 s)
RESULTS : PASS 1 | ERROR 0 | FAIL 2 | SKIP 0 | WARN 0 | INTERRUPT 0
TIME : 0.03 s
[asegundo@x240 avocado]$
[asegundo@x240 avocado]$ avocado run /bin/false /bin/true /bin/false
JOB ID : 7cc133a60a4268dc4f7449be84ba6960c08874cd
JOB LOG : /home/asegundo/avocado/job-results/job-2015-10-20T18.02-7cc133a/job.log
TESTS : 3
(1/3) /bin/false: FAIL (0.01 s)
(2/3) /bin/true: PASS (0.01 s)
(3/3) /bin/false: FAIL (0.01 s)
RESULTS : PASS 1 | ERROR 0 | FAIL 2 | SKIP 0 | WARN 0 | INTERRUPT 0
TIME : 0.03 s
[asegundo@x240 avocado]$ avocado run avocado-virt-tests/qemu/boot.py
JOB ID : 66aae4a89e7c4c841b6d6ce60a0ab033d3f45aa0
JOB LOG : /home/asegundo/avocado/job-results/job-2015-10-21T00.20-66aae4a/job.log
TESTS : 1
(1/1) avocado-virt-tests/qemu/boot.py:BootTest.test_boot: PASS (22.85 s)
RESULTS : PASS 1 | ERROR 0 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 0
TIME : 22.85 s
[asegundo@x240 avocado]$ cat /home/asegundo/avocado/job-results/job-2015-10-21T00.20-66aae4a/.replay/urls
['avocado-virt-tests/qemu/boot.py'][asegundo@x240 avocado]$
commit 721c00b4343912da743efe3605889caa5f5dec4d
Author: Amador Pahim <[email protected]>
Date: Tue Oct 20 00:39:39 2015 -0200
Create job record dir structure
In order to record the jobs machine-readable information for
further job replays, this patch creates a new directory 'jobs'
with sub-directories named after the job_id:
commit 17679e560536eb0eba0e17151748403b550d98d0
Author: Amador Pahim <[email protected]>
Date: Tue Oct 20 01:27:32 2015 -0200
[ WIP ] Partial commit recording job information for further replay
For while, only recording commandline and confi options.
Signed-off-by: Amador Pahim <[email protected]>
commit 7e88d979d0f3a033c4dada3308d60908894fd753
Author: Amador Pahim <[email protected]>
Date: Tue Oct 20 17:04:07 2015 -0200
Initial support for replay
Loading urls from a given job and icreating a new job using the loaded urls.
Signed-off-by: Amador Pahim <[email protected]>