Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

Commit

Permalink
Only run Raptor tp6m cold tasks since the other ones aren't ready yet
Browse files Browse the repository at this point in the history
  • Loading branch information
JohanLorenzo committed Apr 23, 2019
1 parent 0486217 commit ca94bf5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 44 deletions.
10 changes: 3 additions & 7 deletions automation/taskcluster/decision_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,21 +72,17 @@ def pr_or_push(is_master_push):
# autophone only supports arm and aarch64, so only sign/perftest those builds
if (
is_master_push and
build_type == 'ReleaseRaptor' and
architecture in ('arm', 'aarch64') and
build_type == 'releaseRaptor' and
architecture in ('arm', 'aarch64') #and
SHORT_HEAD_BRANCH == 'master'
):
signing_task_id = taskcluster.slugId()
signing_tasks[signing_task_id] = BUILDER.craft_master_commit_signing_task(assemble_task_id, variant)

ALL_RAPTOR_CRAFT_FUNCTIONS = [
BUILDER.craft_raptor_tp6m_task(for_suite=i)
BUILDER.craft_raptor_tp6m_cold_task(for_suite=i)
for i in range(1, 11)
] + [
BUILDER.craft_raptor_speedometer_task,
BUILDER.craft_raptor_speedometer_power_task,
]

for craft_function in ALL_RAPTOR_CRAFT_FUNCTIONS:
args = (signing_task_id, mozharness_task_id, variant, gecko_revision)
other_tasks[taskcluster.slugId()] = craft_function(*args)
Expand Down
42 changes: 5 additions & 37 deletions automation/taskcluster/lib/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -452,50 +452,18 @@ def craft_push_task(
},
)

def craft_raptor_speedometer_task(self, signing_task_id, mozharness_task_id, variant, gecko_revision, force_run_on_64_bit_device=False):
return self._craft_raptor_task(
signing_task_id,
mozharness_task_id,
variant,
gecko_revision,
name_prefix='raptor speedometer',
description='Raptor Speedometer on Fenix',
test_name='raptor-speedometer',
job_symbol='sp',
force_run_on_64_bit_device=force_run_on_64_bit_device,
)

def craft_raptor_speedometer_power_task(self, signing_task_id, mozharness_task_id, variant, gecko_revision, force_run_on_64_bit_device=False):
return self._craft_raptor_task(
signing_task_id,
mozharness_task_id,
variant,
gecko_revision,
name_prefix='raptor speedometer power',
description='Raptor Speedometer power on Fenix',
test_name='raptor-speedometer',
job_symbol='sp',
group_symbol='Rap-P',
extra_test_args=[
"--power-test",
"--page-cycles 5",
"--host HOST_IP",
],
force_run_on_64_bit_device=force_run_on_64_bit_device,
)

def craft_raptor_tp6m_task(self, for_suite):
def craft_raptor_tp6m_cold_task(self, for_suite):

def craft_function(signing_task_id, mozharness_task_id, variant, gecko_revision, force_run_on_64_bit_device=False):
return self._craft_raptor_task(
signing_task_id,
mozharness_task_id,
variant,
gecko_revision,
name_prefix='raptor tp6m-{}'.format(for_suite),
description='Raptor tp6m on the Fenix',
test_name='raptor-tp6m-{}'.format(for_suite),
job_symbol='tp6m-{}'.format(for_suite),
name_prefix='raptor tp6m-cold-{}'.format(for_suite),
description='Raptor tp6m cold on Fenix',
test_name='raptor-tp6m-cold-{}'.format(for_suite),
job_symbol='tp6m-c-{}'.format(for_suite),
force_run_on_64_bit_device=force_run_on_64_bit_device,
)
return craft_function
Expand Down

0 comments on commit ca94bf5

Please sign in to comment.