Skip to content

aws.devicefarm.list_jobs

Example SQL Queries

SELECT * FROM
aws.devicefarm.list_jobs
WHERE
"arn" = 'VALUE';

Description

Gets information about jobs for a given test run.

Table Definition

Column NameColumn Data Type
arn Required Input Column

The job's ARN.

VARCHAR
_aws_profile Input Column

The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role.

STRUCT(
"type" VARCHAR,
"name" VARCHAR,
"account_id" VARCHAR,
"via_profile_name" VARCHAR,
"assumed_role_arn" VARCHAR,
"organization" STRUCT(
"account_name" VARCHAR,
"id" VARCHAR,
"tags" STRUCT(
"key" VARCHAR,
"value" VARCHAR
)[],
"master_account" STRUCT(
"id" VARCHAR,
"email" VARCHAR
),
"parents" STRUCT(
"type" VARCHAR,
"id" VARCHAR,
"name" VARCHAR,
"tags" STRUCT(
"key" VARCHAR,
"value" VARCHAR
)[]
)[]
)
)
Show child fields
_aws_profile.account_id

The AWS account id

_aws_profile.assumed_role_arn

The ARN of the assumed role

_aws_profile.name

The unique name of the profile.

_aws_profile.organization

Information about this profile's membership in the AWS organization.

Show child fields
_aws_profile.organization.account_name

The name of account speciifed by the organization

_aws_profile.organization.id

The organization id

_aws_profile.organization.master_account
Show child fields
_aws_profile.organization.master_account.email

The organization master account email address

_aws_profile.organization.master_account.id

The organization master account id

_aws_profile.organization.parents[]
Show child fields
_aws_profile.organization.parents[].id

The id of the parent

_aws_profile.organization.parents[].name

The name of the parent

_aws_profile.organization.parents[].tags[]
Show child fields
_aws_profile.organization.parents[].tags[].key
_aws_profile.organization.parents[].tags[].value
_aws_profile.organization.parents[].type

The type of parent can be an organization unit or a root

_aws_profile.organization.tags[]
Show child fields
_aws_profile.organization.tags[].key
_aws_profile.organization.tags[].value
_aws_profile.type

The type of profile, either 'credentials' or 'assumed_role'

_aws_profile.via_profile_name

This IAM role for this profile is assumed by first utilizing another profile with this name to obtain credentials.

_aws_region Input Column

The AWS region to use.

VARCHAR
counters

The job's result counters.

STRUCT(
"total" BIGINT,
"passed" BIGINT,
"failed" BIGINT,
"warned" BIGINT,
"errored" BIGINT,
"stopped" BIGINT,
"skipped" BIGINT
)
Show child fields
counters.errored

The number of errored entities.

counters.failed

The number of failed entities.

counters.passed

The number of passed entities.

counters.skipped

The number of skipped entities.

counters.stopped

The number of stopped entities.

counters.total

The total number of entities.

counters.warned

The number of warned entities.

created

When the job was created.

TIMESTAMP_S
device

The device (phone or tablet).

STRUCT(
"arn" VARCHAR,
"name" VARCHAR,
"manufacturer" VARCHAR,
"model" VARCHAR,
"model_id" VARCHAR,
"form_factor" VARCHAR,
"platform" VARCHAR,
"os" VARCHAR,
"cpu" STRUCT(
"frequency" VARCHAR,
"architecture" VARCHAR,
"clock" DOUBLE
),
"resolution" STRUCT(
"width" BIGINT,
"height" BIGINT
),
"heap_size" BIGINT,
"memory" BIGINT,
"image" VARCHAR,
"carrier" VARCHAR,
"radio" VARCHAR,
"remote_access_enabled" BOOLEAN,
"remote_debug_enabled" BOOLEAN,
"fleet_type" VARCHAR,
"fleet_name" VARCHAR,
"instances" STRUCT(
"arn" VARCHAR,
"device_arn" VARCHAR,
"labels" VARCHAR[],
"status" VARCHAR,
"udid" VARCHAR,
"instance_profile" STRUCT(
"arn" VARCHAR,
"package_cleanup" BOOLEAN,
"exclude_app_packages_from_cleanup" VARCHAR[],
"reboot_after_use" BOOLEAN,
"name" VARCHAR,
"description" VARCHAR
)
)[],
"availability" VARCHAR
)
Show child fields
device.arn

The device's ARN.

device.availability

Indicates how likely a device is available for a test run. Currently available in the ListDevices and GetDevice API methods.

device.carrier

The device's carrier.

device.cpu

Information about the device's CPU.

Show child fields
device.cpu.architecture

The CPU's architecture (for example, x86 or ARM).

device.cpu.clock

The clock speed of the device's CPU, expressed in hertz (Hz). For example, a 1.2 GHz CPU is expressed as 1200000000.

device.cpu.frequency

The CPU's frequency.

device.fleet_name

The name of the fleet to which this device belongs.

device.fleet_type

The type of fleet to which this device belongs. Possible values are PRIVATE and PUBLIC.

device.form_factor

The device's form factor.

Allowed values include:

  • PHONE

  • TABLET

device.heap_size

The device's heap size, expressed in bytes.

device.image

The device's image name.

device.instances[]
Show child fields
device.instances[].arn

The Amazon Resource Name (ARN) of the device instance.

device.instances[].device_arn

The ARN of the device.

device.instances[].instance_profile

A object that contains information about the instance profile.

Show child fields
device.instances[].instance_profile.arn

The Amazon Resource Name (ARN) of the instance profile.

device.instances[].instance_profile.description

The description of the instance profile.

device.instances[].instance_profile.exclude_app_packages_from_cleanup[]
device.instances[].instance_profile.name

The name of the instance profile.

device.instances[].instance_profile.package_cleanup

When set to true, Device Farm removes app packages after a test run. The default value is false for private devices.

device.instances[].instance_profile.reboot_after_use

When set to true, Device Farm reboots the instance after a test run. The default value is true.

device.instances[].labels[]
device.instances[].status

The status of the device instance. Valid values are listed here.

device.instances[].udid

Unique device identifier for the device instance.

device.manufacturer

The device's manufacturer name.

device.memory

The device's total memory size, expressed in bytes.

device.model

The device's model name.

device.model_id

The device's model ID.

device.name

The device's display name.

device.os

The device's operating system type.

device.platform

The device's platform.

Allowed values include:

  • ANDROID

  • IOS

device.radio

The device's radio.

device.remote_access_enabled

Specifies whether remote access has been enabled for the specified device.

device.remote_debug_enabled

This flag is set to true if remote debugging is enabled for the device.

Remote debugging is no longer supported.

device.resolution

The resolution of the device.

Show child fields
device.resolution.height

The screen resolution's height, expressed in pixels.

device.resolution.width

The screen resolution's width, expressed in pixels.

device_minutes

Represents the total (metered or unmetered) minutes used by the job.

STRUCT(
"total" DOUBLE,
"metered" DOUBLE,
"unmetered" DOUBLE
)
Show child fields
device_minutes.metered

When specified, represents only the sum of metered minutes used by the resource to run tests.

device_minutes.total

When specified, represents the total minutes used by the resource to run tests.

device_minutes.unmetered

When specified, represents only the sum of unmetered minutes used by the resource to run tests.

instance_arn

The ARN of the instance.

VARCHAR
message

A message about the job's result.

VARCHAR
name

The job's name.

VARCHAR
result

The job's result.

Allowed values include:

  • PENDING

  • PASSED

  • WARNED

  • FAILED

  • SKIPPED

  • ERRORED

  • STOPPED

VARCHAR
started

The job's start time.

TIMESTAMP_S
status

The job's status.

Allowed values include:

  • PENDING

  • PENDING_CONCURRENCY

  • PENDING_DEVICE

  • PROCESSING

  • SCHEDULING

  • PREPARING

  • RUNNING

  • COMPLETED

  • STOPPING

VARCHAR
stopped

The job's stop time.

TIMESTAMP_S
type

The job's type.

Allowed values include the following:

  • BUILTIN_FUZZ

  • BUILTIN_EXPLORER. For Android, an app explorer that traverses an Android app, interacting with it and capturing screenshots at the same time.

  • APPIUM_JAVA_JUNIT

  • APPIUM_JAVA_TESTNG

  • APPIUM_PYTHON

  • APPIUM_NODE

  • APPIUM_RUBY

  • APPIUM_WEB_JAVA_JUNIT

  • APPIUM_WEB_JAVA_TESTNG

  • APPIUM_WEB_PYTHON

  • APPIUM_WEB_NODE

  • APPIUM_WEB_RUBY

  • CALABASH

  • INSTRUMENTATION

  • UIAUTOMATION

  • UIAUTOMATOR

  • XCTEST

  • XCTEST_UI

VARCHAR
video_capture

This value is set to true if video capture is enabled. Otherwise, it is set to false.

BOOLEAN
video_endpoint

The endpoint for streaming device video.

VARCHAR