Skip to content

Commit df10b2b

Browse files
committed
temp: debug logging
1 parent 700025b commit df10b2b

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

.taskcluster.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,7 @@ tasks:
265265
else: >
266266
ln -s /builds/worker/artifacts artifacts &&
267267
taskgraph decision
268+
--verbose
268269
--pushlog-id='0'
269270
--pushdate='0'
270271
--project='${project}'

taskcluster/fxci_config_taskgraph/transforms/firefoxci_artifact.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
44

55
import json
6+
import logging
67
import os
78
from collections import defaultdict
89
from copy import deepcopy
@@ -33,6 +34,7 @@ def make_firefoxci_artifact_tasks(config, tasks):
3334
exclude_attrs,
3435
include_deps,
3536
).values():
37+
logging.info(f"firefoxci_artifact: processing {task_def['metadata']['name']}")
3638
# Add docker images
3739
if "image" in task_def["payload"]:
3840
image = task_def["payload"]["image"]

taskcluster/fxci_config_taskgraph/util/integration.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
# License, v. 2.0. If a copy of the MPL was not distributed with this
33
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
44

5+
import logging
56
import os
67
import re
78
from functools import cache
@@ -78,6 +79,7 @@ def find_tasks(
7879
tasks = {}
7980

8081
for task in _find_tasks(decision_index_path):
82+
logging.info(f"find_tasks {task['task_id']}")
8183
assert isinstance(task, dict)
8284
attributes = task.get("attributes", {})
8385
skip = False
@@ -90,15 +92,21 @@ def find_tasks(
9092
skip = True
9193

9294
if skip:
95+
logging.info(f"find_tasks {task['task_id']}: skipping")
9396
continue
9497

9598
tasks[task["task_id"]] = task["task"]
9699
# get_ancestors can be expensive; don't run it unless we might actually
97100
# use the results.
98101
if include_deps:
102+
logging.info(f"find_tasks {task['task_id']}: getting ancestors")
99103
patterns = [re.compile(p) for p in include_deps]
100104
for label, task_id in get_ancestors(task["task_id"]).items():
101105
if any([pat.match(label) for pat in patterns]):
106+
logging.info(f"find_tasks {task['task_id']}: including {task_id}")
102107
tasks[task_id] = _queue_task(task_id)
108+
else:
109+
logging.info(f"find_tasks {task['task_id']}: excluding {task_id}")
103110

111+
logging.info("find_tasks: returning")
104112
return tasks

0 commit comments

Comments
 (0)