Closed Bug 1159863 Opened 10 years ago Closed 10 years ago

Add a "last_build_name" field to runner stats

Categories

(Release Engineering :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mrrrgn, Assigned: mrrrgn)

Details

Attachments

(1 file, 1 obsolete file)

We can find the last build name by scraping twistd logs and surface it in runner's task hook. This will help us understand the behavior of machines before/after running various job types. It will also help us understand the performance of various jobs by machine type.
Assignee: nobody → winter2718
Attached patch last-build-name.diff (obsolete) — Splinter Review
Tested via ansible deploy to all tst-linux64 hosts.
Attachment #8600920 - Flags: review?(catlee)
The last patch had a comparison for determining if an array had elements which had a bug (< 0). This has been fixed (changed to < 1).
Attachment #8600920 - Attachment is obsolete: true
Attachment #8600920 - Flags: review?(catlee)
Attachment #8600928 - Flags: review?(catlee)
Summary: Add a "last_build_name" field to taskcluster stats → Add a "last_build_name" field to runner stats
~/projects/UTILS/INFLUXDB_QUERY.sh "select * from runner_tasks where hostname = 'bld-linux64-spot-1000.build.releng.use1.mozilla.com' limit 1" [ { "name": "runner_tasks", "columns": [ "time", "sequence_number", "result", "hostname", "aws_instance_id", "task", "aws_instance_type", "placement/availability_zone", "foo", "last_build_name", "aws_ami_id", "platform", "max_retries", "try_num" ], "points": [ [ 1430751221822, 1000733040001, "RUNNING", "bld-linux64-spot-1000.build.releng.use1.mozilla.com", "i-d44ef202", "4-buildbot.py", "m3.xlarge", "us-east-1c", null, "Linux mozilla-inbound build", "ami-a85358c0", "linux2", 5, 1 ] ] } ]
Attachment #8600928 - Flags: review?(catlee) → review+
Attachment #8600928 - Flags: checked-in+
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Component: Tools → General
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: