Closed Bug 753226 Opened 13 years ago Closed 10 years ago

release-sanity.py should check email address sanity & other items

Categories

(Release Engineering :: Release Automation, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: hwine, Unassigned)

Details

Attachments

(1 file)

found during 13.0b3 release (bug 744592) - with the --dryrun option, the non-optional arg "host:port" for the pb on the build master is not validated. My particular error was replacing the colon with a space, changing the number of arguments, and causing an exception when run without --dryrun option. It would be good to validate the # arguments supplied to the command as part of --dryrun. Bonus points to ensuring a tcp connection can be made.
Wanted, not highly important because entering the wrong host:port is unlikely to lead to bad things.
Priority: -- → P3
tacking on a change to check for email setup, as we've had a few issues with that of late. See bug 755989 for the fix for the latest incident, but this will catch others. Manually tested against various config file combinations.
Attachment #624654 - Flags: review?
piggy backing some other changes on here.
Summary: release-sanity.py doesn't validate pb host:port → release-sanity.py should check email address sanity & other items
Comment on attachment 624654 [details] [diff] [review] tweak to check for email address sanity for staging runs I like this. Will the |import platform| and the usage of |platform| as a variable name cause any confusion? http://hg.mozilla.org/build/tools/file/acbaea8e273b/buildbot-helpers/release_sanity.py#l123 >+ if not is_real_release_box: >+ # we don't want more than user (or user + release@) in all >+ # emails, and 'staging' had better be part of the message prefix This might not be quite accurate: * We generally don't want people to send their staging email to release@. * We also have [preprod-release], which goes to release@. If you want to spend the time to account for it, I think it would go: * preproduction emails aren't real releases, and should go to release@ * staging emails aren't real releases, and should *not* go to either release-drivers@ or release@. This is an improvement overall, so I'm not going to block on that. However, this looks like it might break preproduction. Thanks for the patch! r-'ing because of preproduction emails, but it's close.
Attachment #624654 - Flags: review? → review-
Product: mozilla.org → Release Engineering
I don't think we are going to work on this. Let's kill it.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: