Hi Folks,
Recently a bunch of autotest and beaker folks have been discussing how to get
an autotest client working under beaker (namely Nick, Dan, Bill from beaker and
Lucas, Cleber, Ademar from autotest).
A long time ago Jan Stancek whipped up some code to do that based on some
discussions we both had. I later modified a bunch of his code and came up with
these patches.
I lasted touched these patches back in August 2012. I never finished polishing
them off or completed my testing due to other Red Hat obligations.
I am presenting these patches as a starting point for discussions as to how Jan
and myself solved various problems. They are very much 'beta' patches (there
has been a lot of testing so they were stable at one point).
Unfortunately, I don't remember how all the pieces worked so instead of
breaking the files into digestable chunks, I am just submitting whole files as
new (well the first patch is a 'patch').
I rebased them on to the latest autotest/HEAD as of today. Though I didn't
test them.
Please be kind. I am cross-posting to various mailing lists to let anyone
interested participate.
The end goal is to have autotest client work with the beaker server smoothly.
This would allow various autotest projects to leverage the
provisioning/inventorying mechanisms provided by beaker for various labs.
Feel free to direct all questions to me and I will do my best to remember what
Jan and myself did.
Don Zickus (5):
cmdparser: add new command bootstrap
harness: new beaker harness
harness: support for beaker's xml
harness: support beaker proxy protocol
harness: beaker utility classes
client/at_utils.py | 74 +++++++++
client/autotest_local.py | 2 +-
client/bkr_proxy.py | 337 ++++++++++++++++++++++++++++++++++++++
client/bkr_xml.py | 144 +++++++++++++++++
client/cmdparser.py | 78 ++++++++--
client/harness_beaker.py | 399 ++++++++++++++++++++++++++++++++++++++++++++++
client/shared/error.py | 4 +
7 files changed, 1027 insertions(+), 11 deletions(-)
create mode 100644 client/at_utils.py
create mode 100644 client/bkr_proxy.py
create mode 100644 client/bkr_xml.py
create mode 100644 client/harness_beaker.py
Show replies by thread