Closed Bug 1765820 Opened 4 years ago Closed 4 years ago

Permafailing condprof bustage AttributeError: 'Task' object has no attribute 'name'

Categories

(Firefox Build System :: General, defect, P5)

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1765461

People

(Reporter: intermittent-bug-filer, Unassigned)

References

(Regression)

Details

(Keywords: intermittent-failure, regression)

Filed by: ncsoregi [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=375331529&repo=mozilla-central
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/AMIjn15BSe2NiHz1vuI9yg/runs/0/artifacts/public/logs/live_backing.log


[task 2022-04-21T16:02:13.155Z] Generating target task set
[task 2022-04-21T16:02:13.163Z] Traceback (most recent call last):
[task 2022-04-21T16:02:13.163Z]   File "/builds/worker/checkouts/gecko/taskcluster/mach_commands.py", line 272, in taskgraph_decision
[task 2022-04-21T16:02:13.163Z]     ret = taskgraph_commands["decision"].func(options)
[task 2022-04-21T16:02:13.163Z]   File "/builds/worker/checkouts/gecko/taskcluster/gecko_taskgraph/main.py", line 617, in decision
[task 2022-04-21T16:02:13.163Z]     taskgraph_decision(options)
[task 2022-04-21T16:02:13.163Z]   File "/builds/worker/checkouts/gecko/taskcluster/gecko_taskgraph/decision.py", line 244, in taskgraph_decision
[task 2022-04-21T16:02:13.163Z]     write_artifact("target-tasks.json", list(tgg.target_task_set.tasks.keys()))
[task 2022-04-21T16:02:13.163Z]   File "/builds/worker/checkouts/gecko/taskcluster/gecko_taskgraph/generator.py", line 178, in target_task_set
[task 2022-04-21T16:02:13.163Z]     return self._run_until("target_task_set")
[task 2022-04-21T16:02:13.163Z]   File "/builds/worker/checkouts/gecko/taskcluster/gecko_taskgraph/generator.py", line 427, in _run_until
[task 2022-04-21T16:02:13.163Z]     k, v = next(self._run)
[task 2022-04-21T16:02:13.163Z]   File "/builds/worker/checkouts/gecko/taskcluster/gecko_taskgraph/generator.py", line 344, in _run
[task 2022-04-21T16:02:13.163Z]     target_tasks = set(fltr(target_task_set, parameters, graph_config))
[task 2022-04-21T16:02:13.163Z]   File "/builds/worker/checkouts/gecko/taskcluster/gecko_taskgraph/target_tasks.py", line 1175, in target_tasks_condprof
[task 2022-04-21T16:02:13.163Z]     if "a51" not in task.name:  # bug 1765348
[task 2022-04-21T16:02:13.163Z] AttributeError: 'Task' object has no attribute 'name'
[task 2022-04-21T16:02:13.163Z] Creating default state directory: /builds/worker/.mozbuild
[taskcluster 2022-04-21 16:02:14.413Z] === Task Finished ===
[taskcluster 2022-04-21 16:02:40.071Z] Unsuccessful task run with exit code: 1 completed in 142.194 seconds

Flags: needinfo?(jmaher)

thanks, I wasn't sure how to test this- I will get a patch up today that should fix this.

Flags: needinfo?(jmaher)

fixing this over in bug 1765461

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.