Closed Bug 1120114 Opened 11 years ago Closed 11 years ago

Fix some ship-it errors 2

Categories

(Release Engineering :: Release Automation, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: rail, Assigned: rail)

Details

Attachments

(6 files)

No description provided.
Attached patch puppet.diffSplinter Review
* Python 2.7 comes with argparse * no need to install buildtools (ship-it notifier is a part of tools) * use older requests shipped in tools
Attachment #8547091 - Flags: review?(bhearsum)
Attachment #8547091 - Flags: review?(bhearsum) → review+
Attachment #8547093 - Flags: review?(bhearsum) → review+
* add certify to handle certs properly * sort the list
Attachment #8548205 - Flags: review?(bhearsum)
To make the client work. Server side is still b0rken :(
Attachment #8548206 - Flags: review?(bhearsum)
I've seen 2 major errors in ship-it: 1) HTTP 400, Client error: 2015-01-13 05:30:30,980 - kickoff.views.status.post#39: User Input Failed - [['Chunk Num is required.'], ['Chunk Total is required.']] - (Fennec-36.0b1-build1, release-mozilla-beta-android_build) Neither chunkNum and chunkTotal are defined in most of the request. Requires some logical fixes in the code, I think. 2) HTTP 500. 015-01-13 05:55:31,037 - kickoff.log_exception#1306: Exception on /releases/Fennec-36.0b1-build1/status [POST] Traceback (most recent call last): File "/data/www/ship-it.mozilla.org/release-kickoff/vendor/lib/python/flask/app.py", line 1687, in wsgi_app response = self.full_dispatch_request() File "/data/www/ship-it.mozilla.org/release-kickoff/vendor/lib/python/flask/app.py", line 1360, in full_dispatch_request rv = self.handle_user_exception(e) File "/data/www/ship-it.mozilla.org/release-kickoff/vendor/lib/python/flask/app.py", line 1358, in full_dispatch_request rv = self.dispatch_request() File "/data/www/ship-it.mozilla.org/release-kickoff/vendor/lib/python/flask/app.py", line 1344, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/data/www/ship-it.mozilla.org/release-kickoff/vendor/lib/python/flask/views.py", line 83, in view return self.dispatch_request(*args, **kwargs) File "/data/www/ship-it.mozilla.org/release-kickoff/vendor/lib/python/flask/views.py", line 150, in dispatch_request return meth(*args, **kwargs) File "/data/www/ship-it.mozilla.org/release-kickoff/kickoff/views/status.py", line 56, in post ReleaseEvents.event_name == releaseEventsUpdate.event_name TypeError: <lambda>() takes exactly 2 arguments (3 given)
Attachment #8548205 - Flags: review?(bhearsum) → review+
Comment on attachment 8548206 [details] [diff] [review] fix_ship_it_notifier-tools.diff Review of attachment 8548206 [details] [diff] [review]: ----------------------------------------------------------------- ::: buildfarm/release/shipit-notifier.py @@ +23,5 @@ > +NAME_KEYS = ('product', 'version', 'build_number') > +PROPERTIES_KEYS = ('platform', 'chunkTotal', 'chunkNum', 'event_group') > + > + > +def get_propperties_dict(props): typo: propperties vs properties. r=me with that fixed.
Attachment #8548206 - Flags: review?(bhearsum) → review+
Attachment #8548206 - Flags: checked-in+
Attached patch fix-400-500.diffSplinter Review
This should address the 500 and 400 errors. I completely removed release name validation. I can revert the change if there is a reason to run that. It passed my local curl-based tests.
Attachment #8549014 - Flags: review?(bhearsum)
Attachment #8549014 - Flags: review?(bhearsum) → review+
woooooo! https://ship-it.mozilla.org/releases/Firefox-36.0b1-build2/status.html http://people.mozilla.org/~raliiev/sattap/d48bdb05.png 1) The tagging was finished before I deployed the change 2) No sure why Repacks had animated circle, probably related to 2015-01-14 18:53:09,968 Processing release-mozilla-beta-win32_repack_complete 2015-01-14 18:53:09,968 Ignoring message without event_group set or broken logic handling the chunks.
Attachment #8549340 - Flags: review?(bhearsum) → review+
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: