2.5.4.2. job — Manipulating test jobs

Jobs are the Autotest terminology for test that is either scheduled to be executed, is running, or has already finished runnning.

2.5.4.2.1. Functions for procedural like programming

All the default functions are available for getting information, adding new instances, modifying and deleting existing ones.

arc.job.get_data()

Returns data in raw format from the Autotest RPC server. By default all data will be returned, unless filtered.

Parameters:
  • connection – an arc.connection.AfeConnection instance
  • data_filter – keyword arguments to filter the data that will be received
Returns:

raw JSON data converted to a Python data structure

arc.job.get_ids()

Returns only the numeric identification of existing instances on the server side.

Parameters:
  • connection – an arc.connection.AfeConnection instance
  • data_filter – keyword arguments to filter the data that will be received
Returns:

raw JSON data converted to a Python data structure

2.5.4.2.2. The Job Class

class arc.job.Job(connection, identification=None, name=None)

Interface for manipulating a job on an autotest server

abort()

Deletes (aka aborts) this job

delete()

Deletes (aka aborts) this job