Closed Bug 1009565 Opened 10 years ago Closed 10 years ago

Triggering arbitrary jobs gets branch wrong

Categories

(Release Engineering :: General, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: catlee, Assigned: zeller)

References

Details

Attachments

(2 files, 1 obsolete file)

In http://hg.mozilla.org/build/buildapi/file/default/buildapi/scripts/selfserve-agent.py#l614

we create strip off the "-selfserve" to create real_branch, and refer to that in the SQL query. However, we don't pass real_branch into db.execute(), so :real_branch ends up being unset, and we end up with branch = NULL in the database.
Assignee: nobody → johnlzeller
Attached patch bug1009565.patch (obsolete) — Splinter Review
Added real_branch to selfserve-agent.py
Attachment #8422027 - Flags: review?(catlee)
Comment on attachment 8422027 [details] [diff] [review]
bug1009565.patch

Review of attachment 8422027 [details] [diff] [review]:
-----------------------------------------------------------------

itym real_branch=real_branch, since the parameter is called :real_branch
Attachment #8422027 - Flags: review?(catlee) → review-
Attached patch bug1009565.patchSplinter Review
Opps! Here you go!
Attachment #8422027 - Attachment is obsolete: true
Attachment #8422070 - Flags: review?(catlee)
Attachment #8422070 - Flags: review?(catlee) → review+
Attachment #8422070 - Flags: checked-in?
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Reopened till deployed. Was prematurely closed
are we waiting for anything before deploying?
Blocks: 1017527
(In reply to Chris AtLee [:catlee] from comment #6)
> are we waiting for anything before deploying?

Nope! Deploying now
Attachment #8431929 - Flags: review?(hwine)
Comment on attachment 8431929 [details] [diff] [review]
versionbump.patch

lgtm: r+ 

https://hg.mozilla.org/build/buildapi/rev/ace9bb8c2267
Attachment #8431929 - Flags: review?(hwine)
Attachment #8431929 - Flags: review+
Attachment #8431929 - Flags: checked-in+
All deployed and tested! Additionally, pending/running jobs are now showing up on TBPL as well. Seems this was the issue effecting bug 981825
Status: REOPENED → RESOLVED
Closed: 10 years ago10 years ago
Resolution: --- → FIXED
That's great - thank you :-)
(In reply to Ed Morley [:edmorley UTC+0] from comment #11)
> That's great - thank you :-)

No problem!
Component: General Automation → General
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: