Closed Bug 527670 Opened 16 years ago Closed 2 years ago

improve update_verify output

Categories

(Release Engineering :: Release Automation, enhancement, P5)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: catlee, Assigned: hneiva, Mentored)

References

Details

(Whiteboard: [automation][updates])

Attachments

(6 files)

Our current update_verify output is a mix of output from downloading files, applying updates, and the actual comparison results. For clarity, we should separate these out so that in general only the comparison between the full install and the updated install are shown. A better distinction between 'source' and 'target' is also needed. We also need to have a set of known differences per branch / platform so we can filter them out, or raise a warning if they're not present. Finally, this improved update_verify output should be sent to release-drivers and/or qa as part of the release process.
Mass move of bugs from Release Engineering:Future -> Release Engineering. See http://coop.deadsquid.com/2010/02/kiss-the-future-goodbye/ for more details.
Component: Release Engineering: Future → Release Engineering
Priority: -- → P5
Whiteboard: [automation]
Assignee: nobody → bhearsum
Assignee: bhearsum → rail
Priority: P5 → P3
Assignee: rail → lsblakk
It would be really great to make situations like the one in this log better: http://production-master01.build.mozilla.org:8010/builders/release-mozilla-central-win32_update_verify/builds/4 The step turns green, which is probably valid, but there's some differences to removed-files and search plugins that the release engineer needs to pay attention to. Having those raised in a different log would be great.
I'm wondering if anyone else has time to take a look at this as it will likely be missed if it stays assigned to me due to lack of time to work on it.
Whiteboard: [automation] → [automation][triagefollowup]
Not too concerned about getting this done immediately vs. other work since it *is* an enhancement. I'm fine with putting this on the backburner for a bit.
Priority: P3 → P5
Whiteboard: [automation][triagefollowup] → [automation][updates]
Whiteboard: [automation][updates] → [automation][updates][triagefollowup]
putting [triagefollowup] on this since I will not get a chance to work on this during this quarter so if anyone else can take it and finish it, great, otherwise I will do it next quarter as my other old bug will be completed as part of my Q4 goals.
(In reply to Lukas Blakk [:lsblakk] from comment #5) > putting [triagefollowup] on this since I will not get a chance to work on > this during this quarter so if anyone else can take it and finish it, great, > otherwise I will do it next quarter as my other old bug will be completed as > part of my Q4 goals. Letting this one slip is not a problem.
Whiteboard: [automation][updates][triagefollowup] → [automation][updates]
Mass move of bugs to Release Automation component.
Component: Release Engineering → Release Engineering: Automation (Release Automation)
No longer blocks: hg-automation
Throwing this back in the pool as I'm not getting time to work on this.
Assignee: lsblakk → nobody
Product: mozilla.org → Release Engineering
Whiteboard: [automation][updates] → [automation][updates][mentor=bhearsum]
Mentor: bhearsum
Whiteboard: [automation][updates][mentor=bhearsum] → [automation][updates]
Component: Release Automation: Other → Release Automation: Updates
QA Contact: sfraser
We improved things a little bit by adding a secondary log that summarizes the differences found (https://bugzilla.mozilla.org/show_bug.cgi?id=1446160). This doesn't help for other types of failures, but it's something.

Aki wrote this elsewhere, adding it here as one of the only concrete ideas we have about this:
I think we have failures sprinkled all over the log, without an intuitive way to find them. Gathering them all and outputting them at the bottom of the log and/or in a summary log artifact would be a good improvement. Bonus points for looking at the types of failures and giving an interpretation: "this appears to be an issue with a single locale; is it new?" "This looks like bustage related to an RC"

I don't think there's a great way to do all of that inside the existing bash scripts. However, we could do something like

bash update_verify_script | tee raw.log | python parse_output.py | tee parsed.log

or just python parse_uv_output.py and have that wrap the bash script. Or rewrite the whole thing in python; I think the fact that this is in an ancient legacy bash script discourages people from touching it.

https://gist.github.com/escapewindow/80cc57ee9bb331cdabfee62fe6089aef for a sampling of my gripes about the log output.

Keywords: leave-open

Quality of life improvement to update_verify script and taskgraph cli arguments

Assignee: nobody → hneiva
Status: NEW → ASSIGNED
Pushed by hneiva@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a2531a72488a add named arguments to update_verify r=aki

Added instructions to run update-verify locally

Changed wget output log granularity from :mega: to :giga: (only used in case the python library didn't cover all usecases)
Added python methods to async cache/download all required files for update verify
Modified Dockerfile requirements to include aiohttp python lib

Pushed by hneiva@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2160e62ae7c3 Async download/cache UpdateVerify files and improve logs r=aki

Added documentation to methods, missed from last PR

Added documentation to methods, missed from last PR

Pushed by hneiva@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c2cfd92e8655 Add documentation to update-verify clear_cache() r=aki

Removing the unlinking shouldn't be a problem, only possible side effect would be removing the partially downloaded file

Regressions: 1738826
Pushed by asasaki@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c88f473c5738 Fix download failure handling on UV async downloader r=aki DONTBUILD
Severity: normal → S3

The leave-open keyword is there and there is no activity for 6 months.
:hneiva, maybe it's time to close this bug?
For more information, please visit BugBot documentation.

Flags: needinfo?(hneiva)
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Flags: needinfo?(hneiva)
Resolution: --- → FIXED
Component: Release Automation: Updates → Release Automation
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: