Name Last Update
README.testing_agent.txt Loading commit data...
instance-agent.cfg Loading commit data...
instance.cfg Loading commit data...
software.cfg Loading commit data...
testing agent

Testing agent simulates a normal user interacting with vifib master. It requests software release installation or software instance instiaction randomly from time to time. SlapOS clients then run these commands remotely. It is the testing agent determining whether an error occurs.

Request a testing agent instance from vifib with following parameters:
<?xml version='1.0' encoding='utf-8'?>
<parameter id="configuration">[DEFAULT]
# ConfigParser's magic section.
computer_list = ["COMP-607"]
master_url =
# Note that certificates are now literally in the configuration, meaning
# you may decide to specify different ones for each test. Likewise for
# master_url.
key = -----BEGIN PRIVATE KEY-----
  -----END PRIVATE KEY-----
cert = -----BEGIN CERTIFICATE-----

# This section is special: it contains configuration.
# Does not make use of values coming from [DEFAULT] (well, it
# necessarily contains them, but they are not used).
node_title = ...
test_title = ...
project_title = ...
task_count = 2 # Number of tests to run concurrently
report_url = # report_url, find details in erp5 for details

# All other sections are individual tests, whatever they are named.
# Software release URL
url =
# Optional request_kw parameters: if not provided, will only test SR
# build. Depending on your slap version, it may be required to provide
# a "software_type" parameter, even if you want the default type.
request_kw = {
    "filter_kw": {"computer_guid": "..."},
    "partition_parameter_kw": {
      "domain": ""
# All are in seconds.
max_install_duration = 3000
max_uninstall_duration = 360
max_request_duration = 700
max_destroy_duration = 360

url =
max_install_duration = 1
max_uninstall_duration = 1

url =
max_install_duration = 660
max_uninstall_duration = 1